* {
  font-family: "Kanit", sans-serif;
  padding: 0px;
  margin: 0px;
}

body {
  overflow-x: hidden;
}

.nav-item {
  display: flex;
  align-items: center; /* Corrected */
  padding-left: 30px;
}

/* Mengganti warna teks item menu navbar */
.navbar-nav .nav-link {
  color: white; /* Gantilah dengan warna yang Anda inginkan */
}

.navbar-nav .nav-item .nav-link.active {
  color: #a1ff9f;
}

.nav-item:hover a {
  color: #a1ff9f;
}

.tombol-daftar {
  color: white;
  border-radius: 6px;
  border: 1px solid #02406d;
  background-color: #02406d;
  margin-right: 20px;
  width: 100px;
  height: 35px;
  font-weight: 400;
  text-decoration: none;
  padding: 5px;
  padding-left: 15px;
}

.tombol-daftar:hover {
  background-color: #02406d;
  color: #a1ff9f;
  border: 1px solid #a1ff9f;
  transition: 1s;
  transform: scale(1.1);
}

.tombol-masuk {
  color: #02406d;
  border: 0px;
  border-radius: 6px;
  background-color: white;
  margin-right: 10px;
  width: 80px;
  height: 35px;
  font-weight: 400;
  text-decoration: none;
  padding-top: 5px;
  padding-left: 5px;
}

.tombol-masuk:hover {
  background-color: #a1ff9f;
  color: #02406d;
  border: 1px solid #a1ff9f;
  transition: 1s;
  transform: scale(1.1);
}

.box {
  position: relative;
  width: 32px;
  height: 84px;
}

.box .group {
  position: fixed;
  width: 32px;
  height: 84px;
  top: 50px;
  left: 0;
}

.box .rectangle {
  height: 84px;
  left: 0px;
  background-color: #02406d;
  position: absolute;
  width: 13px;
  top: 0;
  border-radius: 0px 0px 10px 10px;
  animation: slideDown 2s ease-in-out;
}

.box .div {
  height: 38px;
  left: 20px;
  background-color: #a1ff9f;
  position: absolute;
  width: 13px;
  top: 0;
  border-radius: 0px 0px 10px 10px;
  animation: slideDown 3s ease-in-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.second-sep {
  height: 60px;
  width: 10px;
  margin-top: 50px;
  margin-left: 50px;
  border-radius: 10px;
  background-color: #02406d;
}

.third-sep {
  height: 1px;
  width: 100%; /* Fallback untuk layar kecil */
  max-width: 85rem; /* Tetap membatasi pada layar besar */
  margin-top: 50px;
  margin-left: 40px;
  background-color: #02406d;
  animation: slide 2s ease;
}

@keyframes slide {
  from {
    transform: scale(0); /* Skala dari 0 (tidak ada elemen) */
    opacity: 0; /* Opacity 0 (elemen transparan) */
  }
  to {
    transform: scale(1); /* Skala menjadi 1 (ukuran normal) */
    opacity: 1; /* Opacity 1 (elemen terlihat sepenuhnya) */
  }
}

.title_activity {
  margin-top: -50px;
  margin-left: 40px;
  font-size: 35px;
  font-weight: 500;
  color: #02406d;
}

.sub_title_activity {
  margin-left: 40px;
  color: #02406d;
}

.semua {
  height: 100px;
  width: 100px;
  border: 1px solid #02406d;
  border-radius: 100px;
  background-color: white;
  color: #02406d;
  margin-top: 20px;
  margin-left: 40px;
  font-size: 25px;
  font-weight: 400;
  animation: slideRight 2s ease-in-out;
}

.semua:hover {
  background-color: #02406d;
  color: white;
  transition: 1s;
}

.all {
  height: 100px;
  width: 100px;
  border: 1px solid white;
  border-radius: 100px;
  background-color: white;
  color: #02406d;
  margin-top: 20px;
  margin-left: 20px;
  font-weight: 400;
  font-size: 15px;
  animation: slideRight 2s ease-in-out;
}

.all img {
  height: 100px;
  width: 100px;
  border: 1px solid white;
  border-radius: 100px;
  margin-bottom: 15px;
  transition: scale 1s;
}

.all img:hover {
  transform: scale(1.05); /* Corrected */
}


@keyframes slideRight {
  0% {
    transform: translateX(100%); /* Elemen dimulai dari bawah */
    opacity: 0; /* Elemen transparan saat dimulai */
  }
  100% {
    transform: translateX(0%); /* Elemen dimulai dari bawah */
    opacity: 1; /* Elemen transparan saat dimulai */
  }
}

.footer {
  height: 350px;
  width: 100rem;
  margin: 0px;
  margin-top: 350px;
  margin-left: -60px;
  background-color: #02406d;
  font-family: "Kanit", sans-serif;
  color: white;
  padding-left: 20px;
  padding-top: 10px;
  display: flex;
}

.hierarki {
  display: flex;
}

.hierarki a {
  display: flex;
  font-size: 15px;
  text-decoration: none;
  color: white;
}

.hierarki a:hover {
  color: #a1ff9f;
}
/* Default styles (already provided) */

/* Media query untuk perangkat kecil (smartphone) */
@media only screen and (max-width: 600px) {
  .nav-item {
    flex-direction: column;
    padding-left: 10px;
  }
  .tombol-daftar, .tombol-masuk {
    width: 100%;
    margin: 5px 0;
  }
  .title_activity {
    font-size: 25px;
    margin-left: 20px;
  }
  .sub_title_activity {
    font-size: 14px;
    margin-left: 20px;
  }
  .footer {
    flex-direction: column;
    padding: 10px;
  }
}

/* Media query untuk perangkat sedang (tablet) */
@media only screen and (min-width: 601px) and (max-width: 768px) {
  .nav-item {
    padding-left: 20px;
  }
  .tombol-daftar, .tombol-masuk {
    width: 120px;
    font-size: 14px;
  }
  .title_activity {
    font-size: 28px;
    margin-left: 30px;
  }
  .sub_title_activity {
    font-size: 16px;
    margin-left: 30px;
  }
}

/* Media query untuk layar besar (desktop) */
@media only screen and (min-width: 769px) {
  .nav-item {
    padding-left: 30px;
  }
  .tombol-daftar {
    width: 150px;
  }
  .tombol-masuk {
    width: 100px;
  }
  .footer {
    margin-left: 0;
    padding-left: 40px;
  }
}

@media only screen and (max-width: 600px) {
  .card-container {
    flex-direction: column;
  }
}

