





:root {

    /* Colors: */
    --verde: #9DC44C;
    --gris: #E6E6E6;
    --azul: #282D87;
    --naranja: #FF9100;
    --blanco: #FFFFFF;
    --rojo: #9C1E38;
    --color-texto-card: #A7A5A5;
    
}



@import url('https://fonts.googleapis.com/css2?family=Heebo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@700&display=swap');

body{
    font-family: "heebo";
}
h1 , h2{
    font-family: "heebo";
    font-weight: 700;
}

p{
    font-weight: 400;
}

.encabezado{ 
    height: 100vh;
    width: 100%;
    background:  transparent url("img/header.jpg")  0% 0% no-repeat padding-box;
    background-position: center;
    background-size: cover;
}

.encabezado-titulo{
    text-align: left;
    /* position: absolute;
    top: 491px;
    left: 144px;
    width: 838px; */
    max-width: 100%;
    height: 133px;
    color: var(--blanco);
    letter-spacing: 0px;
}

.encabezado-logo{
    margin-top: 110px;
    margin-left: 10%;
}


.encabezado-titulo > .encabezado-titulo-texto{
    letter-spacing: 1px;
    font-size: 60px;
    margin-top: 180px;
    margin-left: 10%;
}



#span-2021{
    font-weight: 400;
    display: block;
    font-size: 60px;
    text-align: left;
}




/* main */

.contenido{
    background-color: var(--gris);
    width: 100%;
    gap: 3rem;
    height: 640px;
}

.contenido-card > h2{
    margin-top: 10px;  
    font-size: 45px;
    color: var(--azul); 
}

.contenido-card > p{
    margin-top: 15px;
    color: var(--color-texto-card);
    font-size: 20px;
}

.contenido-card > p > span{
    display: block;
}



.contenido-card > a{
    font-size: 30px;
}

.contenido-card > a > button{
    margin-top: 10px;   
    width: 85%;
    height: 18%;
    background: var(--azul) 0% 0% no-repeat padding-box;
    border-radius: 6px;
    border: none;
    color: var(--blanco);
    font-size: 80%;
}

.contenido-card > a > button:hover{
    background-color: #FF9100;
}


/* cards */


.tarjetas > div{
    display: flex;
    justify-content: center;
    width: 330px;
    height: 510px !important;
    position: relative;
    bottom: 45px;
    border: none;
    /* margin: 0px 35px 0px 35px; */
}

.tarjetas > div > div{
    height: 45%;
}


.logo-aca{
    padding: 11%;
    background-color: var(--azul);
    margin: 0;
}


.logo-acabio{
    background-color: var(--verde);
    margin: 0;
    padding: 11%;
}

.logo-ipa{
    background-color: var(--rojo);
    margin: 0;
    padding: 8%;
}

.logo-ipa > img{
    width: 90% !important;
}


/* footer */


.footer{
    width: 100%;
    /* position: relative;
    bottom: 0; */
    background-color: var(--azul);
    height: 340px;
}



.footer-logo > img{
    width: 120px;
    margin-left: 20px;
}


.footer > .footer-contacto > a{
    margin: 0px 10px 0px 10px;
}

.footer-contacto{
    text-align: right;
}

.footer-contacto > a > img{
    width: 45px;
}




/* media queries */




@media (max-width: 1450px) {
    .contenido-card > a > button{
        width: 210px;
        margin-bottom: 5px;
    }
}

@media (max-width: 1100px) {
    .contenido{
        height: auto;
    }
    .contenido-card > h2{
        margin-top: 10px;  
    }
    
    .contenido-card > p{
        margin-top: 25px;
    }
    .tarjetas > div{
        height: auto;
    }
    .footer > .footer-contacto > a > img{
        width: 60px;
    }
    .footer > .footer-contacto > a{
        margin: 0px 3px 0px 3px;
    }
}



@media (max-width: 900px) {

    .footer > .footer-logo{
        text-align: center;
    }
    .footer > .footer-contacto > a > img{
        width: 30px;
    }
    .footer > .footer-contacto > a{
        margin: 0px 2px 0px 2px;
    }
    .encabezado-logo{
        margin-top: 110px;
        text-align: center;
    }
    .encabezado-titulo > .encabezado-titulo-texto{
        letter-spacing: 1px;
        font-size: 70px;
        margin-top: 140px;
        text-align: center;
    }
    .encabezado-titulo > .encabezado-titulo-texto > span{
        text-align: center;
    }
    
}


@media (max-width: 600px) {
    .contenido-card > p {
        margin-top: 5px;
    }
    .contenido-card > a > button{
        margin-top: 2px;   
    }
    .footer > .footer-logo > img{
        width: 110px;
        margin-left: 0;
    }
    .tarjetas > div{
        height: auto;
    }
    .tarjetas > div > div{
        height: 35%;
    }
    .encabezado-titulo-texto{
        font-size: 50px !important;
        margin-right: 10px;
    }
    #span-2021{
        font-weight: 400;
        text-align: center;
        font-size: 40px;
    }
    .footer-contacto{
        text-align: center;
    }
}


@media (max-width: 440px) {
    .encabezado-logo{
        margin: 70px auto 0px auto;
        text-align: center;
    }
    .encabezado-titulo > .encabezado-titulo-texto{
        margin: 140px auto 0px auto !important;
        text-align: center;
    }
    .footer{
        height: 300px;
    }
    .tarjetas > div > div{
        height: 45%;
    }
    .contenido-card > a > button{
        margin-bottom: 5px;   
    }
}

@media (max-width: 400px) {
    .tarjetas > div{
        height: auto;
    }
    .tarjetas > div > div{
        height: 45%;
    }
    .encabezado-logo{
        margin-top: 70px;
    }
    .encabezado-logo > img{
        width: 78%;
    }
    .encabezado-titulo > .encabezado-titulo-texto{
        margin-top: 120px;
    }
}

@media (max-width: 380px) {
    .tarjetas > div{
        bottom: 160px;
    }
    
}


@media (max-width: 370px) {
    .tarjetas > div{
        height: auto;
        bottom: 60px;
    }
    .tarjetas > div > div{
        height: 45%;
    }
}

@media (max-width: 330px) {
    .tarjetas{
        padding: 0px 20px 0px 20px;
    }
}

