:root {
    --bg-dark: #E0E0E0;
    --bg-light: #F5F5F5;
    --card: #FFFFFF;
    --head: #2B2525;
    --main-text: #5C5C5C;
    --primary: #0DCAF0;
    --stroke: #C2C2C2;
}

#about-block {
    background: var(--bg-light);
    margin-top: 80px;
}

#about-block .about-block-outer {
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
    overflow: hidden;
}

#about-block .alignwide {
    width: unset;
}

#about-block .about-block-outer .about-title {
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    width: fit-content;

}

#about-block .about-block-outer .about-title span {
    color: var(--primary, #0DCAF0);
    font-weight: 800;
}

#about-block .about-block-outer .about-title svg {
    display: flex;
    flex-direction: column-reverse;
    margin-left: auto;

}



#about-block .about-subtitle {
    color: var(--head, #2B2525);
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    display: flex;
    flex-direction: column;
    margin-top: 48px;
    gap: 10px;
}

#about-block .subtitle_holder {
    display: flex;
    flex-direction: row;
    gap: 20px;
    max-width: 660px;
}

#about-block .subtitle_holder .count {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: var(--primary, #0DCAF0);
    border-radius: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.count {
    color: var(--card, #FFF);
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 120%;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.bgimg {
    position: absolute;
    right: 0;
    max-width: 848px;
    max-height: 378px;

}

.bgimg .img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media screen and (max-width: 503px) {
    #about-block .about-block-outer .about-title svg {
        display: none;
    }

    #about-block .about-block-outer .about-title {
        font-size: 22px;
    }

    #about-block .about-subtitle {
        font-size: 18px;
    }
}

@media screen and (max-width: 1000px) {
    .bgimg {
        display: none;
    }
}

@media screen and (max-width: 1180px) {
    #about-block .about-block-outer {
        padding-left: 35px;
    }
}