header {
    position: fixed;
    width: 100vw;
    height: 6vh;
    background-color: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
    z-index: 98;
}
/*contenedor de los logos*/
.contenedor-logo {
    display: flex;
    align-items: center;
}

.contenedor-logo img {
    max-width: auto;
    max-height: 150px ;
    padding-left: 2%;
}

nav{
    width: 80%;
    text-align: center; 
    
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  text-align: right;
  justify-content: center;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
  margin-left: 30%;
  
}

nav li {
  margin-top: 1%;
  position: relative;
}

nav a {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: #1B5485; /* azul claro de la paleta */
  font-weight: bold;
  font-size: 1.1vw;
}

 a:hover {
    text-decoration: underline;
    color: #E37C3E; /*naranja de la paleta*/
}

.span a {
    text-decoration: underline;
    color: #E37C3E;
}

.modals {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    overflow: auto;
    background-color: #1c5285;
 z-index: 100;
 color: white;
 font-weight: bold;
 list-style: none;
 line-height: 50px;
 font-size: 5vw;
 font-family: 'Barlow', sans-serif;
 text-decoration: none;
}

.modals ul{
    list-style: none;
    margin-left: -10%;
    text-align: center;
}

.modals a:visited, .modals a{
    color: inherit;
    text-decoration: none;
}

.modals a:hover{
    color: #E37C3E; /*naranja de la paleta*/ 
}
/*FOOTER*/
footer{
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #222;
    font-family: 'Barlow', sans-serif;
    z-index: 999;
}

.contentallfooter{
    width: 100%;
    height: 100%;
}
.contentallfooterinfo{
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    width: 100%;
    height: auto;
}

.rights{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerlogo{
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
}

.footerlogo img{
    max-width: auto;
    max-height: 120px ;
    padding-left: 2%;    
}

.footerlogo p{
    margin-top: -5%;
    margin-left: 25%;
}

.contentterms{
  display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;  
    width: 15%;
}

.contentterms a, .contentterms a:visited{
    color: #222;
}

.socialmediafooter{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 10%;
    gap: 10px;
}

.mapadelsitio{
    display: grid;
    width: 20%;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #1B5485; /* azul claro de la paleta */;
    font-weight: bold;


}

.mapadelsitio ul{
    list-style: none;
    color: #1B5485; /* azul claro de la paleta */;
}

.mapadelsitio li {
  text-align: center;
  color: #1B5485; /* azul claro de la paleta */;
}

.mapadelsitio a{
    text-decoration: none;
    color: #1B5485; /* azul claro de la paleta */;
}


.mapadelsitio a:visited{
    color: inherit;
}

.mapadelsitio  a:hover {
    text-decoration: underline;
    color: #E37C3E; /*naranja de la paleta*/
}


.socialmediafooter i{
    color: #E37C3E; /*naranja de la paleta*/
    font-size: 2vw;
}


#menu-hamburguesa, #menu-hamburgues {
    display: none;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background-color: #fff;
    color: #00436D;
    font-size: 30px;
    border-radius: 25%;
    margin: 0;
}

/*FIN DEL FOOTER*/

@media (max-width: 900px) {
/*Menú responsive*/ 

header{
  width: 100vw;
  overflow-x: hidden;
}
  .contenedor-logo {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 10px;
  align-items: center;
}


.contenedor-logo img{
max-width: auto;
max-height: 80px ;
margin-top: 10px;
}


header nav {
  display: none; /* Mantenemos el menú oculto */
  justify-content: center; /* Centramos el menú (por si lo mostramos más tarde) */
}



header button#menu-hamburguesa, .modals #menu-hamburgues {
  position: absolute;
  margin-left: 70%;
  justify-content: left;
  display: unset;
  z-index: 400;
}

.modals #menu-hamburgues{

    margin-left: 85%; 
}

.modals{
    z-index: 200;
}



.active{
    display: block;
}

/*FOOTER*/
.contentallfooterinfo{
    flex-direction: column;
}



.footerlogo{
    align-items: center;
    justify-content: center;
    width: auto;
}


.footerlogo p{
    text-align: center;
    margin-left: 0;
}

.contentterms{
    width: 100%;
    text-align: center;
}


.socialmediafooter{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    gap: 10px;
}


.mapadelsitio{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    gap: 20px;
}

.mapadelsitio ul{
    margin-left: -8%;
}


/*FIN DEL FOOTER*/

} 

/*fin del Menú responsive*/