
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.70rem;
}

p {
    font-size: 0.65rem;
    line-height: 1rem;
}

a {
    text-decoration: none;
    color: #111;
}

.italic {
    font-style: italic;
}

.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 / 2;
    grid-row: 3;
    align-self: center;
    justify-self: end;
    margin-right: 12px;
}

.seta_direita {
    grid-column: 3 / 4;
    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-transform: uppercase;
}

.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 {
    grid-column: 2 / 3;
    grid-row: 3;
    justify-self: center;
}

main .grid_main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 55px auto auto;
    column-gap: 0.25%;
    align-items: start;
    justify-content: start;
}

main .col1  {
    grid-column: 1;
}

main .col1_2  {
    grid-column: 1 / 2;
}

main .col1_3 {
    grid-column: 1 / 3;
}

main .col2  {
    grid-column: 2;
}

main .col3  {
    grid-column: 3;
}

main .col3_4  {
    grid-column: 3 / 4;
}

main .col3_5  {
    grid-column: 3 / 5;
}

main .col4  {
    grid-column: 4;
}

main .row1 {
    grid-row: 1;
}

main .row1_1 {
    grid-row: 1 / 2;
}

main .row1_2 {
    grid-row: 1 / 2;
}

main .row1_3 {
    grid-row: 1 / 3;
}

main .row2 {
    grid-row: 2;
}

.texto_oculum {
    padding-right: 20px;
    line-height: 120%;
}

.texto_oculum_links {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 120%;
}

.texto_oculum h1, .texto_oculum_links h1 {
    color: #775d3f;
}

.texto_oculum h2, .texto_oculum_links h2 {
    font-size: 0.9rem;
}

.texto_oculum_links a:link {
    color: #5a2e69;
}

.texto_oculum_links a:hover {
    color: #f08c0a;
}

.texto_oculum_links a:active {
    color: #79f00a;
}

.texto_oculum_links a:visited {
    color: #235d93;
}

img {
    max-width: 100%;
    max-height: 77dvh;
}

footer {
    grid-column: 2 / 3;
    grid-row: 4;
    align-self: center;
    justify-self: center;
}


@media (max-width: 1740px) {

    main .grid_main {
        grid-template-rows: 75px auto auto;
    }

}

@media (max-width: 1400px) {

    main .grid_main {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 60px auto;
    }

    main .bloco1A {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    main .bloco1B {
        grid-column: 1;
        grid-row: 2;
    }

    main .bloco1C {
        grid-column: 2;
        grid-row: 2;
    }

    main .bloco2A {
        grid-column: 3;
        grid-row: 1;
    }

    main .bloco2B {
        grid-column: 3;
        grid-row: 2;
    }

    main .bloco3 {
        grid-column: 3;
        grid-row: 2;
        margin: 250px 0 0 10px;
    }

    main img {
        max-width: 70%;
    }

    main .bloco2B a:nth-last-child {
        padding-bottom: 20px;
    }  

}



@media (max-width: 960px) {

    h1 {
        font-size: 0.70rem;
    }

    h2 {
        font-weight: 400;
        font-size: 0.55rem;
    }

    .grid {
        grid-template-columns: 0.14fr 1fr 1fr 0.14fr;
        grid-template-rows: 50px 30px auto 40px 32px;
        align-items: start;
        justify-content: space-between;
    }

    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;
    }

    .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;
    }
    
    main {
        grid-column: 2 / 4;
    }

    main .grid_main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 50px auto 20px auto;
        column-gap: 0.25%;
        align-items: start;
        justify-content: start;
    }

    main .bloco1A {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    main .bloco1B {
        grid-column: 1;
        grid-row: 2;
    }

    main .bloco1C {
        grid-column: 2;
        grid-row: 2;
    }

    main .bloco2A {
        grid-column: 1;
        grid-row: 4;
    }

    main .bloco2B {
        grid-column: 1;
        grid-row: 4;
        margin-top: 40px;
    }

    main .bloco3 {
        grid-column: 2;
        grid-row: 4;
        margin: 0 0 0 10px;
    }

    .texto_oculum h1, .texto_oculum_links h1 {
        font-size: 1.0rem;
    }

    .texto_oculum_links {
        padding-left: 0;
        padding-right: 20px;
    }  
    
    img {
        max-width: 80%;
        max-height: 80%;
    }

    footer {
        grid-column: 2 / 4;
        grid-row: 4;
    }

}


@media (max-width: 640px) {
    main .grid_main  {
        grid-template-rows: 75px auto 20px auto;
    }
}

@media (max-width: 502px) {
    main .grid_main  {
        grid-template-rows: 90px auto 20px auto;
    }
}