@import url('https://fonts.googleapis.com/css2?family=Anton&family=DM+Sans:wght@400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #96310c;
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: #96310c;
    color: #fff;
}

p {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    font-weight: 400;
}

span {
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

a {
    font-family: 'Anton', Impact, sans-serif;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

.imagen-fondo {
    position: fixed;
    top: 47%;
    left: 50%;
    z-index: 1;
    width: min(80vw, 500px);
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    background: url('imgs/falling.webp') center / cover no-repeat;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
}

.logo {
    display: block;
    width: 60px;
    height: auto;
}

.flex-discos {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.leyenda {
    color: #fff;
    font-size: 25px;
    text-transform: uppercase;
}

.leyenda:hover,
.rojo:hover {
    color: #fff;
    font-style: italic;
    text-decoration: line-through;
}

.redes {
    position: fixed;
    top: 150px;
    left: 35px;
    z-index: 2;
    display: flex;
    width: 50px;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.redes img {
    display: block;
    height: auto;
    transition: opacity 0.2s ease;
}

.redes img:hover {
    opacity: 0.7;
}

.insta {
    width: 25px;
}

.spotify {
    width: 40px;
}

.youtube {
    width: 30px;
}

.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 12px 20px;
}

.rojo {
    color: #fff;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
}

.abrir-menu,
.cerrar-menu {
    display: none;
}

.contbio {
    display: flex;
    width: min(100%, 996px);
    min-height: 100vh;
    align-items: center;
    margin: 0 auto;
    padding: 8rem 2rem 7rem;
}

.contbio p {
    padding: 2rem;
}

.contbio span,
.leyendaFlex span {
    text-transform: uppercase;
}

.leyendaFlex {
    display: grid;
    min-height: 100vh;
    grid-template-rows: 1fr auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas: 'img texto' 'img boton';
    align-items: center;
    column-gap: 3rem;
    padding: 9rem 5rem 7rem;
}

#imgPortada {
    display: block;
    width: min(100%, 450px);
    height: auto;
    grid-area: img;
    justify-self: center;
    padding: 15px;
}

.leyendaFlex p {
    grid-area: texto;
    padding-top: 1rem;
}

.boto {
    width: 120px;
    grid-area: boton;
    justify-self: start;
}

.contConciertos,
.contHielo {
    display: flex;
    width: min(100%, 700px);
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 8rem 1.5rem 7rem;
}

.contConciertos iframe {
    z-index: 1;
    max-width: 100%;
}

.contConciertos {
    color: #000;
}

.songkick-widget {
    color: #000;
}

.contHielo p {
    color: #fff;
    text-align: center;
}

.contHielo img {
    display: block;
    width: 100%;
    height: auto;
}

.videos,
.audios {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    padding: 9rem 1rem 7rem;
}

.videos .youtubeVideo {
    display: block;
    width: min(560px, 100%);
    aspect-ratio: 16 / 9;
    height: auto;
}

.videos iframe {
    z-index: 1;
    max-width: 100%;
}

.spoti {
    width: min(500px, 100%);
    z-index: 1;
}

.titulo {
    z-index: 5;
    color: #f00;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 96px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 4px 4px rgb(0 0 0 / 25%);
}

.flex-discos {
    justify-content: center;
}

@media (max-width: 992px) {
    .leyendaFlex {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 9rem 2rem 7rem;
    }

    .leyendaFlex p {
        width: min(100%, 38rem);
        padding: 0;
    }

    #imgPortada {
        width: min(390px, 100%);
        margin: 0;
    }

    .boto {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .home {
        height: 100vh;
        height: 100svh;
        overflow: hidden;
    }

    body {
        min-width: 0;
    }

    .fondoBio {
        padding-top: 7rem;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 5;
        padding: 1rem 1.25rem;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        row-gap: 0.5rem;
        background: #96310c;
    }

    .header > a {
        grid-column: 1;
        grid-row: 1;
    }

    .header > .abrir-menu {
        grid-column: 2;
        grid-row: 1;
    }

    .header > .flex-discos {
        grid-column: 1 / -1;
        grid-row: 2;
        align-items: center;
        width: 100%;
    }

    .redes {
        position: fixed;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: 4rem;
        flex-direction: row;
        justify-content: center;
        margin: 0;
        padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
        background: #96310c;
    }

    .nav {
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
        width: auto;
        min-width: 0;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 1rem;
        margin-top: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .nav.visible {
        z-index: 6;
        width: 100%;
        min-height: 100vh;
        margin-top: 0;
        align-items: flex-end;
        padding: 1.5rem;
        background: #111;
        opacity: 1;
        visibility: visible;
    }

    .abrir-menu,
    .cerrar-menu {
        display: block;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 1.8rem;
    }

    .abrir-menu {
        color: #000;
    }

    .cerrar-menu i {
        color: #fff;
    }

    .no-visible {
        visibility: hidden;
    }

    .visibleOk {
        opacity: 1;
        visibility: visible !important;
    }

    .rojo {
        font-size: 42px;
    }

    .contbio {
        padding: 2rem 1.5rem 7rem;
    }

    .contbio p {
        padding: 0;
    }

    .contConciertos,
    .contHielo {
        min-height: 100vh;
        height: auto;
        padding: 2rem 1.25rem 7rem;
    }

    .videos,
    .audios {
        padding: 2rem 1rem 7rem;
    }

    .leyendaFlex {
        padding-top: 2rem;
    }

    .titulo {
        display: none;
    }
}

@media (max-width: 550px) {
    .header {
        padding: 1rem;
    }

    .flex-discos {
        align-items: center;
        max-width: 100%;
    }

    .leyenda {
        font-size: 0.8rem;
        text-align: center;
    }

    .rojo {
        font-size: 34px;
    }

    .contbio {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}