.container__parallax{
    max-width: 1500px;
    margin: auto;
    display: grid; /* Usamos Grid */
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Configuración dinámica */
    gap: 20px; /* Espacio entre elementos */
    justify-items: center; /* Centra los elementos horizontalmente */
    align-items: center; /* Centra los elementos verticalmente */
    margin-bottom: 2rem;
    
}

.parallax{
    width: 100%; /* Ajusta el ancho al tamaño de la celda */
    transition: transform 0.3s ease, grid-row-start 0.3s ease; /* Animación suave */
    text-decoration: none;
}

.parallax .cover{
    position: relative;
    width: 100%; /* Ajusta el ancho al 100% del padre */
    overflow: hidden;
}

.parallax .cover img{
    display: block;
    margin: auto;
    max-width: 100%; /* Ajusta el ancho máximo de la imagen */
    height: 13rem; /* Ajusta la altura automáticamente */
    top: 60px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(5px 5px 4px rgba(0,0,0,.5));
    transition: all .4s;
}

.parallax .cover svg{
    display: block;
    margin: auto;
    max-width: 100%; /* Ajusta el ancho máximo de la imagen */
    height: 13rem; /* Ajusta la altura automáticamente */
    top: 60px;
    position: relative;
    z-index: 1;
    filter: drop-shadow(5px 5px 4px rgba(0,0,0,.5));
    transition: all .4s;
}

.parallax .img__back{
    width: 100%;
    height: 200px;
    position: absolute;
    bottom: -80px;
    left: 0;
    background-size: cover;
    border-radius: 1rem;
    transition: all .3s;
}

.parallax .img__back{
    background-image: url(../../img/layout/GettyImages-1204731554_White.jpg);
}

.parallax .descripcion{
    font-weight: bold;
    background-color: #F2F4FF;
    margin-top: -1rem;
    padding: 2rem .5rem 0 .5rem;
    border-radius: 0 0 1rem 1rem;
    transition: all .3s;
    text-align: center;
    align-content: center;
}

.parallax .descripcion p.titulo{
    font-size: 16px;
    margin-top: 1rem;
    min-height: 2rem;
}

.parallax .descripcion p.subtitulo{
    font-size: 12px;
}

.parallax .descripcion.estado0{
    background-color: var(--grey1);
    color: var(--grey3);
}

.parallax .descripcion.estado1{
    background-color: var(--green1);
    color: var(--green3);
}

.parallax .descripcion.estado2{
    background-color: var(--red1);
    color: var(--red3);
}

.parallax .descripcion.estado3{
    background-color: var(--yellow1);
    color: var(--yellow3);
}


.parallax .descripcion.estado4{
    background-color: var(--blue3);
    color: var(--blue2);
}

/* ---------------------*/
/*      ANIMACIONES     */
/* -------------------- */

.parallax .descripcion input:hover{
    background: #414B61;

}

.parallax:hover{
    transform: scale(1.05); /* Escala la ficha al hacer hover */
    z-index: 10; /* Asegura que la ficha esté por encima del resto */
}

.parallax:hover .cover img{
    top:0px;
    filter: none;   /* Quitamos la sombra al hacer hover */
    animation-name: flotar;
    animation-delay: .4s;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-fill-mode:both;
    animation-direction: normal;
}

@keyframes flotar {
    0% { transform: translateY(0); }
    25% { transform: translateY(10px); }
    50% { transform: translateY(20px); }
    75% { transform: translateY(10px); }
    100% { transform: translateY(0); }

}

.parallax:hover .img__back{
    bottom: -40px;
}