@import url(generales.css);
* {
    box-sizing: border-box;
}

main {
    width: 100%;
    min-height: calc(100vh - 250px);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #1d022e 0%,#0d040c 100%);
}

/* ------------------------------------- */
 /* -----HEADER -----*/

 header {
    width: 100%;
    height: 100px;
    border-bottom: 5px solid var(--rosa);   
    box-shadow: 0 0 30px var(--rosa);    
 }

 nav {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
 }

 .enlaces-nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    align-items: center;
    padding: 30px;
    
 }
 
.enlaces-nav a {
    font-family: var(--letra-titulos);
    color: var(--blanco);
    font-size: 22px;
    letter-spacing: 2px;
    text-decoration: none;
}

.enlaces-nav a:hover {
    color: var(--azul);
    text-shadow: 0 0 20px var(--rosa);
}

.enlaces-nav .activo {
    color: var(--azul);
    text-shadow: 0 0 20px var(--rosa);
    
}

.boton-nav {
    display: none;
    background: none;
    border: none;
    color: var(--blanco);
    font-size: 28px;
    cursor: pointer;
}

/* ------------------------------------- */
/* ---FOOTER--- */

footer {
    width: 100%;
    min-width: 150px;
    padding: 20px 30px 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 5px double var(--morado);
}

footer p {
    font-family: var(--letra-texto);
    color: var(--blanco);
    font-size: 14px;
}

footer .sociales {
    display: flex;
    gap: 20px;
    align-items: center;
    
}

footer .sociales a {
    font-size: 24px;
    color: var(--azul);
    text-decoration: none;
}

footer .sociales a:hover {
    color: var(--azul);
    scale: 1.5;
    text-shadow: 0 0 15px var(--rosa);
}

footer a {
    font-family: var(--letra-texto);
    color: var(--blanco);
    font-size: 14px;
    text-decoration: none;
}

footer a:hover {
    color:var(--azul);
}

/* ------------------------------------- */
/* --- MEDIA QUERIES --- */
@media (max-width: 575px) {
    .boton-nav {
       display: block;
        padding-right: 40px;
    }
    .enlaces-nav {
        will-change: opacity, transform;
        transform: translateZ(0);
        /* Estas dos líneas anteriores son para forzar GPU layer para evitar un bug visual de Chrome con animaciones superpuestas( porque se veía mal en Chrome )*/
        position: absolute;
        top: 100px;
        left: 0;
        flex-direction: column;
        background-color: var(--morado);
        border: 1px solid var(--morado);
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 9999;
       
    }

    
    .nav-movil {
        max-height: 500px;
        padding: 20px;
        opacity: 1;
        pointer-events: auto;
    }

    footer a{
        order: 3;
    }
}