/*parallax style*/

.parallax-mirror {
  visibility: -50;
  z-index: -50;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  transform: translate3d(0, -100px, 0);
  height: 100%;
  width: 100%;
}

.parallax-slider {
  transform: translate3d(0, -50px, 0);
  position: absolute;
  height: 800px;
  width: 100%;
  max-width: none;
}


/* CSS Bootstrap */
.navbar {
  background-color: #f8f9fa;
}

.navbar-brand {
  font-weight: bold;
  color: #343a40;
}

.navbar-toggler {
  border: none;
  background-color: transparent;
  color: #343a40;
}

.nav-link {
  color: #343a40;
  font-weight: bold;
}

.nav-link:hover,
.nav-link.active {
  color: #007bff;
}

/* CSS Font Awesome */
.navbar-brand i,
.navbar-toggler i {
  margin-right: 0.5rem;
}

/* CSS untuk gambar latar belakang */
.navbar {
  background-size: cover;
  background-position: center;
}

:root {
  --color-primary: #0073ff;
  --color-white: #e9e9e9;
  --color-black: #141d28;
  --color-black-1: #212b38;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
 
}

.logo {
  color: var(--color-white);
  font-size: 30px;
}

.logo span {
  color: var(--color-primary);
}

.menu-bar {
  background-color: var(--color-black);
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;

  position: relative;
}

.menu-bar ul {
  list-style: none;
  display: flex;
}

.menu-bar ul li {
  /* width: 120px; */
  padding: 10px 30px;
  /* text-align: center; */

  position: relative;
}

.menu-bar ul li a {
  font-size: 20px;
  color: var(--color-white);
  text-decoration: none;

  transition: all 0.3s;
}

.menu-bar ul li a:hover {
  color: var(--color-primary);
}

/*container style*/

.container{
  background-color: #141d28;
  margin-top: 110px;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.title{
  margin-top: 20px;
  margin-left: 30px;
  font-size: 60px;
  color: #133892 ;
  border-bottom: 3px solid black;
}

.title span{
  font-size: 30px;
  color: red;
}

.card-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px;
}

.card{
  position: relative;
  background: #fff;
  max-width: 325px;
  width: 325px;
  height: auto;
  margin: 25px;
  box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  overflow: hidden;
}

/* Custom styling for the card title (h1) and card-genre (p) */
.card-title {
  font-size: 24px;
  font-weight: bold;
}

/* Initial state for the card-genre (p) */
.card-genre {
  font-size: 15px;
}

.card {
  position: relative;
}

.card-image::before,
.card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.card-image::before {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  opacity: 0.7;
}

.card-image::after {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
  opacity: 0;
}

.card-image img {
  max-width: 100%;
  height: auto;
}

.card:hover .card-image::after {
  opacity: 1;
}

.card-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  color: white;
}


/* CSS untuk halaman 1, 2, 3 */
.card:nth-child(n+5) {
  display: none;
  }
  
  /* CSS untuk tombol "Prev" dan "Next" */
  .pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  }
  
  .pagination a {
  color: #000;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd;
  margin: 0 4px;
  margin-bottom: 20px;
  background-color: #172D87;
  border-radius: 4px;
  }
  
  .pagination a.active {
  background-color: #0AB1CE;
  color: white;
  }
  
  .pagination a.prev,
  .pagination a.next,
  .pagination a.first,
  .pagination a.last {
  width: 80px;
  cursor: pointer;
  transition: 0.3s ease;
  border-radius: 4px;
  }
  
  .pagination a.prev:hover {
  transform: translateX(-5px);
  }
  
  .pagination a.next:hover {
  transform: translateX(5px);
  }
  
  .pagination .current-page,
  .pagination .dots {
  background: #0073FF;
  width: 45px;
  border-radius: 50%;
  cursor: pointer;
  }
  
  .pagination .active {
  background: #0073FF;
  }
  
  .pagination .disable {
  background: #ccc;
  }
  
  .pagination a.prev,
  .pagination a.next,
  .pagination a.disabled {
  color: #0073FF;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #0073FF;
  }
  
  .pagination a.prev:hover,
  .pagination a.next:hover,
  .pagination a.first:hover,
  .pagination a.last:hover {
  background-color: #0073FF;
  color: white;
  }
  
  .pagination a.disabled {
  pointer-events: none;
  color: #0A839E;
  border-color: #ccc;
  }