/* Media */
@media (max-width: 1230px) {

    header, main, footer {
    width: 750px;
    }

    body {
    min-height: 100vh;
    }

    /* Grip */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr)
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr)
    }
}

@media (max-width: 780px) {

    header, main, footer {
    width: 100%;
    }

    body {
    min-height: 100vh;
    }

    html {
        font-size: 0.875rem;
    }

    header img {
        height: 40px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    h5 {
        font-size: 1rem;
    }

    h6 {
        font-size: 0.9rem;
    }

    p {
        font-size: 0.875rem;
    }

    a {
        font-size: 0.875rem;
    }

    figure {
        font-size: 0.9rem;
    }

    /* Grip */
    .grid-3 {
        grid-template-columns: repeat(1, 1fr)
    }

    .grid-2 {
        grid-template-columns: repeat(1, 1fr)
    }

    .grid-2-2-1 {
        grid-template-columns: repeat(1, 1fr)
    }
}
