@media screen and (max-width: 1300px) {
    .all {
        width: 100vw;
        left: 0;
        z-index: 0;
    }
    .nav {
        left: var(--nav-width-retracted);
        transition: 0.3s;
        box-shadow: var(--box-shadow);
    }
    .nav.active {
        left: 0;
    }
    ul.grid-4 {
        grid-template-columns: 1fr 1fr;
        row-gap: 10px;
    }
    ul:not(.list):not(.force-3) {
        grid-template-columns: 1fr 1fr;
    }
    li img {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 1100px) {
    .introduction img,
    .introduction p {
        width: calc(100% - 50px);
    }
}

@media screen and (max-width: 800px) {
    ul:not(.list):not(.force-3) {
        grid-template-columns: 1fr;
        row-gap: 10px;
    }
    li:not(.list-item) {
        margin-right: 0;
    }
}

@media screen and (max-width: 700px) {
    ul.force-3 {
        grid-template-columns: 1fr;
    }
    .introduction {
        height: auto;
        max-height: unset;
    }
    .introduction img {
        width: 66%;
    }
    .references {
        width: 100%;
    }
    .all>.header h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 500px) {
    .all>.header h2 {
        font-size: 18px;
    }
    .references {
        height: 400px;
    }
    .introduction .buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
    .introduction .buttons .button:first-child {
        margin-bottom: 10px;
    }
    .introduction p {
        width: 100%;
    }
    li:not(.list-item) {
        flex-direction: column;
    }
    li:not(.list-item)>*:first-child {
        margin-bottom: 10px;
    }
    li:not(.list-item) .card {
        margin-top: 0;
    }
    .all {
        padding: 5px 10px;
    }
}

@media screen and (max-width: 360px) {
    .card {
        padding: 20px 15px;
    }
}

@media screen and (min-width: 1301px) {
    .all .header .burger {
        display: none !important;
    }
}

.all .header .burger,
.all .header .burger+h2 {
    display: inline-block;
}

.all .header .burger+h2 {
    margin-left: 10px;
}

.all .header .burger {
    font-size: 24px;
    cursor: pointer;
    margin-top: 2.5px;
}