/* General body styling */
html, body {
    overflow: hidden;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}

/* Slider container */
.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 90%;
    max-width: 300px;
    height: 500px;
}

/* Card container to control its size and layout */
.card-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card style */
.card {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    position: relative;
}

/* Card front (QR code side) */
.card-front,
.card-back {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

/* Front with QR code */
.card-front {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    flex-direction: column; /* Add this line */
    align-items: center;
    border: 1px solid #ccc;
}

.qr-code {
    width: 400px;
    height: 400px;
}

/* Back with song details */
.card-back {
    background-color: black;
    color: white;
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.song-details h1 {
    font-size: 4em;
    margin: 0;
}

.song-details p {
    font-size: 1.2em;
    margin: 5px 0;
}

/* Add this to the existing CSS */
#songlink {
    margin-top: 10px;
    text-align: center;
    font-size: 1em;
    color: #333;
}

/* Responsive mobile-first design */
@media (max-width: 768px) {
    .card {
        height: 400px;
    }

    .qr-code {
        width: 250px;
        height: 250px;
    }

    .song-details h1 {
        font-size: 3em;
    }

    .song-details p {
        font-size: 1em;
    }
}
