body {
    margin: 0;
    padding: 0;
}

#buttonAudio {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(33.9px);
    -webkit-backdrop-filter: blur(12.9px);
    transition: .5s;
    z-index: 9999;
}

.main {
    display: flex;
    flex-direction: column; /* Stacks children vertically */
    justify-content: center;
    align-items: center;
    background-color: black;
    background-image: url(5x4Z.gif);
    background-repeat: no-repeat;
    background-position: right bottom;
    width: 100vw;
    height: 100vh;
}


.fade {
    opacity: 1;
    animation: fade 1s linear;
    animation-fill-mode: forwards;
    cursor:auto;
}

@keyframes fade {
    from {
        opacity: 1;
        border-radius: 16px;
        backdrop-filter: blur(33.9px);
    }
    to {
        opacity: 0;
        border-radius: 0px;
        backdrop-filter: blur(0px);
    }
}

.textBox {
    position: relative;
    display: flex;
    color: white;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    height: auto;
    max-width: 30vw;
    width: 30vw;
    padding: 0;
    border-radius: 15px;
    font-family:"Quicksand", sans-serif;
    padding-left: 1vw;
    padding-right: 1vw;
    text-align: center;
    align-items: center;
    flex-direction: column; /* Aligns children vertically */
    justify-content: flex-start;
}

.textBox h1 {
    font-family: "Almarai", sans-serif;
   display: flex;
   justify-content: top;
   margin: 0;
   z-index: 99;
}

.textBox .myImage {
    position: relative;
    display: flex;
    display: flex;
    width: 4rem;
    height: 4rem;
    background-image: url(star.gif);
    background-repeat: no-repeat;
    background-size: 4rem;
    background-position: center;
}

.textBox p {
    z-index: 99;
    margin: 0;
}

.textBox .moreinfo {
    z-index: 99;
    margin: 0;
    margin-top: -1vh;
}

.textBox h2 {
    display: flex;
    justify-content: top;
    margin: 0;
    z-index: 99;
    margin-top: 1vh;
    margin-bottom: .2vh;
}

.gap {
    width: 55vw;
    height: 4vh;
}

.smallgap {
    width: 55vw;
    height:1vh;
}

.line {
    max-width: 30vw;
    width: 30vw;
    height: .09rem;
    margin-top: 1.2vh;
    margin-bottom: 1.2vh;
    background-image: radial-gradient(circle, gray 70%, transparent 100%);
}

#buttonAudio button {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: 0;
    color: white;
    width: 25vw;
    height: 5vh;
    font-size:1.3rem;
    font-family:'Courier New', Courier, monospace;
    cursor: pointer;
}

.warning-bar-container {
    position: static;
    display: flex;
    gap: 5vh;
  }
  
.warning-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position:absolute;
    top: 20px; /* Floating away from the top a little */
    left: 50%;
    transform: translate(-50%, -150%); /* Hidden initially and centered */
    padding: 15px 30px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: white;
    text-align: center;
    z-index: 99999;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    max-height: 2rem;
    opacity: 0; /* Start hidden */
}
  
  /* Show class to trigger animations */
.warning-bar.show {
    transform: translate(-50%, 0); /* Move to the center */
    opacity: 1; /* Make it visible */
    animation: bounceIn 0.6s ease-out; /* Bounce effect */
}
  
  /* Animation for bounce-in */
@keyframes bounceIn {
    0% {
        transform: translate(-50%, -150%) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translate(-50%, 10px) scale(1.05);
        opacity: 1;
    }
    80% {
        transform: translate(-50%, -5px) scale(0.98);
    }
    100% {
        transform: translate(-50%, 0) scale(1);
    }
}
  
.warning-bar .icon {
    margin-right: 15px;
    font-size: 1.25rem;
}
  
  /* Color variants for different types */
.warning-yellow {
    background-color: rgba(255, 235, 59, 0.2);
    border-color: rgba(255, 235, 59, 0.5);
    color: #FFEB3B;
}
  
.warning-red {
    background-color: rgba(244, 67, 54, 0.2);
    border-color: rgba(244, 67, 54, 0.5);
    color: #F44336;
}
  
.warning-blue {
    background-color: rgba(33, 150, 243, 0.2);
    border-color: rgba(33, 150, 243, 0.5);
    color: #2196F3;
}

.morebtn {
    margin-top: 1vh;
    position: relative;
    display: flex;
    width: 1%;
    height: 1vh;
    color: white;
    align-items: center;
    text-align: center;
    background-repeat: no-repeat;
    background-image: url(arrowsvg.svg);
    background-size: 100% 100%;
    animation: morebtn 1s infinite;
    
}

@keyframes morebtn {
    0% {
        top: 1vh;
    }
    50% {
        top: 2vh;
    }
    100% {
        top: 1vh;
    }
}


@media only screen and (max-width: 1000px) {
    .textBox {
        max-width: 70vw;
        width: 65vw;
    }    
}

.lyrics {
    position: relative;
    display: flex;  
    color: white;
    font-family:"Quicksand", sans-serif; 
    transition: opacity 0.5s ease-in-out; /* Smooth transition for opacity */
    opacity: 0; /* Initially hidden */
}


.lyrics.fade-in {
    opacity: 1; /* Fully visible */
}

.lyrics.fade-out {
    opacity: 0; /* Fully hidden */
}

.frantic {
    color: red;
    font-weight: bold;
    animation: float-animation 3s infinite ease-in-out; /* Animation duration */
    display: inline-block;
    transform-origin: center; /* Ensure pivot is at the center of the word */
}

/* Keyframes for a smooth wave-like floating and rotating effect */
@keyframes float-animation {
    0% {
        transform: translateY(0) rotate(0deg); /* Initial position */
    }
    15% {
        transform: translateY(-5px) rotate(-5deg); /* Slightly up and tilting left */
    }
    30% {
        transform: translateY(0) rotate(3deg); /* Center and tilting right */
    }
    45% {
        transform: translateY(5px) rotate(-3deg); /* Slightly down and tilting left */
    }
    60% {
        transform: translateY(0) rotate(5deg); /* Center and tilting right */
    }
    75% {
        transform: translateY(-5px) rotate(-5deg); /* Slightly up and tilting left */
    }
    100% {
        transform: translateY(0) rotate(0deg); /* Return to initial position */
    }
}