body {
    font-family: sans-serif;
    margin: 0;
    background-color: #f0f0f0; /* Grigio chiaro di sfondo */
    color: #333; /* Grigio scuro per il testo */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 80%;
    max-width: 1200px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden; /* Importante per contenere l'animazione */
}

.left-side {
    width: 50%;
    padding: 20px;
    background-color: #eee; /* Grigio leggermente più scuro */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.song-title{
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.lyrics-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    width: 90%;
}

#lyrics {
    position: absolute;
    width: 100%;
    animation: scroll 45s linear infinite; /* Anima lo scorrimento */
    white-space: pre-wrap; /* Mantiene la formattazione del testo */
}

@keyframes scroll {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

audio {
    width: 90%;
    margin-top: 20px;
}

.right-side {
    width: 50%;
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redeem-box {
    text-align: center;
    border: 2px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
}

#redeemButton {
    background-color: #dc3545; /* Rosso */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

#message{
    margin-top: 10px;
    color: #dc3545;
    font-weight: bold;
}

.congrats-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}
.congrats-container img{
    max-width: 50%;
    margin: 20px 0;
}