.img-banner {
    background-image: url('../img/banner.webp');
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    aspect-ratio: 3.43;
}

.overlay {
    width: 100%;
    max-width: 100%;
    height: 100.5%;
    position: absolute;
    top: -1px;
    left: 0;
    backdrop-filter: blur(4px);
    background-color: rgb(250 218 213 / 82%);

}

.img-cifras {
    width: 100%;
    max-width: 100%;
    position: relative;
    background-image: url('../img/wave.webp');
    background-size: cover;
    background-position: center;
    z-index: -3;
    top: -1px;
    aspect-ratio: 8.67;
}

#Proyectos .row {
    min-height: 100%;
}

.pattern-preicfes {
    width: 100%;
    max-width: 100%;
    position: relative;
    aspect-ratio: 24/7;
    background-image: url('../img/pattern-preicfes.webp');
    opacity: 0.9;
}

.pattern-becate {
    width: 100%;
    max-width: 100%;
    position: relative;
    aspect-ratio: 24/7;
    background-image: url('../img/pattern-becate.webp');
    opacity: 0.9;
}

.preIcfes.scroll-activated .preicfes-info {
    display: flex;
    animation: slideInLeft 1.5s ease-in-out;
}

.preIcfes.scroll-activated .preIcfes-CA {
    animation: slideInLeft2 1.8s ease-in-out;
}

.preIcfes-CA {
    width: 100%;
}

.preicfes-info {
    position: relative;
    backdrop-filter: blur(4px);
    border-radius: 0px 400px 400px 0px;
    background-color: rgba(255, 186, 186, 0.9);
    height: auto;
    font-weight: 600;
    display: none;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft2 {
    from {
        transform: translateX(-69%);
    }

    to {
        transform: translateX(0);
    }
}

.becate {
    overflow: hidden;
}

.becate.scroll-activated .becate-info {
    display: flex;
    animation: slideInRight 1.5s ease-in-out;
}

.becate.scroll-activated .becate-CA {
    animation: slideInRight2 1.8s ease-in-out;
}

.becate-CA {
    width: 100%;

}

.becate-info {
    position: relative;
    backdrop-filter: blur(4px);
    border-radius: 400px 0px 0px 400px;
    background-color: rgba(107, 205, 240, .9);
    height: auto;
    font-weight: 600;
    display: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight2 {
    from {
        transform: translateX(69%);
    }

    to {
        transform: translateX(0);
    }
}

.img-donar-wave {
    width: 100%;
    max-width: 100%;
    position: relative;
    aspect-ratio: 8.67/1;
    background-image: url('../img/wave-2.webp');
    background-size: cover;
    background-position: center;
}

.img-donar {
    width: 100%;
    max-width: 100%;
    position: relative;
    aspect-ratio: 15/4;
    background-image: url('../img/img-donar.webp');
    background-size: cover;
    background-position: center;
    border-radius: 0px 0px 32px 32px;
}

.overlay-donar {
    width: 100%;
    max-width: 100%;
    height: 100%;
    /* backdrop-filter: blur(4px); */
    background-color: rgba(125, 82, 134, .38);
    border-radius: 0px 0px 32px 32px;

}

.arrow {
    width: 0;
    height: 0;
    border-left: 121px solid transparent;
    border-right: 121px solid transparent;
    border-top: 25px solid #3B2A49;
    margin: 0 auto;
    top: 0;
    z-index: -1;
}

.circle-donar {
    background-color: var(--morado-claro-70);
    border-radius: 50%;
    aspect-ratio: 1/1;

}

/* Carrusel Testimonios */
.owl-carousel {
    height: 316px;
}

.owl-stage-outer {
    padding: 0 11%;
}

.slider-carousel .card {
    min-height: 268px;
}

.slider-carousel .owl-nav {
    position: relative;
    top: -100%;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.slider-carousel .owl-nav button.owl-prev,
.slider-carousel .owl-nav button.owl-next {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--morado-claro-70) 0 0 !important;
    color: var(--white) !important;
    width: 65px;
    height: 100%;
}

/* Carrusel Noticias */
.carousel-indicators {
    position: relative;

}

#carousel-noticias .btn-primary {
    width: auto;
}

.carousel-indicators li {
    background-color: var(--primary);
    width: 20px;
    height: 20px;
    border-radius: 50%;
}


/* Extra small devices 320px */
@media(min-width: 320px)and (max-width: 575.98px) {
    .img-banner {
        aspect-ratio: 0.64;
        background-image: url('../img/banner-sm.webp');
    }

    #Proyectos .h4 {
        font-size: 1rem;
    }

    #Proyectos .btn-primary {
        width: 60%;
    }

    .preIcfes.scroll-activated .preIcfes-CA {
        animation: none;
    }

    .becate.scroll-activated .becate-CA {
        animation: none;
    }

    .img-donar {
        aspect-ratio: 24/11;
        border-radius: 0px 0px 16px 16px;
    }

    .overlay-donar {
        border-radius: 0px 0px 16px 16px;
    }

    .arrow {
        border-left: 60px solid transparent;
        border-right: 60px solid transparent;
        top: 1%;
    }

    #Donar .btn-primary {
        width: 100%;
    }

    /* carrusel testimonios */
    .owl-stage-outer {
        margin: 0;
    }

    .slider-carousel .card {
        min-height: auto;
    }

    .slider-carousel .owl-nav {
        padding: 0 0.5em;
    }

    .slider-carousel .owl-nav button.owl-prev,
    .slider-carousel .owl-nav button.owl-next {
        aspect-ratio: 1/1;
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

    /* carrusel noticias */
    #carousel-noticias .carousel-item {
        width: 90%;
        max-width: 90%;
    }
}

/* Small devices landscape phones, 576px and up */
@media(min-width: 576px) and (max-width: 767.98px) {
    .img-banner {
        aspect-ratio: 1.152;
        background-image: url('../img/banner-sm.webp');
    }

    .preIcfes.scroll-activated .preIcfes-CA {
        animation: none;
    }

    .becate.scroll-activated .becate-CA {
        animation: none;
    }

    #carousel-noticias .carousel-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .img-banner {
        background-image: url('../img/banner.webp');
        aspect-ratio: 24/10;
    }

    .preIcfes.scroll-activated .preIcfes-CA {
        animation: none;
    }

    .becate.scroll-activated .becate-CA {
        animation: none;
    }

    /* carrusel noticias */
    #carousel-noticias .carousel-item {
        width: 100%;
        max-width: 100%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .img-banner {
        background-image: url('../img/banner.webp');
    }

    .img-cifras {
        background-image: url('../img/wave-xl.webp');
        aspect-ratio: 8.675;

    }

    #card-wrapper-noticias .card {
        max-width: 25.3472222vw;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .img-banner {
        background-image: url('../img/banner.webp');
    }

    .circle-donar {
        max-width: 280.8px;
    }

    #card-wrapper-noticias .card {
        max-width: 25.3472222vw;
    }
}

@media (min-width: 1900px) {
    .img-cifras {
        background-image: url('../img/wave-xl.webp');
        aspect-ratio: 8.675;
    }
}