* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
    --color-principal: rgb(44, 19, 108);
    --color-fondo: rgba(31, 9, 60, 1);
    --color-contenedores: rgba(47, 31, 83, 1);
    --fuente-logo: 'PT Sans', sans-serif;
    --fuente-sig_pag: 'Montserrat', sans-serif;
    --fuente-titulos: 'Arvo', serif;
    --fuente-texto: 'Radio Canada', sans-serif;
    --fuente-MJS: 'Mukta', sans-serif;
}

body {
    background-color: var(--color-principal);
    color: #ffff;
    /* height: 100%; */
    background-color: var(--color-fondo);
    font-size: 16px;
}


/* HEADER */

header {
    background-color: var(--color-principal);
    /* position: fixed; */
    width: 100%;
}


.nav {
    border-bottom: 1px solid #808080;
    background-color: var(--color-principal);
    height: 100%;
    width: 100%;
}

.nav_toggle {
    position: absolute;
    cursor: pointer;
    margin: 1rem 1.5rem;
    right: 0;
}

.nav_toggle img {
    width: 1rem;
}

.nav_toggle .close {
    display: none;
}

.nav_toggle .close,
.nav_toggle .menu {
    margin-top: 0.75rem;
    margin-right: 0.3rem;
    height: 25px;
    width: 25px;
}

.nav_checkbox {
    display: none;
}

.nav_menu {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    align-items: center;
    padding: .9rem;
}

.nav_menu li {
    display: none;
}

.nav_menu li:first-child {
    margin-right: auto;
    display: block;
}

.nav_menu a {
    font-family: var(--fuente-sig_pag);
    color: #ffff;
    font-size: .8rem;
}

.menu_logo {
    height: 45px;
}

.menu_logo img {
    height: 100%;
}

#nav_checkbox:checked~.nav_menu {
    height: 100vh;
}

#nav_checkbox:checked~.nav_menu li {
    display: block;
}

#nav_checkbox:checked~.nav_toggle .close {
    display: block;
}

#nav_checkbox:checked~.nav_toggle .menu {
    display: none;
}



/* MAIN */


#video_principal {
    width: 100%;
}

.video_principal {
    width: 100%;
}

#cont_principal {
    width: 100%;
}

.body_secundario {
    margin: 8vw 10vw;
    background-color: var(--color-contenedores);
    border: 1.5px solid;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .25);
}

.texto_principal {
    padding: 15% 13%;
}

.titulo_bienvenida {
    font-family: var(--fuente-titulos);
    margin-bottom: 30%;
    font-size: 1em;
    text-align: center;
}

.texto_bienvenida {
    font-family: var(--fuente-texto);
    font-size: .8rem;
    text-align: center;
}

.img_mjj {
    width: 80%;
    margin-left: 10%;
}

.img_mjj img {
    width: 100%;
}

.mjj {
    font-family: var(--fuente-MJS);
    font-size: .7rem;
    text-align: center;
    padding: 10px 0;
}



/* FOOTER */

footer {
    height: 60px;
}

#footer_principal {
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: var(--color-principal);
}

.logo_rrss {
    order: 20;
    width: 50%;
}

.f_logo {
    display: none;
}

.sig_paginas {
    display: none;
}

.direccion {
    width: 50%;
    padding: 5% 10%;
}

.d_titulo {
    font-family: var(--fuente-sig_pag);
    font-size: .6rem;
    padding-bottom: .5rem;
}

.d_texto {
    font-family: var(--fuente-texto);
    font-size: .4rem;
}

.rrss {
    line-height: 2rem;
    width: 100%;
    padding: 10% 0;
    font-family: var(--fuente-sig_pag);
    text-align: center;
    font-size: .6rem;
    /* height: 100%; */
}

.icons_rrss a img {
    height: 1.7rem;
}

#footer_secundario {
    background-color: #000;
}

.texto_footer_s {
    font-size: .4rem;
    padding: 2%;
    text-align: center;
}

.portfolio {
    color: #ffff;
    text-decoration: none;
}


@media (min-width:480px) {


    /* MAIN */


    .titulo_bienvenida {
        margin-bottom: 20%;
        font-size: 1.4em;
    }

    .texto_bienvenida {
        font-size: 1.3rem;
    }

    .mjj {
        padding: 15px 0;
        font-size: 1rem;
    }



    /* FOOTER */


    .direccion {
        width: 70%;
        padding: 3.5% 10%;
    }

    .d_titulo {
        font-size: .8rem;
    }

    .d_texto {
        font-size: .6rem;
    }

    .rrss p {
        font-size: .9rem;
    }

    .icons_rrss a img {
        height: 2.5rem;
    }

}



@media (min-width: 720px) {

    /* HEADER */

    .menu_logo {
        height: 50px;
        padding-left: 1rem;
    }

    /* MAIN */


    .titulo_bienvenida {
        margin-bottom: 30%;
        font-size: 2em;
    }

    .texto_bienvenida {
        font-size: 1.5em;
    }

    .mjj {
        font-size: 1.2em;
    }



    /* FOOTER */


    .logo_rrss {
        order: 10;
        width: 33%;
        padding-top: 18px;
    }

    .f_logo {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .f_logo img {
        width: 70%;
        margin: auto;
    }

    .sig_paginas {
        display: flex;
        flex-direction: column;
        order: 50;
        width: 33%;
        margin: auto;
        gap: 1rem;
        justify-content: center;
    }

    .sig_paginas p {
        display: flex;
        font-family: var(--fuente-texto);
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .sig_pag a {
        display: flex;
        color: #fff;
        font-family: var(--fuente-texto);
        font-size: .8em;
        line-height: 1.35rem;
        justify-content: center;
    }

    .direccion {
        order: 100;
        width: 34%;
        display: flex;
        flex-direction: column;
    }

    .d_titulo {
        font-size: 1em;
    }

    .d_texto {
        font-size: .7em;
    }

    #footer_secundario {
        background-color: #000;
    }

    .texto_footer_s {
        font-size: .7rem;
        padding: 2%;
        text-align: center;
    }

}


@media (min-width:1024px) {


    /* HEADER */

    .nav_toggle {
        display: none;
    }

    .nav_menu {
        flex-direction: row;
        width: 100%;
        padding: .9rem 1.4rem .9rem .9rem;
        gap: 2rem;
    }

    .nav_menu li {
        display: flex;
    }

    .nav_menu .sig_paginas a {
        display: flex;
        justify-content: flex-end;
    }


    header {
        height: 100px;
    }

    .nav {
        display: flex;
    }

    .nav_menu {
        gap: 1rem;
    }

    .menu_logo {
        display: flex;
        width: 50%;
        height: 85%;
    }

    .menu_logo .enlace {
        padding-left: 5rem;
    }

    .nav_menu .sig_paginas {
        width: 50%;
    }

    .s_paginas a{
        position: relative;
    }

    .s_paginas a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 4px;
        background: rgb(125, 77, 238); /* Ajusta el color a tu gusto */
        bottom: -5px;
        left: 50%;
        transition: width 0.5s ease-in-out, left 0.5s ease-in-out; /* Ajusta la duración a tu gusto */
    }
    
    .s_paginas a:hover::after {
        width: 100%;
        left: 0;
    }
    


    /* MAIN */


    .mjj {
        font-size: 1.6em;
    }


    /* FOOTER */

    .logo_rrss {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .rrss p {
        font-size: 2em;
    }

    .icons_rrss a img {
        height: 3.5rem;
    }

    .sig_paginas {
        font-size: 1.4em;
    }

    .direccion .d_titulo {
        font-size: 1.3em;
    }

    .direccion .d_texto {
        padding-top: 1rem;
        font-size: 1.1em;
    }

    #footer_secundario p {
        font-size: 1.5em;
    }

}

@media (min-width:1280px) {


    /* HEADER */

    .nav_menu {
        padding: .9rem 4.5rem .9rem .9rem;
        gap: 2rem;
    }


    /* MAIN */

    .titulo_bienvenida {
        margin-bottom: 20%;
    }


    /* FOOTER */

    .logo_rrss {
        padding-top: 40px;
    }

    .direccion {
        padding: 7% 5%;
    }

}