@font-face {
  font-family: 'poppins';
  src: url(../font/Poppins-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'poppins extra';
  src: url(../font/Poppins-ExtraBold.ttf) format('truetype');
}

@font-face {
  font-family: 'poppins medium';
  src: url(../font/Poppins-Medium.ttf) format('truetype');
}

* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

body {
  font-family: 'poppins';
  overflow-x: hidden;
  background-color: #ffff;
}

::-webkit-scrollbar {
  width: 10px;
  background-color: #fef9e1;
  display: none;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #e5d0ac;
}

a {
  text-decoration: none;
}

.container-satu {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  background-color: #1b6752;
  flex-direction: row;
}

.container-satu .logo,
.container-satu .tentang {
  width: 50%;
  height: 60%;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row;
  gap: 1rem;
  margin: 3rem;
}

.container-satu .tentang {
  justify-content: end;
  font-weight: bold;
  color: #ffff;
}

.container-satu .tentang a {
  text-decoration: none;
  color: #d2d2d2;
}

.container-satu .logo img {
  height: 100%;
}

.container-dua {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-dua ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  width: 60%;
  height: 40px;
  gap: 0.8rem;
  border: 3px solid #1b6752;
  border-radius: 25px;
  overflow: hidden;
}

.container-dua ul li {
  text-align: center;
  display: flex;
  align-items: center;
  width: 25%;
  height: inherit;
  border-radius: 20px;
  overflow: hidden;
}

.container-dua ul li a {
  color: #1b6752;
  font-weight: bold;
  width: 100%;
  height: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.container-dua ul li a:hover,
.container-dua ul li.active a {
  color: #ffff;
  background-color: #1b6752;
}

main {
  width: 100%;
  height: auto;
  padding: 0rem 3rem;
}

main h1,
main h2 {
  color: #1b6752;
  font-weight: bold;
  font-family: 'poppins extra';
}

main h1 {
  margin-bottom: 1rem;
  font-size: 2.8rem;
  text-align: center;
}

main p {
  text-align: justify;
  font-family: 'poppins medium';
  margin-bottom: 0.8rem;
}

main .container-tiga {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}

main .container-tiga sejarah {
  width: 70%;
}

main .container-tiga img {
  width: 30%;
  object-fit: contain;
}

footer {
  width: 100%;
  height: 25rem;
  background-color: #fff57e;
  padding: 10px 8px;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  box-sizing: border-box;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  font-size: clamp(0.65rem, 2vw, 1rem);
}

footer .logo {
  width: 100%;
  height: 13%;
  display: flex;
  margin-bottom: 2rem;
  flex-direction: row;
}

footer .logo img {
  height: 100%;
  margin-right: 0.8rem;
}

footer h3 {
  font-size: clamp(1rem, 2.8vw, 1.2rem);
}

footer a,
footer p,
footer li {
  font-size: clamp(0.8rem, 2vw, 0.95rem);
}

footer hr {
  width: 100%;
  border-bottom: 2px solid black;
  margin-bottom: 1rem;
}

footer .bawah {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

footer .kiri {
  width: 60%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 5rem;
}

footer .kiri .alamat,
footer .kiri .kontak {
  width: 35%;
}

footer .kiri .kontak ul {
  list-style-type: none;
}

footer .kiri .kontak a {
  text-decoration: none;
  color: #1b6752;
}

footer .kanan {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

footer .kanan ul {
  width: 50%;
  display: flex;
  flex-direction: row;
  list-style-type: none;
  gap: 10px;
}

footer .kanan ul li {
  width: 60%;
}

footer .kanan ul li img {
  width: 100%;
}

@media screen and (min-width: 577px) and (max-width: 992px) {
  /* ===== CONTAINER SATU ===== */
  .container-satu {
    height: 100px;
  }

  .container-satu .logo,
  .container-satu .tentang {
    height: 55%;
    margin: 2rem;
    gap: 0.8rem;
  }

  .container-satu .logo img {
    height: 90%;
  }

  /* ===== CONTAINER DUA ===== */
  .container-dua {
    height: 100px;
  }

  .container-dua ul {
    width: 75%;
    height: 38px;
    gap: 0.6rem;
  }

  .container-dua ul li a {
    font-size: 0.9rem;
  }

  /* ===== MAIN ===== */
  main {
    padding: 0rem 2rem;
  }

  main h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  main h2 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  main p {
    font-size: 0.95rem;
    margin-bottom: 0.7rem;
  }

  /* ===== CONTAINER TIGA ===== */
  main .container-tiga {
    gap: 1rem;
  }

  main .container-tiga sejarah {
    width: 68%;
  }

  main .container-tiga img {
    width: 32%;
  }

  /* ===== FOOTER ===== */
  footer {
    height: auto;
    padding: 15px 20px;
  }

  footer .logo {
    height: 55px; /* DIPERKECIL */
    align-items: center;
  }

  footer .logo img {
    height: 100%;
  }

  footer .logo .judul h4 {
    font-size: 0.85rem;
    line-height: 1.1rem;
  }

  footer .bawah {
    align-items: flex-start;
  }

  footer .kiri {
    width: 60%;
    gap: 3rem;
  }

  footer .kanan {
    width: 40%;
  }

  footer .kanan ul {
    width: 80%;
  }
}

@media screen and (max-width: 576px) {
  /* ===== CONTAINER SATU ===== */
  .container-satu {
    height: 80px;
  }

  .container-satu .logo,
  .container-satu .tentang {
    height: 45%;
    margin: 1.2rem;
    gap: 0.4rem;
  }

  .container-satu .logo img {
    height: 80%;
  }

  .container-satu .logo .judul,
  .container-satu .tentang {
    font-size: 0.6rem;
  }

  /* ===== CONTAINER DUA ===== */
  .container-dua {
    height: 80px;
  }

  .container-dua ul {
    width: 90%;
    height: 34px;
    gap: 0.4rem;
  }

  .container-dua ul li a {
    font-size: 0.75rem;
  }

  /* ===== MAIN ===== */
  main {
    padding: 0rem 1.2rem;
  }

  main h1 {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  main h2 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }

  main p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  /* ===== CONTAINER TIGA ===== */
  main .container-tiga {
    gap: 0.8rem;
    flex-direction: column-reverse;
  }

  main .container-tiga sejarah {
    width: 65%;
  }

  main .container-tiga img {
    width: 100%;
  }

  footer {
    height: auto;
  }

  footer .logo {
    height: 55px;
    width: 100%;
    margin-bottom: 0.5rem;
    align-items: center;
  }

  footer .logo img {
    height: 70%;
  }

  footer .logo .judul h4 {
    font-size: 0.85rem;
    line-height: 1.1rem;
  }

  footer .bawah {
    align-items: flex-start;
  }

  footer .kiri {
    width: 60%;
    gap: 3rem;
  }

  footer .kanan {
    width: 45%;
  }

  footer .kanan ul {
    width: 85%;
  }
}
