
/* Awal masuk dari kanan */
body {
    margin: 0;
    overflow-x: hidden;
}
#content {
    transform: translateX(100%);
    transition: transform 0.5s ease;
}
#content.show {
    transform: translateX(0);
}



.hero-custom {
    background: linear-gradient(to bottom right, #1abc9c, #16a085);
    color: black;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    transition: background 0.5s ease-in-out;
  }

  footer {
    text-align: center;
    font-size: 14px;
    padding: 10px;
  }

  @media (max-width: 768px) {
    footer {
      padding: 10px;
    }
  }

  .icons img {
    width: 70px;
    height: 50px;
    border: 2px solid white;
    cursor: pointer;
    transition: border-color 0.3s;

  }
  .icons img:hover {
  
    border-color: #fca311;
  }

  .character-right img {
    max-height: 100px;
    object-fit: contain;
    transition: opacity 0.5s;
  }

  .container i {
    cursor: pointer;
  }

  .container i:hover{
    transform: scale(1.2);
    color:rgb(0, 0, 0);
  }

  .fade2{
transition: opacity 0.5s ease;
opacity: 0;
  }

  .fade2.show {
opacity: 1;
  }

  .category-buttons button {
      white-space: nowrap;
  }
  
  .swiper-slide img {
    height: 400px;       
    width: auto;         
    object-fit: cover;   
    border-radius: 12px; 
    margin: auto;
    display: block;
  }

  @media (max-width: 768px) {
    .swiper-slide img {
      height: 180px; 
    }
  }
  .card_slider{
    padding: 30px 0;
  }

  .swiper-pagination-bullet {
  background-color: black;
  }
  
  .swiper-pagination-bullet-active {
  background-color: #ffffff; 
}

.btn {
  color: purple;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0.8em;
  border: 2px solid purple;
  padding: 10px 15px;
  font-size: 10px;
  cursor: pointer;
  font-weight: bold;
  background: transparent;
  position: relative;
  transition: all 1s;
  overflow:clip;
}

.btn:hover {
  color: white;
}

.btn::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 0%;
  top: 0;
  left: -22px;
  transform: skewX(40deg);
  background-color: purple;
  z-index: -1;
  transition: all 1s;
}

.btn:hover::before {
  width: 160%;
}



