  /* Popup Form Background */
  #popupForm {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: black;  /* Set the main background to black */
    color: white;  /* Text color white for contrast */
    border: 3px solid rgb(58, 198, 216);  /* rgb(58, 198, 216) border */
    padding: 20px;
    border-radius: 10px;  /* Optional: Rounded corners */
    box-shadow: 0 0 20px rgb(58, 198, 216);  /* Optional: rgb(58, 198, 216) glowing effect */
    max-width: 400px;
    width: 100%;
    text-align: center;  /* Center align all form elements */
  }

  /* Form fields and button */
  #popupForm input[type="text"],
  #popupForm input[type="number"],
  #popupForm button {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background-color: rgb(58, 198, 216);  /* rgb(58, 198, 216) fields */
    color: black;  /* Text color inside fields */
    font-size: 16px;
  }

  #popupForm button {
    background-color: black;  /* Black button */
    color: rgb(58, 198, 216);
    cursor: pointer;
    border: 2px solid rgb(58, 198, 216);
  }

  #popupForm button:hover {
    background-color: rgb(58, 198, 216);
    color: black;
  }

  /* Overlay background for the popup */
  #overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);  /* Semi-transparent black */
    top: 0;
    left: 0;
    z-index: 999; /* Behind the popup */
  }
  
/*-------------------------------------------Background Image---------------------------------------------*/
#bg {
    width: 100%;
    height: 100%;
}

/*-------------------------------------------Title Animation---------------------------------------------*/
/* Comment if using Slide keyframe */
/* .add-animation-zoom {
    animation: zoomBounce 0.3s ease;
    animation: zoomOut 0.3s ease;
} */

/* Comment all if using Zoomout keyframe */
.add-animation {
    animation: frmslideLeft 0.3s ease;
    /* animation: frmslideRight 0.8s ease; */
}

/* Comment all if using Zoomout keyframe */
.exit-animation {
    animation: toslideRight 0.3s ease;
    /* animation: toslideLeft 0.8s ease; */
}

/*-------------------------------------------Redirect Button---------------------------------------------*/
.redirect-btn {
    top: 84%;    /* posisi tombol pertama */ 
}

/* override posisi tombol kedua */
.redirect-btn.second {
    top: 90%;    /* geser ke bawah, sesuaikan nilai kalau perlu */
}

.redirect-btn img {
    width:60%;
    animation: pulse 0.9s  infinite linear;
}

/*-------------------------------------------Keyframe Animation---------------------------------------------*/
@keyframes pulse {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(0.9);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    65% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    35% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    55% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    65% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    85% {
        transform: scale(1.2);
        opacity: 0.9;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes frmslideLeft {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(50%);
        opacity: 0;
    }
}

@keyframes frmslideRight {
    0% {
        transform: translateX(10%);
        opacity: 0;
    }

    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toslideLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-10%);
        opacity: 0;
    }
}

/*-------------------------------------------Multi Device Screen Size---------------------------------------------*/
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #bg {
        height: 100vh;
    }
}