body {
    margin: 0;
    text-align: center;
    box-sizing: border-box;
    background-color: white;
    padding-top: var(--navbar-height, 80px);
    color: #282828;
    font-family: "Inconsolata", monospace;
}

.intro {
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    margin: 0;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    text-align: center;
    padding: 0 clamp(16px, 4vw, 40px);
    box-sizing: border-box;
}

.gallery {
    display: grid;
    width: 100%;
    max-width: 1400px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(16px, 3vw, 30px);
}

.gallery img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #282828;
    box-sizing: border-box;
}

@media (hover: hover) and (min-width: 601px) {
    .gallery a:hover img {
        transform: scale(1.05);
        z-index: 2;
        transition: 0.5s;
    }
}

.button-49 {
    z-index: 1;
    position: fixed;
    color: rgb(255, 255, 255);
    padding: 0.5em 1em;
    outline: none;
    border: double;
    border-radius: 10px;
    border-color: black;
    background-color: hsl(0, 0%, 0%);

    display: block;

    right: 10px;
    bottom: 10px;
    will-change: transform;
    transition: transform 450ms;
}

button::before {
    content: "";
    z-index: -1;
    position: absolute;
    border-radius: 10px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background-color: #ffffff;
    transform-origin: center top;
    transform: scaleY(0);

    transition: transform 0.25s ease-in-out;
}

.button-49:hover {
    cursor: pointer;
    color: black;
    transition: transform 125ms;

    transform: translateY(-7px);
}

.button-49:hover::before {
    transform-origin: center bottom;
    transform: scaleY(1);
}

@media (max-width: 600px) {
    .container {
        margin-top: 20px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}
