html {
  scroll-behavior: smooth;
}

body {
  padding: 0;
  margin: 0;
  background-color: #ffffff;
}

button:hover {
  color: white;
  background-color: #563bac;
}

* {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

#header {
  height: 100vh;
  background-image: url("images/8294.png");
  background-position: right;
  background-size: 1000px 700px;
  background-repeat: no-repeat;
  margin-right: 100px;
}
.header-text img {
  display: none;
}

.container {
  margin-right: 100px;
  margin-left: 100px;
}

.logo {
  margin-top: 10px;
  width: 190px;
  transition-duration: 0.5s;
}

.header-text {
  max-width: 350px;
  margin-top: 55px;
}

h1 {
  font-size: 34px;
}

.square {
  height: 12px;
  width: 12px;
  display: inline-block;
  background: #563bac;
  margin: 15px 0;
}

.comman-btn {
  padding: 10px 20px;
  background: transparent;
  outline: none;
  border: 2px solid #567bac;
  font-weight: bold;
  cursor: pointer;
}

p {
  font-size: 17px;
  line-height: 18px;
  color: #575757;
}

.header-text button {
  margin-top: 20px;
  margin-bottom: 60px;
}

.line-1 {
  width: 15px;
  height: 15px;
  background: #563bac;
  display: inline-block;
}

.line-2 {
  width: 80px;
  height: 1px;
  background: #563bac;
  display: inline-block;
}

.line-3 {
  width: 60px;
  height: 1px;
  background: #563bac;
  display: inline-block;
}

.line {
  line-height: 8px;
  margin-top: -20px;
}

#sideNav {
  width: 290px;
  height: 100vh;
  position: fixed;
  right: -290px;
  top: 0;
  background: #563bac;
  z-index: 2;
  transition: 0.5s;
  text-decoration: none;
}

#sideNav > ul > li {
  margin-left: 20%;
  text-decoration: none;
}

#sideNav > ul {
  margin-top: 35%;
}

nav ul li {
  list-style: none;
  margin: 60px 20px;
}

nav ul li a {
  text-decoration: none;
  color: #fefbf6;
  font-size: large;
  font-style: italic;
  transition: 0.2s ease-in;
}

nav ul li a:hover {
  color: #fff;
}

#menubtn {
  width: 50px;
  position: fixed;
  right: 15px;
  top: 40px;
  z-index: 2;
  cursor: pointer;
  border-radius: 20%;
}

/* about */

#about,
#offer {
  padding: 100px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.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: 500px;
  margin-right: 100px;
  display: inline-block;
}

.about-text h2 {
  margin: 50px 0 10px;
  font-size: 28px;
  font-style: italic;
}

.about-text h3 {
  margin: 50px 0 10px;
  font-size: 28px;
  font-style: italic;
}

/* features */
#features {
  padding-top: 50px;
  padding-bottom: 50px;
}

.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;
  transition-duration: 0.5s;
}

.feature-col:hover img {
  scale: 1.3;
}

.feature-col h4 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 400;
}

.feature-btn {
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.feature-btn .line {
  text-align: right;
  display: inline-block;
  margin-right: 25px;
}

/* courses */

#courses {
  padding: 100px 0;
}

.course-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.corse-right-col {
  flex-basis: 50%;
}

.corse-right-col img {
  width: 100%;
}

.corse-left-col {
  flex-basis: 50%;
}

.course-text {
  max-width: 350px;
}

.course-text button {
  margin: 30px 0;
}

/* offer */

#offer button {
  margin: 30px 0;
}

/* contact */
.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%;
  margin-left: 20px;
}

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 #563bac;
  caret-color: #563bac;
}

.btn-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.btn-box button {
  flex-basis: 48%;
  padding: 10px 0;
  margin-top: 6px;
}



#loader {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: visible;
  background: rgb(255, 0, 179) url(images/loader.gif) no-repeat center center;
  background-color: #ffffffcf;
  background-size: 400px;
}

#footer {
  background: #282d32;
  color: #fff;
  font-size: 14px;
  margin-top: 40px;
}

/* #footer .footer-newsletter {
  padding: 50px 0;
  background: #282d32;
} */

/* #footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
} */

/* #footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
} */

/* #footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 8px;
  width: calc(100% - 140px);
} */

/* #footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 30px;
  margin: 3px;
  background: #e96b56;
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
} */

/* #footer .footer-newsletter form input[type="submit"]:hover {
  background: #e6573f;
} */

#footer .footer-top {
  background: #282d32;
  /* border-top: 1px solid #474747;
  border-bottom: 1px solid #474747; */
}

/* #footer .footer-top .footer-info {
  margin-bottom: 20px;
  justify-content: "center";
} */

/* #footer .footer-top .footer-info h3 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
} */

/* #footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
} */
#footer .footer-top .social-links {
  display: flex;
  justify-content: space-evenly;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: transparent;
  border: 1px solid #acacac;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  text-decoration: none;
}
/* social media icon hover
#footer .footer-top .social-links .fa-facebook:hover {
  background: #3b5998;
  color: #0e0e0e;
}

#footer .footer-top .social-links .fa-twitter:hover {
  background: #55acee;
  color: #0e0e0e;
}

#footer .footer-top .social-links .fa-instagram:hover {
  background: #c13584;
  color: #fff;
}

#footer .footer-top .social-links .fa-youtube:hover {
  background: #bb0000;
  color: #fff;
} */

/* #footer .footer-top .social-links a:hover {
  background: #e96b56;
  color: #fff;
  text-decoration: none;
} */

/* #footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
} */

/* #footer .footer-top .footer-links {
  margin-bottom: 30px;
} */

#footer .footer-top .footer-links p {
  color: #3a3a3a !important;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width:1000px) {
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 0px;
    row-gap: 1px;
    position: relative;
    left: 50px;
  }

  #header {
    background: none;
    height: auto;
    width: 100%;
  }
  #header .container {
    margin-right: 0em;
    margin-left: 5em;
    width: 100vw;
  }
  .header-text {
    display: block;
    width: 100%;
    margin-top: 2em;
    max-width: 100%;

  }
  .header-text img {
    display: block;
    width: 55%;
    float: right;

  }
  .header-text h1 {
    width: 100%;
  }
  .header-text p {
    width: 40%;
  }
}

.fa-facebook:hover{
  text-decoration: none;
  color: #4267B2 !important;
  transition: 1s all linear;
  transform: scale(1.09);
}
/* #footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ec7f6d;
  font-size: 18px;
  line-height: 1;
} */

.fa-twitter:hover{
  text-decoration: none;
  color: #1DA1F2!important;
  transition: 1s all linear;
  transform: scale(1.09);
}

.fa-youtube:hover{
  text-decoration: none;
  color: #FF0000 !important;
  transition: 1s all linear;
  transform: scale(1.09);
}

.fa-instagram:hover{
  text-decoration: none;
  color: #F56040!important;
  transition: 1s all linear;
  transform: scale(1.09);
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

/* #footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
} */

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 4;
  text-decoration: none;
  font-size: large;
}

/* #footer .footer-top .footer-links ul a:hover {
    color: #e96b56
} */

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

/* #footer .footer-top .footer-contact p {
  line-height: 26px;
  color: #fff !important;
} */

#footer .copyright {
  text-align: center;

  /* padding-top: 30px */
}

#footer .credits {
  /* padding-top: 10px; */
  text-align: center;
  font-size: calc(var(--f0) * 1);
  color: #fff;
}

.gotopbtn {
  display: none;
  position: fixed;
  width: 50px;
  height: 50px;
  background: #563bac;
  bottom: 40px;
  right: 15px;
  text-decoration: none;
  text-align: center;
  line-height: 55px;
  color: white;
  font-size: 22px;
  border-radius: 50%;
}

.gotopbtn:hover {
  color: white;
}

/* Responsive Website */
@media screen and (max-width: 468px) {
  .about-text {
    margin-right: 50px;
  }
  .about-text h2,
  h3 {
    margin-top: 30px;
  }
  #features {
    padding: 10px 0px;
  }
  .feature-row {
    display: flex;
    flex-direction: column;
  }
  .feature-col {
    margin-top: 1em;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .feature-col p {
    width: 80%;
  }
  .feature-btn {
    margin-top: 55px;
    margin-bottom: 3em;
  }
  .btn-box button {
    padding: 5px;
  }
}

@media screen and (max-width: 788px) {
  #offer {
    display: flex;
    flex-direction: column;
    padding: 0px;
    margin-bottom: 5em;
  }
  .container {
    margin: 0px 20px;
  }
  #header {
    background-size: contain;
    background-repeat: no-repeat;
  }
  #header .container {
    display: block;
    margin: auto;
    width: 90%;
  }
  .header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .header-text h1, .header-text p, .header-text img {
    width: 90%;
    text-align: center;
  }
  .header-text p {
    width: 80%;
    margin: 1.5em 0;
  }
  .header-text button {
    margin-bottom: 30px;
  }
  .header-text .line {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1em;
  }

  #about {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 50px;
  }
  .about-text {
    display: block;
    margin: 1em auto 0 auto;
    width: 80%;
    text-align: center;
  }
  .about-text p {
    margin-bottom: 0.2em;
  }
  .line-1 {
    scale: 0.8
  }

  #about h3 {
    text-align: right;
    font-size: 1.2em;
    margin-top: 2em;
  }

  .course-row {
    display: flex;
    flex-direction: column-reverse;
  }
  .corse-left-col {
    display: flex;
    flex-direction: column  ;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 2em;
  }
  #courses .line, #offer .line {
    margin-top: 1em;
  }
  
  .contact-row {
    display: flex;
    flex-direction: column-reverse;
  }
  .contact-right-col {
    margin-bottom: 2em;
  }
  .contact-right-col img {
    display: block  ;
    margin: auto;
    width: 80%;
  }
  .contact-left-col h1 {
    text-align: center;
  }
  .footer-links {
    display: flex;
    justify-content: left;
  }
  .footer-links ul {
    display: flex !important;
    flex-direction: column;
    margin-top: 2em !important;
    width: 100%;
    left: 30px !important;
  }
  .footer-links ul li a {
    line-height: 1 !important;
  }
}

::-webkit-scrollbar{
  width: 15px;
}

::-webkit-scrollbar-track{
  background-color: white; 
}

::-webkit-scrollbar-thumb{
   background-color: #563bac;
   background-clip: content-box;
   border: 2px solid transparent;
   border-radius: 15px;
}