.block-selector-areas {    
    display: flex;    
}

.block-selector-areas .invisible {
    display: none;
}

.block-selector-areas .area-texto {    
    width: 40%;
    color: #FAF9FC;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1rem;
    
}



.block-selector-areas .area-fotos {    
    width: 60%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}




.block-selector-areas .area-texto .block-copete {
    font-size: 0.8rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    line-height: 1;
}

.block-selector-areas .area-texto h2.block-titulo {
    color: #FAF9FC;
    font-size: 4.5rem !important;  
    margin-bottom: 0.5rem;     
}

.block-selector-areas .area-texto .block-boton {
    color: #FAF9FC;
    background-color: rgb(251, 187, 55);
    padding: 0.6rem 1.2rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    border-radius: 999px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    transition: all 0.2s ease;

}

.block-selector-areas .area-texto .block-boton:hover {
    box-shadow: unset;
    background-color: #010101;
    color: #FAF9FC;
}

.block-selector-areas .area-fotos .espacio {
    min-height: 24rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

@media (max-width: 750px) {
    .block-selector-areas { flex-direction: column-reverse;}
    .block-selector-areas .area-texto { width: 100%; margin-top: 2rem; align-items: center;}
    .block-selector-areas .area-fotos { width: 100%; 
        grid-template-columns: unset;
    grid-template-areas: "a a a b b"
                         "a a a c c";}   
                         
                         .block-selector-areas .area-fotos .espacio { border-radius: 1rem;}
    .block-selector-areas .area-fotos .espacio-a { grid-area: a;}
    .block-selector-areas .area-fotos .espacio-b { grid-area: b; min-height: 8rem;}
    .block-selector-areas .area-fotos .espacio-c { grid-area: c; min-height: 8rem;}
}


.block-selector-areas .area-fotos .espacio-b, .block-selector-areas .area-fotos .espacio-c {
    cursor: pointer;
}

.block-selector-areas .area-fotos .espacio .adentro{
    position: absolute;
    right: 100%;
 height: 100%;
 width: 100%;
 background-size: cover;
 background-repeat: no-repeat;
 background-position: center center;
}


.block-selector-areas .area-fotos .espacio .etiqueta {
    background-color: rgba(251, 187, 55, 0.9);
    color: white;
    padding: 0.5rem 2rem 0.25rem 2rem;
    transform-origin: left bottom; 
    transform: rotate(-90deg) translateY(2rem);
    position: absolute; /* Para posicionar la etiqueta de forma absoluta dentro del contenedor .espacio */
    left: 2; /* Margen izquierdo de la etiqueta */
    bottom: 1rem; /* Inicialmente, la etiqueta estará al inicio del contenedor .espacio */

}


/* animacion slide in */

.animar {
    animation: entrada 1s forwards;
}

@keyframes entrada {
    from {
        right: 100%;       
    }
    to {
        right: 0;
    }
}


@keyframes slide-in {
    from {
        left: -100%;
    }
    to {
        left: 0;
    }
}

@keyframes fade-out {
    from {
        opacity: 1; /* Comienza con opacidad completa */
    }
    to {
        opacity: 0; /* Se desvanece a opacidad 0 */
    }
}