/* ==========================
   VARIABLES GLOBALES
   ========================== */
:root {
    /* ==========================
       MODO OSCURO (POR DEFECTO)
       ========================== */
    --page-bg: #17192d;
    --bg: #24284e;
    --bg-alt: #313764;
    --bg-dark: #1f223f;
    --accent: #d8830f;

    --text: #ffffff;
    --text-secondary: #d6d6d6;
    --text-on-card: #1f223f;

    --card: #ecece3;

    --overlay: rgba(0, 0, 0, 0.45);

    --cat-v1: #fe019a;
    --cat-v2: #EE00FF;

    --border: #4a4f74;

    --shadow: 0 8px 25px rgba(0, 0, 0, .35);

    /* Inputs */
    --input-bg: #222222;
    --input-text: #ffffff;
    --input-border: #3a3a3a;
    --focus-ring: var(--accent);

    /* Música */
    --text-muted: #c8c8c8;
    --button-border: #666666;
    --track-hover: #222222;
    --track-active: #d81f26;
    --player-bg: #000000;
}


/* ==========================
   MODO CLARO
   ========================== */

body.light {

    --page-bg: #f6f7fb;

    --bg: #e6eaf5;
    --bg-alt: #d7ddee;
    --bg-dark: #c8d0e6;

    --accent: #d8830f;

    --text: #222222;
    --text-secondary: #555555;
    --text-on-card: #222;

    --card: #ffffff;

    --overlay: rgba(255, 255, 255, .45);

    --cat-v1: #d30084;
    --cat-v2: #c100d8;

    --border: #d7dce8;

    --shadow: 0 8px 25px rgba(0, 0, 0, .12);

    /* Inputs */
    --input-bg: #ffffff;
    --input-text: #222222;
    --input-border: #c8d0e6;
    --focus-ring: var(--accent);

    /* Música */
    --text-muted: #666666;
    --button-border: #999999;
    --track-hover: #eceff5;
    --track-active: #d81f26;
    --player-bg: #000000;
}

/* Restablece márgenes, rellenos y el modelo de caja */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*anima la navegacion entre paginas */
@view-transition {
    navigation: auto;
}

::view-transition-group(main) {
    animation-duration: .45s;
    animation-timing-function: ease-in-out;
}

/* ::view-transition-old(main) {
    animation: page-out .45s both;
}

::view-transition-new(main) {
    animation: page-in .45s both;
}

@keyframes page-out {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes page-in {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
} */

/* Configuración general del documento */
html {
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
}

/* Configuración general del cuerpo de la página */
body {
    color: var(--text);

    transition:
        background-color .35s ease,
        color .35s ease;
}

/* ==========================
   ELEMENTOS GENERALES
   ========================== */
/* Imágenes responsivas */
img {
    width: 100%;
    display: block;
}

/* Enlaces */
a {
    text-decoration: none;
}

/* Encabezados de segundo nivel */
h2 {
    padding: 1rem;
    text-align: center;
}

/* ==========================
   HEADER
   ========================== */
.header {
    grid-area: header;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-dark);
    z-index: 1000;
}

/* Logo de la banda */
.logo {
    width: clamp(250px, 45vw, 350px);
    height: auto;
    color: var(--accent);
    position: relative;
    top: 15px;
}

/* Imagen del logo */
.logo img {
    width: 100%;
    height: auto;
    /* padding-left: 1rem; */
}

/* Botón del menú móvil */
.menu-btn {
    border: none;
    background: none;
    color: var(--accent);
    font-size: 3rem;
    cursor: pointer;
}

/* Botón para cambiar el tema */
.theme-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--accent);
}

/* Menú de navegación */
.nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    display: none;
    flex-direction: column;
    transition: all 0.5s ease;
}

/* Estado activo del menú móvil */
.nav.active {
    display: flex;
}

/* Enlaces del menú */
.nav a {
    color: var(--text);
    font-size: 1rem;
    padding: 1rem;
    display: inline-block;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
}

/* Efecto al pasar el mouse sobre el menú */
.nav a:hover {
    color: var(--accent);
    transform: translateX(5px) scale(1.8);
    -webkit-transform: translateX(5px) scale(1.8);
    -moz-transform: translateX(5px) scale(1.8);
    -ms-transform: translateX(5px) scale(1.8);
    -o-transform: translateX(5px) scale(1.8);
}

/* Botones principales */
.btn {
    display: inline-block;
    padding: .8rem 1.5rem;
    background: var(--accent);
    color: var(--text);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Efecto hover del botón */
.btn:hover {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}

/* Estado al hacer clic */
.btn:active {
    background: var(--text);
    color: var(--accent);
}

/* ==========================
   CALL TO ACTION
   ========================== */
.call-to-action {
    color: var(--cat-v2);
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Efecto hover del enlace */
.call-to-action:hover {
    color: var(--text);
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--cat-v1);
    transform: translateY(-5px) scale(1.8);
    -webkit-transform: translateY(-5px) scale(1.8);
    -moz-transform: translateY(-5px) scale(1.8);
    -ms-transform: translateY(-5px) scale(1.8);
    -o-transform: translateY(-5px) scale(1.8);
}

/* Estado al hacer clic */
.call-to-action:active {
    color: var(--cat-v2);
    text-shadow: 0 0 10px var(--text)
}

/* ==========================
   FOOTER
   ========================== */

footer {
    grid-area: footer;
    color: var(--accent);
    text-align: center;
    padding: 2rem;
    background: var(--bg-dark);
}

/* Contenedor de validaciones W3C */
.w3c-validations {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* Logos de validación */
.w3c-validations img {
    height: 31px;
    width: auto;
    padding: 0.1rem;
    mix-blend-mode: luminosity;
    opacity: 0.4;
}

/* ==========================
   TABLET
   ========================== */

@media (min-width: 768px) {

    /* Oculta el botón hamburguesa */
    .menu-btn {
        display: none;
    }

    /* Navegación horizontal */
    .nav {
        position: static;
        display: flex;
        flex-direction: row;
        gap: 1rem;
        width: auto;
        background: none;
    }

    /* Animación de los enlaces */
    .nav a:hover {
        transform: scale(2.0) opacity(0.2);
        -webkit-transform: scale(2.0) opacity(0.2);
        -moz-transform: scale(2.0) opacity(0.2);
        -ms-transform: scale(2.0) opacity(0.2);
        -o-transform: scale(2.0) opacity(0.2);
    }
}

/* /////////////////////////////////////////////////////////////////////////////
   UTILIDADES
///////////////////////////////////////////////////////////////////////////// */

.hidden {
    display: none !important;
}

/* ==========================
   DESKTOP
   ========================== */

@media (min-width: 1024px) {

    /* Aumenta el tamaño del texto */
    p {
        font-size: 1.5rem;
    }
}

/* ==========================
   DESKTOP GRANDE
   ========================== */

@media (min-width: 1440px) {}