@keyframes load-content {
    0% {
        transform: translateY(20%);
    }

    100% {
        transform: none;
    }
}

@keyframes enter-preview {
    0% {
        visibility: visible;
        transform: scale(80%);
    }

    100% {
        visibility: visible;
        transform: scale(100%);
    }
}

@keyframes change-image {
    50% {
        transform: scale(1.1);
    }
}

#subNav {
    position: static;

    padding: 50px 100px 0 100px;

    box-shadow: none;
}

.imageWall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.imageContainer {
    height: 30vw;
    padding: 20px;
}

.imageContainer.portrait {
    width: 25%;
}

.imageContainer.landscape, .imageContainer.dual{
    width: 50%;
}

.imageContainer.square {
    width: 30%;
}

.imageContainer > img {
    height: 100%;
    width: 100%;

    object-fit: cover;

    transition: transform 0.3s;
}

.imageContainer > img:hover {
    transform: scale(1.05);
}

.imageContainer.dual {
    display: flex;
    justify-content: space-between;
}

.imageContainer.dual > img {
    width: 48%;
}

#preview {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.8);

    z-index: 2;
}

#preview.hidden {
    display: none;
}

#preview > img {
    max-width: 70%;
    max-height: 70%;
    
    border: thin solid white;

    animation-duration: 0.3s;
    animation-fill-mode: forwards;
}

#preview > button {
    position: absolute;

    width: 100px;
    height: 100px;

    border-radius: 50%;
    outline: none;
    border: none;
    background-color: transparent;

    font-size: 50px;
    color: white;

    transition: color 0.3s;
}

#preview > button:hover {
    color: var(--secondaryColor);
}

@media (orientation: portrait) {
    #preview > div {
        bottom: 15%;
    }
}