/* navbar.css */

/* Importar CSS externo */
@import url(../scss/icons/font-awesome/css/font-awesome.min.css);

/* Estilos generales */
* {
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    font-size: 17px;
    font-family: "Inter";
}

/* Variables de color */
:root {
    --verde-corporativo: #72BE44;
    --azul-oscuro-contraste: #002A3F;
    --blanco: #FFFFFF;
    --blanco-segundario: #f9f9f9;
    --gris-fondo:#333531;
}

body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: grid;
    grid-template-rows: 130px 100% auto;
    font-family: Arial, sans-serif;
}

main {
    margin: 0;
    padding: 0;  
}
#loader-page-container{
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: var(--blanco);
    top: 0px;
    left: 0;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center
}
#loader-page{
    position: absolute;
    height: 50px;
    width: 50px;
    border-top: solid 3px var(--verde-corporativo);
    border-radius: 50%;
    z-index: 200;
    animation: cargando-page 0.5s ease-in-out infinite;
    
}
@keyframes cargando-page{
    0% {
        
        transform: rotate(0deg);
      }
      100% {
        
        transform: rotate(360deg);
      }
}
.hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}
/* Estilos para el navbar */

#navbar {
    background-color: var(--blanco-segundario);
    height: 130px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

#navbar::after {
    content: ""; 
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    border-bottom: 2px solid var(--verde-corporativo);
}

/* Logos */
#contenedor-logoPrincipal {
    position: absolute;
    left: 8%;
    height: 80%;
    margin: 0;
    top: 10%;
}

#contenedor-logoPrincipal #logoPrincipal {
    height: 100%;
    width: 100%;
}



/* Iconos de certificaci贸n y banderas de idioma */


#idioma-container {
    position: absolute;
    right: 20px;
    top: 20px;
    text-decoration: none;
}
.bandera{
    text-decoration: none;
}

#idioma-container .bandera > img {
    height: 25px;
    width: 30px;
    margin-left: 5px;
}

/* Men煤 */
#menu {
    list-style-type: none;
    display: flex;
    position: relative;
    height: 100%;
    padding: 0;
    margin: 0;
    width: 55%;
    z-index: 100;
    left: 28%;
    bottom: 0;
    justify-content: space-evenly;
}

#menu .lista-menus {
    position: relative;
    display: flex;
    align-items: center;
    top: 30%;
    font-weight: 600;
}

.border-lineal {
    width: 30px;
    border: solid 2px var(--verde-corporativo);
    transform: rotate(-65deg);
}

.boton-menu {
    text-decoration: none;
    outline: none;
    color: var(--verde-corporativo);
    border: none;
    cursor: pointer;  
    font-weight: 800;
}



.lista-sub-menus {
    text-decoration: none;
    position: absolute;
    align-content: space-between;
    list-style-type: none;
    flex-direction: column;
    top: 85%;
    width: 100%;
    padding: 4px;
}

#lista-unidades,
#lista-obrasocial,
#lista-sobrenosotros {
    display: none;
    right: 20px;
}

.lista-sub-menus li {
    flex-direction: column;
    display: inline-flex;
    text-align: center;
    position: relative;
    top: 100%;
    width: 100%;
}

.lista-sub-menus .redirrecion-pages {
    text-decoration: none;
    outline: none;
    color: var(--blanco);
    background-color: var(--azul-oscuro-contraste);
    margin-bottom: 5px;
    border: none;
    cursor: pointer;
    padding: 4px;
}


/* boton de saber mas de las interfaces*/

.btn_saber_mas_paginas {
    background-color: var(--verde-corporativo);
    width: 15%;
    height: 50px;
    position: absolute;
    text-align: center;

    left: 120px;
    border-radius: 25px;
    padding: 12px;
    font-size: 22px;
    color: var(--blanco);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
  }
  .btn_saber_mas_paginas:hover{
    color: var(--azul-oscuro-contraste);
    box-shadow: 0px 5px 0px var(--azul-oscuro-contraste);
}


/* Contenido de footer */
#footer{
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 220px;
    background-color: var(--verde-corporativo);
}
#footer-top{
    display: flex;
    justify-content: space-evenly;
    width: 80%;
    height: 40%;
    padding: 4px 0 4px 0;
    border-bottom:solid 1px var(--blanco);

}
#footer-top a{
    text-decoration: none;
    font-size: 17px;
    color: var(--blanco);
}
#footer-top a:hover{
    background-color: var(--azul-oscuro-contraste);
    transform: skewX(-20deg);
    padding: 4px;
    scale: 1.1;
}
#footer-center{
    height: 60%;
    display: flex;
    align-items: center;
  
}
#footer-center article{
    height: 100%;
    display: flex; 
    align-items: center;
    flex-direction: column;
    justify-content: space-evenly;
    color: var(--blanco);
}
#footer-center article h2{
    margin: 0
    ;
}
#logoPrincipal2 {
    margin: 0;
    height: 100%;
    padding: 0;
    position: relative;
    top: 5px;
}

#logoPrincipal2 img {
    height: 100%;
}
#footer-bottom{
    width: 100%;
    flex-direction: column;
    display: flex;
    align-items: center;
    background-color: var(--gris-fondo);
    color: var(--blanco);
}
#contenedor-iconos{
    width: 300px;
    justify-content: space-between;
    display: flex;
}
#contenedor-iconos a i{
    font-size: 35px;
    color: var(--blanco);
    padding-bottom: 10px ;
}



      
     
    


/* Media Queries */
@media screen and (max-width:800px){
    .btn_saber_mas_paginas{
        position: relative;
        bottom: 15%;
        left: 0%;
        top: none;
        height: 9%;
        width: 29%;
        background-color: var(--azul-oscuro-contraste);
        border-radius: 0 25px 0 0;
        padding: 4px;
        font-size: 18px;
        color: var(--blanco);
        text-decoration: none;
        align-items: center;
        justify-content: center;
        display: flex;
    }
}


@media screen and (min-width:800px) and (max-width:1010px) {
    .btn_saber_mas_paginas{
        padding: 15px;
        font-size: 17px;
        background-color: var(--azul-oscuro-contraste);
        width: 20%;
        height: 50px;
        top: 35%;
        left: 80%;
        border-radius: 0 0 0 25px;
        position: relative;

    }
}


@media screen and (max-width: 1010px)  {
    
    #navbar{
        height: 12%;
    }
    #menu-toggle.active{
        z-index: 200;
        display: flex;
        flex-direction: column;
        left: 80%;
    }
    #menu-toggle.active .bar:nth-child(1){
        opacity: 0;
        margin: 0;
    }
    #menu-toggle.active .bar:nth-child(2){
        position: relative;
        transform: rotate(45deg);
        top: 8px;
        margin: 0;
    }
    #menu-toggle.active .bar:nth-child(3){
        transform:rotate(-45deg) ;
        margin: 0;
    }
    
    #menu.active {
        display: flex;
        opacity: 1;
    }
    #menu{

        list-style-type: none;
        display: none;
        position: relative;
        height: 100vh;
        padding: 8px;
        margin: 0;
        width: 100%;
        z-index: 150;
        background-color: #1A2019C7;
        flex-direction: column;
        justify-content: flex-start;
        opacity: 0;
        left: 0;

    }
    #menu .lista-menus {
        position: relative;
        display: flex;
        align-items: center;
        top: 10%;
        font-weight: 600;
        margin-bottom: 16px;
        padding: 8px;
        width: 100%;
      }
      .boton-menu {
        text-decoration: none;
        outline: none;
        color: var(--blanco);
        border: none;
        cursor: pointer;
        font-size: 17px;
      }
      .border-lineal{
        display: none;
      }
      .lista-sub-menus {
        text-decoration: none;
        position: absolute;
        align-content: space-between;
        list-style-type: none;
        top: 75%;
        width: 50%;
        padding: 10px;
        background-color: var(--blanco);
        border-radius: 0 25px 25px 25px;
        z-index: 200;
      }
      #lista-unidades, #lista-obrasocial, #lista-sobrenosotros {
        display: none;
        left: 45%;
      }

    
    #contenedor-logoPrincipal {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .menu-toggle {
        display: block;
        margin: 0;
        padding: 0;
        left: 5%;
        height: 40px;
        width: 40px;
        position: absolute;
        top: 70%;
        transform: translateY(-50%);
    }
    .bar{
        background-color: var(--verde-corporativo);
        display: flex;
        height: 8px;
        width: 40px;
        margin-bottom: 5px;
    }


    /* media del footer*/
    #footer-top {
        display: flex;
        justify-content: space-evenly;
        width: 80%;
        padding: 4px 0 4px 0;
        border-bottom: solid 1px var(--blanco);
      }
    #footer-top a {
        text-decoration: none;
        font-size: 10px;
        color: var(--blanco);
      }
      #footer-center {
        height: 60%;
        position: relative;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
      }
      #footer-center article {
        height: 100%;
        display: flex;
        flex-direction: column;
        color: var(--blanco);
        text-align: center;
      }
      #footer-center article h2{
        font-size: 10px;
        margin:0 ;
      }
      #logoPrincipal2 {
        margin: 0;
        height: 60%;
        padding: 0;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
      }
      #footer-bottom {
        width: 100%;
        flex-direction: column;
        display: flex;
        align-items: center;
        background-color: #333533;
        color: var(--blanco);
      }
      #footer-bottom p{
        font-size: 12px;
        text-align: center;
        padding: 10px;
      }
}
@media screen and (min-width:1011px) and (max-width:1300px){
    .btn_saber_mas_paginas{
        top: 60%;
    }
    #contenedor-logoPrincipal{
        left: 0;
    }
    #menu{
        width: 70%;
        left: 29%;
        justify-content: space-around;
    }
    .boton-menu{
        font-size: 16px;
    }
}

@media screen and (min-width:1300px) and (max-width:1600px) {
    .btn_saber_mas_paginas{
        top: 60%;
    }
    #menu {left: 35%;}
    .boton-menu{
        font-size: 16px;
        font-weight: 800;
    }
    .boton-menu:hover {
        background-color: var(--verde-corporativo);
        color: var(--blanco);
        transform: skewX(-25deg);
        width: 100%;
        height: 20%;
        padding: 0px 0px 0px 4px;
    }
    .redirrecion-pages:hover {
        background-color: var(--verde-corporativo);
        color: var(--blanco);
        margin-top: 5px;
        transform: skewX(-25deg);
        height: 25%;
        padding: 3px;
    }
}
@media screen and (min-width:1600px) {
    .btn_saber_mas_paginas{
        top: 60%;
    }
    .boton-menu:hover {
        background-color: var(--verde-corporativo);
        color: var(--blanco);
        transform: skewX(-25deg);
        width: 100%;
        height: 20%;
        padding: 0px 0px 0px 4px;
    }
    .redirrecion-pages:hover {
        background-color: var(--verde-corporativo);
        color: var(--blanco);
        margin-top: 5px;
        transform: skewX(-25deg);
        height: 25%;
        padding: 3px;
    }
    
}

@media screen and (min-width:1900px) {
    .btn_saber_mas_paginas{
        top: 60%;
    }
    #menu {
        width: 60%;
    }
    .boton-menu{
        font-size: 17px !important;
    }
}