
html {
  font-family: "Helvetica", sans-serif;
  font-size: 18px;
}
body {
 margin: 0 auto;
 line-height: 1.4;
}
/* header  */
header {
  display: flex;
  height: 3.8rem;
  width: 100%;
  padding-top: 1rem;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
nav {
  z-index: 2;
  color: white;
  display: flex;
  width: 100%;
  position: fixed;
  padding: 1rem 0;
  align-items: center;
  background-color: rgba(95, 158, 160, .90 );
  justify-content: space-between;
}
.banner{
  max-width: 1360px;
  margin: auto;
}

.flex {
  display: flex;
}

a {
color: white;
}
a:hover{
font-style: italic;
}

nav span{
  display: flex;
  height: 1.5rem;
  font-size: 1.3rem;
  margin-left: 2rem;
  align-items: center;
  margin-right: 1rem;
}
nav ul {
  margin-right: 1rem;
}
nav li {
  display: inline;
  font-size: 1.3rem;
  padding: 0 1rem;
}
header .flex {
  justify-content: center;
}

header .mobile{
  display: none;
}

@media only screen and (max-width: 1020px){
  .banner{
    max-width: 960px;
  }
 }
@media only screen and (max-width: 875px){
  .banner{
    max-width: 800px;
   }
}
@media only screen and (max-width: 760px) {
  .banner{
    max-width: 730px;
  }
  nav span {
    margin-left: 1rem;
  }

  nav ul {
    margin-right: 0rem;
  }
}
@media only screen and (max-width: 700px) {
  header{
    height:3.5rem;
  }
  .banner{
    max-width: 600px;
  }
  nav span {
    margin-left: 1rem;
  }
  html{
    font-size: 14px;
  }

}
@media only screen and (max-width: 500px){

  .banner{
    max-width: 430px;
  }
  header .mobile{
    display: flex;
    color: white;
    height:4rem;
    width: 100%;
    align-items: center;
  }
  .mobile img{
    width: 47%;
    display: block;
  }
  nav ul{
    display: none;
  }
  nav span{
    display: none;
  }

  nav{
    padding: 0rem;
  }
}

/* about start */
.img{
  width: 35%;
}
.img img{
  width: 100%;
}
.container{
 margin-top: 2rem;
 display: inline-block;
 width: 100%;
}

.about .p-info{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.c-info{
  display: grid;
  width: 800px;
  height: 230px;
  border-radius: 42px;
  align-content: center;
  margin: .50rem auto 5rem auto;
  background-color: #efefef;
}
 .c-info  a {
   font-size: 1.4rem;
   color: black;
 }
 .c-info img{
   margin-right: 1rem;
 }

.what  {
  width: 30%;
  display: flex;
  margin: 10px auto;
  align-items: center;
}

h1{
  width: 100%;
  display:flex;
  font-size: 4rem;
  margin-top: 2rem;
  justify-content: center;
}
 h2{
  display: flex;
  margin-top: 4rem;
  font-size: 2.3rem;
  justify-content: center;
}
h1:hover{
  opacity: 100;
}

.description{
 width: 50%;
  font-size: 1.25rem;
}
span{
  font-size: 1.4rem;
}
/* about end*/

@media only screen and (max-width: 875px){
  .description{
    font-size: 1rem;
  }
  h1 {
    font-size: 3rem;
    margin-top: 1rem;
  }
  h2 {
    margin-top: 2rem;
  }
  .c-info{
    width: 650px;
  }
  span{
    font-size: 1.2rem;
  }
  .c-info  a {
    font-size: 1.2rem;
  }

}
@media only screen and (max-width: 675px){
  .img{
    width: 50%
  }
  .p-info{
    align-items: center;
    flex-direction: column;
  }
  .description{
    font-size: 1.25rem;
    margin-top: 2rem;
  }
  .c-info{
    width: 400px;
  }
  .what{
    width:50%;
  }
  h2{
    margin-top: 5rem;
  }
}
@media only screen and (max-width: 475px){
  .description{
    font-size: .90rem;
  }
  h2{
    margin-top: 3rem;
  }
}
/* footer */
.footer-content{
 color: white;
 display: flex;
 height: 2rem;
 font-size: .750rem;
 align-items: center;
 justify-content: center;
 background-color: cadetblue;
}
@media only screen and (max-width: 875px){
  .footer{
    margin-top: 0;
    font-size: .950rem;
  }
}
