main{
    padding: 20px 0;
}

/*
.documents h1{
    text-transform: uppercase;
    font-weight: 700;
    margin:1px 0 0 15px;
}
*/
.doc-photos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin:-25px 0 8px 15px;
}

.doc-photos img{
    width: 80%;
}

.doc-photos figcaption{
    font-size: 14px;
    font-weight: 700;
    margin: 4px 0;
    width: 80%;
}

.doc-photos{
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.files{
    padding: 20px 0;
}

.file-list{
    list-style: none;
}

.file-list a{
    text-decoration: none;
    color: #000;
    margin-left: 8px;
}

.file-list img{
    width: 50px;
    height: auto;
}

.file-list li{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin: 20px;
}
/*
footer{
    background-color: #DB0002;
    padding: 10px 0;
    margin-top: 50px;
}

.footer-container{
    color: #fff;
    display: flex;
    justify-content: space-between;
}
*/





@media (max-width: 1000px){
    .nav-menu li{
        font-size: 14px;
    }
    footer{
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .footer-container{
        flex-direction: column;
        justify-content: flex-start;
    }
    .burger-menu{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
    }
    .burger-menu span{
        color: #fff;
        font-weight: 700;
        text-transform: uppercase;
    }
    .burger-menu .burger-img{
        cursor: pointer;
        width: 40px;
        height: 40px;
        background-image: url('/_assets/elements/menu.png');
        background-position: center;
        background-size: cover;
        transition: all 0.3s ease;
    }
    .nav-menu{
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: repeat(4, 1fr);
        transition: all 1s ease-in;
    }
    .nav-menu li{
        justify-self: center;
    }
    .nav-menu{
        display: none;
    }
}

@media (max-width: 600px) {
    .doc-photos{
        grid-template-columns:1fr;
    }
    .doc-photos figure{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

}

@media (max-width: 560px) {
    .center{
        width: 100%;
        padding: 8px;
    }
    .header-container{
        width:400px;
        font-size: 14px;
    }
    .header-container .logo img{
        width: 100px;
    }
    .contacts{
        width: 80%;
        font-size: 14px;
    }
    .social-media{
        justify-content: flex-start;
        flex-direction: column;
    }
    .media-block{
        margin: 8px 0;
    }
}

@media (max-width: 430px){
    .nav-menu{
        grid-template-rows: repeat(3, 1fr);
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:400px) {
    .header-container{
        width:300px;
        font-size: 14px;
    }
    .header-container .logo img{
        width: 75px;
    }
}