/* Style for the buttons */
body {
    font-family: Arial, sans-serif;
    background-image: url('Bat.gif');
    background-size: cover;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
}

.container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Cube container */
.cube-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    /*justify-content: space-between;*/
    padding: 0 1%; /* Adjust padding to change spacing */
    perspective: 100px;
    margin-bottom: 200px;
}

.cube {
    width: 300px; /* Reduced cube size */
    height: 30px; /* Reduced cube size */
    margin-top: 5px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateAndBounceCube 2s ease infinite; /* Faster animation */
    animation-fill-mode: both;
    animation-play-state: running;
    padding: 10%;
    padding right: 100%
}

/* Cube faces */
.cube::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

/* Cube 1 */
.cube-1 {
    background-color: #89CFF0; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 2 */
.cube-2 {
    background-color: Grey; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 3 */
.cube-3 {
    background-color: #89CFF0; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 4 */
.cube-4 {
    background-color: Grey; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 5 */
.cube-5 {
    background-color: #89CFF0; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 6 */
.cube-6 {
    background-color: Grey; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 7 */
.cube-7 {
    background-color: #89CFF0; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 8 */
.cube-8 {
    background-color: Grey; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 9 */
.cube-9 {
    background-color: #89CFF0; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 10 */
.cube-10 {
    background-color: Grey; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 11 */
.cube-11 {
    background-color: #89CFF0; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 12 */
.cube-12 {
    background-color: Grey; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 13 */
.cube-13 {
    background-color: #89CFF0; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 14 */
.cube-14 {
    background-color: Grey; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 15 */
.cube-15 {
    background-color: #89CFF0; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 16 */
.cube-16 {
    background-color: Grey; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 17 */
.cube-17 {
    background-color: #89CFF0; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 18 */
.cube-18 {
    background-color: Grey; /* Light green */
    transform: rotateY(20deg) translateY(-20px);
}

/* Cube 19 */
.cube-19 {
    background-color: #89CFF0; /* Orange */
    transform: rotateY(-20deg) translateY(-20px);
}

/* Cube 20 */
.cube-20 {
    background-color: Grey; /* Yellow */
    transform: translateY(-20px);
}

/* Cube 21 */
.cube-21 {
    background-color: #89CFF0; /* Yellow */
    transform: translateY(-20px);
}

/* Cube rotation and bounce animation */
@keyframes rotateAndBounceCube {
    0%, 100% {
        transform: rotateY(0) translateY(0);
    }
    50% {
        transform: rotateY(360deg) translateY(-40px);
    }
}

/* Adjustments for mobile devices */
@media (max-width: 600px) {
    button {
        width: 100%;
    }
}

.glowing-text {
    font-size: 80px; /* Very big font size */
    color: #89CFF0; /* Initial color */Ba
    text-transform: uppercase; /* Uppercase text */
    font-weight: bold;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 40px #ff0000, 0 0 70px #ff0000, 0 0 80px #ff0000, 0 0 100px #ff0000, 0 0 150px #ff0000; /* Text shadow */
    animation: glow 1s linear infinite alternate; /* Animation */
    transform: translate(-10px, -20px); /* Adjust position */
    z-index: 1; /* Ensure the text is above other elements */
    position: relative; /* Ensure it is positioned correctly */
}

@keyframes glow {
    0% {
        color: #89CFF0;
        text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 400px #89CFF0, 0 0 70px #89CFF0, 0 0 80px #89CFF0, 0 0 100px #89CFF0, 0 0 150px #89CFF0;
    }
    100% {
        color: Grey;
        text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 30px #000, 0 0 40px #000, 0 0 70px #000, 0 0 80px #000, 0 0 100px #000, 0 0 150px #000;
    }
}
