
html, body {
    width: 100%;
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #fff;
    color: #111;
}

h1 {
    font-weight: 500;
    font-size: 1.0rem;
}

h2 {
    font-weight: 300;
    font-size: 0.80rem;
}

h3 {
    font-weight: 300;
    font-size: 0.65rem;
}

p {
    font-size: 0.65rem;
    line-height: 1rem;
}

a {
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
}

.container {
    max-width: 100%vmax;
    margin: 0;
    padding: 0;
}

.grid {
    display: grid;
    grid-template-columns: 0.5855fr 2fr 0.5855fr;
    grid-template-rows: 60px 50px auto 52px;
    align-items: start;
    justify-content: space-between;
}

.seta_esquerda {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    justify-self: end;
    margin-right: 12px;
}

.seta_direita {
    grid-column: 3;
    grid-row: 3;
    align-self: center;
    justify-self: left;
    margin-left: 12px;
}

header {
    grid-column: 2 / 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    border-bottom: 1px solid #111;
}

header h1, header h2 {
    display: inline;
}

header nav h2{
    margin-right: 15px;
}

header nav h2:nth-last-child(1) {
    margin-right: 0;
}

header nav a {
    text-decoration: none;
    color: #111;
}

.nav_retorno {
    grid-column: 2 / 3;
    grid-row: 2;
}

.nav_retorno a {
    display: flex;
}

.nav_retorno p {
    line-height: 50px;
    height: 50px;
}

.nav_retorno img {
    margin-right: 2px;
    align-self: center;
}

main {
    /*margin-top: 30px;*/
    grid-column: 2 / 3;
    grid-row: 3;
    justify-self: center;
}

.contato {
    grid-column: 2 / 3;
    grid-row: 4;
    align-self: center;
    justify-self: center;
}

.contato a {
    text-transform: none;
}
 
img {
    max-width: 100%;
    max-height: 77dvh;
}

footer {
    grid-column: 2 / 3;
    grid-row: 4;
    align-self: center;
    justify-self: center;
}


@media (max-width: 960px) {

    .grid {
        grid-template-columns: 0.14fr 1fr 1fr 0.14fr;
        grid-template-rows: 50px 30px auto 32px;
    }

    h1 {
        font-size: 0.70rem;
    }

    h2 {
        font-weight: 400;
        font-size: 0.55rem;
    }

    header {
        height: 50px;
        grid-column: 2 / 4;
    }

    header nav h2 {
        margin-right: 8px;
    }

    header nav h2:nth-last-child(1) {
        margin-right: 0;
    }

    .nav_retorno p {
        line-height: 30px;
        height: 30px;
    }

    .nav_retorno img {
        max-height: 18px;
    }
    
    main {
        margin-top: 20px;
        grid-column: 2 / 4;
    }

    .seta_esquerda {
        grid-column: 1;
        grid-row: 3;
        align-self: center;
        justify-self: end;
        margin: auto 1px;
    }

    .seta_direita {
        grid-column: 4;
        grid-row: 3;
        align-self: center;
        justify-self: left;
        margin: auto 1px;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }

    .seta_esquerda img, .seta_direita img {
        max-height: 50px;
    }

    footer {
        grid-column: 2 / 4;
    }
}