#micContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: absolute;
    top: 30%;
    right: 50%;
    transform: translateX(50%); /* This will center the container horizontally */
width: 100%;
}

p#status {
    margin: 30px;
    padding-left: .75rem;
    padding-right: .75rem;
    border-width: 1px;
    border-radius: 100px;
    background: #212529;
    box-shadow: rgba(128, 255, 204, 0.2) 0px 0px 8px 0.5px;
}

#micIcon {
    font-size: 50px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: transparent;
    border: 5px solid transparent;
    box-shadow: 0 0 15px rgb(0 0 0 / 50%), 0 0 30px rgb(255 255 255 / 40%), 0 0 45px rgb(146 129 129 / 30%);
    background-image: radial-gradient(circle, rgba(138, 43, 226, 0.6), rgba(75, 0, 130, 0.4));
    background-clip: padding-box;
    position: relative;
    font-family: var(--font-heading);
    animation: bounce 1s ease-in-out infinite alternate;
}



#micIcon.recording {
    animation: bounce 1s ease-in-out infinite alternate;
    background-image: radial-gradient(circle, rgba(255, 0, 0, 0.6), rgba(255, 69, 0, 0.4));
}

.sound-wave {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0;
}

.wave-1 {
    width: 100px;
    height: 100px;
    animation: waveEffect 1.5s infinite ease-out;
}

.wave-2 {
    width: 140px;
    height: 140px;
    animation: waveEffect 1.5s infinite ease-out 0.3s;
}

.wave-3 {
    width: 180px;
    height: 180px;
    animation: waveEffect 1.5s infinite ease-out 0.6s;
}

@keyframes waveEffect {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}
