.image-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 125%; /* Mantiene la proporción 672x838 */
}

.image-container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 45px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.image-container:hover .overlay {
    opacity: 1;
    z-index: 20;
}

.overlay .text {
    font-size: 24px;
    text-align: center;
    color: white;
}

.overlay:hover .text {
    text-decoration: underline;
}