*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

.container-cover{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 0px;
    background-image: url(../nosotros/img/portada.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.container-cover::before{
    content: '';
    width: 100%;
    height: 100%;
    background: #6669c5b5;
    position: absolute;
    top: 0;
    left: 0;
}

.container-info-cover{
    max-width: 800px;
    height: 500px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-info-cover h1{
    font-size: 20px;
    font-weight: 25px;
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
}
.container-info-cover h2{
    font-size: 60px;
    font-weight: 20px;
    color: rgb(255, 255, 255);
}


.container-info-cover p{
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 300px;
}
.degradado{
    background: linear-gradient(to top, #2b0548, #4630ab, #6669c5);
}

.background {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    padding: 80px 32px;
    border: 5px;
}

.articles {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    max-width: 1500px;
    gap: 24px;
}

.articles article {
max-width: 320px;
cursor: pointer;
display: block;
transition: all 0.4s ease-in-out;
overflow: hidden;
border-radius: 16px;
}

.articles article a {
    display: inline-flex;
    color: #45568E;
    text-decoration: none;
}
.articles article h2 {
    margin: 0 0 18px 0;
    font-size: 1.6rem;
    color:#000000;
    transition: color 0.3s ease-out;
}

.articles article img {
    max-width: 100%;
    transform-origin: center;
transition: transform 0.4s ease-in-out;
}

.article-preview {
padding: 24px;
background: rgb(255, 255, 255);
text-align: center;

}

.articles figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.articles figure img {
    height: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    object-fit: cover;
}

.articles article:hover img{
    transform: scale(1.5);
}


.titulo {
    text-align: center;
    font-size: 34px;
    font-family:'Source Sans Pro', sans-serif;
    color: #ffffff;
}

.contenedoor{
    display:flex;
    background-color: #ffffff;
    padding: 50px;
    margin-top: 0px;
    border: 5px;
    color: #000000;
    justify-content: center;
    top: 50px;
    margin-bottom: 0px;
}


.container-info-cover{
    max-width: 800px;
    height: 500px;
    margin-top: 0px;
    padding: 25px;
    border: 5px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-info-cover h4{
    font-size: 45px;
    font-weight: 25px;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
}


.container-info-cover p{
    padding: 25px;
    padding-top: 100px;
    text-align: center;
}

.contenedor p{
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 300px;  

}
.text{
    padding-left: 25px;
    padding-top: 100px;
    text-align: center;
}

 h4{
    font-size: 40px;
    font-weight: 20px;
    color: rgb(0, 0, 0);
    margin-bottom: 30px;
    margin-top: 80px;
    text-align: center;
    
}

.imag{
    width: 900px;
    height: 500px;
    margin-right: 100px;
    margin-left: 50px;
    margin-bottom: 50px;
    display: inline-block;
}

.container-footer{
    width: 100%;
    padding: 40px 0;
    background: rgb(255, 255, 255);
    margin-top: 0px;  
    
}

.container-footer footer{
    max-width: 1200px;
    margin: auto;
}

.container-footer footer .logo-footer{
    text-align: center;
}

.container-footer footer .logo-footer img {
    width: 450px;
    height: 170px;
}
.container-footer footer .redes-footer{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.container-footer footer .redes-footer .icon-redes-footer{
    font-size: 20px;
    margin: 20px;
    background: #a9abde;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    color: #ffffff;
}


footer .redes-footer .fa-facebook-f:hover{
    background:linear-gradient(to  top right, #2b0548, #4630ab, #6669c5);
    color: #ffffff;
}
footer .redes-footer .fa-google-plus-g:hover{
    background:linear-gradient(to  top right, #2b0548, #4630ab, #6669c5);
    color: #ffffff;
}
footer .redes-footer .fa-instagram:hover{
    background:linear-gradient(to  top right, #2b0548, #4630ab, #6669c5);
    color: #ffffff;
}

footer .redes-footer .fa-x-twitter:hover{
    background:linear-gradient(to  top right, #2b0548, #4630ab, #6669c5);
    color: #ffffff;
}

.container-footer footer hr{
    margin-top: 20px;
    border: none;
    height: 2px;
    background: #6669c5;
}

.container-footer h5{
    text-align: center;
    margin-top: 40px;
    color: #6669c5;
    font-weight: 500;
}

/* Estilos responsivos */
@media screen and (max-width: 768px) {
    .container-info-cover h2 {
        font-size: 40px; /* Reduzco el tamaño del título en pantallas más pequeñas */
    }

    .contenedoor {
        flex-direction: column; /* Cambio la dirección del flex container en pantallas más pequeñas */
    }

    .imag {
        width: 100%; /* Hago que la imagen ocupe el 100% del ancho del contenedor en pantallas más pequeñas */
    }

    .text {
        padding-left: 0; /* Elimino el padding izquierdo en pantallas más pequeñas */
        text-align: center; /* Centro el texto en pantallas más pequeñas */
    }
}