header {
    z-index: 100;
}

main {
    max-width: 100vw;
}

.gallery {
    max-width: 100%;
    padding: 0 5vw;
}

.collection {
    margin: 0 auto;
}

.artpiece {
    width: 400px;
    margin-bottom: 10px;
    break-inside: avoid;
    img {
        width: 100%;
    }
    video {
        width: 100%;
    }
    figcaption {
        margin: 2px 10px;
        font-size: 14px;
        color: var(--secondary-text-colour);
    }
}

.gutter-sizer {
    width: 2%;
}

h2 {
    font-size: 4em;
}

#zoomed-in {
    position: fixed;
    top: 12.5vh; left: 15vw;
    width: 70vw;
    height: 75vh;
    background-color: color-mix(in srgb, var(--background-colour) 90%, transparent);
    padding: 7px;
    border-radius: 15px;
    justify-items: center;
    align-content: center;
    z-index: 20;
    img, video {
        width: 90%;
        max-height: 80%;
        object-fit: contain;
    }
    figcaption {
        color: var(--primary-text-colour);
        margin-top: 8px;
        font-size: 18px;
    }
}

.hidden {
    display: none;
}


@media (max-width: 1100px) {
    .artpiece {
        width: 300px;
    }
}