* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

#header {
  height: 100vh;
  background-image: url(images/background.png);
  background-position: center;
  background-size: cover;
}
.container {
  margin: 0px 100px;
}
#header .logo {
  margin-top: 30px;
  width: 100px;
}
#header .headerText {
  max-width: 350px;
  margin-top: 140px;
}
#header h1 {
  font-size: 34px;
}
.square {
  height: 12px;
  width: 12px;
  display: inline-block;
  background: #f67c92;
  margin: 15px 0px;
}
.commonBtn {
  padding: 18px 40px;
  background: transparent;
  outline: none;
  border: 2px solid #f67c92;
  font-weight: bold;
  cursor: pointer;
}
#header p {
  font-size: 15px;
  line-height: 18px;
  color: #777;
}
button {
  margin: 20px 0px 60px 0px;
}
.line {
  line-height: 8px;
}
.line1,
.line2,
.line3 {
  width: 15px;
  height: 15px;
  background: #f67c92;
  display: inline-block;
}
.line2 {
  width: 80px;
  height: 1px;
}
.line3 {
  width: 60px;
  height: 1px;
}

#sideNav {
  width: 250px;
  height: 100vh;
  position: fixed;
  right: -250px;
  top: 0;
  background: #f67c92;
  z-index: 2;
  transition: 0.7s;
}
nav ul li {
  list-style: none;
  margin: 50px 20px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
}
#menuButton {
  width: 50px;
  position: fixed;
  right: 65px;
  top: 35px;
  z-index: 2;
  cursor: pointer;
}

#about, #offer{
  padding: 100px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.aboutLeftCol{
  flex-basis: 50%;
}
.aboutLeftCol img{
  width: 100%;
}
.aboutRightCol{
  flex-basis: 50%;
  text-align: right;
}
.aboutText{
  max-width: 500px;
  margin-right: 100px;
  display: inline-block;
}
.aboutText h3{
  margin: 50px 0 10px;
  font-size: 24px;
  font-style: italic;
}
.aboutText h4{
  font-size: 20px;
  font-style: italic;
  color: #797979;
}


#features{
  padding: 50px 0px;
}
.featureRow{
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}
.featureCol{
  flex-basis: 25%;
  text-align: center;
}
.featureCol img{
  width: 100px;
}
.featureCol h4{
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}
.featureBtn{
  margin: 80px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featureBtn .line{
  text-align: right;
  display: inline-block;
  margin-right: 25px;
}

#courses{
  padding: 100px 0;
}
.courseRow{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.courseRightCol{
  flex-basis: 50%;
}
.courseRightCol img{
  width: 100%;
}
.courseLeftCol{
  flex-basis: 50%;
}
.courseText{
  max-width: 350px;
}
.courseText button{
  margin: 30px 0px;
}

#offer button{
  margin: 30px 0;
}

.contactRow{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.contactLeftCol,.contactRightCol{
  flex-basis: 50%;
}
.contactRightCol img{
  width: 100%;
}

form{
  max-width: 350px;
  margin: 30px 0;
}
form input{
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 5px;
  outline: none;
  box-shadow: none;
  box-sizing: border-box;
  border: 2px solid #fab3c4;
}
.btnBox{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.btnBox button{
  flex-basis: 48%;
  padding: 18px 0;
}

#footer{
  padding: 50px 0 30px;
}
hr{
  width: 100%;
  border: 0;
  border-top: 1px solid #f67c92;
}
.footerRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footerLeftCol{
  flex-basis: 50%;
  margin-top: 60px;
}
.footerRightCol{
  flex-basis: 35%;
}
.footerLinks{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.linkTitle h4{
  color: #fab3c4;
  margin-bottom: 20px;
}
.linkTitle small{
  font-size: 13px;
  color: #777;
}
.footerInfo{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footerLogo img{
  width: 100px;
}
.footerLogo button{
  padding: 12px 38px;
  margin-top: 20px;
  font-size: 10px;
}
.copyrightText, .footerLogo{
  flex-basis: 40%;
}

.socialIcons{
  width: 50px;
  position: fixed;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  z-index: 1;
}
.socialIcons img{
  display: block;
  width: 20px;
  margin: 0 auto 20px;
  cursor: pointer;
}
@media only screen and (max-width: 770px){
  #header{
    background-image: none;
  }
  .container {
    margin: 0px 50px;
  }
  #header .logo {
    margin-top: 27px;
    width: 70px;
  }
  #header .headerText {
    margin-top: 100px;
  }
  #header h1 {
    font-size: 25px;
  }
  #menuButton {
    width: 40px;
    right: 50px;    
  }
  .commonBtn {
    padding: 10px 16px;
  }
  .socialIcons img{    
    width: 14px;
    margin: 15px auto ;
  }
  .aboutLeftCol,.aboutRightCol{
    flex-basis: 100%;
  }
  .aboutText{    
    margin: 50px 50px 0;    
  }
  .aboutText h3{    
    font-size: 18px;    
  }
  .featureCol{
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  .courseLeftCol,.courseRightCol{
    flex-basis: 100%;
  }
  .courseRightCol{
    margin-top: 40px;
  }
  .contactLeftCol,.contactRightCol{
    flex-basis: 100%;
  }
  .contactRightCol{
    margin-top: 40px;
  }
  .footerLeftCol,.footerRightCol{
    flex-basis: 100%;
  }
  .linkTitle{
    flex-basis: 50%;
    margin-bottom: 30px;
  }
}