:root {
  --primary-background: #359e27;

  --secondary-background: #108b0c;

  --yellow-background: #c7bd2d;

  --primary-text: #fff;

  --secondary-text: #000;

  --white: #fff;

  --black: #000000;
}

* {
  margin: 0;

  padding: 0;

  font-family: "Roboto", sans-serif;
}

.isi {
  z-index: 1;

  width: 100%;

  position: relative;

  background-color: #fff;

  margin-bottom: 90vh;

  overflow: hidden;
}

.isis::-webkit-scrollbar {
  display: none;
}

.whatsappbox {
  position: fixed;

  bottom: 2rem;

  right: 1rem;

  padding: 10px;

  background-color: var(--primary-background);

  display: flex;

  justify-content: center;

  align-items: center;

  border-radius: 50%;

  font-size: 17px;

  cursor: pointer;

  text-decoration: none;

  z-index: 9999;

  box-shadow: 0 0 10px #000000;
}

.whatsappbox i {
  color: var(--white);

  font-size: 47px;
}

.whatsappbox:hover::before {
  content: "HUBUNGI KAMI";

  position: absolute;

  left: -150px;

  background-color: var(--secondary-background);

  color: #fff;

  padding: 7px;

  font-size: 19px;

  text-wrap: nowrap;

  animation: fade-in 0.3s;

  opacity: 1;

  box-shadow: 0 0 5px #000000;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  margin: 0;

  padding: 0;

  font-family: "Roboto", sans-serif;

  position: relative;
}

.garis-besar {
  margin: 0;

  border: 6.3px var(--yellow-background) solid;
}

.texthead {
  font: 30px;

  font-weight: 700;

  text-size-adjust: auto;

  width: fit-content;

  background-image: linear-gradient(90deg, #005e2a 35%, #00ff0d);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;

  border-bottom: 4px solid var(--primary-background);

  position: relative;

  padding: 0 10px;
}

.texthead::after {
  content: "";

  position: absolute;

  display: block;

  width: 40%;

  height: 4px;

  background-color: var(--yellow-background);

  left: 0;
}

.btn {
  border: none;

  width: 120px;

  height: 40px;

  background-color: var(--primary-background);

  color: var(--white);

  text-decoration: none;
}

.navbox {
  background: linear-gradient(
    90deg,
    rgba(199, 189, 45, 1) 8%,
    rgba(53, 158, 39, 1) 42%
  );

  z-index: 99999;

  display: flex;

  align-items: center;

  justify-content: space-between;

  max-width: 100%;

  padding: 10px 0 10px 0;

  position: relative;
}

.fixed {
  position: fixed;
  transition: all 2s;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  /* Beri bayangan agar tampak */
}

.navhome {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  justify-content: space-between;

  padding: 20px 0;

  height: fit-content;
}

.navhome img {
  width: 100px;

  height: 100px;

  margin-right: 20px;
}

.navhome .h1 {
  font-weight: 700;

  font-size: 38px;
}

.navhome .h2 {
  font-size: 17px;
}

.navhome .navhometext {
  display: flex;

  align-items: center;

  margin-left: 2.5rem;
}

.navhome .sosialmedia {
  display: flex;

  align-items: flex-start;

  height: 100%;
}

.navhome .sosialmedia a:nth-child(1) {
  margin-right: 10px;
}

.navhome .sosialmedia a {
  background-color: var(--secondary-background);

  color: var(--primary-text);

  padding: 7px;

  text-decoration: none;
}

label {
  margin-left: 2rem;
}

label img {
  border: 5px var(--white) solid;

  border-radius: 50%;

  width: 40px;

  height: 40px;
}

.navbox .nav {
  margin-right: 2rem;

  display: flex;

  align-items: center;

  justify-content: center;

  user-select: none;
}

.navbox .search {
  display: flex;

  gap: 10px;
}

.navbox .search-input {
  width: 200px;

  border: none;

  background-color: #fff;

  border-radius: 5px;

  font-size: 14px;

  padding: 4px;

  outline-style: none;
}

.navbox .search-btn {
  border: none;

  border-radius: 50%;

  background-color: transparent;

  color: var(--primary-text);

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;
}

.navbox .search-btn:hover {
  color: var(--secondary-background);
}

.navbox .container-fluid {
  display: flex;

  justify-content: space-between;
}

.navbar .imgnav {
  height: 30px;
  width: auto;
  margin-left: 15px;
  opacity: 0;
  transition: opacity 0.2s;
}

.navbar .imgnav.active {
  opacity: 1;
  transition: opacity 0.2s;
}

.navbox .navitem {
  list-style: none;

  padding: 0 20px;

  user-select: none;

  position: relative;
}

.navbox .navitem a {
  cursor: pointer;

  color: var(--white);

  font-size: 16px;

  text-decoration: none;

  transition: color 0.3s, transform 0.3s;
}

.navbox li a:hover {
  color: var(--secondary-background);

  transform: translateY(-2px);
}

.navbox .dropdown-box {
  display: flex;

  background-color: var(--primary-background);

  position: absolute;

  top: 24px;

  left: 10px;

  padding: 0 2px;

  flex-direction: column;

  align-items: center;

  border-radius: 0 0 10px 10px;

  opacity: 0;

  visibility: hidden;

  transition: all 0.3s ease-in-out;
}

.navbox .li:hover .dropdown-box {
  visibility: visible;

  top: 20px;

  opacity: 1;

  transition: all 0.3s ease-out;
}

.navbox .dropdown-box li {
  display: block;

  border-radius: 10px;

  width: 170px;

  padding: 10px;

  margin-bottom: 10px;
}

.navbox .dropdown-box li:nth-child(1) {
  margin-top: 10px;
}

.navbox li .dropdown-box li:hover {
  background-color: var(--secondary-background);
}

.navbox li .dropdown-box li a:hover {
  color: var(--white);
}

.burger {
  flex-direction: column;

  width: 40px;

  cursor: pointer;

  display: none;

  background-color: rgba(0, 0, 0, 0);

  border: none;

  margin-right: 20px;
}

.burger span {
  width: 40px;

  height: 5px;

  background-color: var(--white);

  border-radius: 3.5px;

  margin-bottom: 5px;

  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.offcanvas-garis {
  border: var(--primary-background) solid 1.5px;
}

.nav-item {
  margin-bottom: 1rem;
}

.nav-link {
  font-size: 18px;
}

.landing-page {
  width: 100%;

  height: 85vh;

  position: relative;
}

.landing-page.img {
  background-position: center;

  background-size: cover;

  filter: brightness(0.5);
}

.carousel-item {
  position: relative;
}

.carousel-item.active {
  position: relative;

  align-items: center;
}

.dashboard {
  position: absolute;

  top: 50%;

  left: 50%;

  transform: translate(-50%, -50%);

  text-align: center;

  color: white;

  z-index: 5;

  filter: brightness(1);
}

@keyframes light {
  0% {
    text-shadow: 0 0 1px ghostwhite;
  }

  100% {
    text-shadow: 0 0 13px ghostwhite;
  }
}

.dashboard h1,
.dashboard h2 {
  margin-bottom: 20px;

  text-shadow: 0 0 13px ghostwhite;

  animation: light 3s ease-in;
}

.dashboard h1 {
  font-size: 50px;

  font-weight: 600;
}

.dashboard span {
  margin: 0;

  padding: 0;
}

.text-carousel {
  position: absolute;

  transform: translateY(-50%);

  top: 50%;

  left: 12%;

  width: 450px !important;

  height: 68%;

  padding: 20px;

  text-wrap: wrap;

  background-color: rgba(44, 39, 39, 0.26);

  z-index: 9;

  color: #fff;

  border-radius: 20px;
}

.text-carousel h6 {
  font-size: 20px;

  background-color: var(--primary-background);

  padding: 5px;

  position: absolute;

  top: -20px;

  border-radius: 10px;
}

.text-carousel h7 {
  font-size: 19px;

  margin-top: 2rem !important;
}

.text-carousel p {
  margin-top: 1rem;

  overflow: hidden;

  display: -webkit-box;

  -webkit-line-clamp: 10;

  -webkit-box-orient: vertical;
}

.kakirumah {
  display: flex;

  justify-content: space-around;

  align-items: center;

  background-color: #ffffff;

  position: relative;

  bottom: 3.5rem;

  border-radius: 50px;

  box-shadow: 0 0 10px rgb(78, 78, 78);

  padding-left: 10px;

  padding-right: 10px;

  margin-left: 10%;

  margin-right: 10%;

  z-index: 3;
}

.kakirumah div {
  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  margin: 10px 20px;
}

.kakirumah div i {
  font-size: 24px;

  margin: 10px;

  color: var(--primary-background);
}

.kakirumah div p {
  color: rgb(0, 94, 42);

  font-weight: 550;

  font-size: 15px;
}

.kenapabox {
  width: 100%;

  height: 40rem;

  display: flex;

  justify-content: center;

  background: url(../img/bg/background-pendidikan.webp);

  position: relative;
}

.kenapabox::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.801);

  z-index: 1;

  pointer-events: none;
}

.kenapakami {
  width: 70%;

  position: relative;

  z-index: 3;

  display: flex;

  align-items: center;
}

.kenapakami iframe {
  width: 600px;

  height: 350px;

  border-radius: 5px;
}

.kenapakami .kenapatext {
  margin-left: 20px;
}

.kenapakami .kenapatext ul {
  margin: 0;

  padding: 0;

  margin-left: 20px;
}

.kenapakami .kenapatext h2 {
  color: #005e2a;

  margin-bottom: 10px;
}

.kenapakami .kenapatext h1 {
  margin-bottom: 10px;

  font-weight: 800;

  text-size-adjust: auto;

  width: fit-content;

  background-image: linear-gradient(90deg, #005e2a 45%, #00ff0d);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.sambutan {
  padding: 2rem 0;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.sambutan h2 {
  text-align: center;
}

.sambutan p {
  text-align: justify;
}

.sambutan .box {
  display: flex;

  column-gap: 20px;

  justify-content: center;

  width: 70%;

  margin-top: 2.4rem;
}

.sambutan .box img {
  /*height: max-content;*/
  
  width: 100%;

  border: none;

  border-bottom: 3px dashed var(--primary-background);
}

.sambutan .box #btnview {
  display: none;
}

.sambutan .box #btnhidden {
  display: none;
}

.informasi {
  padding: 2rem 0;

  display: flex;

  flex-direction: column;

  align-items: center;

  position: relative;

  background: url(../img/bg/background2.webp);

  background-position: center;
}

.informasi::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.8);

  z-index: 1;

  pointer-events: none;
}

.informasi h2 {
  z-index: 2;
}

.informasi .box {
  display: flex;

  row-gap: 20px;

  justify-content: space-between;

  flex-wrap: wrap;

  align-items: center;

  width: 70%;

  margin-top: 2.4rem;

  z-index: 3;

  gap: 10px;
}

.informasi .infocard {
  position: relative;

  background-color: var(--secondary-background);

  width: 240px;

  height: max-content;

  text-align: center;

  z-index: 1;
}

.informasi .infocard h3 {
  position: absolute;

  top: 0px;

  background-color: var(--secondary-background);

  color: var(--primary-text);

  font-size: 18px;

  padding: 5px;

  z-index: 1;
}

.informasi .infocard img {
  width: 100%;

  height: 250px;
}

.informasi .infocard a {
  color: var(--white);

  margin: 10px 5px;

  text-decoration: none;

  font-size: 18px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;
}

.informasi .infocard .date {
  width: 100%;

  text-align: left;

  background-color: var(--yellow-background);
}

.informasi .infocard .date p {
  color: var(--primary-text);

  margin: 0;

  margin-left: 20px;
}

.informasi .infocard button {
  width: 0px;

  height: 250px;

  height: 100%;

  position: absolute;

  top: 0;

  left: 0;

  padding: 0;

  display: flex;

  justify-content: center;

  align-items: center;

  background-color: rgba(255, 255, 255, 0.63);

  transition: width 0.4s ease;

  border-radius: 0;
}

.informasi .infocard button a {
  color: var(--primary-text);

  font-weight: 600;

  background-color: var(--primary-background);

  padding: 15px;

  border-radius: 50%;

  justify-content: center;

  align-items: center;

  display: none;
}

.informasi .infocard button a i {
  font-size: 25px;

  margin: 0;

  margin-left: 3px;

  padding: 0;
}

.informasi .infocard:hover button {
  width: 240px;

  transition: all 0.4s ease;
}

.informasi .infocard:hover button a {
  display: flex;
}

.informasi .infobackground {
  position: absolute;

  width: 100%;

  height: 50%;

  background: linear-gradient(
    180deg,
    rgba(199, 189, 45, 1) 0%,
    rgba(53, 158, 39, 1) 88%
  );

  z-index: 2;

  bottom: 0;
}

.counter {
  width: 100%;

  display: flex;

  justify-content: center;

  background-color: var(--primary-background);

  position: relative;

  padding: 1rem 0;

  padding-top: 4rem;
}

.counter .box {
  width: 70%;

  display: flex;

  justify-content: space-around;
}

.counter .countercard {
  text-align: center;
}

.counter .countercard h4,
.counter .countercard h5 {
  color: var(--primary-text);

  font-size: 30px;

  font-weight: 700;
}

.counter .countercard h5 {
  font-size: 20px;
}

.counter::after {
  content: "";

  position: absolute;

  bottom: -50%;

  left: 0;

  width: 100%;

  height: 100px;

  background: var(--primary-background);

  border-radius: 100% 100% 0 0;

  transform: rotate(180deg);

  box-shadow: 0 -10px 10px #888888;

  z-index: 2;
}

.berita {
  display: flex;

  flex-direction: column;

  align-items: center;

  padding: 5rem 0;

  padding-top: 150px;
}

.berita hr {
  border-width: 3.3px;
}

.berita .box {
  display: flex;

  gap: 25px;

  width: 70%;

  margin-top: 1rem;
}

.berita .box article {
  flex: 3;

  position: relative;
}

.berita .box article .buttonprimary {
  text-decoration: none;

  color: var(--primary-text);

  padding: 10px 40px;

  background-color: var(--primary-background);

  transition: all 0.3s;

  transform: translateY(0);

  position: absolute;
}

.berita .box article .buttonprimary:hover {
  background-color: var(--secondary-background);

  transform: translateY(-10px);

  transition: all 0.3s;
}

.berita .box article h5 {
  font-size: 24px;

  padding: 10px 0;
}

.berita .box article p {
  padding: 0;

  margin: 0;

  margin-bottom: 15px;

  text-align: justify;

  display: -webkit-box;

  -webkit-line-clamp: 6;

  -webkit-box-orient: vertical;

  overflow: hidden;
}

.berita .box article img {
  width: 100%;

  height: auto;
}

.berita .box aside {
  flex: 1;

  width: auto;
}

.berita .box aside .asidecard {
  text-decoration: none;

  color: #000;

  transition: all 0.4s ease;
}

.berita .box aside .asidecard:hover img {
  scale: 1.09;

  transition: all 0.4s ease;
}

.berita .box aside .asidecard:hover h5 {
  margin: 10px 0;

  transition: all 0.4s ease;
}

.berita .box aside .asidecard img {
  width: 100%;

  height: auto;
}

.berita .box aside .asidecard h5 {
  font-size: 18px;

  display: -webkit-box;

  -webkit-line-clamp: 2;

  -webkit-box-orient: vertical;

  overflow: hidden;

  transition: all 0.4s ease;
}

.prestasi {
  padding: 3rem;

  padding-bottom: 2rem;

  width: 100%;

  display: flex;

  flex-direction: column;

  align-items: center;

  position: relative;

  background-image: url(../img/bg/background3.webp);

  background-repeat: no-repeat;

  background-position: top;

  background-size: cover;
}

.prestasi::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.75);

  z-index: 1;

  pointer-events: none;
}

.prestasi .buttonprimary {
  text-decoration: none;

  color: var(--primary-text);

  padding: 10px 40px;

  background-color: var(--primary-background);

  transition: all 0.3s;

  transform: translateY(0);

  z-index: 2;
  margin-top: 2rem;
}

.prestasi .buttonprimary:hover {
  background-color: var(--secondary-background);

  transform: translateY(-10px);

  transition: all 0.3s;
}

.prestasi h2 {
  z-index: 2;
}

.prestasi .box {
  width: 70%;

  display: flex;

  justify-content: space-around;

  flex-wrap: wrap;

  margin-top: 2rem;

  z-index: 2;
}

.prestasi .prestasicard {
  width: 250px;
}

.prestasi .prestasicard img {
  width: 100%;

  height: auto;
}

.prestasi .prestasicard h5 {
  padding: 15px 0;

  margin: 0;

  font-size: 19px;

  font-weight: 500;

  text-size-adjust: auto;

  width: fit-content;

  background-image: linear-gradient(90deg, #005e2a 35%, #00ff0d);

  -webkit-background-clip: text;

  -webkit-text-fill-color: transparent;
}

.prestasi .prestasicard p {
  margin: 0;

  padding: 0;
}

.program {
  display: flex;
}

.program .eskul {
  width: 100%;

  background-image: url(../img/bg/background4.webp);

  background-size: cover;

  background-position: center;

  display: flex;

  flex-direction: column;

  padding-bottom: 2rem;
}

.program .eskul .body {
  width: 100%;

  display: flex;

  justify-content: center;
}

.program .head {
  margin: 0 20px;

  background-color: var(--white);

  display: flex;

  justify-content: center;

  padding: 17px 0;

  border-radius: 0 0 20px 20px;
}

.owl-carousel {
  width: 70%;

  margin-top: 2.3rem;

  border-top: 0;

  border-bottom: 0;
}

.owl-carousel .item {
  width: 600px;

  background: var(--yellow-background);

  padding: 1rem;

  color: #fff;

  text-align: center;
}

.owl-carousel h5 {
  margin-top: 10px;
}

.owl-item {
  /* opacity: 0.7; */

  filter: blur(0.6);

  transition: all 1.3s;
}

.owl-item.active.center {
  /* opacity: 1; */

  display: flex;

  justify-content: center;
}

.owl-theme .owl-nav.disabled + .owl-dots {
  background: #ffffff;
  margin: 0 300px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.ppdb-poster {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: var(--primary-background);

  height: 230px;

  margin: 30px 0;
}

.ppdb-poster img {
  width: 200px;
  height: calc(230px + 30px);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.ppdb-poster .ppdb-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
  color: var(--primary-text);
}

.ppdb-poster .ppdb-info a {
  color: var(--primary-text);
  background-color: var(--yellow-background);
  border-radius: 20px;
  padding: 0 20px;
  text-decoration: none;
}

.testimoni {
  padding: 3rem 0;

  background: url(../img/bg/background5.webp);

  text-align: center;

  display: flex;

  align-items: center;

  flex-direction: column;

  position: relative;
}

.testimoni::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.87);

  z-index: 1;

  pointer-events: none;
}

.testimoni .texthead {
  font-size: 2rem;

  margin-bottom: 30px;

  z-index: 2;
}

.testimoni .carousel {
  width: 95%;

  z-index: 2;
}

.testimoni .content {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  justify-content: flex-start;

  height: 100%;
}

.testimoni .chat-box {
  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  padding: 1rem 0;
}

.testimoni .chat-message {
  display: flex;

  justify-content: center;

  width: 80%;

  margin: 0 auto;

  background: white;

  border-radius: 10px;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

  padding: 40px 20px;
}

.testimoni .chat-message .box {
  margin: 0 4rem;

  display: flex;

  gap: 40px;

  width: 100%;
}

.testimoni .chat-message img {
  width: 300px;

  height: 300px;

  border-radius: 50% 0 50% 50%;

  margin-bottom: 15px;
}

.testimoni .chat-message .authortext a {
  height: 100px;

  width: 200px;

  background-color: #00ff0d;

  display: none;
}

.testimoni .chat-message .author {
  font-size: 24px;

  font-weight: bold;

  margin-top: 10px;
}

.testimoni .chat-message p {
  width: 550px;

  font-size: 15px;

  line-height: 1.5;

  text-align: left;

  margin-top: 30px;
}

.testimoni .carousel-control-prev-icon,
.testimoni .carousel-control-next-icon {
  background-color: var(--primary-background);
}

.testimoni .carousel-control-prev-icon:hover,
.testimoni .carousel-control-next-icon:hover {
  background-color: var(--secondary-background);
}

.fasilitas {
  overflow: hidden !important;

  max-width: 100%;

  height: 600px;

  position: relative;

  background: url(../img/bg/bangunan.webp);

  background-size: contain;

  background-repeat: none;
}

.fasilitas::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  right: 0;

  bottom: 0;

  background: rgba(255, 255, 255, 0.5);

  z-index: 1;

  pointer-events: none;
}

.fasilitas .container {
  z-index: 2;

  position: absolute;

  top: 0;

  left: 50%;

  transform: translate(-50%, 0);

  width: 70%;

  height: 600px;

  background: #f5f5f5;
}

.fasilitas .container .slides .item {
  width: 200px;

  height: 300px;

  position: absolute;

  top: 50%;

  transform: translate(0, -50%);

  border-radius: 20px;

  box-shadow: 0 30px 50px #505050;

  background-position: 50% 50%;

  background-size: cover;

  display: inline-block;

  transition: 0.5s;
}

.fasilitas .slides .item:nth-child(1),
.fasilitas .slides .item:nth-child(2) {
  top: 0;

  left: 0;

  transform: translate(0, 0);

  border-radius: 0;

  width: 100% !important;

  height: 100% !important;

  box-shadow: none;
}

.fasilitas .slides .item:nth-child(3) {
  left: 50%;
}

.fasilitas .slides .item:nth-child(4) {
  left: calc(50% + 220px);
}

.fasilitas .slides .item:nth-child(5) {
  left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */

.fasilitas .slides .item:nth-child(n + 6) {
  left: calc(50% + 660px);

  opacity: 0;
}

.fasilitas .item .content {
  position: absolute;

  top: 25%;

  left: 100px;

  width: 300px;

  text-align: left;

  color: #eee;

  transform: translate(0, -50%);

  font-family: system-ui;

  display: none;

  text-shadow: 0 0 5px #141414;
}

.fasilitas .slides .item:nth-child(2) .content {
  display: block;
}

.fasilitas .content .name {
  font-size: 40px;

  text-transform: uppercase;

  font-weight: bold;

  opacity: 0;

  animation: animate 1s ease-in-out 1 forwards;
}

.fasilitas .content .des {
  margin-top: 10px;

  margin-bottom: 20px;

  opacity: 0;

  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

@keyframes animate {
  from {
    opacity: 0;

    transform: translate(0, 100px);

    filter: blur(33px);
  }

  to {
    opacity: 1;

    transform: translate(0);

    filter: blur(0);
  }
}

.fasilitas .button {
  width: 100%;

  text-align: center;

  position: absolute;

  bottom: 20px;
}

.fasilitas .button button {
  width: 40px;

  height: 35px;

  border-radius: 8px;

  border: none;

  cursor: pointer;

  margin: 0 5px;

  background-color: var(--primary-background);

  color: var(--yellow-background);

  transition: 0.3s;
}

.fasilitas .button button:hover {
  background: var(--yellow-background);

  color: var(--primary-background);

  color: #fff;
}

.quetes {
  z-index: 1;

  padding: 4.5rem;

  background-color: var(--primary-background);

  box-shadow: 0 5px 10px #746f6f8c;

  width: 100%;
}

.quetes h3 {
  color: #fff;

  line-height: 50px;

  font-size: 35px;
}

.quetes h3::before {
  content: "";

  height: 7px;

  border-radius: 3.5px;

  background-color: var(--yellow-background);

  width: 40%;

  position: absolute;

  top: -10px;
}

.footer {
  width: 100%;

  float: left;

  background: var(--primary-background);

  margin-top: 70px;

  z-index: -1;

  position: fixed;

  bottom: 0;

  left: 0;

  display: flex;

  flex-direction: column;

  align-items: center;
}

.footer-widget.about {
  border-radius: 5px;

  overflow: hidden;

  width: 100%;

  float: left;

  background: var(--secondary-background);

  margin-top: -100px;

  text-align: center;
}

.footer-widget.about .f2logo {
  background: var(--yellow-background);

  text-align: center;

  padding: 18px 0;
}

.footer-widget.about .f2logo img {
  width: 140px;

  height: 140px;
}

.footer-widget.about p {
  padding: 20px;

  color: #ffffff;

  margin: 0px;
}

.footer-widget.about h6 {
  margin: 0;

  color: #ffffff;

  font-weight: bold;

  background: #eea51e;

  padding: 7px;
}

.footer .footer-widget iframe {
  width: 255px;

  height: 255px;
}

.footer .footer-widget ul {
  margin: 0;

  padding: 0;
}

.footer .footer-widget ul li {
  list-style: none;

  margin-bottom: 10px;

  display: flex;

  align-items: center;

  gap: 10px;
}

.footer .footer-widget ul li a {
  color: #ffffff;

  text-decoration: none;
}

.footer .footer-widget ul li a:hover {
  color: #eea51e;
}

.footer .footer-widget ul li i {
  color: #ffffff;

  width: 30px;

  height: 30px;

  font-size: 25px;

  padding: 6px;

  display: flex;

  justify-content: center;

  align-items: center;
}

.footer h5 {
  color: #ffffff;

  position: relative;

  margin-bottom: 40px;
}

.footer h5:after {
  position: absolute;

  left: 0;

  bottom: -16px;

  width: 165px;

  height: 1px;

  content: "";

  background: #e5d804;
}

.footer h5:before {
  position: absolute;

  left: 0;

  bottom: -17px;

  width: 30px;

  height: 3px;

  content: "";

  background: #e5d804;
}

.footer .footer-top {
  padding: 50px 0 0 0;
}

.footer .footer-bottom {
  background: var(--yellow-background);

  padding: 15px 0;

  border: 0px;

  width: 100%;
}

.footer .footer-bottom p {
  margin: 0px;

  padding: 0px;

  color: #ffffff;

  text-align: center;
}

.footer .footer-bottom a {
  color: #ffffff;
}

@media screen and (max-width: 1366px) {
  .informasi .infocard {
    position: relative;

    background-color: var(--secondary-background);

    width: 22%;

    height: max-content;

    text-align: center;

    z-index: 1;
  }

  .informasi .infocard button {
    height: 200px;
  }

  .informasi .infocard:hover button {
    width: 100%;
    height: 200px;
  }

  .informasi .infocard button:hover {
    width: 100%;

    height: 200px;
  }
}

@media screen and (max-width: 1024px) {
  .whatsappbox i {
    font-size: 35px;
  }

  .whatsappbox:hover::before {
    left: -125px;

    font-size: 15px;
  }

  .texthead {
    font: 23px;
  }

  .navhome {
    flex-wrap: nowrap;
  }

  .navhome img {
    width: 90px;

    height: 90px;
  }

  .navhome .h1 {
    font-weight: 700;

    font-size: 27px;
  }

  .navhome .h2 {
    font-size: 15px;
  }

  .navhome .sosialmedia {
    display: flex;

    flex-direction: column;

    row-gap: 10px;

    z-index: 1;
  }

  .navhome .sosialmedia a {
    font-size: 14px;

    display: flex;
    gap: 5px;
  }

  .landing-page {
    height: 78vh;
  }

  .navbox .search-input {
    width: 120px;
  }

  .navbox .navitem {
    padding: 0 10px;
  }

  .dashboard h1 {
    font-size: 40px;

    text-wrap: nowrap;
  }

  .text-carousel p {
    -webkit-line-clamp: 8;
  }

  .kakirumah div i {
    font-size: 20px;
  }

  .kakirumah div p {
    font-size: 13px;
  }

  .kenapabox {
    width: 100%;

    height: 40rem;

    display: flex;

    justify-content: center;

    background: url(../img/bg/background-pendidikan.webp);

    position: relative;
  }

  .kenapabox::before {
    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.801);

    z-index: 1;

    pointer-events: none;
  }

  .kenapakami iframe {
    width: 500px;

    height: 300px;

    border-radius: 5px;
  }

  .kenapakami .kenapatext h1 {
    font-size: 25px;
  }

  .kenapakami .kenapatext h2 {
    font-size: 19px;
  }

  .kenapakami li {
    font-size: 14px;
  }

  .sambutan .box {
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
  }

  .sambutan .box img {
    width: 270px;
  }

  .sambutan p {
    font-size: 15px;
  }

  .informasi {
    padding: 2rem 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    position: relative;

    background: url(../img/bg/background2.webp);

    background-position: center;
  }

  .informasi::before {
    content: "";

    position: absolute;

    top: 0;

    left: 0;

    right: 0;

    bottom: 0;

    background: rgba(255, 255, 255, 0.8);

    z-index: 1;

    pointer-events: none;
  }

  .informasi h2 {
    z-index: 2;
  }

  .informasi .box {
    display: flex;

    row-gap: 20px;

    justify-content: space-between;

    flex-wrap: wrap;

    align-items: center;

    width: 70%;

    margin-top: 2.4rem;

    z-index: 3;

    gap: 10px;
  }

  .informasi .infocard {
    position: relative;

    background-color: var(--secondary-background);

    height: max-content;

    text-align: center;

    z-index: 1;
  }

  .informasi .infocard h3 {
    font-size: 13px;
  }

  .informasi .infocard img {
    width: 100%;

    height: 200px;
  }

  .informasi .infocard a {
    font-size: 14px;
  }

  .informasi .infocard .date p {
    font-size: 13px;
  }

  .informasi .infocard button a {
    padding: 10px;
  }

  .informasi .infocard button a i {
    font-size: 19px;
  }

  .counter .countercard h4,
  .counter .countercard h5 {
    color: var(--primary-text);

    font-size: 22px;

    font-weight: 700;
  }

  .berita .box article .buttonprimary {
    padding: 7px 30px;
  }

  .berita .box article h5 {
    font-size: 19px;

    padding: 10px 0 0 0;
  }

  .berita .box article p {
    font-size: 14px;
  }

  .berita .box aside {
    flex: 1;

    width: auto;
  }

  .berita .box aside .asidecard:hover img {
    scale: 1.09;

    transition: all 0.4s ease;
  }

  .berita .box aside .asidecard h5 {
    font-size: 13px;
  }

  .prestasi .buttonprimary {
    padding: 7px 30px;
  }

  .prestasi .prestasicard {
    width: 160px;
  }

  .prestasi .prestasicard img {
    width: 100%;

    height: auto;
  }

  .prestasi .prestasicard h5 {
    font-size: 16px;
  }

  .prestasi .prestasicard p {
    font-size: 14px;
  }

  .owl-carousel .item {
    padding: 0.7rem;
  }

  .owl-carousel h5 {
    font-size: 16px;
  }

  .testimoni .chat-message .box {
    align-items: center;
  }

  .testimoni .chat-message img {
    width: 170px;

    height: 170px;
  }

  .testimoni .chat-message .author {
    font-size: 21px;
  }

  .testimoni .chat-message p {
    width: auto;

    font-size: 14px;
  }

  .fasilitas .container .slides .item {
    width: 165px;

    height: 300px;
  }

  .fasilitas .slides .item:nth-child(1),
  .fasilitas .slides .item:nth-child(2) {
    top: 0;

    left: 0;

    transform: translate(0, 0);

    border-radius: 0;

    width: 100% !important;

    height: 100% !important;

    box-shadow: none;
  }

  .fasilitas .slides .item:nth-child(3) {
    left: 55%;
  }

  .fasilitas .slides .item:nth-child(4) {
    left: calc(50% + 210px);
  }

  .fasilitas .slides .item:nth-child(5) {
    left: calc(50% + 390px);
  }

  .fasilitas .slides .item:nth-child(n + 6) {
    left: calc(50% + 660px);

    opacity: 0;

    transition: all 0.3s;
  }

  .fasilitas .item .content {
    left: 100px;

    width: 200px;
  }

  .fasilitas .content .name {
    font-size: 27px;
  }

  .fasilitas .content .des {
    font-size: 14px;
  }

  .quetes {
    padding: 28px;
  }

  .quetes h3 {
    font-size: 24px;
  }

  .quetes h3::before {
    height: 4px;

    border-radius: 3px;

    top: -4px;
  }

  .footer .container {
    max-width: 90%;
  }

  .footer .container .col-sm-6 {
    width: 25%;
  }

  .isi {
    margin-bottom: 93vh;
  }

  .footer-widget {
    width: 200px;
  }

  .footer-widget.about {
    border-radius: 5px;

    overflow: hidden;

    width: 100%;

    float: left;

    background: var(--secondary-background);

    margin-top: -100px;

    text-align: center;
  }

  .footer-widget.about .f2logo img {
    width: 120px;

    height: 120px;
  }

  .footer .footer-widget ul li a {
    color: #ffffff;

    text-decoration: none;

    font-size: 14px;
  }
}

@media screen and (max-width: 950px) {
  .owl-dots {
    display: none;
  }

  /* .whatsappbox {
        display: none;
    } */

  .kakirumah div p {
    font-size: 14px;

    text-align: center;
  }

  .kakirumah {
    position: absolute;

    bottom: -4rem;

    margin: 0;

    margin-left: 2rem;

    margin-right: 2rem;
  }

  .landing-page {
    height: 700px;

    background-size: auto 100%;

    background-position-x: center;

    border-radius: 0 0 40px 40px;
  }

  .burger {
    display: flex;

    margin-right: 2rem;
  }

  .navbox .nav {
    display: none;
  }

  .dashboard h1 {
    text-wrap: nowrap;
  }
}

@media screen and (max-width: 580px) {
  .buttonprimary {
    padding: 4px 16px !important;

    font-size: 13px;
  }

  body p {
    font-size: 15px;
  }

  .navhome {
    justify-content: center;

    row-gap: 20px;

    flex-wrap: wrap;
  }

  .navhome .h1 {
    font-size: 22px;
  }

  .navhome .h2 {
    font-size: 16px;
  }

  .navhome .sosialmedia {
    flex-direction: row;
  }

  .navhome .sosialmedia a {
    font-size: 14px;
  }

  .navbox .search-input {
    box-shadow: 0 0 6px #383838b0;
  }

  .navbox .search-btn {
    color: var(--black);
  }

  .nav-link {
    padding: 0;
    color: #000;
    font-size: 16px;
  }

  .dropdown-menu {
    border: none;
    padding: 0;
  }

  .dropdown-item {
    padding: 0;
    margin-top: 1rem;
    font-size: 16px;
    color: #000;
  }

  .kakirumah {
    margin: 0;

    margin-left: 1rem;

    margin-right: 1rem;

    height: 70px;

    bottom: -1.7rem;

    z-index: 999;

    padding-top: 10px !important;

    padding-bottom: 10px !important;
  }

  .kakirumah div {
    margin: 7px 15px;
  }

  .kakirumah div p {
    font-size: 7px;

    margin: 0;
  }

  .kakirumah div i {
    font-size: 18px;

    margin: 7px;

    color: #005e2a;
  }

  .landing-page {
    height: 50vh;
  }

  .dashboard h1 {
    font-size: 30px;

    font-weight: 600;

    text-wrap: nowrap;
  }

  .dashboard h1,
  .dashboard h3 {
    margin-bottom: 10px;

    text-shadow: 0 0 10px ghostwhite;
  }

  .text-carousel {
    width: 100% !important;

    height: 30% !important;

    transform: translateY(-140%);

    left: 0;

    margin: 0;
  }

  .text-carousel p {
    margin-top: 0;

    overflow-y: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;
  }

  .ppdb-jadwal {
    display: none;
  }

  .kenapabox {
    margin-bottom: 2rem;

    margin-top: 4rem;
  }

  .kenapakami {
    display: flex;

    flex-direction: column;

    row-gap: 20px;

    width: 90%;
  }

  .kenapakami iframe {
    width: 100%;

    height: 250px;
  }

  .offcanvas.offcanvas-end {
    width: 80vw;
  }

  .sambutan .box {
    width: 80%;

    flex-wrap: wrap-reverse;
  }

  .sambutan .box .text p {
    overflow: hidden;

    display: -webkit-box;

    -webkit-line-clamp: 8;

    -webkit-box-orient: vertical;
  }

  .sambutan .box .text p.active {
    display: block;
  }

  .sambutan .box #btnview {
    display: block;
  }

  .sambutan .box #btnview.active {
    display: none;
  }

  .sambutan .box #btnhidden {
    display: none;
  }

  .sambutan .box #btnhidden.active {
    background-color: var(--primary-background);

    color: var(--white);

    display: block;
  }

  .informasi .box {
    justify-content: center;

    width: 100%;

    gap: 20px;
  }

  .informasi .infocard {
    width: 160px;
  }

  .informasi .infocard img {
    width: 160px;

    height: 160px;
  }

  .informasi .infocard a {
    font-size: 14px;
  }

  .informasi .infocard h3 {
    font-size: 16px;
  }

  .informasi .infocard .date p {
    font-size: 14px;
  }

  .informasi .infocard button {
    height: 160px;
  }

  .informasi .infocard:hover button {
    width: 160px;
  }

  .informasi .infobackground {
    display: none;
  }

  .counter {
    background: linear-gradient(
      180deg,
      rgba(199, 189, 45, 1) 0%,
      rgba(53, 158, 39, 1) 88%
    );
  }

  .counter .box {
    width: auto;

    column-gap: 10px;
  }

  .prestasi {
    background-position-x: -10rem;
  }

  .prestasi .box {
    width: 100%;

    row-gap: 20px;
  }

  .prestasi .prestasicard {
    width: 120px;
  }

  .prestasi .prestasicard h5 {
    padding-bottom: 0;
  }

  .berita .box article h5 {
    font-size: 19px;
  }

  .berita .box {
    flex-direction: column;

    width: 80%;
  }

  .berita hr {
    margin-top: 30px;
  }

  .berita .box aside {
    width: 100%;
  }

  .berita .box aside .asidecard {
    display: flex;

    margin-bottom: 10px;

    gap: 10px;
  }

  .berita .box aside .asidecard img {
    width: 150px;
  }

  .berita .box aside .asidecard h5 {
    font-size: 17px;

    display: -webkit-box;

    -webkit-line-clamp: 5;

    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: all 0.4s ease;
  }

  .owl-item {
    width: calc(33.3333% - 10px) !important;

    margin-right: 10px;
  }

  .owl-item.active.center {
    scale: 1;
    transition: none;
    box-shadow: none;
  }

  .owl-stage {
    display: flex;

    justify-content: center;
  }

  .program {
    flex-direction: column;

    height: auto;
  }

  .program .eskul {
    width: 100%;

    padding-bottom: 2rem;
  }

  .program .eskul .item {
    width: 160px;
  }

  .program .eskul .item h5 {
    font-size: 16px;
  }

  .ppdb-poster img {
    width: 150px;
  }

  .ppdb-poster .ppdb-info h3 {
    font-size: 18px;
  }

  .ppdb-poster .ppdb-info p {
    font-size: 14px;
  }

  .testimoni .carousel {
    width: 90%;

    z-index: 2;
  }

  .testimoni .content {
    height: auto;

    display: flex;

    flex-direction: column-reverse;
  }

  .testimoni .chat-message {
    display: flex;

    flex-direction: column;

    justify-content: center;

    width: 80%;

    margin: 0 auto;

    padding: 20px;
  }

  .testimoni .chat-message .box {
    margin: 0;

    display: flex;

    gap: 0;

    flex-direction: column;

    align-items: center;

    width: 100%;
  }

  .testimoni .chat-message img {
    width: 90px;

    height: 90px;

    border-radius: 0;

    margin-bottom: 15px;
  }

  .testimoni .chat-message .authortext {
    text-align: left;

    float: right;
  }

  .testimoni .chat-message .author {
    font-size: 24px;

    font-weight: bold;

    margin-top: 10px;
  }

  .testimoni .chat-message p {
    width: auto;

    font-size: 15px;

    line-height: 1.5;

    text-align: left;

    margin-top: 10px;
  }

  .fasilitas {
    height: 400px;
  }

  .fasilitas .container {
    position: absolute;

    top: 0;

    left: 50%;

    transform: translate(-50%, 0);

    width: 100%;

    height: 400px;
  }

  .fasilitas .container .slides .item {
    width: 100px;

    height: 170px;
  }

  .fasilitas .slides .item:nth-child(3) {
    left: 55%;
  }

  .fasilitas .slides .item:nth-child(4) {
    left: calc(55% + 110px);
  }

  .fasilitas .slides .item:nth-child(5) {
    left: calc(55% + 330px);
  }

  /* here n = 0, 1, 2, 3,... */

  .fasilitas .slides .item:nth-child(n + 6) {
    left: calc(55% + 550px);

    opacity: 0;
  }

  .fasilitas .item .content {
    left: 50px;

    max-width: 100px;
  }

  .fasilitas .content .name {
    font-size: 20px;
  }

  .quetes {
    padding: 3rem 0.4rem !important;
  }

  .quetes h3 {
    font-size: 22px;
  }

  .isi {
    margin-bottom: 1rem;
  }

  .footer {
    z-index: 1;

    position: static;
  }

  .footer .container {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer .container .row {
    flex-direction: column;
    width: 100%;
  }

  .footer .container .col-sm-6 {
    width: 100%;
  }

  .footer .footer-widget.about {
    margin-bottom: 20px;
  }

  .footer-widget {
    width: 100%;
  }

  .footer .footer-widget iframe {
    width: 100%;
  }
}
