body {
    font-family: 'Raleway';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    background: linear-gradient(130deg, #e5fff9, #f8fff9,#ccf4ff,  #acb8ff);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

body::-webkit-scrollbar {
 display: none; 
}


.gallery {
    display: flex;
    flex-wrap: wrap; /* Permite que las imágenes se envuelvan a la siguiente línea */
    width: 900%;
    height: 100%;
}

.gallery-item {
    position: relative;
    width: 32%; /* Cada imagen ocupa un tercio del contenedor */
    height: 60%; /* Ajusta la altura según sea necesario */
    overflow: hidden;
    background-color: #8cf0f5; /* Color de fondo inicial */
    margin: 5px; /* Añade una pequeña distancia entre las imágenes */
    border-radius: 15px; /* Esquinas redondeadas */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta la imagen sin recortarla */
    transform: scale(1);
    transition: all 0.3s ease;
    filter: grayscale(90%); /* Imagen en escala de grises */
    border-radius: 15px; /* Esquinas redondeadas */
}

.gallery-item.hover img {
    filter: none; /* Imagen a color al pasar el mouse */
    transform: scale(0.95);
}

.floating-button {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 70px; /* Aumenta el tamaño del botón */
    height: 70px; /* Aumenta el tamaño del botón */
    background-color: #0f488c;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    overflow: hidden; /* Asegura que la imagen no se salga del botón */
    z-index: 1000; /* Asegura que el botón esté siempre al frente */
}

.floating-button img {
    width: 100%; /* La imagen cubre todo el botón */
    height: 100%; /* La imagen cubre todo el botón */
    object-fit: contain; /* Ajusta la imagen para cubrir el botón sin distorsionarse */
}

.floating-button:hover {
    background-color: #0f488c;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
    .gallery-item {
        width: 100%; /* Cada imagen ocupa el 100% del ancho del contenedor */
        height: auto; /* Ajusta la altura automáticamente */
    }
}
