* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

html {
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #404030;
    text-rendering: optimizeLegibility;
}

h1 {
    font-size: 1.5rem;
    margin: 0;
}

h2 {
    font-size: 1.25rem;
    margin: 0;
}

h3 {
    font-size: 1.125rem;
    margin: 0;
}

h4 {
    font-size: 1rem;
    font-style: bold;
    padding: 0.5rem 0;
}

p {
    line-height: 135%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
}

.pdf-link::after {
    content: '';
    display: block;
    background: url(/resources/data/images/pdficon.png);
    background-size: cover;
    height: 1rem;
    width: 1rem;
    position: absolute;
    top: 0;
    right: 0;
}

.audio-link::after {
    content: '';
    display: block;
    background: url(/resources/data/images/soundicon.png);
    background-size: cover;
    height: 1rem;
    width: 1rem;
    position: absolute;
    top: 0;
    right: -2.1rem;
}

.header-mobile {
    display: none;
}

.container {
    display: grid;
    /*grade 4x3
    100vw = 118 unidades (58 + 2 + 58)
    1u = 0.84745
    2u = 1,695
    8 colunas = c 2 c 2 c 2 c | 2 | c 2 c 2 c 2 c
                c = 13 = 11.02
                */
    grid-template-columns: 11.02vw 11.02vw 11.02vw 11.02vw 11.02vw 11.02vw 11.02vw 11.02vw;
    grid-template-rows: 5.51vw 5.51vw auto;
    column-gap: 1.695vw;
    row-gap: 0vw;
    margin: 1.695vw 0 0 0;
}

.header {
    grid-column: 3 / span 4;
    grid-row: 1 / span 2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 1.695vw;
    height: 100%;
}

.img-topo {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.img-topo img {
    height: 11.02vw;
}

.titulo {
    border-top: 1px solid #404030;
    border-bottom: 1px solid #404030;
    grid-column: 2 / span 3;
    grid-row: 1;
    display: grid;
    align-items: center;
}

.menu a {
    display: block;
    padding: 0.5rem 0;
}

.menu#lateral {
    margin-top: 0.5rem;
    grid-column: 3;
    grid-row: 3;

    a {
        color: #404030;
    }
    li {
        list-style: none;
    }

    a::after {
        position:relative;
        bottom:0;
        height: 1px;
        width:0%;
        background-color: #404040;
        display: block;
        content:'';
        transition:0.3s;
    }

    a:hover:after{
        left:0;
        width: 100%;
    }
}

.menu#celular {
    display: none;
    ul {
        max-height: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }
}

.conteudo {
    grid-column: 4 / span 3;
    grid-row: 2 / span 2;
    width: 100%;
}

main {
    min-height: 5rem;
    ul {
        padding: 0.5rem 0;
        margin-left: 2rem;
    }
}

footer {
    border-top: 1px solid #404030;
    min-height: 3rem;
}

