.dates-container{
    display: flex;    
}
@media (min-width: 1250px){
    .about-container{
        width: 1240px;                   
    }  
    .dates-container{
        flex-direction: row;     
        justify-content: space-between;
        flex-wrap: wrap;
    }  
    .title{
        width: 1240px;
        font-size: 26px;
    }      
    .hist-block{
        width: 47%;
        margin-top: 50px;
    }  
}
@media (min-width: 751px) and (max-width:1250px){
    .about-container{
        width: 90%;        
    }    
    .dates-container{
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .title{
        width: 90%;
        font-size: 26px;
    }
    .hist-block{
        width: 47%;
        margin-top: 50px;
    }
}
@media (max-width: 750px){
    .about-container{
        width: 90%;        
    }    
    .dates-container{
        flex-direction: column;
        align-items: center;
    }
    .title{
        width: 90%;
        font-size: 22px;
    }
    .logo-wrapper{
        text-align: center;
    }
    .hist-block{
        width: 90%;
        margin-top: 30px;
    }
}
.title{
    margin: 50px 0 0 0;
}
.hist-block img{
    width: 100%;
}
.hist-date{    
    font-weight: 700;
    font-size: 110px;
    line-height: 100%;    
    margin: 0 0 0 50px;
    cursor: default;
}
.hist-text{    
    font-weight: 400;
    font-size: 15px;
    line-height: 140%;
    color: #232F4F;
    cursor: default;
}
.text-gray{
    color: #DEE2EB;
}
.text-white{
    color: #F7F9FC;
}
.hist-logo{
    width: auto !important;
}

.gallery{
    display: flex;    
    gap: 8px;
    align-items: flex-start;
}
.gal-item{
    cursor: pointer;
}
@media (min-width: 1024px){
    .gallery{
        flex-wrap: wrap;        
    }
    .gal-item:nth-child(1){
        width: 151px;
        align-self: end;
    }
    .gal-item:nth-child(2){
        width: 94px;
        align-self: end;
    }
    .gal-item:nth-child(3){
        width: 198px;
        align-self: end;
    }
    .gal-item:nth-child(4){
        width: 198px;
        align-self: end;
    }
    .gal-item:nth-child(5){
        width: 233px;
        align-self: end;
    }
    .gal-item:nth-child(6){
        width: 163px;
        align-self: end;
    }
    .gal-item:nth-child(7){
        width: 161px;
    }
    .gal-item:nth-child(8){
        width: 178px;
    }
    .gal-item:nth-child(9){
        width: 248px;
    }
    .gal-item:nth-child(10){
        width: 119px;
    }
    .gal-item:nth-child(11){
        width: 248px;
    }
    .gal-item:nth-child(12){
        width: 245px;
    }
    .gal-item:nth-child(13){
        width: 245px;
    }
    .gal-item:nth-child(14){
        width: 165px;
    }
    .gal-item:nth-child(15){
        width: 165px;
    }
    .gal-item:nth-child(16){
        width: 162px;
    }
    .gal-item:nth-child(17){
        width: 160px;
    }
    .gal-item:nth-child(18){
        width: 117px;
    }
    .gal-item:nth-child(19){
        width: 185px;
    }
    .gal-item:nth-child(20){
        width: 120px;
    }
    .gal-item:nth-child(21){
        width: 248px;
    }
    .gal-item:nth-child(22){
        width: 248px;
    }
    .gal-item:nth-child(23){
        width: 176px;
    }
    .gal-item:nth-child(24){
        width: 132px;
    }
    .gal-item:nth-child(25){
        width: 247px;
    }
    .gal-item:nth-child(26){
        width: 247px;
    }
    .gal-item:nth-child(27){
        width: 247px;
    }
    .gal-item:nth-child(28){
        width: 247px;
    }
}
@media (max-width: 1023px){
    .gallery{
        flex-direction: column;
    }
    .gal-item{
        width: 100%;
    }
}
.modal{
    width: fit-content !important;
    background: rgba(140, 140, 140, 0);  
    max-width: 80vw !important;    
    box-shadow: none;
}
.gal-arrow{    
    cursor: pointer;
    filter: brightness(0) invert(1);
}
@media (max-width: 800px){
    .modal{
        padding-left: 2px;
        padding-right: 2px;
    }
    .modal-content{
        justify-content: center;
    }
    .gal-arrow-left{
        margin-right: 5px;
    }
    .gal-arrow-right{
        margin-left: 5px;
    }
    .gal-arrow{
        height: 25px;
    }
}
@media (min-width: 801px){
    .modal-content{
        justify-content: space-between;
    }
    .gal-arrow-left{
        margin-right: 10px;
    }
    .gal-arrow-right{
        margin-left: 10px;
    }
    .gal-arrow{
        height: 50px;        
        transition: color 0.5s linear;
    }
    .gal-arrow:hover{
        filter: invert(47%) sepia(59%) saturate(2995%) hue-rotate(197deg) brightness(103%) contrast(94%);
    }
}
.modal-content{
    display: flex;    
    align-items: center;  
    width: 100%;  
}
.img-expanded{
    display: inline-block;      
    min-width: 0;
    max-width: 100%; 
}
.blocker{
    background-color: rgb(40, 48, 77, 0.9) !important;
}


