@import 'header.css';

.gallery {
    --gap: 16px;
    --num-cols: 4;
    --row-height: px;

    box-sizing: border-box;
    padding: var(--gap);

    display: grid;
    grid-template-columns: repeat(auto-fill, 150px);
    grid-auto-rows: 110px;
    gap: var(--gap);

    justify-content: center;
    align-items: center;
}

.image-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 5px solid #555;
    border-radius: 5px;
}

@media screen and (max-width: 1024px) {
    .gallery {
        --num-cols: 2;
        --row-height: 200px;
    }
}

.btn {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 8px 20px;
    text-align: center;
    font-size: 16px;
    margin: 4px 2px;
    opacity: 1;
    transition: 0.3s;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {opacity: 0.8}
.btn:active {opacity: 0.6}

.btn a {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    text-decoration: none;
}