#about-page-block {
    margin-bottom: 40px;
}
#about-page-block .wrapper{
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-radius: 10px;
    background: #F8F8F8;
}
#about-page-block .left-side{
    display: flex;
    flex-direction: column;
    width: 53%;
    padding: 70px 0px 70px 70px;
}
#about-page-block .title{
    font-size: 32px;
    font-weight: 600;
    line-height: 135%;
    text-transform: uppercase;
    text-align: justify;
    margin-bottom: 20px;
    width: fit-content;
}
#about-page-block .desc {
    /* width: 83%; */
}
#about-page-block .desc p{
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    text-align: justify;
}
#about-page-block .img{
    width: 47%;
    padding-top: 60px;
    height: fit-content;
    padding: 140px 70px 70px 20px;
    position: sticky;
    top: -120px;
}
#about-page-block .img img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: scale-down;
    object-position: right;
}
#about-page-block .about-menu{
    margin-top: 40px;
    display: flex;
    gap: 150px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bg);
}
#about-page-block .menu-name{
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #9A9A9A;
}
#about-page-block .menu-item {
    display: block;
    position: relative;
}
#about-page-block .menu-item:before {
    content: "";
    width: 100%;
    height: 2px;
    bottom: 0;
    position: absolute;
    background-color: var(--main);
    left: 0;
    transition: 0.3s;
    opacity: 0;
    bottom: -20px;
}
#about-page-block .menu-item.active:before {
    opacity: 1;
}
#about-page-block .menu-item.active .menu-name{
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: var(--text);
    transition: 0.3s;
}
#about-page-block .menu-item:hover .menu-name {
    color: var(--main);
}
@media (max-width: 1400px) {
    #about-page-block .left-side {
        padding: 30px 0px 30px 30px;
    }
    #about-page-block .title {
        font-size: 28px;
    }
    #about-page-block .desc {
        width: 100%;
    }
    #about-page-block .about-menu {
        gap: 20px;
    }
    #about-page-block .img{
        padding: 95px 30px 30px 10px;
        min-width: 550px;
        top: -65px;
    }
}
@media (max-width: 1200px) {
    #about-page-block .wrapper {
        flex-direction: column;
        align-items: center;
    }
    #about-page-block .left-side {
        width: 100%;
        padding: 20px;
        padding-top: 30px;
    }
    #about-page-block .img {
        width: 100%;
        padding: 0px 20px 30px;
        min-width: auto;
        position:static;
    }
    #about-page-block .img img {
        object-fit: cover;
        object-position: unset;
    }
}
@media (max-width: 767px) {
    #about-page-block .title {
        font-size: 24px;
    }
    
    #about-page-block .wrapper{
        gap: 0;
    }

}
@media (max-width: 600px) {
    #about-page-block .img {
        width: 100%;
    }
}
@media (max-width: 498px) {
    #about-page-block .title {
        font-size: 20px;
    }
    #about-page-block .desc p {
        font-size: 14px;
    }
}