#gallery-wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
}

.gallery-image-button {
    width: calc(33% - 8px);
    height: 15vw;
    /*max-width: 250px;*/
    margin: 0 8px 8px 0;
}

.no-style-button {
    background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

.overlay-button {
    opacity: 0.8;
    margin: 0.5em;
    font-size: 1.5em;
}

.overlay-button:hover {
    opacity: 1;
}

#gallery-wrapper .gallery-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 200;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    color: white;
    backdrop-filter: blur(4px);
}

#close-wrapper {
    text-align: right;
}

#picture-controls-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: stretch;
    align-items: stretch;
}

#picture-wrapper {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.nav-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

#picture-wrapper h2 {
    color: white;
}



.closed {
    display: none !important;
}

#open-video-container {
    width: 100%;
    flex-grow: 1;
}
#open-video-container iframe {
    width: 100%;
    height: 100%;
}

@media only all and (max-width: 1300px) {
    /*.people-wrapper {*/
    /*    justify-content: center;*/
    /*}*/
    .gallery-image-button {
        width: calc(50% - 8px) !important;
        height: 22.5vw !important;
    }
}

@media only all and (max-width: 1000px) {
    /*.people-wrapper {*/
    /*    justify-content: center;*/
    /*}*/
    .gallery-image-button {
        width: calc(50% - 8px) !important;
        height: 33vw !important;
    }
}


@media only all and (max-width: 500px) {
    #gallery-wrapper {
        justify-content: center;
    }
    .gallery-image-button {
        width: 100% !important;
        height: 66vw !important;
        margin-right:0;
    }
}