body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 0.3s ease;
  margin-bottom: 50px;
  padding-bottom: 50px;
}

body.light-mode {
  background-color: #000;
  color: #fff;
}

body.dark-mode {
  background-color: #fff;
  color: 000;
}

header {
  background-color: #0a97c9;
  color: #fff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}



nav {
  display: flex;
  align-items: center;
}

.menu-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

.container {
  padding: 10px;
}

.movie-container,
.list-populer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.movie,
.list-populer div {
  background-color: #0a97c9;
  padding: 1px;
  text-align: center;
  margin: 1px;
  max-width: 300px;
  position: relative;
}

.movie img,
.list-populer div img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 10px;
  outline: none;
  transition: transform 0.3s ease;
}

.movie:hover img,
.list-populer div:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.movie h3,
.list-populer div h3 {
  font-size: 13px;
  height: auto;
}

@media screen and (max-width: 767px) {
  .movie-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .movie {
    max-width: 100%;
    box-sizing: border-box;
  }

  .list-populer {
    grid-template-columns: repeat(3, 1fr);
  }

  .list-populer div img {
    height: 120px;
  }

  .list-populer h1,
  .movie-container h1 {
    grid-column: 1 / -1;
    position: relative;
    margin-bottom: 10px;
  }

  .list-populer h1::after,
  .movie-container h1::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: black;
    position: absolute;
    bottom: -8px;
    left: 0;
  }

  .nav-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100vw;
    height: 100%;
    max-width: 70vw;
    width: 100%;
    background-color: #fff;
    z-index: 2;
    transition: right 0.3s ease;
  }

  .nav-list.active {
    right: 0;
  }

  .nav-list li {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid #555;
    color: #333;
    text-decoration: none;
  }

  .nav-list li a {
    text-decoration: none;
    color: #0a97c9;
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .close-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
  }
.list-populer div img {
  height: 120px; /* Tinggi tetap 120px */
}
  /* ... (gaya media query lainnya) */
}

@media screen and (min-width: 768px) {
  .movie-container {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    justify-content: center;
  }

  .list-populer {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
    text-align: center;
    margin-bottom: 20px;
  }

  .list-populer div {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
  }

  .list-populer div img {
    width: 100%;
    object-fit: cover;
  }

  .list-populer h1 {
    grid-column: 1 / -1;
    position: relative;
    margin-bottom: 10px;
  }

  .list-populer h1::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: black;
    position: absolute;
    bottom: -8px;
    left: 0;
  }
.nav-list {
        list-style-type: none;
        display: flex;
        align-items: center;
      }

      .nav-list ul {
        display: flex;
      }

      .nav-list li {
        margin-right: 20px;
      }

      .nav-list a {
        text-decoration: none;
        color: #fff;
      }
 .menu-icon {
        display: none;
      }

      .close-icon {
        display: none;
      }
    
.list-populer div img {
  height: 120px; /* Tinggi tetap 120px */
}
  /* ... (gaya media query lainnya) */
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #0a97c9;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 12px;
}

.movie a,
.movie h3 a,
.list-populer div a,
.list-populer div h3 a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #ffffff;
}


.movie-container h1 {
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 10px;
  font-size: 16px; /* Sesuaikan dengan ukuran yang diinginkan */
} 
}

.movie-container h1::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background-color: black;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.list-populer {
  margin-top: 20px;
}

.list-populer {
  display: grid;
  gap: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.list-populer h1 {
  grid-column: 1 / -1;
  position: relative;
  margin-bottom: 10px;
  font-size: 16px; /* Sesuaikan dengan ukuran yang diinginkan */ }
}

.list-populer h1::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background-color: black;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.list-populer div {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.list-populer div img {
  width: 100%;
  object-fit: cover; /* Untuk menjaga aspek rasio dan memotong gambar jika perlu */
}
.list-populer h3 {
  font-size: 12px; /* Sesuaikan dengan ukuran yang diinginkan */ }
}
.movie-container h3 {
  font-size: 12px; /* Sesuaikan dengan ukuran yang diinginkan */ }
}
.logo {
  font-size: 1.5rem;
  
}

#imageContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#infoBanner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #ccc;
  margin: 10px;
  position: relative;
  background-color: #fff;
  height: 50px;
}

.arrow-icon {
  font-size: 24px;
  color: transparent;
  cursor: pointer;
  transition: color 0.3s ease;
}

.arrow-icon:hover {
  color: #000;
}

.left-arrow {
  order: 1;
}

.right-arrow {
  order: 3;
}

