@media screen and (max-width: 768px) {
    body {
        height: auto;
        overflow: auto;
        flex-direction: column;
        padding-top: 40px;
    }
    .folders {
        display: flex;
        flex-direction: column;
    }

    .folder {
        position: static;
        display: block;
        margin: 1rem auto 3rem auto;
        width: 50%;
    }
    .folder img, .folder img.contact {
        width: 100%;
    }
}
@media screen and (max-width: 393px) {
    body {
        padding: 40px;
    }
    .folder {
        width: 80%;
    }
}