*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@200;400;600;800&display=swap');


:root{
  --mainColor: #6666ff;
  --secondColor: #777;
  --thirdColor: #69b933;
  --mainFont:'Montserrat', sans-serif;
}


body{
  font-family: var(--mainFont);
}


#header {
  height: 100vh;
  background-image: url(images/Artboard.png); 
  background-position:center center;
  background-size: cover;
}

.container {
  margin: 0 100px;
}

.logo {
  margin-top: 30px;
  width: 14%;
}

.header-text{
  max-width: 550px;
  margin-top: 150px;
  margin-left: 60px;
  animation: little 2s ease-in-out;
}

@keyframes little{
  0%{
    opacity: 0;
    transform: translateX(-50px);
  }
  100%{
    opacity: 1; 
    transform: translateX(0px);
  }
}

.header-text p{
  padding: 25px 0;;
}

.header-text h1,
.about-text h1,
.course-text h1,
.contact-left-col h1 {
  font-size: 45px;
  padding-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 22px;
  color: #777;
  letter-spacing: 0.1em;
}



/*------- Buttons -------*/


.common-btn{
  padding: 15px 20px;
  background: transparent;
  outline: none;
  border: 1px solid var(--thirdColor);
  font-weight: 400;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
  position: relative;
  font-size: .8em;
}

.common-btn.btn-background-slide::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  background-color:var(--thirdColor);

  transition: transform 300ms ease-in-out;
  transform: scaleX(0);
  transform-origin: left; 
}

.common-btn.btn-background-slide {
  transition: color 300ms ease-in-out;
  z-index: 1;
}

.common-btn.btn-background-slide:hover a,
.common-btn.btn-background-slide:focus a{
  color: #fff;
}

.common-btn.btn-background-slide:hover::before,
.common-btn.btn-background-slide:focus::before {
  transform: scaleX(1);
}

.common-btn a{
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4em;
  color: var(--thirdColor);
}

.feature-btn{
  margin: 90px auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

#offer button {
  margin: 30px 0;
}

.btn-box{
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 15px; 
}

.btn-box  button{
  flex-basis: 48%;
  padding: 6px 0;
}

.btn-box button{
  padding: 10px;
  flex-basis: 95%;
}

.header-text button {
  margin-top: 30px;
  margin-bottom: 50px;
}

/*--------- Buttons END ------*/

.square {
  height: 6px;
  width: 20%;
  display: inline-block;
  background: #6666ff;
  margin: 15px 0;
  border-radius: 4px;
}

/*---------------- sideNAv--------------*/
#sideNav{
  width: 250px;
  height: 100vh; 
  position: fixed;
  right: -250px; 
  top: 0;
  background: #6666ff;
  z-index: 2;
  transition: .5s;
}

nav ul li{
  list-style: none;
  margin: 50px 20px;
}

nav ul li a{
  text-decoration: none;
  color: #fff;
}

#sideNav a:hover{
font-weight: bold;
}

#menuBtn{
  width: 50px;
  position: fixed;
  right: 65px;
  top: 35px;
  z-index: 2;
  border-radius: 10px;
  cursor: pointer;
}

/*---------------- sideNAv END--------------*/

/*---------------- About START--------------*/
#about,
#offer,
#courses,
#contact {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 0;
}


.about-left-col{
  flex-basis: 50%;
}

.about-left-col img{
  width:100%;  
}

.about-right-col {
  flex-basis: 50%;
  text-align: right;
}

.about-text{
  max-width: 550px;
  margin-right: 140px;
  display: inline-block;
  
}

.about-text p,
.course-text p{
  margin-bottom: 10px;
  padding: 20px 0;
}
/*---------------- About END--------------*/

/*---------------- Features START--------------*/
#features{
  padding: 40px 0;
}

.feature-row{
  width: 80%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
}

.feature-col{
  flex-basis: 25%;
  text-align: center;
}

.feature-col img{
  width: 100px;
}

.feature-col h4{
  margin-bottom: 15px;
  font-size: 25px;
  padding: 20px 0;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.feature-btn .line{
  text-align: right;
  display: inline-block;
  margin-right: 25px;
}

/*---------------- Features END--------------*/

/*---------------- Courses START--------------*/
#courses{
  padding: 30px 0;
}

.course-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.course-right-col{
  flex-basis: 50%;
}

.course-right-col img{
  width: 100%;
}

.course-left-col{
  flex-basis: 50%;
}

.course-text{
  max-width: 550px;
}

.course-text button{
  margin: 30px 0;
}
/*---------------- Courses END--------------*/

/*---------------- Contact START--------------*/
#contact {
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px 30px;
}
.contact-row{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.contact-left-col,
.contact-right-col{
  flex-basis: 50%;
}

.contact-right-col img{
  width: 100%;
}
/*---------------- Contact END--------------*/
/*---------------- Form START--------------*/
form{
  max-width: 350px;
  margin: 30px 0;
  margin-left: 20px; 
  /* padding-left: 40px; */
}

form input{
  width: 100%;
  padding: 15px 10px;
  margin-bottom: 15px;
  margin-top: 5px;
  outline: none;
  box-shadow: none;
  border: 1px solid #6666ff;
  border-radius: 3px;
}

form input:focus{
  border: 1px solid #212122;
}

.label-text {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--secondColor);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}
/*---------------- Form END--------------*/
/*---------------- Footer START--------------*/
#footer{
  padding: 50px 0 30px;
}

hr{
  width: 100%;
  border: 0;
  border-top: 1px solid #6666ff;
}

.footer-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left-col{
  flex-basis: 50%;
  margin-top: 60px;
}

.footer-right-col {
  flex-basis: 35%;
}

.footer-links{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.link-title h4{
  color: var(--mainColor);
  margin-bottom: 20px;
}

.link-title small{
  font-size: 13px;
  color: #797979;
}

.footer-info{
  display: flex;
  align-items:flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo img{
  width: 100px;
}


.copyright-text,
.footer-logo{
  flex-basis: 40%;
}

#credit a{
  text-decoration: none;
  color: var(--mainColor);
}
/*---------------- Footer END--------------*/


#down--arrow {
  animation: down-arrow 1.5s ease-in-out infinite alternate-reverse;
}

@keyframes down-arrow {
  form{
    transform:rotateX(0deg);
  }
  to{
    transform:rotateX(12deg)
  }
}

/*------Arrow END------*/

/*------Social START------*/
.social-icons{
  width: 50px;
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 3;
}

.social-icons img{
  display: block;
  width: 25px;
  margin: 0 auto 20px;
  cursor: pointer;
}

/*------Social END------*/

/*-----responsive-----*/
@media only screen and (max-width: 770px){
  #header {
    background-image: none;
  }
  .container {
    margin: 0 50px;
  }

  .logo {
    margin-top: 27px;
    width: 80px;
  }

  .header-text {
    margin-top: 100px;
    margin-left: 60px;
    animation: little 2s ease-in-out;
  }
  .header-text h1,
  .about-text h1,
  .course-text h1,
  .contact-left-col h1 {
    font-size: 25px;
    padding-bottom: 10px;
  }
  #menuBtn {
    width: 40px;
    right: 50px;
    border-radius: 10px;
  }
  .common-btn {
    padding: 10px 16px;
  }
  .social-icons img {
    width: 14px;
    margin: 15px auto;
  }
  #about{
    padding-top: 0;
  }
  .about-left-col{
    flex-basis: 100%;
  }
  .about-right-col{
    flex-basis: 100%;
  }
  .about-text {
    margin: 50px;
    display: inline-block;
  }
  .about-text p,
  .course-text p {
    margin-bottom: 10px;
    padding: 20px 0; 
    width: 100%;
  }
  .feature-col{
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  .course-left-col{
    flex-basis: 100%;
  }
  .course-right-col {
    flex-basis: 100%;
  }
.contact-left-col,
.contact-right-col{
  flex-basis: 100%;
}
.footer-left-col{
  flex-basis: 100%;
}
.footer-right-col {
  flex-basis: 100%;
}
.link-title{
  flex-basis: 50%;
  margin-bottom: 30px;
}
}

