body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: rgba(0, 79, 7, 0.782);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

#visualizer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Coloca o canvas atrás dos outros elementos */
}

.player {
    position: relative;
    z-index: 1; /* Garante que o player fique acima do canvas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    color: white;
    padding: 0 10px;
    box-sizing: border-box;
}

.controls {
    text-align: center;
    width: 100%;
}

.progress-bar {
    color: black;
    width: 100%;
    max-width: 600px;
    margin: 10px auto;
    padding: 0 10px;
}

#progress {
    color: black;
    background-color: rgba(0, 0, 0, 0.301);
}

.play-pause button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    color: white;
}

.song-title {
    font-size: 5vw;
    font-weight: 600;
    margin: 20px 0;
    z-index: 10;
}

.lyrics {
    font-size: 4vw;
    font-weight: 100;
    margin: 5px 0;
    z-index: 10;
}

.controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #fff;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0071e3;
    cursor: pointer;
}

.play-pause button {
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
}

.play-pause svg {
    fill: #0071e3;
    transition: fill 0.3s ease;
}

.play-pause svg:hover {
    fill: #005bb5;
}

/* Adiciona regras para dispositivos móveis */
@media (max-width: 768px) {
    .song-title {
        font-size: 7vw;
    }

    .progress-bar {
        width: 90%;
    }

    input[type="range"]::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }
}