main{
    padding: 90px 0 70px 0;
}
h2{
    font: 700 52px Montserrat;
    color: var(--gray);
    line-height: 64px;
}

/*docs__filter*/
.docs__filter{
    display: flex;
    margin: 80px 0 90px 0;
}
.docs__filter button{
    padding: 15px 22px;
    border: 0;
    background: #fff;
    font: 300 18px/24px Montserrat;
    color: #383535;
    width: 100%;
    cursor: pointer;
    transition:  background .3s ease-in-out;
}
.docs__filter li{
    width: 25%;
    display: flex;

}
button.active__filter{
    background: var(--blue);
    color: #fff;
    font-weight: 600;
}
.documents a{
    font: 600 20px/27px Montserrat;
    color: var(--gray);
    text-decoration: underline;
}
/*
.documents p{
    font: 300 14px/19px Montserrat;
    color: var(--gray);
    padding: 30px 0;
    position: relative;
}
.documents p::after{
    content: '';
    position: absolute;
    max-width: 160px;
    width: 100%;
    height: 2px;
    background: var(--gray);
    bottom: 0;
    left: 0;
}
*/
.document__item:last-child p::after{
    display: none;
}
.document__item{
    margin: 0 0 70px 0;
}
.document__item:last-child{
    margin: 0;
}
.article__item h3{
    font: 700 20px/31px Montserrat;
    color: var(--gray);
    margin: 0 0 50px 0;
}
.article__item p, .article__item a{
    font: 300 20px/31px Montserrat;
    color: var(--gray);
}
.article__item a{
    font-weight: 600;
    text-decoration: underline;
}
.article__item{
    padding: 0 0 50px 0;
    border-bottom: 1px solid var(--gray);
    margin: 0 auto 90px auto;
    max-width: 760px;
}
.article__item:last-child{
    margin: auto;
    border: 0;
    padding: 0;
}
.items p{
    margin: 0 0 48px 0;
}
.items p:last-child{
    margin: 30px 0 0 0;
}
.items__diplay{
    overflow: hidden;
}
.items{
    display: flex;
    align-items: start;
}
.items > div{
    flex: 0 0 100%;
    transition: all .3s ease-in-out;
}


/*Media*/

@media only screen and (max-width: 960px) {
    .container{
        max-width: 600px;
    }
    .docs__filter {
        justify-content: center;
    }
    .docs__filter li{
        width: 50%;
    }
    .docs__filter{
        flex-wrap: wrap;
    }
}
@media only screen and (max-width: 560px){
    h2{
        font-size: 30px;
        line-height: 37px;
    }
    .docs__filter li{
        width: 100%;
    }
} 