body {
    background-color: rgb(0, 0, 15, 0.9);
    overflow: hidden;
}

:root {
    --num-images: 5;
}

.polaroid {
    width: 300px;
    height: 300px;
    position: absolute;
    transform: rotate(var(--rot, 0deg));
    top: var(--top, 0%);
    left: var(--left, 0%);
    border-radius: 10px;
}

.polaroid:hover {
    transform: rotate(0deg);
    border: 5px dotted red;
    z-index: 1;
    -webkit-transition-duration: 0.3s;
    cursor: pointer;
    animation: ripple 0.8s ease-out;
}

.audio-image:active {
    animation: ripple 1s ease-out;
}

.audio-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #4CAF50;
    transition: width 0.2s ease;
}

@keyframes ripple {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}