.about-page-block {
    padding-bottom: 20px;
}
.about-page-block .wrapper {
    display: flex;
    flex-direction: column;
}
.about-page-block .banner-wrapper {
    display: flex;
    min-height: 500px;
    padding: 30px;
    background-size: cover;
}
.about-page-block .file-holder {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-left: auto;
    background: white;
    border: 20px solid var(--head);
    padding: 20px;
    min-height: 210px;
    max-width: 210px;
}
.about-page-block .file-holder:hover {
    background: var(--primary);
}
.about-page-block .about-desc {
    max-width: 870px;
    margin: 60px auto;
}
.about-page-block .file-title {
    font-weight: 900;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--primary);
    transition: 0.3s;
}
.about-page-block .file-holder:hover .file-title {
    color: white;
}
.about-page-block .icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary);
    transition: 0.3s;
    margin-top: auto;
}
.about-page-block .icon path {
    transition: 0.3s;
}
.about-page-block .file-holder:hover .icon {
    background: white;
}
.about-page-block .file-holder:hover .icon path {
    stroke: var(--primary);
}

@media (max-width: 996px) {
    .about-page-block .banner-wrapper {
        min-height: 400px;
    }
    .about-page-block .about-desc {
        margin: 20px auto;
    }
}

@media (max-width: 600px) {
    .about-page-block .file-holder {
        max-width: unset;
        border: 5px solid var(--head);
        padding: 5px;
        min-height: unset;
    }
    .about-page-block .banner-wrapper {
        padding: 5px;
    }
}

@media (max-width: 498px) {
    .about-page-block .banner-wrapper {
        min-height: 300px;
        background-position: -100px center;
    }
}