html,
body{
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}
:root{
    --debug: 0;
    --supported: 0;
    --not-supported: 0;
    --card-color: hsl(260deg 100% 3%);
    --text-color: hsl(260deg 10% 55%);
    --card-radius: 3.6vw;
    --card-width: 35vw;
    --border-width: 3px;
    --bg-size: 1;
    --hue: 0;
    --hue-speed: 1;
    --rotate: 0;
    --animation-speed: 4s;
    --interaction-speed: 0.55s;
    --glow-scale: 1.5;
    --scale-factor: 1;
    --glow-blur: 6;
    --glow-opacity: 1;
    --glow-radius: 100;
    --glow-rotate-unit: 1deg;
}
#index-page {
    background-color: #262626;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    z-index: 1;
    background-position: 50%;
}

/* Untuk tampilan mobile */
@media only screen and (max-width: 600px) {
  #index-page {
      background-image: url('../Web/mobile.png');
      /* Ganti 'gambar_latar_belakang_mobile.jpg' dengan nama gambar yang sesuai untuk tampilan mobile */
      background-size: cover;
      /* Pastikan gambar latar belakang menutupi seluruh elemen */
  }
}

/* Untuk tampilan desktop */
@media only screen and (min-width: 601px) {
  #index-page {
      background-image: url('../images/background.png');
      /* Ganti 'gambar_latar_belakang_desktop.jpg' dengan nama gambar yang sesuai untuk tampilan desktop */
      background-size: cover;
      /* Pastikan gambar latar belakang menutupi seluruh elemen */
  }
}
#index-page:after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0 0 0 / 20%);
    z-index: -1;
}
.index-page-wrapper{
    padding: 20px 0 20px;
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: space-between;
    position: relative;
    z-index: 2;
}
ul{
    list-style: none;
    margin: 0;
    padding: 0;
} 
#index-content{
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 2;
}

#index-content > .row{
    align-items: center;
    height: 100%;
}
#index-page h1{
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    text-shadow: 0 4px 10px rgb(0 0 0 / 65%);
    font-size: 62px;
    letter-spacing: 2px;
}
#index-page h2{
    color: #fff;
    font-size: 26px;
    letter-spacing: 1px;
}
.content-wrapper{
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 5px;
}
.list-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
}
.list-btn .btn-item {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
    animation-delay: calc(var(--animation-delay, 0) * 1s);
}
.list-btn .btn-item:nth-child(1) {
    --animation-delay: 0;
}
.list-btn .btn-item:nth-child(2) {
    --animation-delay: 0.5;
}
@keyframes pulse {
    0% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
}
.list-btn .btn-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}
.list-btn .btn-item a {
    position: relative;
    display: block;
    overflow: hidden;
}
.list-btn .btn-item a::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: glowingEffect 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.list-btn .btn-item:hover a::before {
    opacity: 1;
}
@keyframes glowingEffect {
    0% {
        transform: rotate(45deg) translate(-100%, -100%);
    }
    100% {
        transform: rotate(45deg) translate(100%, 100%);
    }
}
.list-btn .btn-item img {
    transition: filter 0.3s ease;
}
.list-btn .btn-item:hover img {
    filter: brightness(1.1);
}
.list-btn .btn a{
  min-width: 140px;
  display: inline-block;
  font-size: 22px;
  padding: 12px 17px;
  border-radius: 3px;
  text-decoration: none;
  color: #fff;
  transition: all .15s linear;
  text-transform: capitalize;
  font-weight: 600;
  background: #f7aa2e;
  text-shadow: 0 2px 3px rgb(0 0 0 / 45%);
}
.list-btn .btn a:hover{
    background-color: rgb(247 170 46 / 85%);
    color: #fff;
}
.list-btn .btn .btn-login {
  background: #0dcaf0;
}
.list-btn .btn .btn-login:hover{
  background-color: rgb(13 202 240 / 70%);
}
.btn-register.animation{
  animation: rotateBtn .2s;
}
@keyframes rotateBtn {
  0%{transform: rotate(5deg);}
  25%{transform: rotate(0);}
  50%{transform: rotate(5deg);}
  75%{transform: rotate(0);}
  100%{transform: rotate(5deg);}
}
.footer-logo{
  margin-top: 60px;
}
.footer-logo .title{
  font-size: 30px;
  color: #fded0d;
  font-weight: 500;
  letter-spacing: 2px;
  font-style: italic;
}
.footer-logo .logo{
  max-width: 200px;
  margin: 0 auto;
}
#gallery-show{
  max-width: 450px;
  margin: 30px auto 0;
  box-shadow: 0 0 15px #fff;
  position: relative;
}
#gallery-show img{
  opacity: .5;
  visibility: hidden;
  height: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s linear;
  z-index: 0;
}
#gallery-show img.active{
  opacity: 1;
  height: auto;
  visibility: visible;
  position: relative;
  z-index: 1;
}

  /* Tablet */
@media only screen and (max-width: 1024px) {
  .logo{
    max-width: 30vw;
  }
    #index-page h1{
        font-size: 4.5vw;
    }
    #index-page h2{
        font-size: 3vw;
    }
    .list-btn li:nth-child(2) img {
        width: 500px;
    }
}
/* Media Query untuk mobile */
@media only screen and (max-width: 768px) {
    #index-page {
        padding-top: 10px;
    }

    .index-page-wrapper {
        padding: 10px 0;
    }

    .content-wrapper {
        padding: 5px;
        padding-top: 400px;
    }

    .list-btn {
        flex-direction: row;
        gap: 5px;
        padding: 0 3px;
        justify-content: center;
        align-items: center;
        margin-top: 10px !important;
    }
    
    .list-btn li {
        width: auto;
    }
    
    .list-btn li img {
        width: 220px;
        height: auto;
    }
}
/* Media Query untuk mobile kecil */
@media only screen and (max-width: 480px) {
    .index-page-wrapper {
        padding: 5px 0;
    }

    .list-btn {
        gap: 4px;
        margin-top: 5px !important;
    }
    
    .list-btn li img {
        width: 180px;
    }
}
/* Media Query untuk mobile sangat kecil */
@media only screen and (max-width: 360px) {
    .list-btn {
        gap: 3px;
    }
    
    .list-btn li img {
        width: 150px;
    }
}

.list-btn img {
    max-width: 100%;
    height: auto;
}

.list-btn li:nth-child(2) img {
    width: 620px;
}

.list-btn li {
    width: auto;
}

.list-btn li img {
    width: 45vw; /* Base size using viewport width */
    max-width: 600px;
    height: auto;
}

.list-btn li a {
  position: relative;
  overflow: hidden;
}

.list-btn li a::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: glowingEffect 2s linear infinite;
}

@keyframes glowingEffect {
  0% {
    transform: rotate(45deg) translate(-100%, -100%);
  }
  100% {
    transform: rotate(45deg) translate(100%, 100%);
  }
}

.list-btn li a:hover::before {
  animation-duration: 1s;
}

.list-btn li a img {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.list-btn li a:hover img {
  transform: scale(1.05);
}

/* Desktop Style */
@media only screen and (min-width: 769px) {
    .list-btn {
        margin-top: 20px;
        padding-top: 400px;
    }
    
    .btn-item {
        width: auto;
    }
    
    .btn-item img {
        width: 320px;
        height: auto;
    }
}

/* Tablet Style */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .list-btn {
        gap: 12px;
        margin-top: 15px;
    }
    
    .btn-item img {
        width: 280px;
        height: auto;
    }
}

/* Mobile Style */
@media only screen and (max-width: 480px) {
    #index-page {
        align-items: flex-start;
        padding-top: 10px;
    }

    .index-page-wrapper {
        padding: 10px 0;
    }

    .list-btn {
        gap: 8px;
        margin-top: 10px;
    }
    
    .btn-item {
        width: auto;
    }
    
    .btn-item img {
        width: 190px;
        height: auto;
    }
}

/* Mobile Kecil Style */
@media only screen and (max-width: 360px) {
    .list-btn {
        gap: 6px;
    }
    
    .btn-item img {
        width: 165px;
    }
}

