@media only screen and (max-width: 1200px) {
    header h1  {
        font-size:2.6em;
    }
    h1 {
        font-size: 2em;
    }
    header, section, .center, .right, .left, .separator, footer, .about {
        grid-column: 1/5;
    }
    .cadre {
        padding-bottom: 40px;
        padding-top: 20px;
    }
}
@media only screen and (max-width: 950px) {
    body {
        font-size:14px;
    }
    p   {
        font-size:1em;
    }

    .cadre {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        margin:10px;
        border: 10px solid var(--dark);
        padding:20px;
        padding-bottom: 50px;
    }

    nav {
        display:none;
        position:fixed;
        top:0px;
        bottom:0px;
        left:0px;
        right:0px;
        z-index:100;
        background-color: var(--light);
        padding:60px;
    }
    a.btn, button.btn {
        white-space: normal;
    }
    nav a {
        font-size:24px;
    }
    nav.is-visible {
        display:block;
    }
    header, section, .center, .right, .left, .separator, .about, .legal {
        grid-column: 1/6;
        width: 100%;
    }
    footer {
        grid-column: 1/6;
        bottom:10px;
    }
    #mobile {
        display: block;
    }
    #close {
        display: block;
    }
}

@media only screen and (max-width: 760px) {
    .cadre {
        width: calc(100vw - 20px);
        height: calc(100vh - 20px);
        margin:10px;
        border: 10px solid var(--dark);
        padding:20px;
        padding-bottom: 20px;
    }
    footer {
        bottom:20px;
        position:relative;
    }
    .cards-grid-3, .cards-grid-5, .cards-grid-2 {
        grid-template-columns: 100%;
    }
    .dashboard {
        grid-template-columns: 45% 45%;
    }
    .card {
        text-align: left,
    }
    .cards-grid-3 img, .cards-grid-5 img {
        display: none;
    }
    .cards-grid-3 h3, .cards-grid-5 h3 {
        margin:0px;
    }
    .about-left {
        grid-column:1/4;
    }
    .about-left img {
        display: none;
    }
    .about-left h1 {
        margin-bottom: 0px;
    }
    .about-right {
        grid-column: 1/4;
    }
}
@media only screen and (max-width: 450px) {
    .dashboard {
        grid-template-columns: 100%;
    }
    .flex {
        flex-direction: column;
    }
}

@media only screen and (min-width: 760px) {
    .services svg {
        display:none;
    }
}
