.img-konten, .img {
  margin-bottom: 24px;
}
/* Hilangkan background footer saat di scroll paling bawah */
@media screen and (max-width: 100vw) {
  body:has(footer:in-viewport) footer {
    background: transparent;
  }
}
footer {
  width: 100%;
  box-sizing: border-box;
  background: cadetblue;
  color: white;
  text-align: center;
  padding: 12px 0;
  margin: 0;
  z-index: 999;
  font-size: 14px;
}
/* Responsive scaling untuk zoom in dan zoom out */
body {
  box-sizing: border-box;
  min-width: 320px;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: lightblue;
}
footer {
  margin-top: auto;
}
body {
    background-color: lightblue;
}

.navbar {
  background-color: cadetblue;
  width: 100%;
  transition: background-color 0.3s, opacity 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.ul-navbar {
    display: flex;
    justify-content: center;
}

.li-navbar {
    color: black;
    display: inline;
    margin: 10px;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    list-style-type: none;
}

/* Aturan untuk gambar agar ukurannya 30% dari ukuran asli dan proporsional */
.img-konten {
    width: 30%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.img {
    width: 30%;
    height: auto;
    display: block;
        margin-left: auto;
        margin-right: auto;
}

@media (max-width: 600px) {
  .img-konten, .img {
    width: 80%;
  }
  .navbar {
    font-size: 16px;
  }
}
    
.a-navbar {
    text-decoration: none;
    color: white;
  transition: opacity 0.3s; /* Added transition for opacity */
}

.li-navbar:hover {
    background-color: lightblue;
    transition:  .5s ease-in-out;
    transition-delay: .2s;
    border-radius: 8px
}

