.main-galery-container {
    height: max-content;
    max-width: var(--max-content-width);
    width: 100%;
    align-self: center;
}

.galery-content-main-container {
    height: max-content;
}

.galery-header {
    height: 128px;
    display: flex;
    flex-direction: column;
    margin-top: calc(2*var(--spacing-xl));
}

@media(max-width:1043px) {
    .galery-header {
        height: auto;
        gap: var(--spacing-s);
    }
}

.glr-head-title {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-h1);
    font-family: var(--title-font-style);
}

@media(max-width:1043px) {
    .glr-head-title {
        font-size: var(--font-h2);
    }
}

.glr-head-subtitle {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: var(--font-m);
    font-family: var(--secondary-font-style);
    color: var(--hover-rose);
}

@media(max-width:1043px) {
    .glr-head-subtitle {
        text-align: center;
    }
}

.galery-picture {
    width: 320px;
    height: 360px;
    border-radius: 10px;
    transition: all 300ms ease-in-out;
}

.picture {
    height: 100%;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.galery-picture:hover {
    cursor: pointer;
    box-shadow: 10px 10px 5px #00000073
}

.galery-body {
    height: max-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-xl);
    justify-content: center;
    align-items: center;
    margin-bottom: calc(2*var(--spacing-xl));
    margin-top: calc(2*var(--spacing-xl));
}

.overlay-site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.877);
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.overlay-body {
    width: 95vw;
    height: 86vh;
    border: 0px solid white;
    display: flex;
    flex-direction: column;
}

@media(max-width:1043px) {
    .overlay-body {
        height: 81vh;
        width: 90vw;
        gap: 16px;
    }
}


.overlay-picture {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    border-radius: 10px;
}

.picture-overlay {
    height: 100%;
    width: auto;
    object-fit: contain;
}
@media(max-width:700px){
    .picture-overlay{
        width: 100%;
    }
}
.overlay-controller {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.close-overlay-icon {
    height: 24px;
    width: 24px;
}

.close-overlay-icon {
    cursor: pointer;
}

/* control class */
.display-flex{
    display: flex;
}

.turn-off-scroll {
    overflow: hidden;
}