* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 42pt;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    flex: 0 0 32%;
    margin-bottom: 10px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #000;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media only screen and (max-width: 992px) {
    .gallery-item {
        flex: 0 0 48%; /* 2 per row */
    }
}

@media only screen and (max-width: 600px) {
    .gallery-item {
        flex: 0 0 100%; /* 1 per row */
    }

    .gallery-item img {
        width: 100%;
        height: 300px;
        border: 2px solid #009999;
    }
}
