html,body{
    overflow-x: hidden;
}
.portadaNosotros{
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    background-image: url('../img/nosotros/bgnosotros.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100% 100%;
}
.nuestahistoria{
    background: linear-gradient(90deg, #252627 30.77%, #219BD8 99.99%);
    padding-top: 70px;
    padding-bottom: 280px;

}
.casosdeexito{
    background: linear-gradient(
    180deg,
    #252627 0%,
    #252627 50%,
    #219BD8 50%,
    #1070A1 100%
  );
}
.titleblacknosotros{
    color: #252627;
    margin-bottom: 40px;
}
.unicos{
    padding-top: 60px;
    padding-bottom: 60px;
    border-top-right-radius: 15rem;
    background-color: white;
    margin-top: -220px;
}
.imgunic{
    width: 75%;
    margin: auto;
    display: block;
    margin-bottom: 20px;
}
.titleunic{
    color: #219BD8;
    text-align: center;
    font-family: 'Axiforma';
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2; /* 2.49481rem */
}
.parrafounic{
    color: #252627;
    font-family: 'Axiforma';
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    margin-top: 5px;
}

.matopti{
    margin-top: 20%;
}
.casosdeexito{
    padding-top: 60px;
    padding-bottom: 60px;
}
.bgkg{
    background-image: url('../img/nosotros/bgkg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.cardexito{
    width: 15%;
    transition: width 0.1s ease;
    height: 500px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.activecard{
    width: 70%;
}
.divexito{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    margin-top: 10px;
    margin-bottom: 45px;
}
.textcard{
    position: absolute;
    bottom: 0;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    user-select: none;
    padding-inline: 50px;
    background: rgba(0, 0, 0, 0.278);
}
.activecard .textcard{
   opacity: 1;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), black);
}
.activecard .covercard{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

.textcard h4{
    color: #FFF;
    font-family:'Axiforma';
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.textcard p{
   color: #FFF;
     font-family: 'Gotham', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.2;
}
.covercard{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.292);
}
.bgcolochanexito{
    background: #252627;
    margin-top: 20px;
}

@media (max-width: 1400px){
    .imgunic {
        width: 60%;
    }
    .titleunic {
        font-size: 1.6rem;
    }
    .parrafounic {
        font-size: 1em;
    }
    .textcard h4 {
        font-size: 1.3rem;
    }
    .textcard p {
        font-size: 1rem;
    }
    .portadaNosotros {
        height: 60vh;
    }
}

@media (max-width: 1200px){
    .portadaNosotros {
        height: 46vh;
    }
    .nuestahistoria {
        padding-top: 50px;
        padding-bottom: 260px;
    }
    .unicos {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .imgunic {
        width: 50%;
    }
    .titleunic {
        font-size: 1.4rem;
    }
    .textcard h4 {
        font-size: 1.2rem;
    }
    .textcard {
        padding-bottom: 9px;
    }
}


@media (max-width: 767px){
    .portadaNosotros {
        height: 40vh;
        text-align: center;
    }
    .matopti {
        margin-top: 30%;
    }
    .nuestahistoria {
        padding-top: 40px;
        padding-bottom: 260px;
    }
    .unicos {
        padding-top: 60px;
        padding-bottom: 12px;
        border-top-right-radius: 8rem;
        margin-top: -223px;
    }
    .imgunic {
        width: 40%;
    }
    .titleunic {
        font-size: 1.4rem;
    }
    .parrafounic {
        font-size: 1em;
        margin-bottom: 50px;
    }
    .movitexc{
        text-align: center;
    }
    .divexito {
        flex-direction: column;
    }
    .cardexito {
        width: 100%;
        height: 100px;
    }
    .activecard {
        width: 100%;
        height: 350px;
    }

    .textcard {
        padding-bottom: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 365px){

}