body{
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    background-color: #eef;
    align-items: center;
}
h2, h1, li,nav, ul, a, header, main, h3,p, img{
    margin: 0;
    box-sizing: border-box;
}
li{
    list-style: none;
}
ul{
    padding: 0;
}
a{
    text-decoration: none;
}

main{

    min-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

/* Portada  */
.portada{
    background-image: url("/Imagen/paneles.png");
    background-size: cover;
    min-width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.portada__overlay{
    min-width: 100%;
    min-height: 100vh;
    background-color: #0008;
    position: absolute;
    z-index: 0;
}

.portada h1, .portada p, .portada img{
    color: #fff;
    position: relative;
    z-index: 10;
}

h1{
    text-align: center;
    font-size: 4rem;
    padding: 0 20px;
}

.portada img{
    max-width: 50%;

    padding: 30px;
    border-radius: 30px;
}

.portada p{
    max-width: 600px;;
    text-align: center;
    font-size: 1.5rem;
    padding: 0 20px;
    text-wrap: pretty;
}

.seccionnosotros{
    min-height: 40vh;
}
.seccionservicios{
    min-height: 40vh;
}

.overlayseccion{
    min-height: 40vh;
}

/* Portada responsive */
@media screen and (max-width:700px) {
    .portada img{
        max-width: 50%;
        padding: 20px;
        border-radius: 20px;
    }

    .portada h1{
        font-size: 1.7rem;
    }

    .portada p{
        font-size: 1.2rem;
    }
    
}
/* Fin potada */

/* Barra de navegacion */
.conteiner-navbar{
    min-width: 100%;
    display: flex;
    background-color: #0F243E;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    z-index: 500;
    top: 0;
}

.conteiner-navbar img{
    height: 40px;
    padding: 10px 20px;
}

.conteiner-navbar nav{
    flex-grow: 1;
    padding: 20px 0;
}

.conteiner-navbar ul{
    display: flex;
    justify-content: start;
    padding-left:  60px;
    flex-wrap: wrap;
    gap: 60px;

}

.conteiner-navbar a{
    text-decoration: none;
    color: #fff;
    transition: color 0.2s;
    
}

.conteiner-navbar a:hover{
    text-decoration: underline;
    color: #00B894;
}

/* barra de navegacion responsive */
@media screen and (max-width:700px) {
    .conteiner-navbar img{
        display: none;
    }
    .conteiner-navbar, .conteiner-navbar ul{
        justify-content: center;
        padding-left:0px;
    }
    .conteiner-navbar ul{
        gap:40px;
    }
    
}
/* Contenido principal de la pagina */
/* contenido en hoja */
/* tarjeta horizontal */
.contenido-hoja{
    max-width: 1500px;
    padding: 100px 0;
    flex-grow: 1;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
}
.contenido-hoja__tarjetah{
    display: flex;
    max-width: 70%;
    justify-content: space-evenly;
    flex-wrap: wrap-reverse;
    align-items: center;
    box-shadow: 0 0 40px #0007;
    border-radius: 15px;
}
.contenido-hoja__tarjetah--imagenprimero{
    flex-direction: row-reverse;
}

.contenido-hoja__tarjetah--sinsombra{
    box-shadow: none;
}
.contenido-hoja__tarjetah p, .contenido-hoja__tarjetah__parrafo {
    flex-basis: 55%;
    flex-grow: 1;
    font-size: 1.5rem;
    text-align: center;
    text-wrap: pretty;
    padding: 20px;
}



.contenido-hoja__tarjetah ul{
    flex-basis: 55%;
    flex-grow: 1;
    font-size: 1.4rem;
    text-align: center;
    text-wrap: pretty;
    padding: 20px;
}
.contenido-hoja__tarjetah li{
    padding: 6px;
}
.contenido-hoja__tarjetah .bold{
    font-weight: 700;
}


.contenido-hoja__tarjetah .italica{
    font-size: 1.2rem;
    font-style: italic;
}

.contenido-hoja__tarjetah img{
    max-width: 40%;
    border-radius: 15px;
    min-width:300px;
}
.contenido-hoja__tarjetah .contenido-hoja__tarjetah__imagenpeq{
    padding: 20px;
    max-width: 320px;
    max-height: 320px;
}

.contenido-hoja__tarjetah .contenido-hoja__tarjetah--circular{
    border-radius: 50%;
}



/* tarjeta horizonal resoponsive */
@media screen and (max-width:800px) {
    .contenido-hoja__tarjetah{
        max-width: 80%;
    }
}
@media screen and (max-width:650px) {
    .contenido-hoja__tarjetah{
        max-width: 95%;
    }
    .contenido-hoja__tarjetah p{
        font-size: 1.3rem;
    }
}
@media screen and (max-width:350px) {
    .contenido-hoja__tarjetah img{
        min-width:250px;
    }
    .contenido-hoja__tarjetah p{
        font-size: 1.2rem;
    }
}

/* fin tarjeta horizontal */
/* mosaico tarjetas */
.contenido-hoja__mosaico{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 70%;
}
.contenido-hoja__mosaico h2{
    text-align: center;
    font-size: 2rem;
    
}
.contenido-hoja__mosaico__tarjetas{
    display: flex;
    gap: 20px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.contenido-hoja__mosaico__tarjetas__tarjeta{
    flex-direction: column-reverse;
    position: relative;
    box-shadow: 0 0 20px #0008;
    border-radius: 10px;
    max-width:30%;
    min-width: 320px;
    
}

.contenido-hoja__mosaico__tarjetas__tarjeta img{
    max-width:100%;
    border-radius: 10px;
}

.contenido-hoja__mosaico__tarjetas__tarjeta a{
    position: absolute;
    bottom: 0;
    padding: 20px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    width: 100%;
    min-height: 20%;
    max-height: 20%;
    overflow: hidden;
    background-color: #0F243E;
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
    transition: min-height 0.4s ease-out, background-color 0.4s,border-radius 0.6s;
}

.contenido-hoja__mosaico__tarjetas__tarjeta a p{
    visibility: hidden;
    opacity: 0;
    text-align:left;
    font-size: 1rem;
    color: #00B894;
    transition: opacity 0.5s ease-in-out;
}
.contenido-hoja__mosaico__tarjetas__tarjeta a:hover{
    min-height: 100%;
    background-color: #124e;
    border-radius: 10px;
}

.contenido-hoja__mosaico__tarjetas__tarjeta a:hover p{
    visibility: visible;
    opacity: 1;

}
/* mosaico responsive */
@media screen and (max-width:350px) {
    .contenido-hoja__mosaico__tarjetas__tarjeta{
        min-width: 250px;
        
    }
}

/* fin mosaico tarjetas */
/* fin contenido en hoja */
/* contenedor completo */
.contentedor-completo{
    background: linear-gradient(180deg, rgba(31,75,130,1) 0%, rgba(15,36,62,1) 20%, rgba(0,0,0,1) 100%);
    min-width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    color: #fff;
    padding: 30px 0;
}

.contentedor-completo h2{
    width: 100%;
    text-align: center;
    padding: 35px 10px;
    font-size: 3rem;
}
.contentedor-completo__imagen{
    max-width: 40%;
}
@media screen and (max-width:1300px) {
    .contentedor-completo__imagen{
        max-width: 60%;
    }
}
@media screen and (max-width:900px) {
    .contentedor-completo__imagen{
        max-width: 80%;
    }
}
@media screen and (max-width:500px) {
    .contentedor-completo__imagen{
        max-width: 90%;
    }
}

.contentedor-completo__parrafo{
    max-width: 70%;
    font-size: 1.5rem;
    text-align: center;
    text-wrap: pretty;
    margin: 60px 10px;
}

.contentedor-completo__section{
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 60px;
    margin: 40px 0;
    flex-wrap: wrap;
}
.Contenedor-completo__box{
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 300px;
    min-width: 300px;
    text-align: center;
    gap: 15px;
}

.Contenedor-completo__box img{
    max-width: 120px;
    max-height: 110px;
}

.Contenedor-completo__box h3{
    font-size: 2.2rem;
}

.Contenedor-completo__box p{
    font-size: 1.5rem;
}
/* contenedor completo responsive */

@media screen and (max-width:400px) {
    .Contenedor-completo__box{
        min-width: 250px;
        
    }
    .Contenedor-completo__box img{
        max-width: 80px;
        max-height: 70px;
    }
    .Contenedor-completo__box h3{
        font-size: 2rem;
    }
    
    .Contenedor-completo__box p{
        font-size: 1.3rem;
    }
}

/* fin contenedor completo */
/* -------------------- */
.contenido-hoja__section{
    text-align: center;
    max-width: 70%;

}

.contenido-hoja__section h2{
    font-size: 2.5rem;
    margin-bottom: 70px;

}

.contenido-hoja__section p{
    font-size: 1.6rem;
    max-width: 80%;
    text-align: center;
    margin: auto;
    margin-bottom: 70px;
    text-wrap: pretty;
}

/* eslaider */
.slider{
    max-width: 100vw;
    margin: auto;
    overflow: hidden;
}

.slider__track{
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 12);
    align-items: center;
    gap: 20px;
}
.slider__slide{
    max-width: 200px;
}
.slider__slide img{
    max-width: 100%;
}

@keyframes scroll {
    0%{
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100%{
        -webkit-transform: translateX(calc(-200px*6));
        transform: translateX(calc(-200px*6));
    }
}
@media (max-width: 1024px) {
    .contenido-hoja__section {
        max-width: 85%;
    }
    .contenido-hoja__section h2 {
        font-size: 2rem;
    }
    .slider__track {
        width: calc(150px * 12);
        gap: 15px;
    }
    .slider__slide {
        max-width: 150px;
    }
}

/* Para dispositivos móviles */
@media (max-width: 768px) {
    .contenido-hoja__section {
        max-width: 95%;
    }
    .contenido-hoja__section h2 {
        font-size: 1.8rem;
    }
    .slider__track {
        width: calc(120px * 12);
        gap: 10px;
        animation-duration: 30s;
        -webkit-animation-duration: 30s;
    }
    .slider__slide {
        max-width: 120px;
    }
}

/* Para pantallas muy pequeñas (teléfonos compactos) */
@media (max-width: 480px) {
    .contenido-hoja__section h2 {
        font-size: 1.5rem;
    }
    .slider__track {
        width: calc(100px * 12);
        gap: 5px;
        animation-duration: 25s;
        -webkit-animation-duration: 25s;
    }
    .slider__slide {
        max-width: 100px;
    }
}

.contenido-hoja__doscolum{
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
    flex-direction:row;
    gap: 30px;
    margin: 0px 30px;
}

.contenido-hoja__doscolum--reversecolum{
    flex-direction: row-reverse;
}

.contenido-hoja__doscolum--separados{
    justify-content: space-evenly;
}

.contenido-hoja__doscolum__columuno{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-basis: 500px;
    flex-grow: 1;
}

.contenido-hoja__doscolum__columuno h2{
    text-align: center;
    padding: 20px;
    font-size: 2rem;
}

.contenido-hoja__doscolum__columuno p{
    text-align: start;
    text-wrap: pretty;
    font-size: 1.5rem;
    padding: 10px 0;
}

.contenido-hoja__doscolum__columuno ul{
    text-align: start;
    text-wrap: pretty;
    font-size: 1.3rem;
    list-style-type: disc;
    padding-left: 40px;
}

.contenido-hoja__doscolum__columuno li::before {
    content: "•"; /* Punto personalizado */
    color: #0F243E; /* Cambia el color si lo deseas */
    font-size: 1.6rem; /* Tamaño del punto */
    margin-right: 8px; /* Espacio entre el punto y el texto */
}


.contenido-hoja__doscolum__columdos{
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.contenido-hoja__doscolum__columdos img{
    max-width: 500px;
    min-width: 400px;
    filter: drop-shadow(0px 0px 20px #0004);
}

.boton_enlace{
    background-color: #0F243E;
    color: #eee;
    padding: 15px 25px;
    font-size: 1.3rem;
    border-radius: 10px;
    transition: background-color 0.2s, color 0.2s, outline 0.2s, outline-offset 0.2s;
}

.boton_enlace:hover{
    color: #00B894;
    background-color: #000;
    outline: 3px solid #00B894;
    outline-offset: -10px;
}

.formulario{
    background-color: #0F243E;
    padding: 20px 0;
    border-radius: 15px;
    font-size: 1.4rem;
    flex-grow: 1;
}

.formulario h2{
    color: #fff;
    padding: 0 10px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.form_input{
    padding: 6px 20px;
    display: flex;
    flex-direction: column;
}

.formulario__label{
    color: #fff;
}

.formulario__input{
    min-width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    border: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0px 0px 15px #0001;
    background-color: transparent;
    color: #eee;
    font-size: 1.3rem;
}


.formulario textarea{
    min-width: 100%;
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
    font-family: sans-serif;
}

.formulario__boton{
    padding: 10px 40px;
    background-color: #90c2ff;
    font-weight: 800;
    border-radius: 7px;
}



/* hoja completa barra */
.contenido-hoja__barra{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
    margin: 20px 0;
}
@media (max-width: 480px) {
    .contenido-hoja__barra{
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}
.contenido-hoja__barra img:first-child{
    background-color: #0F243E;
    max-height: 60px;
    padding: 7px;
    border-radius: 7px;
}
.contenido-hoja__barra img:last-child{
    background-color: #fff;
    max-height: 50px;
    transition: scale 0.3s,background-color 0.3s;
}

.contenido-hoja__barra img:last-child:hover{
    background-color: #eee;
    scale: 1.2;
}

.contenido-hoja__barra p{
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items:center;
    flex-grow: 1;
    gap: 10px;
}

footer{
    min-width: 100%;
    background-color: #0F243E;
    color: #ddd;
    text-align: center;
}

footer li {
    padding: 10px;
    font-size: 0.9rem;
}
footer h2 {
    padding: 10px;
}


