html, body {
  height: 100%;
  margin: 0;
  display: flex; /* Establecemos un contenedor flex para el documento completo */
  flex-direction: column;
  scroll-behavior: smooth;
}

.main-content {
  flex: 1; /* Este elemento ocupará todo el espacio disponible antes del footer */
}

/* Estilos generales */
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Asegura que el body tenga al menos la altura de la viewport */
}

 
/*Estilos de menú*/
/* contenedor del nav*/
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 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 98;
}
/*contenedor de los logos*/
.contenedor-logo {
    display: flex;
    align-items: center;
}

.contenedor-logo img {
    max-width: auto;
    max-height: 50px ;
    padding-left: 2%;
}
.contenedor-logo-2 {
    margin-right: 3%;
    display: flex;
    align-items: center;
}
.contenedor-logo-2 img{
  max-width: auto;
  max-height: 50px ;
  margin-right: 5%;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 4%;
}

nav{
    width: 80%;
    text-align: center; 
    
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  text-align: center;
  justify-content: center;
  font-family: montserrat;
  
}

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

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

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


nav .submenu, nav .subsubmenu, nav .submenu-2{
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}



nav .show {
  display: block;
}



/* Contenedor para la bandera y el texto */
.idioma-opcion {
    display: flex;
    align-items: center;
}

/* Bandera */
.content__lenguage{
  display: flex;
  flex-direction: row;
  justify-content: center; 
  align-items: center;
}

.en, .espa{
  width: 2.5vw;
  height: 2.5vw;
  margin-left: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.en img, .espa img{
  width: 100%;
  height: 50%;
}

/* Estilos para el menú hamburguesa */
#menu-hamburguesa {
    display: none;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background-color: #fff;
    color: #00436D;
    font-size: 30px;
    border-radius: 25%;
}
/*Fin de los estilos del menú*/


/*Inicio sección 1*/

.content__all__services, .content__all__services__2{
    width: 100%;
    min-height: 110vh;
    height: auto;
    margin:0;
        background-image: url('../img/services 7.webp');
        background-size: cover;
        object-fit: fill;
        z-index: 2;
}


.content__all__services__2{
    background-image: url('../img/proyecto.webp');
    background-position: bottom;
}


.capa{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 110vh;
 background-color:  rgba(10, 20, 40, 0.7);
  z-index: 10;
}

.capa__2{
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
 background-color: rgba(135, 206, 235, 0.7);
  z-index: 10;
}

.content__services, .content__services__2{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
}


.content__service__info{
    margin-top: 10vh;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content__service__info h2{

    color:  white;
    font-size: 3vw;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    z-index: 12;
}

.content__service__info ul{
    margin-left: 5%;
    margin-right: 5%;
    color: white; /*azul oscuro*/
    text-align: justify;
    font-size: 1.1vw;
    z-index: 12;
    text-shadow: 1px 0px 0px rgba(22, 43, 78, 1);
}

.content__service__info li{
margin-top: 1%;
}
.content__service__info li:first-child{
margin-top: 0;
}

.content__service__info li span{
    font-weight: bold;
}

.content__all__services svg{
    position: absolute;
    bottom: -15%;
    z-index: 12;
}

.content__all__services__2 svg{
    position: absolute;
    top: 0%;
    z-index: 1;
    z-index: 12;
}



.content__all__services__2{
    position: relative;
    margin-top: 0;
    width: 100%;
    height: auto;
    min-height: 100vh;
}


.content__service__info__2{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8vh;


}

.content__service__info__2 h2{
    color: #00436D;
    font-size: 3vw;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 12;
}

.content__service__info__2 ul{
    margin-left: 5%;
    margin-right: 5%;
    color: #0C2B42; /*azul oscuro*/
    text-align: justify;
    font-size: 1.1vw;
    z-index: 12;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
}

.content__service__info__2 li{
margin-top: 1%;
}
.content__service__info__2 li:first-child{
margin-top: 0;
}

.content__service__info__2 li span{
    font-weight: bold;
}


.contact__button{

    background-color: #00436D; /*Azul claro de la paleta*/
    width: 30%;
    color: white;
    font-weight: bold;
    padding: 0.5%;
    border: none;
    border-radius: 12px;
    font-size: 1vw;
    cursor: pointer;
    box-shadow: 0 2px 10px #0C2B42; 
    z-index: 12;
    
}

.contact__button a{
  
  text-decoration: none;
}

.contact__button a {
  color: white;
}

.contact__button a:visited {
  color: white;
}
/*Fin sección 1*/
/*Footer*/
/*Footer*/
/*Footer*/
footer {
  flex-shrink: 0; /* Evita que el footer se comprima */
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.inicial{
  width: 30%;
  display: flex;
  flex-direction: column;
}

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

.info__footer p{
   font-size: 0.8em;
}


.logo__footer { /* New class for logo container */
width: 100%;
margin-left: 2%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo__footer img {
  max-width: 90px; /* Adjust max width as needed */
  max-height: 80px;
  margin-right: 5px; /* Add margin between logos */
}


.logo__footer p{
   font-size: 0.7vw;
   margin-left: 4%;
}


.info__footer{
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.info__footer p{
  left: 0;
   font-size: 2vw;
   color: rgba(0, 121, 190, 1);
   font-weight: bold;
   text-shadow: 2px solid #0C2B42;
   margin-left: 15%;
}



.developed__by{
  top: 100%;
  bottom: 0;
    width: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.developed__by p{
    font-size: 0.7em;
}

.logo__footer__2 { /* New class for logo container */
margin-left: 0;
margin-right: 2%;
width: 100%;
  display: flex;
  justify-content: flex-end;
}

.logo__footer__2 img {
  max-width: 90px; /* Adjust max width as needed */
  max-height: 80px;
  margin-right: 5px; /* Add margin between logos */
}


.logo__footer__2 p{
  margin-right: 4%;
   font-size: 0.7vw;
}

.developed__by__2{
    top: 100%;
  bottom: 0;
    width: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
  color: #fafafa;
   font-size: 0.7em;
}
/*Fin del footer*/


/*Fin footer*/






@media screen and (max-width: 850px){

/*Menú responsive*/ 

header{
  width: 100vw;
}
  .contenedor-logo {
  width: 100%;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.contenedor-logo-2 {
  width: auto;
  margin-left: 5%;
  margin-right: 5%;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.contenedor-logo img{
  max-width: 15vw;
}

.contenedor-logo-2 img{
  max-width: 15vw;
  margin-right: 0%;
}


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 {
  position: absolute;
  margin-left: -15%;
  justify-content: left;
  display: unset;
  z-index: 250;
}
    header nav.active {
    display: block;
    text-align: center;
    position: fixed;
   background-color: #00436D;
    top: 0;
    left: 0;
    height: auto;
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 5%;
    padding-bottom: 10%;
    }

    nav.active ul{
      display: block;
        margin-top: 15%;
        transition: height 1s ease;
       background-color:#00436D; /* azul claro de la paleta */
        justify-content: center;
    }


nav.active ul .submenu, nav.active ul .subsubmenu,  nav.active ul .submenu-2 {
  display: none; /* Initially hide the submenu */
}

nav.active ul .submenu.show, nav.active ul .submenu-2.show {
  display: block; /* Show the submenu when it has the .show class */
 background-color: #00436D; /* Set the background color */
  width: 100%;
  margin-top: 0;
  margin-left: -5%;
}

        nav.active ul .subsubmenu.show{
      display: block;
      background-color:#00436D; /* azul claro de la paleta */
      width: 100%;
      margin-top: 0;
      margin-left: 0%;
    }

nav .submenu-2.show{
  display: block;
  background-color:#00436D; /* azul claro de la paleta */
      width: 100%;
      margin-top: 0;
      margin-left: 0%;
}

    nav.active li {
        margin-top: 2%;
        text-align: center;
        display: block;
    }
  

    nav.active a {
        color: #fff;
        font-size: 1.5em;
    }

    nav.active li.span a{
    color: #FF9500; 
    text-decoration: none;
}



/*Capa oscura*/
.superoverlay{
position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0, 0.5);
  z-index: 2;
}

/*Fin capa oscura*/

/*fin del Menú responsive*/

.content__services{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



.content__service__info{
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.content__service__info h2{

    font-size: 5vw;
}

.content__service__info ul{
    font-size: 3vw;
    margin-left: -1%;
}


.content__service__info li span{
    font-weight: bold;
}

.content__all__services__2{
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
}

.content__all__services__2 svg, .content__all__services svg{
    display: none;

}

.content__services__2{
    display: flex;
}



.content__service__info__2{
    padding-top: -25vw;
    width: 100%;
}

.content__service__info__2 h2{
    font-size: 5vw;
}

.content__service__info__2 ul{
    font-size: 3vw;
}

.contact__button{
    position: absolute;
    left: 37.5%;
    background-color: #00436D; /*Azul claro de la paleta*/
    width: 25%;
    color: white;
    font-weight: bold;
    padding: 0.5%;
    border: none;
    border-radius: 12px;
    font-size: 2.5vw;
    cursor: pointer;
    box-shadow: 0 2px 10px #0C2B42; 
    margin-top: -3.5%;
}


/*Fin sección de servicios*/


.contact__button{
    position: relative;
    left: 1%;
    background-color: #00436D; /*Azul claro de la paleta*/
    width: 25%;
    color: white;
    font-weight: bold;
    padding: 0.5%;
    border: none;
    border-radius: 12px;
    font-size: 2.5vw;
    cursor: pointer;
    box-shadow: 0 2px 10px #0C2B42;
    margin-top: 0; 
}

/*Inicio del footer*/
footer {
  width: 100%;
  height: 10vh;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inicial{
  width: 30%;
  display: flex;
  flex-direction: column;
}

.logo__footer { /* New class for logo container */
width: 100%;
  display: flex;
  align-items: center;
}

.logo__footer img {
  max-width: 30px; /* Adjust max width as needed */
  max-height: 90px;
  margin-right: 5px; /* Add margin between logos */
}


.logo__footer p{
   font-size: 1.5vw;
}


.info__footer{
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.info__footer p{
  left: 0;
   font-size: 2vw;
   color: rgba(0, 121, 190, 1);
   font-weight: bold;
   text-shadow: 2px solid #0C2B42;
}


.info__footer p{
    margin-left: 15%;
}

.nav__footer{
    width: auto;
}

.nav__footer a{
    font-size: 0.3em;
}
.developed__by{
  top: 100%;
  bottom: 0;
    width: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.developed__by p{

    font-size: 0.05em;
}

.logo__footer__2 { /* New class for logo container */
margin-left: 0%;
width: 100%;
  display: flex;
}

.logo__footer__2 img {
  max-width: 30px; /* Adjust max width as needed */
  max-height: 90px;
  margin-right: 5px; /* Add margin between logos */
}


.logo__footer__2 p{
   font-size: 1.5vw;
}

.developed__by__2{
    top: 100%;
  bottom: 0;
    width: auto;
    justify-content: center;
    text-align: center;
    align-items: center;
  color: #fafafa;
   font-size: 0.05em;
}
/*Fin del footer*/

}




