/*Estilos por defecto 1*/
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0; 
}
html{
     font-size: 62.5%;
}
:root{
     --color-blue:#6B98BF;
     --color-pink: #D98FBF;
     --color-footer: #2B2730;
     --title: "Bree Serif", serif;
     --Text-1: "EB Garamond", serif;
     --Text-2: "Montserrat", sans-serif;
}
 /*Fin 1*/
 /*Diseño del header - 2*/
.menu{
     width: 100%;
     min-height: 65px;
     height: 12vh;
     display: flex;
     justify-content: center;
     align-items: center;
     padding: 5px;
     position: relative;
}
.icono{
     width: 25%;
     height: 100%;
     justify-items: center;
}
.icono img{
     width: 70px;
     height: 100%;
}
.slogan{
   text-align: center;
}
.slogan h2{
     font-size: 1.5rem;
     padding: 5px;
     font-weight: 400;
     font-family: var(--title);
     color: var(--color-pink);
}
.contenedorH{
    width: 25%;
    height: 100%;
    position: relative;
}
.menu ul{
    list-style: none;
    display: flex;
    margin-left: 2%;
    width: 25%;
    align-items: center;  
}
.menu ul li{
    margin: 0 5px;
}
.menu li a {
    text-decoration: none;
    color: var(--color-blue);
    font-size: 1.6rem;
    font-family: var(--Text-2);
    font-weight: bold;
    margin: 0 2px;
}
.menu li img{
    width: 30px;
    height: 30px;
}
.menuH{
    width: 40px;
    cursor: pointer;
    display: none;
}
.menuH img{
    max-width: 100%;
    height: 100%;
}
.formu{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;    
    justify-content: space-between;
    border: 1px solid white;
    border-radius: 20px;
    box-shadow: 4px 4px 23px 0px rgba(0,0,0,0.75);
    background-color: #6b98bf;
}
.formu #cerrar{
    display: inline-block;
    font-size: 2.5rem;
    text-decoration: none;
    font-weight: bold;
    place-self: end;
    margin-right: 5px;
}
.formu form{
    display: grid;
    height: 450px;
    width: 250px;
    align-items: center;
    grid-template-columns: 272px;
    grid-template-rows: 50px 60px 60px 65px 130px 50px 40px;
    gap: 8px;
    padding-bottom: 5px;
}
.formu form span{
    display: inline-block;
    font-size: 1.4rem;
    font-family: var(--title);
    font-weight: lighter;
    color: #551a8b;
    margin: 0 0 2px 0;
}
.formu label{
    width: 245px;
}
.formu input{
    display: inline-block;
    height: 28px;
    width: 240px;
    border: 1px solid white;
    padding: 2px;
    border-radius: 6px;
    background-color: var(--color-blue);
    color: #551a8b;
}
.colaboration{
    height: 100px;
    width: 240px;
    border: 1px solid white;
    background-color: var(--color-blue);
    border-radius: 6px;
    padding: 4px;
    color: #551a8b;
}
.labelEnvio{
    text-align: center;
}
.formu .envio{
    width: 60px;
    height: 30px;
    padding: 4px;
    border: 1px solid white;
    background-color: var(--color-blue);
    color: var(--color-footer);
    color: #551a8b;
    margin-bottom: 10px;
}
.envio:hover{
    width: 70px;
    height: 40px;
    padding: 4px;
    background-color:#551a8b;
    color: white; 
}
.contribucion{
    position: fixed;
    width: 85px;
    height: 70px;
    border-radius: 80px 80px 0px 0px;
    background-color: var(--color-pink);
    border: 1px solid white;
    border-bottom: none;
    display: flex;
    color: var(--color-footer);
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    padding: 4px;
    bottom: 0;
    right: 0;
    z-index: 8;
    cursor: pointer;
}
.donacion{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;    
    justify-content: space-between;
    border: 1px solid white;
    border-radius: 20px;
    box-shadow: 4px 4px 23px 0px rgba(0,0,0,0.75);
    background-color: var(--color-pink);
}
#cerrarContribucion{
    display: inline-block;
    font-size: 2.8rem;
    text-decoration: none;
    font-weight: bold;
    place-self: end;
    margin-right: 5px;
}
.donacion div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 340px;
    width: 250px;
}
.donacion div h1{
    text-align: center;
    font-size: 2.6rem;
    color: var(--color-footer);
    margin: 10px 0;
}
.donacion div p{
    text-align: center;
    font-size: 1.4rem;
    color: var(--color-footer);
    font-weight: 500;
}
.donacion div span{
    font-size: 1.5rem;
    color: #551a8b;
}
.donacion div span:nth-child(2){
    font-size: 1.2rem;
    color: #551a8b;
}
@media (max-width:689px) {
    .menuH{
        display: flex;
        position: absolute;
        top: 20%;
        right: 1%;
    }
    .menu ul{
        position: absolute;
        flex-direction: column;
        background-color: var(--color-footer);
        top: 12vh;
        width: 100%;
        align-items: center;
        transform: translate(-100%);
        transition: transform .5s;
        z-index: 4;        
        margin-left: 0%;  
    }
    .menu ul.aparecer{
        transform: translate(0);
     }
    .menu ul li{
        margin: 25px 0;
    }
    .menu ul li a{
        color: white;
    }
 }
 @media (min-width:690px){
    .menu{
        position: fixed;
        z-index: 2;
        background-color: white;
    }
    .menu .icono{
        margin-left: 10%;
    }
    .slider-box{
        padding: 12vh 0 0 0;
    }
    .formu{
        width: 350px;
        height: 550px;
    }
    .formu #cerrar{
        font-size: 3rem;
        margin-right: 8px;
    }
    .formu form{
        display: grid;
        height: 480px;
        width: 280px;
        gap: 8px;
    }
    .formu form span{
        font-size: 1.7rem;
    }
    .formu label{
        width: 275px;
    }
    .formu input{
        height: 30px;
        width: 270px;
    }
    .formu .file{
        padding: 3px;
    }
    .colaboration{
        height: 110px;
        width: 270px;
    }
    .formu .envio{
        font-size: 1.4rem;
    }
    .contribucion{
       width: 100px;
       height: 90px;
       border-radius: 80px 80px 0px 0px;
       font-size: 1.3rem;    
    }
    .donacion{
        width: 350px;
        height: 420px;
    }
    #cerrarContribucion{
        font-size: 3.5rem;
    }
    .donacion div{
        height: 380px;
        width: 320px;
    }
    .donacion div h1{
        font-size: 2.8rem;
        margin: 0px 0 20px 0;
    }
    .donacion div p{
        text-align: center;
        font-size: 1.6rem;
        color: var(--color-footer);
        font-weight: 500;
    }
    .donacion div span{
        font-size: 1.8rem;
        color: #551a8b;
    }
    .donacion div span:nth-child(2){
        font-size: 1.8rem;
        color: #551a8b;
    }
 }
 /*Fin 2*/
 /*Comienzo del diseño del main - 3*/
 /*Diseño del Carrusel - 3.1*/
 .slider-box{
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: var(--color-blue);
    margin: 0;
 }
 .slider-box ul{
    display: flex;
    width: 400%;
    animation: slide 20s infinite alternate ease-in-out;
 }
 .slider-box li{
    width: 100%;
    list-style: none;
    position: relative;
 }
 .slider-box img{
    width: 100%;
    max-height: 1280px;
}
@keyframes slide {
    0%{margin-left: 0;}
    20%{margin-left: 0;}

    25%{margin-left: -100%;}
    45%{margin-left: -100%;}

    50%{margin-left: -200%;}
    70%{margin-left: -200%;}

    75%{margin-left: -300%;}
    100%{margin-left: -300%;}
}
/*Fin 3.1*/
/*Diseño seccion informacion - 3.2*/
.info{
    width: 100%;
    height: auto;
    background-color: var(--color-blue);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}
.info h1{
    font-size: 2.4rem;
    margin: 15px 0 35px 0;
    font-family: var(--title);
    font-weight: 500;
    color: white;
}
.div-info{
    display: grid;
    grid-template-columns: repeat(1, 280px);/*
    grid-template-rows: 370px 200px 300px 200px 260px 200px 220px 200px;*/
    gap: 15px;
}
.div-info h2{
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 600;
}
.div-info p{
    font-size: 1.4rem;
    text-align: justify;
    line-height: 1.7rem;
}
.div-info a{
    color: #551a8b;
}
.div-info ul li{
    font-size: 1.4rem;
    list-style: none;
    margin: 10px 0 0 0;
    text-align: justify;
}
.div-info article img{
    width: 100%;
    height: 100%;
}
.div-info article img:hover{
    transform: scale(1.1);
}
@media (min-width:385px) {
    .div-info{
        display: grid;
        grid-template-columns: repeat(1, 320px);/*
        grid-template-rows: 370px 220px 300px 220px 300px 220px 230px 220px;*/
        gap: 15px;
    }
}
@media (min-width:480px) {
    .div-info{
        display: grid;
        grid-template-columns: repeat(1, 400px);/*
        grid-template-rows: 360px 290px 270px 290px 250px 290px 220px 290px;*/
        gap: 15px;
    }
    .div-info p{
        font-size: 1.7rem;
        line-height: 2rem;
    }
    .div-info ul li{
        font-size: 1.7rem;
    }
    .div-info article img{
        width: 100%;
        height: 100%;
        max-height: 270px;
        border-radius: 10px;
    }
}
/*Fin 3.2*/
/*Diseño seccion empleados - 3.3*/
.empleados{
    width: 100%;
    height: auto;
    background-color: var(--color-pink);
    padding-bottom: 10px;
}
.empleados h2{
    font-size: 2.2rem;
    text-align: center;
    padding: 20px;
    font-family: var(--title);
    font-weight: 400;
    color: white;
}
.empleados-div{
    display: grid;
    grid-template-columns: repeat(4,240px);
    grid-template-rows: repeat(1, 380px);
    margin: 20px 40px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.target{
    display: grid;
    grid-template-columns: repeat(6,1fr) ;
    grid-template-rows: repeat(8,1fr);
    scroll-snap-align: center;
    background-color: #2b273080;
    border-radius: 15px;
    align-items: center;
}
.target-figure{
    grid-area: 2/2/7/6;
}
.target-figure img{
    width: 187px;
    height: 260px;
    border-radius: 15px;
}
.target h3{
    text-align: center;
    grid-area: 7/2/8/6;
    font-size: 1.8rem;
    color: white;
    font-family: var(--title);
    font-weight: 500;
}
.target p{
    font-size: 1.7rem;
    grid-area: 8/2/9/6;
    text-align: center;
    color: white;
    font-family: var(--Text-2);
}
/*Fin 3.3*/
/*Diseño de Noticias 3.4*/
.s-news{
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}
.s-news h2{
    font-size: 2.2rem;
    text-align: center;
    padding: 20px;
    font-family: var(--title);
    font-weight: 400;
    color: var(--color-footer);
}
.news{
    display: grid;
    grid-template-columns: repeat(6 ,250px);
    grid-template-rows: 280px;
    margin: 5px 40px;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
}
.new{
    position: relative;
}
.new img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    scroll-snap-align: center;
    transition: all 400ms ease-out;
    will-change: transform;
}
.news .new{
    position:relative;
    cursor: pointer;
    overflow: hidden;
 }
 .news .new .capa{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5,7,12, 0.75), rgba(5,7,12,0.75));
    transition: all 400ms ease-out;
    opacity: 0;
    visibility: hidden;
    text-align: center;
 }
 .news .new:hover .capa {
     opacity: 1;
     visibility: visible;
 }
 .news .new:hover .capa h3{
     margin-top: 70px;
     margin-bottom: 15px;
 }
 .news .new:hover img{
     transform: scale(1.2);
 }
 .news .new .capa h3{
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 120px;
    transition: all 400ms ease-out;
    margin-top: 30px;
 }
 .news .new .capa p{
     color: #fff;
     font-size: 1.3rem;
     line-height: 1.5;
     width: 100%;
     max-width: 220px;
     margin: auto;
 }
 .news .new .capa a{
    display: inline-block;
    color: white;
    font-size: 1.2rem;
    margin-top: 15px;
    font-weight: bold;
 }
/*Fin 3.4*/
/*Diseño del Footer*/
footer{
    background-color: var(--color-footer);
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 15px;
}
.text {
    width: 100%;
    height: 45%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.text li {
    list-style: none;
    color: white;
}
.text li a {
    text-decoration: none;
    color: white;
}
.b-text li {
    display: inline-block;
    font-size: 1.8rem;
    margin: 1.2vh 6vw;
}
.b-text img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-left: 0px;
}
.socialIcons {
    width: 100%;
    height: 45%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}
.b-icon {
    text-align: center;
}
.b-icon li {
    list-style: none;
    display: inline;
    margin: 0 15px;
}
.socialIcons img {
    width: 30px;
    height: 30px;
}