* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000; /* Fond noir */
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    pointer-events: none;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #000;

    iframe {
        /* Extend it beyond the viewport... */
        width: 300%;
        height: 100%;
        /* ...and bring it back again */
        margin-left: -100%;
    }
}

.info-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    color: #fff;
    border-left: 5px solid #ff0055;
    width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    font-size: 18px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    .content {
        padding: 15px 20px 0px 20px;
    }
}

.info-box .song-title {
    font-size: 24px;
    width: 350px;
    margin-bottom: 5px;
    font-weight: bold;
    text-transform: uppercase;
}

.info-box .artist-name {
    font-size: 18px;
    color: #ffcc00;
}

.watermark {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px; /* Increased font size */
    font-weight: bold;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.controls button {
    background: #ff0055;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
    display: flex;
    align-items: center; /* Aligne l'icône et le texte sur la même ligne */
    gap: 8px; /* Espacement entre l'icône et le texte */
}

.controls button i {
    font-size: 18px; /* Taille de l'icône */
}

.controls button:hover {
    background: #ffcc00;
    color: #000;
}

.controls button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* Bandeau défilant */
.scrolling-banner {
    width: 100%;
    background-color: #ff0055;
    color: white;
    font-size: 18px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px 0;
}

.scrolling-banner div {
    display: inline-block;
    animation: scroll-text 10s linear infinite;
}

/* Animation de défilement du texte */
@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Lorsque l'on survole le bandeau, on met l'animation en pause */
.scrolling-banner:hover div {
    animation-play-state: paused;
}

/* Control button styling */
.sound-control {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

a, .voter-button {
    color: #ffcc00;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 5px dotted #ffcc00;
    text-decoration: none;
}

a:hover, .voter-button:hover {
    color: white;
    border-bottom: 5px dotted white;
}

.smooth-transition {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.hidden {
    opacity: 0;
}
