* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  height: max-content;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Background khusus */
.bodyku {
  background-image: url('bggg.jpg');
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #880799;
  color: white;
  padding: 20px;
}

.navbar-left,
.navbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  margin-right: 10px;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-button {
  background: transparent;
  color: white;
  border: none;
  padding: 10px;
  font-size: 1.125rem;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: #ecf0f1;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-menu a {
  color: #2c3e50;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  background-color: #bdc3c7;
}

.show {
  display: block;
}

.linktombol {
  display: block;
  color: white;
  font-weight: bold;
  text-decoration: none;
  width: max-content;
  margin-top: 2px;
  padding: 7px 10px;
  background-color: #880799;
  text-align: center;
  border-radius: 5px;
  font-size: small;
}

/* Tombol kembali */
.kembali {
  margin-left: 20px;
  padding: 10px 15px;
  background-color: #fff;
  color: #880799;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.kembali:hover {
  background-color: #880799;
  color: #fff;
}

/* Hero section */
.hero img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.img-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 87vh;
  overflow: hidden;
}

/* Judul di atas gambar */
.judull {
  position: absolute;
  background-color: rgba(136, 7, 153, 0.5);
  color: #fff;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 900;
  border-radius: 5px;
  padding: 30px;
  max-width: 80%;
  top: 30%;
  transform: translateY(-50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.judull p {
  font-size: 0.875rem;
  font-weight: 100;
}

/* Header utama */
.main-header {
  margin-top: 5px;
  font-weight: bold;
  text-align: center;
  background-color: transparent;
  padding: 20px;
  color: beige;
}

.brand-text {
  font-size: 1.3em;
  font-weight: bold;
}

/* Konten */
.konten {
  padding: 10px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.isi {
  margin-top: 0;
}

/* Langkah */
.langkah {
  background-color: rgba(252, 252, 252, 0.658);
  border-left: 5px solid #880799;
  padding: 30px;
  margin-bottom: 20px;
  font-weight: 300;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(255, 252, 252, 0.05);
}

.langkah h2 {
  color: #880799;
  margin-bottom: 10px;
}

/* Tombol navigasi */
.nav-buttons {
  width: 900px;
  height: max-content;
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px;
  background-color: rgba(136, 7, 153, 0.4);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-nav {
  color: white;
  font-weight: bold;
  text-decoration: none;
  padding: 15px 20px;
  background-color: #880799;
  text-align: center;
  border-radius: 5px;
}

.btn-nav:hover {
  background-color: white;
  color: #880799;
}

/* Scroll to top */
#scrollTopBtn {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 999;
  background-color: #880799;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#scrollTopBtn:hover {
  background-color: #b437c2;
}

/* Footer */
footer {
  background-color: #880799;
  color: beige;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}

h4 {
  padding: 10px;
  position: absolute;
  display: flex;
  top: 1px;
  color: #ffffff;
  text-align: center;
  text-wrap: wrap;
}

@media (max-width: 768px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    background-image: url(bggg.jpg);
  }

  .bodyku {
    background-image: url(bggg.jpg);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: max-content;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px;
  }
}

@media (max-width: 768px) {
  .langkah {
    font-size: 14px;
    padding: 0;
  }
}

@media (max-width: 768px) {
  .brand-text {
    font-size: x-small;
  }
}

@media (max-width: 768px) {
  footer p {
    color: beige;
    font-weight: bold;
    font-size: small;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 30px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .konten {
    padding: 10px 10px;
    width: 100%;
    height: auto;
    display: block;
  }
}

@media (max-width: 768px) {

  .main-header h1,
  .nav span,
  .logo {
    flex-direction: column;
    font-size: small;
  }
}

@media (max-width: 768px) {
  .langkah {
    padding: 13px;
  }
}

@media (max-width: 768px) {
  .langkah p {
    margin: 0;
    font-size: smaller;
  }
}

@media (max-width: 768px) {
  .langkah h2 {
    margin: 0;
    font-size: small;
  }
}

@media (max-width: 760px) {
  .nav-buttons {
    max-width: 250PX;
    flex-wrap: wrap;
    position: absolute;
    margin-bottom: 90px;
    overflow-x: auto;
    gap: 4px;
    justify-content: center;
    padding: 25px;
  }

  .btn-nav {
    flex: auto;
    font-size: 10px;
    padding: 3px 6px;
  }

  h4 {
    font-size: x-small;
    display: absolute;
  }
}

@media (max-width: 768px) {
  .hero img {
    padding: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-top: -120%;
  }
}

@media (max-width: 768px) {
  .judull {
    position: absolute;
    text-align: center;
    font-size: 8px;
    padding: 12px;
    max-width: 75%;
    text-decoration: none;
    justify-content: center;
    transform: translateX(0%);
    TOP: 60px;
  }
}

@media only screen and (max-width: 768px) {
  .judull H3 {
    font-size: 9px;
    text-wrap: flex;
    width: 200px;
  }
}

@media only screen and (max-width: 768px) {
  .dropdown-menu {
    min-width: 80px;
    font-size: x-small;
    min-height: 100px;
    margin-right: 10px;
  }
}

@media (max-width: 768px) {
  .navbar-right {
    font-size: xx-small;
    padding: 1px;
  }
}

@media (max-width: 768px) {
  .navbar {
    font-size: xx-small;
    height: 50px;
  }
}

@media (max-width: 768px) {

  .kembali,
  .kembali a {
    font-size: xx-small;
    width: max-content;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: xx-small;
  }
}

@media (max-width: 768px) {
.linktombol {
  display: block;
  color: white;
  font-weight: bold;
  text-decoration: none;
  width: max-content;
  height: max-content;
  margin-top: 2px;
  padding: 7px 10px;
  background-color: #880799;
  text-align: center;
  border-radius: 5px;
  font-size: x-small;
  
}
}




