.music .body {
    height: 100vh;
    height: 100dvh;
}

/* Paleta de music: cambiar estas variables tiñe el fondo y el header */
.music {
    --music-bg: #ffffff;
    --header-nav-color: #000000;
    --header-logo-color: #000000;
    --header-tbc-color: #000000;
    --header-tbc-bg: #ffffff;
    background-color: var(--music-bg);
}

/* Modal de The Babylon Club en negro */
.music .tbc-modal {
    --tbc-modal-bg: #000000;
    --tbc-modal-text: #ffffff;
    --tbc-logo-color: #ffffff;
    --tbc-logo-bg: #000000;
    --tbc-modal-button: #29c4d4;
    --tbc-button-text: #ffffff;
    --tbc-check-mark: #000000;
    --tbc-modal-error: #ff7a7a;
    --tbc-list-bg: #1c1c1c;
    --tbc-list-text: #ffffff;
    --tbc-list-active: #333333;
    --tbc-list-muted: #aaaaaa;
}

@media (min-width: 768px) {
    .nav-container {
        padding: 20px var(--header-gutter);
    }
}

.buttons-header {
    display: flex;
    justify-content: end;
    margin-right: 120px;
}

.buttons-header .btn:hover {
    background-color: #000;
    color: #fff;
}

.btn {
    border: 2px solid #5F5F5F;
    border-radius: 20px;
    padding: 5px 24px;
    font-weight: bold;
    color: #5F5F5F;
    font-size: 14px;
    margin: 0 20px;
}

.container-fluid {
    margin: clamp(60px, 2vh, 24px) 0;
    overflow-x: clip;
    padding-left: 0;
    padding-right: 0;
}

.header-container {
    align-items: center;
    text-align: center;
}

.playnow-container {
    display: flex;
    justify-content: space-around;
    margin: 14px 50px 0;
    align-items: center;
    font-family: HelveticaNeue;
}

.playnow-container span {
    font-family: HelveticaNeue;
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 10px;
    margin-left: 10px;
}

.playnow-container a img {
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    width: 20px;
    height: 20px;
}

.playnow {
    text-decoration: none;
    display: inline-flex;
    gap: 40px;
}

.title {
    font-size: clamp(30px, 6vw, 50px);
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    font-family: HelveticaNeue;
    /* En vh para que título y carrusel quepan en el alto de la pantalla sin scroll */
    margin-top: clamp(60px, 2vh, 24px);
    margin-bottom: 0;
}

.carousel-cell.is-selected .info {
    opacity: 1;
    filter: blur(0px);
}

.info {
    font-size: 12px;
    font-family: HelveticaNeue;
    opacity: 0.5;
    filter: blur(5px);
}

.info .album-info {
    display: flex;
    justify-content: space-between;
    font-weight: bolder;
    font-size: 18px;  
    font-family: HelveticaNeue;
    margin-top: 20px;
}

.carousel {
    overflow-x: clip;
    position: relative;
}

/* Estilos para el carrusel de múltiples imágenes */
/* Alto real de la portada: si la celda es más baja, la tarjeta se desborda y hay que compensarlo con márgenes */
.carousel-cell {
    width: 30%;
    height: auto;
    /* flex-box, center image in cell */
    display: -webkit-box;
    display: -webkit-flex;
    display: flex !important;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
            justify-content: center;
    -webkit-align-items: center;
            align-items: center;
    flex-direction: column;
}

.carousel .flickity-viewport {
    overflow: visible;
}

.card {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: hidden;
}

.card img {
    width: 100%;
    display: block;
}

.info {
    padding: 10px;
    text-align: center;
}

.single-title {
    display: block;
    font-weight: bold;
    text-align: left;
    font-family: HelveticaNeue;
    margin-top: 20px;
    max-width: 240px;
}

.single-artist {
    display: block;
    font-size: 14px;
    color: #000;
    text-align: left;
}

.carousel-cell img {
    display: block;
    max-width: 300px;
    min-width: 300px;
    max-height: 100%;
    /* dim unselected */
    opacity: 0.7;
    -webkit-transform: scale(0.85);
            transform: scale(0.85);
    -webkit-filter: blur(5px);
            filter: blur(5px);
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s, transform 0.3s, -webkit-filter 0.3s, filter 0.3s;
            transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}

/* brighten selected image */
.carousel-cell.is-selected img {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: none;
            filter: none;
}

.flickity-page-dots {
    text-align: center;
    margin-top: 120px;
    display: none;
}

.flickity-page-dots .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #333; /* Color del dot */
    border-radius: 50%;
    opacity: 0.25;
    cursor: pointer;
    transition: opacity 0.3s;
}

.flickity-page-dots .dot.is-selected {
    opacity: 1;
    background: #000; /* Color del dot activo */
}

.video-container {
    height: 90%;
}

.video-container iframe {
    width: 65%;
    margin: 30px auto 0;
    height: 80%;
    display: block;
}

.buttons {
    position: relative;
    bottom: 40px;
    margin: 0 auto;
    text-align: center;
}

.buttons img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.buttons a {
    text-decoration: none;
}   

.arrow-up {
    display: block;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 240px;
}

/* Media queries */
@media screen and ( min-width: 768px ) {
    .carousel-cell {
        width: 100%;
    }
}

@media screen and ( min-width: 960px ) {
    .carousel-cell {
        width: 25%;
    }
}

@media (max-width: 768px) {
    /* Aire bajo el paginador; la página puede crecer más que la pantalla */
    .music .body {
        height: auto;
        overflow: visible;
        padding-bottom: calc(96px + env(safe-area-inset-bottom));
    }

    .carousel-cell {
        width: 100%;
    }

    .carousel-cell img {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    .flickity-page-dots {
        display: block;
        margin-top: 24px;
    }

    .header-container .buttons-header {
        display: none;
    }

    .video-container iframe {
        width: 95%;
        height: 80%;
    }

    .video-container {
        height: 40%;
    }

    .social-media {
        margin-top: 140px;
    }

    .title {
        margin-top: 30px;
    }

    .container-fluid {
        margin: 30px 0;
    }

    .playnow {
        text-decoration: none;
        display: inline-flex;
        gap: 40px;
    }
}