@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

/* Variables - Colores Principales */
:root {
    --texto: #1f1f1f; 
    --azul: #0d536e; 
    --rojo: #f08080; 
    --rojo2: #eb4034;
    --gris: #fafafa; 
    --naranja: #EE982B; 
    --morado:#B87FB2;
    
    --blue:#005586;
    --blue2:#76afd0;
    --blue3:#5a8aac;
    --red:#eb4034;
    
    --rojoL:#ff0000;
    --amarillo:#fcdb03;

}

*{
    margin: 0;
    padding: 0;
}

/* width */
::-webkit-scrollbar {
    width: 12px;
}


/* Track */
::-webkit-scrollbar-track {
    background: #fafafa;
}


/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--rojoL);
    border-radius:0px;
}


/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  
    background: #2d2d2d;
}




html{
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

img{
    pointer-events: none;
    user-select: none;
}

#header{
    width: 100%;
    height: 120px;
    position: fixed;
/*    background: #fff;*/
    display: flex;
    align-items: center;
    z-index: 4;
/*    border-bottom: 1px solid #fafafa;*/
    transition: 0.1s;
    z-index: 100000000000;
}

#header-logo{
    margin-left: 5%;
}

#header-logo img{
    width: 320px;
    
}

#header nav{
    margin-left: auto;
    margin-right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000000001 !important;
}

.option{
    cursor: pointer;
    font-family: 'Lato',sans-serif;
    font-weight: 400;
/*    text-transform: uppercase;*/
    font-size: 1.5em;
    margin: 0 20px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    height:32px; 
    user-select: none;
}

.option:hover{
/*    background-color: #fafafa;*/
    transition: 0.3s;
}

.option a{
    width: 100%;
/*    height: 100%;*/
    text-decoration: none;
    color:var(--texto);
    padding: 5px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 5px;
    font-size: 1em;
}

[data="active"]{
     background-color: var(--rojoL);
     color: #fff !important;
}

[data="under"]:hover{
     background-color: #111 !important;
     color: #fff;
}



.o-under{
    width: 0%;
    height: 2px;
    background-color: var(--texto);
    transition: 0.3s;
}

.o-active{
    width: 90%;
    height: 2px;
    background-color: var(--rojoL);
    transition: 0.3s;
}



.option a:hover ~ .o-under{
    width: 90%;
    transition: 0.3s;
}

.option a:hover{

}

.option a:hover{
/*
    background-color: var(--blue);
    color: #fff;
*/
    
}

.option:hover .dropdown-content {
    transform: scaleY(1);
    transition: 0.2s;
}

.option-button img{
    width: 25px;
    margin-right: 10px;
}

.option-button{
    user-select: none;
    cursor: pointer;
    margin-left: 20px;
    display: flex;
    align-content: center;
    align-items: center;
    padding: 3px 20px;
    height: 35px;
    background-color: var(--blue);
    color: #fff;
    border-radius: 40px;
    font-family: 'Roboto',sans-serif;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s;
    z-index: 2;
    max-width: 150px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;   
}

#drop-check:checked ~ .option [drop-menu="option"]{
    margin-top: 80px !important;
}

#drop-check:checked ~ .option .o-under{
    background-color: #111 !important;
}

[drop-menu="option"]{
    top:0 !important;
    margin-top: 80px !important;
    margin-left: 0 !important;
    height: max-content !important;
    display: flex !important;
    padding-bottom: 10px;
    width: 250px !important;
}

[drop-menu="option"] > a{
    font-size: 0.7em !important;
    margin-top: 4px;
    margin-bottom: 4px;
}



.dropdown-content {
    display: flex;
    flex-flow: wrap;
    max-width: 150px;
    padding-left: 20px;
    padding-right: 20px;
    height: 120px;
    position:absolute;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.9);
    backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
    color: var(--texto);
    box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.1);
    z-index: 1;
    transition: 0.2s;
    transform: scaleY(0);
    transform-origin: 100% 0;
    padding-top: 10px;
    margin-top: 170px;
    margin-left: -1%;
}


.option-button:hover{
    background-color: var(--blue2);
    transition: 0.3s;
}

.option-button:hover .dropdown-content {
    transform: scaleY(1);
    transition: 0.2s;
}

[drop-menu="button"] {
    align-items: center;
    padding-bottom: 5px;
}

.dropdown-content a{
    color: var(--texto);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    width: 100%;
    height: max-content;
}

.dropdown-content a::before{
    margin-top: 3px !important;
}

.dropdown-content a:hover{
    color: var(--blue);
    text-decoration: underline;
}

.icon2-messenger::before{
    content:'';
    background:url('../img/messenger.png') ;
    background-size: contain;
    width: 20px;
    height: 19px;
    
}




#cerrarM-container{
        display: none;  
}

#abrirM-container{
        display: none;  
}

#cerrarM{
    font-family: 'Roboto',sans-serif;  
}

#cerrarM::before{
    /* transform: scale(-1); */
}

#menu-box{
    display: none;
}

#header-dim{
        position: fixed;
        width: 100%;
        height: 0%;
        top: 0;
        background-color: rgba(0,0,0,0.2);
        z-index: 4;
        
}

.divider{
    width: 100%;
}

footer{
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    padding-top: 60px;
    background-color: #fff;
}

footer a{
    color: var(--texto);
    text-decoration: none;
}

footer b{
    color: var(--rojoL);
    font-weight: bolder;
}

footer a:hover{
    color: var(--azul);
    text-decoration: underline;
    cursor: pointer;
}

[footer-active="true"]::before{
    content: '';
    background-color: var(--rojoL);
    height: 15px;
    width: 5px;
    position: absolute;
    margin-left: -10px;
    margin-top: 2px;
}



footer #footer-contacto .icon-phone::before{
    color: #ebeff2;
    text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

footer #footer-contacto .icon-location::before{
    color: #ebeff2;
    text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000, 1px 1px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}


footer #footer-contacto{
    width: 20%;
    margin-right: 100px;
}

footer #footer-contacto div{
    width: 100%;
    font-family: 'Roboto',sans-serif;
    margin: 10px 0;
}

footer #footer-contacto img{
    width: 200px;
    margin-bottom: 30px;
}

footer #footer-info{
    width: 20%;
}

footer #footer-info #titulo-logo{
    font-family: 'Lato',sans-serif;
    color: var(--texto);
    margin-bottom: 30px;
    height: 54px;
    font-size: 1.4em;
}

footer #footer-info div{
    width: 100%;
    font-family: 'Roboto',sans-serif;
    margin: 10px 0;
}


footer #footer-social #social-titulo{
    font-family: 'Lato',sans-serif;
    color: var(--texto);
    margin-bottom: 30px;
    height: 54px;
    font-size: 1.4em;
}

footer #footer-social div{
    width: 100%;
    font-family: 'Roboto',sans-serif;
    margin: 10px 0;
}

#footer-bottom{
    width: 100%;
    border-top: 1px solid #ddd;
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    margin-bottom: 20px;
    font-family: 'Roboto',sans-serif;
}

nav .option > a::before{
    display: none !important;
}

@media (min-width:1300px) and (max-width:1600px){
    #header nav{
        margin-right: 1%;
    }
    
}


@media (max-width:900px){
    
    footer #footer-contacto{
        margin-right: 10%;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-contacto div {
        width: 90%;
        font-family: 'Roboto',sans-serif;
        margin: 10px 0;
    }
    
    footer #footer-info{
        margin-right: 10%;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-info #titulo-logo{
        height: auto;
        margin-top: 40px;
        margin-bottom: 10px;
    }
    
    footer #footer-info div{
        width: 90%;
        font-family: 'Roboto',sans-serif;
        margin: 10px 0;
    }
    
    #footer-social{
        margin-right: 10%;
        width: 100%;
        justify-content: center;
        /* margin-right: 10%; */
        display: flex;
        flex-flow: wrap;
    }
    
    footer #footer-social #social-titulo{
        height: auto;
        margin-top: 40px;
        margin-bottom: 10px;
    }
    
    footer #footer-social div{
        width: 90%;
        font-family: 'Roboto',sans-serif;
        margin: 10px 0;
    }
    
    #footer-bottom{
        width: 90%;
    }
    
    
    #menu-box:checked ~ #header nav{
        transform: translateX(30%);
        transition: 0.4s;
/*        border-left: 1px solid #fafafa;*/
    }
    
    #menu-box:checked ~ #header #header-dim{
        height:120%;
        transition: 0.0s;
    }

    #menu-box:checked ~ #header #abrirM-container{
        /* transform: scale(2,0) rotate(-270deg); */
        transform: translateX(100%) scaleX(0);
        transition: 0.7s;
        -webkit-font-smoothing: subpixel-antialiased;
    }


    #menu-box:checked ~ #header #cerrarM-container{
        /* transform: scale(2,0) rotate(-270deg); */
        transform: translateX(0%);
        transition: 0.7s;
        -webkit-font-smoothing: subpixel-antialiased;
    }

    
    
    .option{
        width: 90%;
        margin-left: 10%;
    }
    
    .option a{
        display: flex;
        align-items: center;
        color: #fff;
    }
    
    .o-active{
        width: 100%;
    }

    
    .option-button{
        margin-left: 0;
    }
    
    nav a{
        width: 100%;
        text-align: left;
        
    }

    nav .option > a::before{
        display: inline-block !important;
        margin-right: 15px !important;
    }
    
    #header-logo img{
        width: 230px;
    }
    
    
    
    #abrirM-container{
        display: flex;
        cursor: pointer;
        font-size: 2em;
        color: var(--texto);
        margin-right: 5%;
        margin-left: auto;
        z-index: 4;
        transition: 0.7s;
        -webkit-font-smoothing: subpixel-antialiased;
    }
    
    #cerrarM-container{
        display: flex;
        cursor: pointer;
        font-size: 1.3em;
        text-transform: uppercase;
        /* font-weight: bold; */
        /* margin-left: -100px; */
        transition: 0.7s;
        transform: translateX(100%);
    }
    
    #header nav {
        margin-left: 0; 
        margin-right: 0; 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 100%;
        background-color: #111;
        color: #fff;
        position: fixed;
        top: 0;
        flex-flow: wrap;
        transform: translateX(130%);
        transition: 0.4s;
    }   

    .dropdown-content{
        transform-origin: 100% 0;
        margin-top: -170px;
        margin-left: -5%;
    }

    [drop-menu="option"]{
        display: none !important;
     }
}

@media (min-width:900px){
    .option{
        font-size: 1em;
        margin: 0 10px;
    }
    
    .option-button{
        font-size: 0.8em;
    }
    
    .option-button p{
        display: none;
    }
    
    .option-button img{
        width: 20px;
        margin-right: 0;
    }

}

@media (min-width:1100px){
    .option{
        font-size: 1.2em;
        margin: 0 15px;
    }
    
    .option-button{
        font-size: 0.8em;
        transition: 0.3s;
    }
    
    .option-button p{
        display: flex;
        
    }
    
    .option-button p::before{
        margin-top: 3px;
        margin-right: 10px;
        
    }
    
    .option-button img{
        width: 20px;
        margin-right: 10;
    }
}

@media (min-width:1600px){
    .option{
        font-size: 1.5em;
    }
    
    .option-button {
        user-select: none;
        cursor: pointer;
        margin-left: 20px;
        display: flex;
        align-content: center;
        align-items: center;
        padding: 3px 20px;
        height: 35px;
        background-color: var(--blue);
        color: #fff;
        border-radius: 40px;
        font-family: 'Roboto',sans-serif;
        font-size: 1.2em;
        text-transform: uppercase;
        font-weight: 700;
        transition: 0.3s;
    }
    
    .option-button img {
        width: 25px;
        margin-right: 10px;
    }
}

@media (min-width:901px) and (max-width:1099px){
    [drop-menu="button"]{
        margin-left: -15% !important;
    }
}


#top {
    width: 60px;
    height: 60px;
    background-color: var(--rojoL);
    color: #fff;
    position: fixed;
    bottom: 24;
    right: 24;
    /* display: flex; */
    justify-content: center;
    align-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    border-radius: 10px;
    display: none;
    cursor: pointer;
    z-index: 3;
}

#top:hover{
    background-color: var(--texto);
}

#top::before{
    margin-top: -4px;
}

#cookies{
    /*    display: flex;*/
        z-index: 10000000000 !important;
        display: none;
        flex-flow: wrap;
        align-content: center;
        justify-content: center;
        align-items: center;
       
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 230px;
        background-color: rgba(255,255,255,1);
        backdrop-filter: blur(10px);
        border-top: 1px solid #eee;
        
}

#usamos-cookies{
    width: 90%;
    text-align: center;
    color: #1f1f1f;
    font-family: 'Lato',sans-serif;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
}

#tit-cookies{
    width: 80%;
    margin-top: 5px;
    text-align: justify;
    color: #1f1f1f;
    font-size: 1.2em;
    font-family: 'Roboto',sans-serif;
}

#i-cookies{
    margin-top: 30px;
    margin-bottom: 30px;
    width: 90%;
    text-align: center;
    color: #1f1f1f;
    font-family: 'Roboto',sans-serif;
    cursor: pointer;
}

#i-cookies a{
   text-decoration: none;
    color: #1f1f1f;
}

#i-cookies a:hover{
    text-decoration: underline;
    color: var(--azul);
}

#a-cookies{
    cursor: pointer;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 30px;
    border-radius: 20px;
    background-color: var(--blue);
    text-align: center;
    color: #fff;
    font-family: 'Lato',sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
}

#a-cookies:hover{
    background-color: var(--azul);
    color: #fff;
}

 @media (min-width:1000px) {
     #tit-cookies{
         text-align: center;
     }

 }


 @media (max-width:900px) {
     #cookies{
         height: 330px;
     }
}



@media (max-width: 1024px){
    footer {
        z-index: 100000000000;
        position: absolute;
    }
}

#universidades-boton{
    font-family: 'Montserrat';
    position: fixed;
    bottom: 30;
    left: 20;
    background-color: var(--blue);
    color: #fff;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
}

#universidades-boton:hover{
    background-color: var(--texto);
}


@media (min-width:1200px) and (max-width:1400px){
    #header-logo img{
        width: 270px;   
    }
}