.about-block-1-cont{

    background-image: url('../imgs/about-image-1.jpg');
    min-height: 40vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-block-1{
    color: var(--white);
    min-height: 40vh;
}

.about-b2-1{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;    
    margin: 30px 0 110px 0;
    color: var(--black-2);
}
.about-b2-1-image{
    border-radius: 20px;
    background-image: url('../imgs/about-image-2.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.about-b2-1-text-cont{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.about-b2-1-tc-txt{
    font-size: 32px;
    font-weight: 600;
}
.about-b2-1-tc-txt-2{
    /* text-align: justify; */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}
.about-b2-1-text-cont>img{
    width: 200px;
    margin: 16px 0 0 auto;
}

.about-b2-2{
    padding: 120px;
    background-image: url('../imgs/about-image-1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    text-align: center;
    color: var(--white);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
}




.about-b2-3-item > img{ 
    border-radius: 20px;
    width: 100%;
}
.about-b2-3-i-name{
    margin: 16px 0 8px 0;
    font-weight: 600;
    font-size: 20px;
}
.about-b2-3-i-txt{
    font-size: 16px;
    font-weight: 500;
    color: var(--pangea-blue-60);
}

.about-block-2{
    display: flex;
    flex-direction: column;
}
/* .about-more-gallery-btn{

} */
.about-gallery > img{
    cursor: pointer;
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    /* background: linear-gradient(70deg , #f5f5f5, #e5e5e5); */

    animation: skeleton-loading 1s ease infinite alternate;
}
.about-gallery > img:hover{
    opacity: 0.8;
}



@keyframes skeleton-loading {
    0%{
        background-color: var(--skeleton-gray-1);
    }
    100%{
        background-color: var(--skeleton-gray-2);
    }
}








#myModalBackground{
    display: none; 
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

#myModal {
    display: none; 
    z-index: 1;
    width: 90vw;
    height: 100vh;
    grid-template-columns: 1fr;    
    text-align: center;
    color: var(--white);
    gap: 24px;
}



.modal-top{
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    height: 100px;
}
.modal-body{
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    gap: 24px;
    height: calc(100vh - 248px);
}
.modal-bottom{
    height: 100px;
}
  

  
  /* Стили для кнопки закрытия модального окна */
  #closemodal-btn {
    color: var(--white);
    font-size: 56px;
    font-weight: 300;
    cursor: pointer;

}

  
   #closemodal-btn:hover,
   #closemodal-btn:focus {
    opacity: 0.8;

}

#img-modal-gallery{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    max-height: calc(100vh - 248px);
    max-width: 100%;
}

#img-modal-gallery > img{
    max-width: 100%;
    max-height: 100%;
    min-height: 50%;
    min-width: 50%;
    width: auto;
    height: auto;


    object-fit: contain;
    size: 100%;
}

.modal-to-button{
    /* background: rgba(0,0,0,0.05); */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 100;
    color: var(--gray);
    opacity: 0.7;
    cursor: pointer;
    border-radius: 20px;
    /* transition: 0.2s ease; */
    user-select: none;
}
.modal-to-button:hover{
    background: rgba(0,0,0,0.1);
}
.modal-top-counter{
    font-size: 18px;
    font-weight: 600;
}




@media (max-width: 1280px) {
    .br_l{
        display: none;
    }
}
@media (max-width: 1100px) {
    .about-b2-1{
        grid-template-columns: 1fr;
    }
    .about-b2-1-image{
        /* height: calc(100vw - 100px); */
    }

    .about-b2-2{
        padding: 80px;
        font-size: 30px;
    }
    .about-b2-3-item > img{
        border-radius: 12px;
    }
    .about-gallery > img{
        border-radius: 12px;
    }
}



@media (max-width: 900px) {
    
#myModal{
    width: 100vw;
    gap: 10px;
}
.modal-top{
    height: 30px;
}
.modal-bottom{
    height: 30px;
}
#closemodal-btn{
    font-size: 20px;
}
.modal-body,.modal-top{
    grid-template-columns: 20px 1fr 20px;
}
.modal-to-button{
    font-size: 20px;
}
}

@media (max-width: 690px) {
.mfwiftc-buttons-cont{
    display: none;
}
}

@media (max-width: 500px) {
.tb2r-item{
    padding: 16px !important;
}
}
