*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  font-size:10px;
}


#header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height:6rem;
  width:100%;
  position:fixed;
  top:0;
  /* background-color:yellow; */
  /* background-color:rgb(183, 183, 183); */
  background-color: #f6f6f6;
}

#header-img{
  height:6rem;
  margin: auto 0;
  width: 28rem;
}

.nav-list{
  display:flex;
  font-size:2rem;
  list-style-type:none;
}

.nav-list a{
  text-decoration:none;
  color:black;
}

.nav-list li{
  margin:0 4rem;
}

.main-doc{
  margin-top:6rem;
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  row-gap:3rem;
  background-color: rgb(183, 183, 183);
}

.heading{
  grid-column:4/-4;
  font-size:4rem;
  margin:1.5rem auto;
  text-align:center;
}

#form{
  grid-column:4/-4;
  display:flex;
  flex-direction:column;
  margin-bottom: 8rem;
}

#email{
  font-size:2.4rem;
  width:80%;
  text-align:center;
  margin:1rem auto;
  height:4rem;
}

#submit{
  font-size:2.5rem;
  width:20%;
  height:3.5rem;
  margin:auto;
  padding:auto;
  background-color:orange;
  border:none;
  border-radius:0.6rem;
}

.features{
  grid-column:3/-3;
}

.feature-list{
  list-style-type:none;
}

.list-items{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  grid-template-rows: 1fr 1fr ;
  margin:2.5rem auto;
}

.list-icon{
  grid-column:1/2;
  grid-row: 1/-1;
  color:orangered;
  font-size:40px;
  text-align: right;
  margin-top: 0.6rem;
  margin-right: 2rem;
}

.list-heading{
  grid-column:2/-2;
  grid-row: 1/2;
  font-size:3rem;
}

.list-para{
  grid-column:2/-2;
  grid-row: 2/3;
  font-size:1.8rem;
}

.howItWorks{
  grid-column:1/-1;
  margin: 0 auto;
}

.pricing{
  grid-column:2/-2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 8rem;
  margin-bottom: 3rem;
}

.box{
  border: 0.2rem solid black;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24%;
}

.box h3{
  font-size: 2.2rem;
  background-color: darkgray;
  text-align: center;
  display: inline-block;
  width: 100%;
  padding: 1.5rem;
}

.box h2{
  font-size: 3.5rem;
  color: orangered;
  text-align: center;
  margin: 0.5rem auto;
}

.box p{
  text-align: center;
  font-size: 1.9rem;
  margin: 0.3rem auto;
}

.box button{
  width:40%;
  height: 5rem;
  background-color: orange;
  margin: 1rem auto;
  font-size: 2.1rem;
}

footer{
  grid-column: 3/-3;
  height: 9rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background-color: rgb(60, 60, 60);
}

.footer{
  margin: 0.5rem;
}

.foot-terms{
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
}

.foot-terms a{
  color:dimgray;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.7rem;
}

.footer p{
  font-size: 1.6rem;
}

@media only screen and (max-width:900px) {
  #header{
    flex-direction: column;
    height: 10rem;
    overflow: scroll;
    margin: 0 auto;
  }
  #header-img{
    height: 3rem;
    width:20rem;
  }
  .nav-list{
    flex-direction: column;
    margin-top: 0.6rem;
  }
  .nav-list li{
    margin-top: 0.8rem;
    text-align: center;
  }
  .main-doc{
    margin-top: 10rem;
  }
  .heading{
    font-size: 2.8rem;
  }
  #form{
    grid-column: 2/-2;
  }
  #email{
    width: 90%;
    font-size: 1.6rem;
  }
  #submit{
    width: 50%;
    font-size: 1.7rem;
  }
  .features{
    grid-column: 1/-1;
  }
  .list-icon{
    margin-top: 0;
    font-size: 1.5rem;
  }
  .list-heading{
    font-size: 1.9rem;
  }
  .list-para{
    font-size: 1.4rem;
  }
  .howItWorks{
    width: 80%;
    height: 120%;
  }
  .pricing{
    grid-column: 1/-1;
  }
  .box h3{
    font-size: 1.8rem;
    padding: 0; 
  }
  .box h2{
    font-size: 1.9rem;
  }
  .box p{
    font-size: 1.2rem;
  }
  .box button{
    width: 80%;
    font-size: 1.5rem;
  }
}

@media only screen and (max-width:1400px){
  #submit{
    width: 40%;
  }
}