body {
    font-family: Arial, sans-serif;
    text-align: center;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

.container {
    margin-top: 50px;
}

h1 {
    color: #333;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    margin: 20px;
}

.image-container img {
    width: 300px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

/* Efecto de hover para mostrar la imagen ampliada */
.image-container img:hover {
    transform: scale(1.05);
}

/* Estilo para el overlay */
#overlay {
    display: none;
    position: fixed;
    top: 10;
    left: 0;
    width: 100vw;
    height: 70vh;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    border: 5px solid white;
    cursor: pointer;
    transition: transform 0.3s;
}

#overlay img:hover {
    transform: scale(1.1);
}
