.home{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80vh;
    background-image: url(../img/galeria/img1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.37);
}
.home > :nth-child(1){
    border-radius: 20px;
    backdrop-filter: blur(20px);
    width: 50%;
    padding: 3vw 0 3vw 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 20px 2px rgba(255, 255, 255, 0.329);
    color: white;
}
#knowB{
    padding: 0 10px 0 10px;
    height: 8vh;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    transition: .3s ease;
    background-color: #f2ca007c;
}
#knowB:hover{
    background-color: rgba(0, 0, 0, 0.158);
    box-shadow: 1px 1px 10px 1px rgba(255, 255, 255, 0.144);
}
.preview{
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vh;
}
.preview > :nth-child(1){
    text-align: center;
}
.preview > :nth-child(2){
    width: 80%;
    height: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
}
.pro{
    display: flex;
    justify-content: center;
    align-items: center;
}
.preview > :nth-child(2) > :nth-child(1),
.preview > :nth-child(2) > :nth-child(2),
.preview > :nth-child(2) > :nth-child(3)
{
    border-bottom: 1px solid #f2ca004f;
}
.preview > :nth-child(2) > :nth-child(1),
.preview > :nth-child(2) > :nth-child(2),
.preview > :nth-child(2) > :nth-child(4),
.preview > :nth-child(2) > :nth-child(5)
{
    border-right: 1px solid #f2ca004f;
}
.pro-image{
    width: 90%;
    height: 80%;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    background-position: center;
    transition: .5s ease;
    cursor: pointer;
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.171);
}
.preview > :nth-child(2) > :nth-child(1) > :nth-child(1){
    background-image: url(../img/galeria/img2.jpg);
}
.preview > :nth-child(2) > :nth-child(2) > :nth-child(1){
    background-image: url(../img/galeria/img3.jpg);
}
.preview > :nth-child(2) > :nth-child(3) > :nth-child(1){
    background-image: url(../img/galeria/img4.jpg);
}
.preview > :nth-child(2) > :nth-child(4) > :nth-child(1){
    background-image: url(../img/galeria/img5.jpg);
}
.preview > :nth-child(2) > :nth-child(5) > :nth-child(1){
    background-image: url(../img/galeria/img6.jpg);
}
.preview > :nth-child(2) > :nth-child(6) > :nth-child(1){
    background-image: url(../img/galeria/img7.jpg);
}
.pro-image-content{
    transition: .5s ease;
    width: 85%;
    height: 80%;
    border: 1px solid rgba(255, 255, 255, 0.829);
    border-radius: 20px;
    display: flex;
    align-items: end;
    padding: 0 0 10px 10px;
    background-color: rgba(0, 0, 0, 0.452);
}
.pro-image-content > h2{
    text-shadow: 1px 1px 15px rgb(0, 0, 0);
}
.pro-image:hover .pro-image-content{
    transition: .5s ease;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    padding: 0 0 80px 10px;
}
.modales{
    display: none;
}
.pro-image-modal{
    border: solid black;
    width: 500px;
    height: 500px;
    background-color: beige;
}
.modales{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.308);
    backdrop-filter: blur(10px);
    display: none;
    transition: .3s ease;
    opacity: 0;
}
.modales.active{
    transition: .3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}
.cerrar{
    border: solid black;
}

.content{
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(../img/logos/logo-fondo.svg); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.content *{
    position: relative;
    z-index: 3;
}
.content::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.733);
    z-index: 1;
}
.content::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f2ca0018;
    z-index: 2;
}
.contentTittle{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40%;
    gap: 10px;
    
}
#logo-content{
    width: 100px;
    height: auto;
    opacity: .7;
}
/* ----------------------valores------------------- */
.valores{
    height: fit-content;
}
.valoresContainer{
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.valoresContainer > :nth-child(1),
.valoresContainer > :nth-child(2){
    width: 45%;
    height: 90%;
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
}
.cuadroC > div{
    width: 70%;
}
.cuadroC{
    position: relative;
    z-index: 2;
    /* border: solid blue; */
}
.cuadroC *{
    z-index: 2;
}
.cuadroC::after{
    content: "";
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #f2ca00a4;
    position: absolute;
    right: -10%;
    top: 0;
    z-index: 3;
}
.cuadroC::before{
    content: "";
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: #f2ca0062;
    position: absolute;
    left: -10%;
    bottom: 10%;
    z-index: 1;
}
.cuadro{
    position: relative;
    z-index: 2;
    /* border: solid black; */
}
.cuadro *{
    z-index: 2;
}
.cuadro::before{
    content: "";
    width: 500px;
    height: 500px;
    background-color: #f2ca0062;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    border-radius: 50%;
}
.cuadro2{
    position: relative;
    z-index: 2;
}
.cuadro2 *{
    z-index: 2;
}
.cuadro2::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 150%;
    height: 50%;
    z-index: 1;
    background-color: #f2ca0063;
    display: none;
}
.cuadroC2 > div{
    width: 70%;
    text-align: right;
}
.cuadroC2{
    position: relative;
    z-index: 2;
}
.cuadroC2 *{
    z-index: 2;
}
.cuadroC2::after{
    content: "";
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #f2ca00a4;
    position: absolute;
    right: -10%;
    top: 0;
    z-index: 3;
}
.imgValor1{
    width: 500px;
    height: auto;
}
.imgValor2{
    width: 400px;
    height: auto;
}
.valortt{
    font-size: 3rem;
    letter-spacing: 5px;
}
.valortext{
    font-size: 1.5rem;
}

/* -----------------------content2---------------------- */
.content2{
    width: 100%;
    height: 80vh;
    position: relative;
}
.content2 > :nth-child(1){
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.content2 *{
    position: relative;
    z-index: 3;
}

#imgC2{
    width: 35vw;
    height: 60%;
    background-image: url(../img/galeria/img2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    box-shadow: 10px 10px #f2ca0063;
    transition: .3s ease;
}
#imgC2:hover{
    transform: scale(1.05);
    box-shadow: -10px -10px #f2ca0063;
}
#textC2{
    width: 55vw;
    height: 40%;
    border-radius: 20px;
    text-align: center;
    background-color: #f2ca003a;
    position: relative;
    padding: 0 20px;
}
#numeros{
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, -50%);
}
.numeros{
    width: 15%;
    height: 10vh;
    border-radius: 10px;
    background-color: #f2ca0063;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* -----------------------redes----------------------- */
.contact-tittle{
    width: 100%;
    text-align: center;
}
.conCon{
    border: 1px solid #f2ca00b2;
    padding: 5px;
    border-radius: 20px;
    width: fit-content;
    margin: 0 auto;
}
.contact{
    width: 100%;
    height: fit-content;
    
    justify-content: space-around;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.contact > :nth-child(1), 
.contact > :nth-child(4){
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.contact > :nth-child(2), 
.contact > :nth-child(3){
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact > :nth-child(2) > :nth-child(1), 
.contact > :nth-child(3) > :nth-child(1){
    width: 90%;
    height: 90%;
    display: flex;
    gap: 5px;
}
.contact > :nth-child(1){
    background-image: url(../img/galeria/img6.jpg);
}
.contact > :nth-child(1)::after, 
.contact > :nth-child(4)::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(5px);
    z-index: 1;
}
.contact > :nth-child(2){
    background-color: #f2ca0054;
}
.contact > :nth-child(4){
    background-image: url(../img/galeria/img4.jpg);
}
.contact-int{
    width: 50%;
    height: 60vh;
}
.contact-int-text{
    width: 80%;
}
.sep{
    border-top: 1px solid black;
    width: 80%;
}
.contact-int-redes{
    height: 20%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}
.redes-box{
    border: 1px solid black;
    border-radius: 10px;
    width: 20%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f2ca0048;
    transition: .3s ease;
}
.redes-box:hover{
    box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.39);
    background-color: #f2ca007c;
}

/* responsive */
@media screen and (max-width: 820px){
    .preview{
        margin: 30px 0 ;
        height: fit-content;
    }
    .preview > :nth-child(2){
        border: fit-content;
        display: flex;
        flex-direction: column;
        height: fit-content;
    }
    .pro{
        height: 20vh;
    }
    .home > :nth-child(1){
        width: 90%;
        text-align: center;
    }
    .contentTittle{
        text-align: center;
    }
    .valores{
        height: fit-content;
        overflow-x: hidden;
        overflow-y: hidden;
        margin-bottom: 50px;
    }
    .valores > :nth-child(1){
        margin: 30px 0; 
    }
    .valoresContainer{
        flex-direction: column;
        height: fit-content;
        gap: 30px;
    }
    .imgValor1, .imgValor2{
        width: 80vw;
        margin: 20px 0;
    }
    .valoresContainer > :nth-child(1),
    .valoresContainer > :nth-child(2){
        width: 90%;
    }
    .valoresContainer > :nth-child(1){
        display: grid;
        text-align: right;
    }
    .valoresContainer > :nth-child(2){
        display: grid;
    }
    .valoresContainer > :nth-child(2) > :nth-child(2), 
    .cuadroC > :nth-child(2){
        width: 100%;
    }
    .valoresContainer > :nth-child(1) > :nth-child(1){
        grid-row: 2;
    }
    .valoresContainer > :nth-child(1) > :nth-child(2){
        grid-row: 1;
    }
    .cuadroC::before{
        left: 50%;
    }
    .cuadro2{
        margin-bottom: 30px;
    }
    .cuadro2 > :nth-child(2), 
    .cuadroC::after{
        display: none;
    }
    .cuadroC2::after{
        right: -30%;
    }
    .content2{
        height: fit-content;
        margin: 30px 0;
    }
    .content2 > :nth-child(1){
        flex-direction: column;
        height: fit-content;
        padding: 30px 0;
        gap: 30px;
    }
    #imgC2{
        width: 90%;
        height: 20vh;
    }
    #textC2{
        padding: 0 10px;
        width: 90%;
        height: 35vh;
    }
    .contact > :nth-child(1), 
    .contact > :nth-child(4){
        width: 10%;
    }
    .contact > :nth-child(2), 
    .contact > :nth-child(3){
        width: 90%;
    }
}