/* Imagens de inici */
.inicio {
    width: 100%;
    height: 100vh;
    background: #141414ff;
    background-image: url('imagesLogo/erasebg-transformed.png');
    background-size: 45vw 90vh;
    background-position: top center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.inicio::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    top: 88vh;
    width: 100%;
    height: 100%;
    background: url('imagesLogo/erasebg-transformed.png') no-repeat center;
    /* background: url('imagesLogo/erasebg-transformed.png') no-repeat center; */
    background-size: 45vw 100vh;
    background-position: end center;
    opacity: 0.5;
    transform: scaleY(-1);
    filter: blur(3px);
    clip-path: inset(50% 0 0 0);
}


#seccionesT div h1 a {
    position: relative;
    z-index: 10;
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
    line-height: 2;
    /* color: white; */
    /* -webkit-text-stroke: 2px rgb(255, 255, 255); */
}

#seccionesT div h1 a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1s;
    color: var(--clr);

    -webkit-text-stroke: 2px var(--clr);
}

#seccionesT div h1 a:hover::before {
    width: 100%;
    filter: drop-shadow(0 5px 45px var(--clr));
}


.luzNEON,
.luzROOT {
    color: var(--clr);
    text-shadow: 0 0 180px var(--clr);

}

/* estilo flotante y transicion */
#mainNav {
    transition: all 0.3s ease;
    padding: 0 15px;
    height: calc(6% + 0.8vh);
    /* Margen lateral inicial */
}

#mainNav.floating {
    position: fixed;
    top: 20px;
    /* Margen superior */
    left: 20px;
    /* Margen izquierdo */
    right: 20px;
    /* Margen derecho */
    /* background: linear-gradient(99deg,rgba(163, 63, 191, 1) 0%, rgba(0, 48, 115, 1) 100%); */
    background: linear-gradient(99deg, rgba(200, 0, 255, 1) 0%, rgba(229, 134, 255, 1) 40%, rgba(56, 139, 255, 1) 60%, rgba(0, 106, 255, 1) 100%);
    /* background: linear-gradient(99deg, rgba(200, 0, 255, 1) 0%, rgba(229, 134, 255, 1) 40%, rgba(255, 255, 255, 1) 50%, rgba(56, 139, 255, 1) 60%, rgba(0, 106, 255, 1) 100%);
    background: radial-gradient(circle, rgba(163, 63, 191, 1) 0%, rgba(0, 48, 115, 1) 100%);
    background-color: rgba(255, 255, 255, 0.9); */
    /* Fondo semitransparente */
    border-radius: 60px;
    /* Bordes redondeados */
    padding: 5px 45px;
    box-shadow: 0 15px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-width: calc(100% - 340px);
    /* Asegura que no toque los bordes */
    margin: 0 auto;
}

#mainNav.floating::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: rgba(255, 255, 255, 1);
    border-radius: inherit;
    /* Asegura que respete los mismos bordes redondeados */
    z-index: -1;
    /* Lo pone detrás del contenido */
}

/* Ajusta los estilos de los enlaces cuando está flotando */
#mainNav.floating #seccionesT div h1 a {
    background: linear-gradient(99deg, rgba(2, 73, 173, 1) 0%, rgba(203, 108, 230, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: calc(1.7rem + 0.2vw);
    /* Tamaño más pequeño */
    -webkit-text-stroke: 0.2px rgb(0, 0, 0);
    /* Borde más delgado */
}

#mainNav.floating #seccionesT div h1 a::before {
    -webkit-text-stroke: 0px var(--clr);
    /* Borde más delgado */
}



/* color de letras y textos  (Se eliminara al declarar los valores correspondiente a cada uno para su funcion)*/

.ecenas {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    background: #0249ADFF;
    background: linear-gradient(99deg, rgba(2, 73, 173, 1) 0%, rgba(203, 108, 230, 1) 100%);
}

@media (max-width:990px) {
    .inicio {
        background-size: 65vw 85vh;
        background-position: top;
    }

    .secciones,
    .neonroot {
        display: none;
    }

    #movilescss div h1 a {
        font-size: calc(38px + 1vw);
        background-image: linear-gradient(45deg, var(--clrr), var(--clr));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

    }

    #movilescss div h1 a {
        /* text-shadow: 0 0 5px #ff00ff, 0 0 5px #00ffff, 0 0 5px #ff00ff; */
    }

    .secciones-movil {
        display: block;
    }


}

@media (min-width: 992px) {

    .secciones-movil {
        display: none;
    }

    #movilescss div h1 a {
        font-size: calc(38px + 1vw);
        background-image: linear-gradient(45deg, #ff00ff, #00ffff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}