* {
    box-sizing: border-box;
  }

  body {
      margin: 0;
      font-family: 'Open Sans';
      font-weight: 400;
      color: hsl(243, 87%, 12%);
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway';
    font-weight: 700;
  }
  h1 {
    font-size: 41px;
  }
  button, .textSection a, header {
    font-family: 'Raleway';
    font-weight: 400;
  } 
  /* header section styling */
  header {
    padding: 2% 4%;
  }
  .navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  .navbar li {
    float: right;
  }
  
  .navbar li a {
    text-decoration: none;
    display: block;
    padding: 15px;
  }
  .navbar .topLogo {
    float: left;
  }
  header, .mainTop{
    background-color: white;
  }
/* main */
  /* ______________________________________main top section____________________________________________ */
  .mainTop {
    padding: 4%;
    display: flex;
    padding-bottom: 100px;
  }
  .mainTop .textSection{
    width: 50%;
    padding-top: 5%;
    padding-left: 3px;
  }
  .mainTop .imageSection {
    width: 50%;
    padding-left: 5%;   
  }
  .illustrationImage {
    width: 100%;
  } 
  .mainTop .textSection p {
    padding-right: 15%;
  }
  #email {
    width:300px;
    height: 40px;
    padding: 15px;
    margin-right: 10px;
    border: 1px solid hsl(243, 87%, 12%);
    border-radius: 3px;

    
  }
  button {
    width: 180px;
    height: 40px;
    background-color: hsl(224, 93%, 58%);
    color: white;
    border-style: none;
    border-radius: 3px;
    cursor: pointer;
  }

  .designCurve {
    
    height: 100px;
    width: 100%;
    background-image: url(../images/bg-curve-desktop.svg);
    background-color: white;
    background-size: cover;
  }
/* ___________________________________________main middle section________________________________*/
  .mainMiddle {
    padding: 2% 4% 4% 4%;
    display: flex;
    background-color: hsl(240, 75%, 98%);
  }
  .mainMiddle .textSection{
    width: 55%;
  }
  .mainMiddle .pText {
    padding-right: 240px;
  }
  .mainMiddle .imageSection {
    width: 45%;
    padding-left: 6%;   
  }
  .mainMiddle a {
    color: hsl(170, 45%, 43%);
  }
  /* review Box */
  .reviewBox {
    width: 330px;
    height: 175px;
    margin: 30px 0px;
    padding: 2%;
    overflow: hidden;
    background-color: white;
    border-radius: 7px;
    box-shadow: 5px 5px 7px lightgrey;
  }
  .reviewBox p {
    font-size: 12px;
  }
  .person {
    display: flex;
  }
  #avatar {
    width: 30px;
    height: 30px;
    margin-top: 6.5px;
    margin-right: 5px;
    border-radius: 50%;
  }
  .avatarText {
    line-height: 5px;
  }
/*____________________________________________main bottom section____________________________________  */
.mainBottom {
  padding: 4%;
  display: flex;
  background-color: hsl(238, 22%, 44%);
  color: white;
}
.mainBottomText {
  width: 50%;
}
.mainBottomInput {
  width: 50%;
  margin-top: 25px;
  padding-left: 150px;
}
.mainBottomInput input {
  width: 100%;
  height: 45px;
  padding: 15px;
  margin-bottom: 10px;
  border-style: none;
}
/* _____________________________________________Footer__________________________________ */
footer{
  background-color: hsl(243, 87%, 12%);
  color: white;
  padding-bottom: 20px;
  padding-left: 4%;
}
.footerLogo {
  padding-top: 50px;
}
.column {
  float: left;
  width: 25%;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}

.column ul {
  list-style-type: none;
  line-height: 40px;
  padding-inline-start: 0px;
}
.icon {
  width: 20px;
  height: 15px;
  margin-top: 5px;
  margin-right: 10px;  
}

.social {
  display: inline;
}

/* social icons styling */
.fa {
  padding: 5px;
  font-size: 20px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border: 1px solid white;
  border-radius: 50%;
  color: white;
}

.fa:hover {
    opacity: 0.7;
}
/* attribution */
.attribution { 
  font-size: 11px;
  text-align: center;
  margin-top: 20px;
}
.attribution a { 
  color: hsl(228, 45%, 44%);
}
/* _________________________________________________________________________Responsive to mobile devices________________________ */
@media screen and (max-width: 480px) {
  header {
    padding: 20px 15px;
  }
  .navbar {
    width: 100%;
  }
  .navbar li a {
    font-size: 13px;
    padding: 5px;
  }
  /* logo  */
  .topLogo {
    width: 80px;
  }
  #topLg {
    width: 100%;
  }
  /* ______________________________________main top section_________________ */
  .mainTop {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 15px;
  }
  h1 {
    font-size: 21px;
  }
  .mainTop .textSection{
    width: 100%;
    padding-top: 20px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
  }
  .mainTop .textSection p {
    padding-right: 0;
  }
  .mainTop .imageSection {
    width: 100%;
    padding: auto;   
  }
  .illustrationImage {
    width: 100%;
  } 
  #email {
    width: 100%;
    height: 40px;
    padding: 15px;
    margin-right: 0px;
  }
  .textSection input {
    padding-left: 0px; 
  }
  button {
    margin-top: 10px;
    width: 100%;
    height: 40px;
  }

  .designCurve {
    height: 50px;
    background-image: url(../images/bg-curve-mobile.svg);
  }
/* ___________________________________________main middle section________________________________*/
  .mainMiddle {
    padding: 15px;
    flex-direction: column-reverse;
    text-align: center;
  }
  .mainMiddle .textSection{
    width: 100%;
  }
  .mainMiddle .pText {
    padding-right: 0px;
    text-align: left;
  }
  .mainMiddle .imageSection {
    width: 100%;
    padding: auto;   
  }
  .mainMiddle a {
    color: hsl(170, 45%, 43%);
  }
  /* review Box */
  .reviewBox {
    text-align: left;
    width: 85%;
    margin: 40px auto;
  }
/*____________________________________________main bottom section____________________________________  */
  .mainBottom {
    padding: 40px 15px;
    flex-direction: column;
    text-align: center;
  }
  .mainBottomText {
    width: 100%;
  }
  .mainBottomInput {
    width: 100%;
    margin-top: 15px;
    padding-left: 0px;
  }
  .mainBottomInput input {
    width: 80%;
    margin-bottom: 2px;
  }
  #bottomButton {
    width: 80%;
  }

  /* _____________________________________________Footer__________________________________ */
  footer{
    padding-bottom: 20px;
    padding-left: 30px;
  }
  .column {
    width: 100%;
  }

  .social {
    display: inline;
    float: none;
    padding-left: 33%;
  }

} /*Media query close*/
 