body h3{
    font-size:clamp(20px, 2.6vw, 28px);
    text-align: center;
}
.portrait{
    color:white;
    height:clamp(400px, 50vw, 700px);
    width:100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.portrait .frontvideo{
    position: absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    z-index: -1;
    filter:grayscale(0.60);
}
.portrait .bigLogo,.portrait h3{
    width:clamp(300px,33%,500px);
    padding-bottom:50px;
}
.portrait a{
    font-weight: bold;
    font-size: 20px;
    background-color: #ffb900;
    padding:10px 20px;
    border-radius:10px;
    color:black;
}

section{
    width:100%;
    padding:min(4vw,40px);
}
section h2{
    color: #639d05;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: bold;
    text-align: center;
    padding-bottom: min(4vw,35px);
}

.mision{
    display:flex;
    flex-direction:row;
    justify-content: center;
    align-items: center;
}
.mision>div{
    width:50%;
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
}
.mision h3{
    color:#639d05;
    margin-bottom:max(3vw,15px);
}
.mision img{
    width:90%;
    transition: width 0.5s ease;
}
.mision img:hover{
    width:95%;
}
.mision p{
    color:#354677;
    max-width:1000px;
    font-size: clamp(16px, 2vw, 20px);
    line-height: clamp(18px, 2.5vw, 28px);
    text-align: justify;
}

.soluciones{
    background-color: #fbfbfb;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.soluciones > div{
    width:min(1200px,100%);
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}
.soluciones div a{
    width:32%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.soluciones div a img{
    display: block;
    height:clamp(140px, 25vw, 250px);
    width:clamp(154px, 27.5vw, 350px);
    border-radius: 10%;
    object-fit: cover;
    opacity: 1;
}
.soluciones div a:hover img{
    opacity: 0.85;
}
.soluciones div a h5{
    text-align: center;
    font-size: 19px;
    padding: 10px 0 20px 0;
}

.cotiza{
    color:white;
    position: relative;
    width:100%;
    height:clamp(400px, 50vw, 800px);
}
.cotiza img{
    position: absolute;
    width:100%;
    height:100%;
    object-fit: cover;
    z-index: -2;
}
.cotiza .cortina{
    position: absolute;
    width:100%;
    height:100%;
    background-color: black;
    opacity: 0.45;
    z-index: -1;
}
.cotiza .content{
    width:100%;
    height:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cotiza .content *{
    margin:20px;
}
.cotiza a{
    font-weight: normal;
    font-size: 20px;
    background-color: green;
    padding:10px 20px;
    border-radius:10px;
}

.socios{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.slider button{
    width:50px;
    height:50px;
    background: none;
    border: none;
    cursor:pointer;
}
.slider button.reverted{
    transform: rotate(180deg);
}
.slider button img{
    height:100%;
    width:100%;
}
.slider{
    width:100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
.slider-content{
    width:min(90%,1000px);
    height:160px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.slider-content a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding:0 clamp(20px, 3vw, 40px);
    min-width:200px;
}
.slider-content a img{
    max-height:110px;
    max-width:210px;
}

@media (max-width:900px){
    .mision{
        flex-direction: column;
    }
    .mision div{
        width:max(85%,300px);
        height:auto;
        max-height:none;
    }    
    .mision img{
        margin-top:min(4vw,40px);
        width:100%;
    }
    .mision img:hover{
        width:100%;
    }
}

@media (max-width:550px){
    section{
        padding: 30px max(2.5vw, 8px);
    }
    section h2{
        padding-bottom: 25px;
    }
    .soluciones div a{
        width:48%;
    }
    .soluciones div a img{
        height:max(130px, 25vw);
        width:max(143px, 27.5vw);
    }
    
    .slider button{
        width:35px;
        height:35px;
    }
    .slider-content a{
        min-width:auto;
    }
    .slider-content a img{
        max-height:110px;
        max-width:180px;
    }
}