.fondo-animacion {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 100%;
}
.fondo-animacion::before {
    content: '';
    position: absolute;
    width: 25%;
    background-image: linear-gradient(180deg, rgb(255, 92, 109), rgb(194, 87, 225));
    height: 180%;
    animation: rotBGimg 3s linear infinite;
    transition: all 0.2s linear;
}
@keyframes rotBGimg {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.fondo-animacion::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 200px;
    
}
.img-wrapper--nosotros {
    z-index: 1;
    background-image: url(../img/img1-nosotros.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 100%;    
}
.info3-nosotros {
    background-color: rgba(255, 184, 184, 0.8);
}
.info3-nosotros p{
    font-weight: 500;
}
.btn-container {
    background-color: rgba(108, 117, 125, 0.3);
    border-radius: 1em;
    display: flex;
    justify-content: center;
}
.btn-bar {
    border-radius: 1rem;
}
.btn-bar:focus,
.btn-bar:not(:disabled):not(.disabled):active,
.btn-bar.toggled {
    background-color: var(--primary);
    border-color: var(--bg-secondary);

}
.btn-toggle.toggled {
    pointer-events: none;
    /* Desactiva el clic en el botón */

    cursor: default;
    /* Cambia el cursor para indicar que el botón no es interactivo */
}
.img-wrapper--nosotros-mision,
.img-wrapper--nosotros-vision {
    border-radius: 1em;
}
.img-wrapper--nosotros-vision{
    padding: 0 4em;
}
.img-wrapper--fundacion img {
    width: 80%;
    max-width: 80%;
    min-width: 80%;
}
/* Estilos pantallas Extragrandes (xl)*/
@media (min-width: 1200px) {
   
.titulo2-nosotros {
    margin-top: 3em;
}

.btn-toolbar {
    width: 100%;
    height: 7.875em;
    margin: 3em 0;
}

.btn-container {
    width: 100%;
    gap: 4.25em;
    flex-wrap: wrap;
    align-content: center;
}

.btn-bar {
    width: 41%;
    min-height: 60px;
    font-size: 1.5em;
    font-weight: 700;
}
.img-wrapper--nosotros-mision,
.img-wrapper--nosotros-vision {
    
    border-radius: 1em;
    max-height: 300px;
    overflow: hidden;
    padding: 0;
}

.img-wrapper--nosotros-mision img,
.img-wrapper--nosotros-vision img {
    max-width: 100%;
    width: 100%;
    border-radius: 1em;
    height: auto;

}

}
/* Estilos telefonos Estandar (s)*/
@media (min-width: 321px) and (max-width: 767px) {
    #Nosotros h1{
        font-size: 2em;
    }
    .btn-toolbar {
        width: 100%;
        height: 6.875em;
        margin: 3em 0;
    }
    .btn-container {
        width: 100%;
        gap: 1.25em;
        flex-wrap: wrap;
        align-content: center;
    }
    .btn-bar {
        width: 41%;
        min-height: 60px;
        font-size: 1.5em;
        font-weight: 700;
    }
    .btn-bar:focus,
    .btn-bar:not(:disabled):not(.disabled):active {
        background-color: var(--primary);
        border-color: var(--bg-secondary);
    }
    .img-wrapper--nosotros-mision img,
    .img-wrapper--nosotros-vision img {
        width: auto;
        max-width: 100%;
        border-radius: 1em;
        min-height: 200px;
        max-height: 200px;
        
    }
    .texto-fundacion {
        flex-basis: 100%;

    }
    .img-wrapper--fundacion img {
        width: 100%;
        max-width: 100%;
        padding: 1em 0;
        margin-bottom: 2em;
    }
}
/* Estilos telefonos muy pequeños (xs)*/
@media (max-width:320px) {
    
    .titulo2-nosotros {
        margin-top: 2em;
        font-size: 1.25em;
        text-align: center;
    }
    .btn-toolbar {
        width: 100%;
        height: 6.875em;
        margin: 3em 0;
    }
    .btn-container {
        width: 100%;
        gap: 1.25em;
        flex-wrap: wrap;
        align-content: center;
    }
    .btn-bar {
        width: 41%;
        min-height: 60px;
        font-size: 1.5em;
        font-weight: 700;
    }
    .btn-bar:focus,
    .btn-bar:not(:disabled):not(.disabled):active {
        background-color: var(--primary);
        border-color: var(--bg-secondary);
    }
    .img-wrapper--nosotros-mision img,
    .img-wrapper--nosotros-vision img {
        width: auto;
        max-width: 100%;
        border-radius: 1em;
        min-height: 200px;
        max-height: 200px;
    }
    .img-wrapper--fundacion img {
        width: 100%;
        max-width: 100%;
    }
}
/* Estilos pantallas medianas (md) */
@media (min-width: 768px) and (max-width: 992px) {
    .fondo-animacion{
        aspect-ratio: 1/1;
        flex: 0 0 50%;
    }
    .btn-toolbar {
        width: 100%;
        height: 7.875em;
        margin: 3em 0;
    }
    .btn-container {
        width: 100%;
        gap: 4.25em;
        flex-wrap: wrap;
        align-content: center;
    }
    .btn-bar {
        width: 41%;
        min-height: 60px;
        font-size: 1.5em;
        font-weight: 700;
    }
    .btn-bar:focus,
    .btn-bar:not(:disabled):not(.disabled):active {
        background-color: var(--primary);
        border-color: var(--bg-secondary);
    }
    .img-wrapper--nosotros-mision,
    .img-wrapper--nosotros-vision {
        border-radius: 1em;
        overflow: hidden;
    }

    .img-wrapper--nosotros-mision img,
    .img-wrapper--nosotros-vision img {
        width: 100%;
        border-radius: 1em;
        height: 300px;
        max-height: 300px;
    }
    .img-wrapper--fundacion img {
        width: 100%;
        max-width: 400px;
        min-width: 400px;
        margin: 0 2em;
        padding: 2em 0;
    }
}

/* Estilos pantallas grandes (lg)*/
@media (min-width: 993px) and (max-width: 1199px) {
    .fondo-animacion{
        aspect-ratio: 1/1;
        flex: 0 0 50%;
    }
    .btn-toolbar {
        width: 100%;
        height: 7.875em;
        margin: 3em 0;
    }
    .btn-container {
        width: 100%;
        gap: 4.25em;
        flex-wrap: wrap;
        align-content: center;
    }
    .btn-bar {
        width: 41%;
        min-height: 60px;
        font-size: 1.5em;
        font-weight: 700;
    }
    .btn-bar:focus,
    .btn-bar:not(:disabled):not(.disabled):active {
        background-color: var(--primary);
        border-color: var(--bg-secondary);
    }
    .img-wrapper--nosotros-mision,
    .img-wrapper--nosotros-vision {
        border-radius: 1em;
        overflow: hidden;
    }
    .img-wrapper--nosotros-mision img,
    .img-wrapper--nosotros-vision img {
        width: 100%;
        border-radius: 1em;
        height: 300px;
    }
}