

/* Contenedor de la imagen en miniatura */
.image-container {
    text-align: center;
    margin-top: 20px;
}

.image-container img {
    width: 200px;
    cursor: pointer;
    transition: transform 0.2s;
}

.image-container img:hover {
    transform: scale(1.1);
}

/* Estilos del modal */
.modal-foto {
    display: none; /* 🔹 Ocultar el modal por defecto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* Contenedor del contenido dentro del modal */
.modal-content-foto {
    position: relative;
    background: white;
   
  
    text-align: center;
    width: 100%; /* Ocupa el 70% del ancho de la pantalla */
   
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Imagen dentro del modal */
.modal-foto img {
    width: 100%; /* La imagen ocupa el 100% del modal */
    max-height: 80vh; /* Máximo 80% del alto de la pantalla */
    object-fit: contain; /* Ajusta la imagen sin recortar */
    border-radius: 5px;
}

/* .delete {
    position: absolute;
    top: 30px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    color: white;
} */

.close{
    position: absolute;
    top: 10px;
    padding: 8px 12px;

    cursor: pointer;
    
    font-size: 20px;
    color: rgb(0, 0, 0);
}
.close{
    color: rgb(0, 0, 0);
    background-color: black;
}

.close {
    right: 50px;
    background: gray;
}
.delete {
    right: 10px;
    background: red;
}

.aumentar:hover{
    transform: scale(1); /* Aumenta el tamaño */
    /* position: absolute; */
    z-index: 10; /* Se superpone sobre otros elementos */
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);

}

#showImagen2{
    scroll-behavior: smooth;
}