@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root{
    --Green_one: #223621ff;
    --Green_two: #374C38ff;
    --Green_three: #4B6A46ff;
    --Green_four: #5F865Eff;
    --Green_five: #E4EAE1ff;
}
*{
    margin: 0;
}

.seccion_dos{
    height: 85vh;
    background-image: linear-gradient(rgba(192, 189, 189, 0.4), rgba(192, 189, 189, 0.4)), url(../IMG/fondo_two.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:0;
}
.encabezado_imagenes{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 15px;
    width: 80%;
    margin: auto;
}
.titulo_imagenes{
    color: #fff;
    font-weight: 600;
    font-size: 30px;
    opacity: 0;
    transition: 1.01s ease all;
}
.titulo_imagenes--visible{
    opacity: 1;
}
.contenedor_imagenes{
    display: flex;
    justify-content: space-evenly;
    margin: 2rem;
    gap: 1rem;
}
.tarjeta{
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
    opacity: 0;
    transition: 1.01s ease all;
}
.tarjeta--visible{
    opacity: 1;
}
.tarjeta .cara {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;

}

.tarjeta .enfrente {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}

.tarjeta .enfrente img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tarjeta .atras {
    transform: perspective(600px) rotateY(180deg);
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}
.tarjeta:hover .enfrente {
    transform: perspective(600px) rotateY(180deg);
}

.tarjeta:hover .atras {
    transform: perspective(600px) rotateY(360deg);
}

.image-back{
    height: 100%;
    width: 100%;
}