.main_gallery_flexContainer {
    display: flex;
    overflow-x: auto;
    /*display: grid;
    grid-template-rows: 10fr 10fr;
    grid-template-columns: 10fr 10fr 10fr 10fr;*/
    /*align-items: baseline;*/
    gap: 10px;
    padding: 10px;
    /*    grid-template-columns: repeat(auto-fit, minmax(315px, 1fr)); */
}
.main_gallery_flexContainer>div/*.main_gridContainer_item*/ {
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 5px 0;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgb(215 215 215 / 70%);
}
.main_gallery_flexContainer>div/*main_gridContainer_item*/:hover {
    background: lightgray;
}
/*img delete*/
.gallery_gridContainer_item_image>img {
    max-height: 430px;
    /*max-width: 100%;*/ /*ADAPTIVE*/
}
.main_gallery_fullContainer {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(40, 40, 40, 0.8);
}
    .gallery_fullContainer_item {
        position: relative;
        max-width: 50%;
        max-height: 50%;
        margin: 0 auto;
    }
        .gallery_gridContainer_item_image {

        }
.gallery_flexContainer_category {
    background: #313d72 !important;
    color: white;
    writing-mode: tb;
    transform: rotate(180deg);
}
    .gallery_flexContainer_category:hover {
        background: rgba(49, 61, 114, 0.85) !important;
    }
    .gallery_flexContainer_category_item {
        padding: 1em;
    }
    
    /*Modal Window*/

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}
    .modal-content {
        margin: auto;
        display: block;
        max-width: 100%;
        max-height: 100%;
    }
    .close {
        color: #fff;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 30px;
        font-weight: bold;
        transition: 0.3s;
    }
        .close:hover,
        .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }
    
    
    