.album-image img {
    width: 100%;
    height: 100%;
}

.album {
    margin-left: 0;
    padding: 1rem;
    float: left;
    width: 25%;
    background-color: var(--background-color);
}

div.album p {
    font-size: 120%;
    text-align: center;
    margin: 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    aspect-ratio: 1 / 1;
    background-color: #000;
    flex: 1 1 20rem;
}

.gallery-item p {
    text-align: center;
    padding: 1rem;
}

.gallery-image {
    aspect-ratio: 1 / 1;
    min-width: 100%;
    max-height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    max-width: 95%;
    max-height: 95%;
    display: block;
    object-fit: contain;
}

.gallery-description {
    font-size: 125%;
    margin-bottom: 2rem;
    background-color: var(--background-color);
}

.gallery-description-header {
    background-color: var(--secondary-color);
    padding: 1rem;
}

.gallery-description-header p {
    margin: 0;
}

.gallery-description-body {
    padding: 1rem;
}

.gallery-description-body p {
    margin: 0;
}

a.gallery-image {
    width: fit-content;
    height: fit-content;
}

@media only screen and (max-width: 600px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));

    }
}