@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
  --green: #00e77f;
  --white: #fff;
  --light-white: #aaa;
  --black: #3d3d3d;
  --light-bg: #4b4b4b;
}

* {
  font-family: "Rubik", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: 0.2s linear;
  text-transform: capitalize;
}

*::selection {
  background-color: var(--white);
  color: var(--black);
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

::-webkit-scrollbar {
  height: 0.5rem;
  width: 1rem;
}

::-webkit-scrollbar-track {
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #ff6666;
  border-radius: 5rem;
}

/*body {
  background-color: var(--black);
}*/

section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  border-radius: 5rem;
  background-color: #ff3333;
  cursor: pointer;
  color: var(--white);
  font-size: 1.8rem;
  padding: 1rem 3rem;
}

.btn::hover {
  background-color: var(--white);
  color: var(--black);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff316;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.header .flex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .flex .logo {
  font-size: 3rem;
  color: #ff3333;
  font-weight: 900;
}

.header .flex .navbar a {
  margin-left: 2rem;
  color: black;
  font-size: 2rem;
}

.header .flex .navbar a:hover {
  color: #ff3333;
}

#menu-btn {
  cursor: pointer;
  font-size: 3rem;
  display: none;
}

.home {
  margin-top: 13rem;
}

.home .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap-reverse;
  gap: 1.5rem;
}

.home .row .content {
  flex: 1 1 40rem;
  text-align: center;
}

.home .row .image {
  flex: 1 1 40rem;
}

.home .row .image img {
  width: 100%;
}

.home .row .content h3 {
  font-size: 7rem;
  color: black;
}
.home .row .content h3 span {
  background: linear-gradient(transparent 60%, #ffff00 0);
}

.about .row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.about .row .image {
  flex: 1 1 40rem;
}

.about .row .image img {
  width: 100%;
}

.about .row .content {
  text-align: center;
  flex: 1 1 40rem;
}

.about .row .content h3 {
  font-size: 3rem;
  color: black;
}

.about .row .content p {
  padding: 1rem 0;
  line-height: 2;
  font-size: 1.6rem;
  color: var(--black);
  font-weight: 900;
}

.heading {
  margin-bottom: 2.5rem;
  text-align: center;
  font-size: 4rem;
  color: var(--white);
  text-transform: uppercase;
}

.heading span {
  color: #ff6666;
  text-transform: uppercase;
}

.courses .description {
  margin-bottom: 1.7rem;
}

.courses .description p {
  text-align: center;
  padding: 1rem 0;
  line-height: 2;
  font-size: 1.6rem;
  color: var(--black);
  font-weight: 900;
  text-transform: none;
}

.courses {
  padding-bottom: 1rem;
}

.courses .slide {
  width: 30rem;
  background-color: #ffff99;
  border-radius: 0.5rem;
  text-align: center;
  padding: 2rem;
  margin-bottom: 4rem;
  height: 890px;
}

.courses .slide img {
  width: 100%;
}

.courses .slide h2 {
  font-size: 3rem;
  text-transform: none;
}

.courses .slide h3 {
  margin: 1.5rem 0;
  font-size: 2.5rem;
  color: black;
}

.courses .slide p {
  line-height: 2;
  font-size: 1.6rem;
  color: black;
  color: var(--black);
  font-weight: 900;
  text-transform: none;
}

.swiper-pagination-bullet {
  background-color: var(--white);
}

.swiper-pagination-bullet-active {
  background-color: #ff6666;
}

.schedule .schedule-detail {
  text-align: center;
}

.schedule .schedule-detail .grade {
  margin: 2rem;
}

.schedule .schedule-detail .grade h2 {
  font-size: 3rem;
}

.schedule .schedule-detail .grade p {
  font-size: 2rem;
}

.schedule .schedule-about {
  text-align: center;
  margin-bottom: 3rem;
}

.schedule .schedule-about h3 {
  font-size: 1.6rem;
  margin-bottom: 2.5rem;
}

.schedule .schedule-detail .btn {
  padding: 2rem 3rem;
}

.footer {
  background-color: var(--light-bg);
  text-align: center;
}

.footer .share a {
  margin: 0 0.3rem;
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  border-radius: 50%;
  font-size: 2rem;
  color: var(--white);
  background-color: var(--black);
}

.footer .share a:hover {
  background-color: #ff6666;
}

.footer .credit {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  padding: 1.5rem;
  border-top: 0.1rem solid var(--light-white);
  font-size: 2rem;
  color: var(--light-white);
}

.footer .credit span {
  color: #ff6666;
}

.swiper-button-next {
  display: none;
}

.swiper-button-prev {
  display: none;
}

.swiper-pagination-bullet {
  background-color: #ff6666;
}

/* media queries */

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }

  .swiper-pagination {
    position: relative;
    margin-top: 2rem;
  }

  .swiper-button-next {
    display: block;
    font-size: 0.5rem;
  }

  .swiper-button-prev {
    display: block;
    font-size: 1rem;
  }

  .home .row .content h3 {
    font-size: 8rem;
  }
}

@media (max-width: 768px) {
  #menu-btn {
    display: inline-block;
  }

  #menu-btn.fa-times {
    transform: rotate(180deg);
  }

  .header .flex .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    border-top: 0.1rem solid var(--light-white);
    border-bottom: 0.1rem solid var(--light-white);
    background-color: white;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .flex .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .flex .navbar a {
    display: block;
    margin: 2rem;
  }

  .home {
    margin-top: 10rem;
  }

  .home .row .content h3 {
    font-size: 6rem;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .home .row .content h3 {
    font-size: 4rem;
  }

  .about .row .content h3 {
    font-size: 2.5rem;
  }

  .heading {
    font-size: 3rem;
  }

  .courses .slide h3 {
    font-size: 2.1rem;
  }

  .courses .slide p {
    font-size: 2rem;
  }

  .courses .slide {
    height: 850px;
  }

  .slide h2 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .slide-details {
    margin-top: 1.3rem;
    margin-bottom: 1.3rem;
  }

  .schedule .schedule-about h3 {
    font-size: 1.8em;
    margin-bottom: 3rem;
  }

  .header .flex .logo {
    font-size: 2.5rem;
  }
}

@media (max-width: 340px) {
  html {
    font-size: 48%;
  }
}
