/* TWELFTH SECTION */

.documents_section {
    background: no-repeat center center/cover;
    padding-top: 117px;
    overflow: hidden;
}

.documents_nav-box {
    display: flex;
    gap: 359px;
}

.documents_heading-box {
    max-width: 1007px;
    margin-bottom: 60px;
}

.documents_heading-row {
    display: flex;
    justify-content: space-between;
}

.documents_heading-box .heading_secondary {
    text-align: justify;
}

.documents_info-box {
    display: flex;
    gap: 321px;
    margin-left: 524px;
}

.documents_info-caption {
    max-width: 366px;
    color: var(--white);
    font-family: 'Helvetica Neue';
    font-size: 16px;
    line-height: 23px;
    margin-top: 37px;
}

.documents_card {
    background-color: var(--black);
    width: 410px;
    padding: 44px 40px 50px 44px;
    position: relative;
}

.documents_card-heading {
    color: var(--white);
    font-family: 'Impact Cyr';
    text-transform: uppercase;
    font-weight: normal;
    font-size: 36px;
    line-height: 100%;
    text-align: justify;
    position: relative;
    z-index: 3;
}

.documents_card-text {
    color: var(--white);
    font-family: 'Helvetica Neue';
    font-size: 16px;
    line-height: 23px;
    margin-top: 32px;
    position: relative;
    z-index: 3;
}

.documents_overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../../img/documents-overlay.png) no-repeat center center/cover;
    top: 0;
    left: 0;    
    z-index: 2;
}

.documents_img {
    display: block;
    margin: 0 auto;
    margin-top: -200px;
    max-width: 1010px;
    width: 100%;
    position: relative;
    z-index: 4;
}

.documents_heading-box .heading_secondary.mobile {
    display: none;
}

/* ADAPTIVE */

@media (max-width: 1919px) {
    .documents_section {
        padding-top: 95px;
    }
    
    .documents_nav-box {
        gap: 101px;
    }
    
    .documents_heading-box {
        max-width: 822px;
        margin-bottom: 17px;
    }

    .documents_heading-box .heading_secondary {
        line-height: 78px;
    }
    
    .documents_info-box {
        gap: 0px;
        justify-content: space-between;
        margin-left: 264px;
    }
    
    .documents_info-caption {
        max-width: 299px;
        font-size: 13px;
        line-height: 19px;
        margin-top: 32px;
    }
    
    .documents_card {
        width: 328px;
        padding: 36px 31px 50px 36px;
    }
    
    .documents_card-heading {
        font-size: 24px;
        line-height: 28px;
    }
    
    .documents_card-text {
        font-size: 14px;
        line-height: 18px;
        margin-top: 11px;
    }

    .documents_img {
        margin-top: -150px;
        max-width: 825px;
    }
}

@media(max-width: 1280px) {
    .documents_section {
        padding-top: 88px;
    }
    
    .documents_nav-box {
        gap: 0px;
        justify-content: flex-end;
    }
    
    .documents_heading-box {
        max-width: 622px;
        margin-bottom: 68px;
    }
    
    .documents_info-box {
        gap: 15px;
        justify-content: flex-end;
        margin-left: 0px;
    }
    
    .documents_info-caption {
        max-width: 260px;
        font-size: 16px;
        line-height: 21px;
        margin-top: 0px;
    }
    
    .documents_card {
        width: 347px;
    }

    .documents_img {
        margin-top: -80px;
        max-width: 460px;
    }

    .documents_heading-box .heading_secondary {
        line-height: 64px;
    }
}

@media (max-width: 767px) {
    .documents_section {
        padding-top: 69px;
    }
    
    .documents_nav-box {
        justify-content: flex-start;
    }
    
    .documents_heading-box {
        max-width: 300px;
        margin-bottom: 33px;
    }
    
    .documents_info-box {
        gap: 94px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .documents_info-caption {
        max-width: 232px;
        font-size: 14px;
        line-height: 18px;
    }
    
    .documents_card {
        width: 100%;
        max-width: 335px;
    }

    .documents_img {
        margin-top: -50px;
        width: 375px;
    }

    .documents_heading-row {
        flex-direction: column;
    }

    .documents_heading-box .heading_secondary.desktop {
        display: none;
    }

    .documents_heading-box .heading_secondary.mobile {
        display: block;
    }

    .documents_heading-row.mobile {
        flex-direction: row;
    }

    .heading_secondary.mobile.moved {
        display: flex;
        justify-content: flex-end;
    }

    .documents_heading-box .heading_secondary {
        line-height: 100%;
    }
}
