.gallery-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000000;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease-in-out;
}

.transition-fade {
    opacity: 0;
}


@media (max-width: 600px) {
    .gallery-overlay {
        align-items: flex-start;
        padding-top: 10vh;
    }
}

.gallery-container{
    padding: 15px;
    background: var(--border-color);
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 75vw;
    box-shadow: 0px 4px 11px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 4px 11px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 4px 11px 0px rgba(0,0,0,0.5);
}

@media (max-width: 600px) {
    .gallery-container {
        max-width: 90vw;
    }
}

.gallery-image{
    max-width: 80vw;
    max-height: 70vh;
    align-self: center;
}

.gallery-title{
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 0;
    margin-left: 10px;
    color: var(--text-color)
}
.gallery-title-outer{
    font-size: 15px;
    margin-top: 15px;
    margin-bottom: 0;
    margin-left: 10px;
    color: var(--text-color)
}

.gallery-minia{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.gallery-minia-image{
    width: 75px;
    max-height: 75px;
    border-radius: 5px;
    cursor: pointer;
    filter: brightness(0.5);
    object-fit: cover;
    border: 1px solid gray;
}

.gallery-minia-image.active{
    border: 2px solid var(--minia-color);
    filter: none;
}

.open-gallery{
    cursor: pointer;
}

.gallery-button{
    background: transparent;
    border: none;
    cursor: pointer;
    fill: white;
    height: 50vh;
    top:25vh;
    position: absolute;
    padding: 0 70px;
}

.gallery-button svg {
    width: 30px;
}

@media (max-width: 600px) {
    .gallery-button svg {
        display: none;
    }
}

.gallery-button:hover{
    fill: #b3b3b3;   
}

.gallery-button:focus{
    outline: none;
}
.gallery-button.left{
    left: 0;
}

.gallery-button.right{
    right: 0;
}

.no-title{
    display: none;
}