body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    grid-gap: 15px;
}

.gallery {
    grid-gap: 15px;

    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}





/* Estilos para Mobile */
@media (max-width: 768px) {
.gallery-item {

    overflow: hidden;
    cursor: pointer;
     position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    height: 200px;
}
}

/* Estilos para Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
.gallery-item {
    flex: 1 1 calc(33% - 10px);
    max-width: calc(33% - 10px);
    overflow: hidden;
    cursor: pointer;
     position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        height: 200px; /* Defina uma altura fixa para manter a proporção */

}}

/* Estilos para Desktop */
@media (min-width: 1025px) {
.gallery-item {
    flex: 1 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
    overflow: hidden;
    cursor: pointer;
     position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        height: 200px; /* Defina uma altura fixa para manter a proporção */

}
}





.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o container */
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}
