* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  font: 15px/1.5  Arial, Helvetica, sans-serif;
  padding: 0;
  margin: 0;
}
header {
  width: 100%;
  height: 60px;
   background-color: #dddddd;

}

.logo{
  margin-left: 10px;
span{
  color: orangered;
}
}
nav{
  position: fixed;
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  z-index: 100;
  background-color: #dddddd;
  overflow: hidden;
  padding: 0;
  
}

nav ul {
  list-style: none;
  position: relative;
}

nav ul li {
  display: inline-block;
  margin-left: auto;
}

nav ul li a {
  text-decoration: none;
  padding: 20px 10px;
  display: block;
  color: hsl(176, 18%, 19%);
}

nav ul li a:hover {
  background: hsla(176, 18%, 19%, 0.303);
  color: beige;
}

nav ul li a:focus {
  background: hsla(176, 18%, 19%, 0.303);
  color: orangered;
}

.opensidebar, #sidebarActive {
    display: none;
    position: absolute;
    right: 0;
  div {
    width: 25px;
    height: 2px;
    margin: 3px;
    background-color: #283938;
    border-radius: 10px;

  }
}

section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 20px;
  background: linear-gradient(190deg, rgba(255, 192, 203, 0.235)30%, rgba(0, 128, 0, 0.222)50%);
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0;
  h1 {
    font-size: 6vw;
    color: orangered;
  }
  span {
    font-size: 8vw;
    background-image: linear-gradient(90deg, hsl(271, 76%, 53%), hsla(265, 82%, 47%, 0.321));
    background-clip: text;
    color: transparent;
  }

  p {
    width: 300px;
    border: 1px solid hsl(60, 2%, 60%);
    text-align: left;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
}

.call-to-action {
  
  button {
    width: 170px;
    height: 30px;
    border-radius: 5px;
    border: none;
     background-image: linear-gradient(90deg, hsl(271, 76%, 53%), hsla(265, 82%, 47%, 0.321));
    color: beige;
    cursor: pointer;
    font-weight: 600;
  }
  button:hover {
    background-color: hsl(271, 76%, 59%);
  }
}

form {
  position: absolute;
  top: 20px;
  right: 10px;
  margin: auto;
  display: flex;

  input {
    padding: 10px;
    border-right: none;
    outline: none;
    /* border: none; */
    border-color: orangered;
    background-color: #ccc;
    border-radius: 10px 0 0 10px;
  }
  button {
    padding: 10px;
    font-weight: 600;
    background-image: linear-gradient(90deg, hsl(271, 76%, 53%), hsla(265, 82%, 47%, 0.321));
    border-color: hsla(265, 82%, 47%, 0.321);
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    color: beige;
  }
  
}


@media (max-width: 435px) {
  .sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: linear-gradient(360deg, #d9c562a1, rgb(157, 200, 226));
    box-sizing: border-box;
    border-top-left-radius: 10px;
    border-bottom-left-radius:10px;
    backdrop-filter: blur(10px);
    /* display: none; */
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: .75s ease-in-out;
  }
  
  nav {
   width: 100%;
    
    padding: 0;
    margin: auto;
  }

   .logo {
    margin-left: 30px;
    
  }

  nav ul li {
    width: 100%;
  }

  .opensidebar {
    position: absolute;
    right: 15px;    
    display: block;
    cursor: pointer;
    border-radius: 5px;
    z-index: 10;

    
  }

  #sidebarActive:checked ~ ul .sidebar {
    right: 0;
  }
  #sidebarActive:checked ~ .opensidebar {
    right: 15px;

    .bar1 {
      transform: rotate(35deg);
    }
    .bar2 {
      display: none;
    }
    .bar3 {
      transform: rotate(-35deg);
      position: absolute;
      bottom: 0;
    }

  }
  #sidebarActive:checked ~ #overlay {
    position: fixed;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* z-index: 1; */
  }

  form {
  position: relative;
  top:0;
  right: 0;
 
  

  input {
    width: 100%;
    height: 30px;
    border-right: 1px solid;
    outline: none;
    border-color: hsla(265, 82%, 47%, 0.321);
  }
  button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    font-weight: 600;
    background-image: linear-gradient(90deg, hsl(271, 76%, 53%), hsla(265, 82%, 47%, 0.321));
    border-color: hsla(265, 82%, 47%, 0.321);
    cursor: pointer;
    color: beige;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
}


}