/* Icon Button Styles */
.play-button-container {
    position: relative;
    display: flex;
    justify-content: center;
}
#playButton {
    background: none;
    border: none;
    font-size: 24px; /* Adjust size as needed */
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.circle-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px; /* Adjust size as needed */
    height: 60px; /* Adjust size as needed */
    background: rgba(0, 123, 255, 0.3); /* Customize color as needed */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    z-index: 0;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Icon Color */
.fas {
    color: #007bff; /* Customize color as needed */
}


/* Modal Styles */
.modal {
   display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #80bdff57;
}

.modal-content {
    background-color: aliceblue;
    margin: 15% auto;
    padding: 40px;
    top: 30%;
    border-radius: 10px;
    border: 1px solid red;
    width: 50%;
} 
@media (max-width:768px) {
    .modal-content {
        width: 80%;
    }
    #playButton {
        font-size: 40px;
    }
}
.modal-content p {
    margin-bottom: 40px;
    font-family: monospace;
}
.close {
    color: red;
    font-family: fantasy;
    font-size: 28px;
    font-weight: bold;
    left: 95%;
    top: -10px;
    position: relative;
}

.close:hover,
.close:focus {
    color: darkorange;
    text-decoration: none;
    cursor: pointer;
}

/* Audio Player Styles */
.audio-player {
    position: fixed;
    top: 0;
    width: 100%;
    background: aliceblue;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    display: none;

}
/* Hide the default play/pause button */
audio::-webkit-media-controls-play-button {
    display: none;
}

audio::-webkit-media-controls-pause-button {
    display: none;
}

/* Hide play/pause controls for Firefox and other browsers */
audio::-moz-media-controls {
    display: none;
}

/* Hide play/pause controls for Edge */
audio::-ms-media-controls {
    display: none;
}

/* Icon Button Styles */
.icon-button {
    background: none;
    border: none;
    font-size: 24px; /* Adjust size as needed */
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.icon-button:hover {
    transform: scale(1.1);
    border: none;
    color: cornflowerblue;
}

/* Icon Color */
.fas {
    color: #007bff; /* Customize color as needed */
}
.audio-close {
    font-size: 40px;
    color: red;
    font-family: fantasy;
    font-weight: 500;
    cursor: pointer;
    float: left;
    margin: 0 10px;
}
.audio-close:hover {
    color: darkorange;
}
