
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;
}

.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;
    align-self: center;
    align-items: start;
    justify-content: start;
}

.col1  {
    grid-column: 1;
}


.col1_4 {
    grid-column: 1 / 4;
}

.col1_7 {
    grid-column: 1 / 7;
}

.col2  {
    grid-column: 2;
}

.col3  {
    grid-column: 3;
}

.col4  {
    grid-column: 4;
}

.col4_7  {
    grid-column: 4 / 7;
}

.col5  {
    grid-column: 5;
}

.col6  {
    grid-column: 6;
}

.row1 {
    grid-row: 1;
}

.row1_1 {
    grid-row: 1;
}

.row1_2 {
    grid-row: 1;
}

.row2 {
    grid-row: 2;
}


img {
    max-width: 100%;
    max-height: 77dvh;
}


.thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    column-gap: 0.75%;
    align-items: start;
    justify-content: start;
}

.puccamp {
    width: auto;
    aspect-ratio: 1 / 1;
    background-image: url('../img/thumb_projeto_puc.jpg');
    background-size: contain;
    object-fit: contain;
}

.puccamp:hover {
    background-image: url('../img/thumb_projeto_puc_hv.jpg');
}

.mlpetty {
    width: auto;
    aspect-ratio: 1 / 1;
    background-image: url('../img/thumb_mlpetty.jpg');
    background-size: contain;
    object-fit: contain;
}

.mlpetty:hover {
    background-image: url('../img/thumb_mlpetty_hv.jpg');
}

.saraiva {
    width: auto;
    aspect-ratio: 1 / 1;
    background-image: url('../img/thumb_pg_saraiva.jpg');
    background-size: contain;
    object-fit: contain;
}

.saraiva:hover {
    background-image: url('../img/thumb_pg_saraiva_hv.jpg');
}


.logos {
    width: auto;
    aspect-ratio: 1 / 1;
    background-image: url('../img/thumb_out_logos.jpg');
    background-size: contain;
    object-fit: contain;
}

.logos:hover {
    background-image: url('../img/thumb_out_logos_hv.jpg');
}

.cartazes {
    width: auto;
    aspect-ratio: 1 / 1;
    background-image: url('../img/thumb_out_cartazes.jpg');
    background-size: contain;
    object-fit: contain;
}

.cartazes:hover {
    background-image: url('../img/thumb_out_cartazes_hv.jpg');
}


footer {
    grid-column: 2 / 3;
    grid-row: 4;
    align-self: center;
    justify-self: center;
}


@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: repeat(2, auto);
        column-gap: 0.25%;
        align-items: start;
        justify-content: start;
    }

    main .col1 {
        grid-column: 1;
    }

    main .col1_3 {
        grid-column: 1 / 4;
    }

    main .col2 {
        grid-column: 2;
    }

    main .col3 {
        grid-column: 1;
    }

    main .col3_5 {
        grid-column: 1 / 4;
        padding-top: 15px;
    }

    main .col4 {
        grid-column: 2;
    }

    main .row1_2 {
        grid-row: 2;
    }

    .texto_oculum h1, .texto_oculum_links h1 {
        font-size: 1.0rem;
    }

    img {
        max-width: 100%;
        max-height: 100%;
    }

    footer {
        grid-column: 2 / 4;
        grid-row: 4;
    }

}