.about-block {
    padding-bottom: 40px;
}
.about-block .wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}
.about-block .about-img {
    width: 100%;
    display: flex;
    height: auto;
    max-height: 367px;
    border-radius: 20px;
    overflow: hidden;
}
.about-block .about-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.about-block .about-info-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    background: var(--bg-dark-2);
    border-radius: 20px;
    padding: 40px;
    width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
    margin-top: -150px;
}
.about-block .about-title {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 32px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--card);
    width: 30%;
}
.about-block .about-desc {
    width: 64%;
}

@media (max-width: 1200px) {
    .about-block .about-info-wrapper {
        width: calc(100% - 30px);
        padding: 15px;
        margin-top: -100px;
        gap: 20px;
    }
    .about-block .about-title {
        font-size: 24px;
    }
    .about-block .about-desc {
        width: 70%;
    }
}

@media (max-width: 996px) {
    .about-block .about-title {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .about-block .about-info-wrapper {
        flex-direction: column;
        margin-top: 20px;
        width: 100%;
    }
    .about-block .about-title {
        width: 100%;
        font-size: 18px;
    }
    .about-block .about-desc {
        width: 100%;
    }
}

@media (max-width: 498px) {
    .about-block .about-img {
        min-height: 150px;
    }
}