footer {
    width: 100%;
    background: ;
    height: auto;
}

.sharing {
    border-width: 0px;
    height: 100%;
    cursor: pointer;
    background: none;
}

.modal {
    z-index: 3;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    padding-top: 8vh;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--cor_primaria);
    opacity: 0.95;
}

.modal_share {
    margin: auto;
    background-color: #fff;
    position: relative;
    border-radius: 6px;
    padding: 0;
    outline: 0;
    width: 80vw;
    height: 80vh;
    -webkit-box-shadow: 0px 0px 35px -3px rgba(0, 0, 0, 0.9);
    -moz-box-shadow: 0px 0px 35px -3px rgba(0, 0, 0, 0.9);
    box-shadow: 0px 0px 35px -3px rgba(0, 0, 0, 0.9);
    animation: animatetop 0.3s;
    animation-name: animatetop;
    animation-duration: 0.3s;
    animation-timing-function: initial;
    animation-delay: initial;
    animation-iteration-count: initial;
    animation-direction: initial;
    animation-fill-mode: initial;
    animation-play-state: initial;
}


/*layout para celulares*/

@media screen and (max-width: 639px) {
    #header {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 50px;
        z-index: 100;
        background-color: white;
        border-top: 1px solid rgb(204, 204, 204);
        -webkit-box-shadow: 0px -4px 14px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px -4px 14px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px -4px 14px 0px rgba(0, 0, 0, 0.1);
    }
    #mancha_grafica {
        width: 95%;
        max-width: 440px;
        background: ;
        margin-left: 5%;
        display: grid;
        grid-template-columns: 44% 44%;
        /*        grid-template-rows: auto auto auto auto;        */
        grid-column-gap: 5%;
    }
    #tarja_interna {
        display: none;
    }
    #tarja {
        grid-column: 1/3;
        background: ;
        grid-row: 1/2;
        height: 40px;
    }
    #navegacao {
        grid-column: 1/3;
        grid-row: 1/2;
        justify-self: center;
        height: 50px;
        margin: 0 30% 0 30%;
    }
    #navegacao_aberto {
        position: fixed;
        bottom: 0;
        display: none;
        width: 100%;
        background: var(--cor_terciaria);
        height: 100vh;
    }
    #estadao {
        grid-column: 1/2;
        grid-row: 1/2;
        background: ;
        overflow: hidden;
        width: 22px;
    }
    #botoes_header {
        grid-column: 2/3;
        grid-row: 1/2;
        height: 50px;
        margin-top: 10px;
        justify-self: end;
        background-color: none;
        z-index: 300;
    }
    .modal {
        padding-top: 5vh;
    }
    .modal_share {
        width: 90vw;
        height: 90vh;
        animation-name: animatebottom;
    }
    #titulo {
        grid-column: 1/3;
        height: ;
        grid-row: 3/4;
        background: blue;
    }
    #imagem_abre {
        background: url("../img/home.jpg");
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
        height: 100vh;
        background-color: rgba(16, 148, 165, 0.5);
        background-blend-mode: multiply;
    }
    .imagem_abre_interna {
        grid-column: 1/3;
        grid-row: 1/2;
    }
    #autor {
        grid-column: 1/3;
        margin-bottom: calc(var(--entrelinha) * 1);
    }
    #texto {
        grid-column: 1/3;
        height: auto;
        background: ;
    }
    #timeline {
        grid-column: 1/3;
        height: 850px;
        background: ;
    }
    #logo_footer1 {
        grid-column: 1/3;
        height: ;
        background: ;
    }
    #logo_footer2 {
        grid-column: 1/3;
        height: ;
        background: red;
    }
}


/*layout para tablets*/

@media screen and (min-width: 640px) and (max-width: 979px) {
    #header {
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 50px;
        z-index: 100;
        background-color: white;
        border-top: 1px solid rgb(204, 204, 204);
        -webkit-box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px -1px 4px 0px rgba(0, 0, 0, 0.1);
    }
    #mancha_grafica {
        width: 640px;
        max-width: 640px;
        background: ;
        margin: 0 auto 0 auto;
        display: grid;
        grid-template-columns: 140px 140px 140px 140px;
        /*        grid-template-rows: auto auto auto auto;*/
        grid-column-gap: 20px;
    }
    #tarja {
        grid-column: 1/7;
        background: ;
        grid-row: 1/2;
        height: 40px;
    }
    #tarja_interna {
        display: none;
    }
    #navegacao {
        grid-column: 2/4;
        grid-row: 1/2;
        justify-self: center;
        height: 50px;
    }
    #navegacao_aberto {
        position: fixed;
        bottom: 0;
        display: none;
        width: 100%;
        background: var(--cor_terciaria);
        padding-top: 20px;
        height: 100vh;
    }
    #estadao {
        grid-column: 1/2;
        height: 20px;
        grid-row: 1/2;
        background: ;
    }
    .modal {
        padding-top: 5vh;
    }
    .modal_share {
        width: 90vw;
        height: 90vh;
        animation-name: animatebottom;
    }
    #botoes_header {
        grid-column: 4/5;
        grid-row: 1/2;
        margin-top: 10px;
        height: 50px;
        justify-self: end;
        z-index: 3000;
    }
    #titulo {
        grid-column: 1/5;
        grid-row: 3/4;
    }
    #imagem_abre {
        background: url("../img/home.jpg");
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
        height: 100vh;
        background-color: rgba(16, 148, 165, 0.5);
        background-blend-mode: multiply;
    }
    .imagem_abre_interna {
        grid-column: 0/5;
        grid-row: 1/2;
    }
    #autor {
        grid-column: 1/3;
        margin-bottom: calc(var(--entrelinha) * 1);
    }
    #texto {
        grid-column: 1/5;
        height: auto;
        background: ;
    }
    #timeline {
        width: 100%;
        height: 850px;
        background: ;
    }
    #logo_footer1 {
        grid-column: 2/4;
        grid-row: 1/2;
        height: ;
        background: ;
    }
    #logo_footer2 {
        grid-column: 2/4;
        grid-row: 2/3;
        height: ;
        background: red;
    }
}


/*layout para desktop*/

@media screen and (min-width: 980px) {
    body {
        padding-bottom: 4rem;
    }
    #header {
        position: fixed;
        top: 0;
        width: 100%;
        height: 36px;
        z-index: 100;
        background-color: white;
        border-bottom: 1px solid rgb(204, 204, 204);
        -webkit-box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
        box-shadow: 0px 4px 14px 0px rgba(0, 0, 0, 0.1);
    }
    #mancha_grafica {
        width: 940px;
        max-width: 940px;
        background: ;
        margin: 0 auto 0 auto;
        display: grid;
        grid-template-columns: 140px 140px 140px 140px 140px 140px;
        /*        grid-template-rows: auto auto auto auto;*/
        grid-column-gap: 20px;
    }
    #tarja {
        grid-column: 1/7;
        background: ;
        grid-row: 1/2;
        height: 40px;
    }
    #tarja_interna {
        grid-column: 1/7;
        background: ;
        grid-row: 1/2;
        height: 40px;
        margin-top: calc(var(--entrelinha) * 0.4);
        text-align: center;
    }
    #navegacao {
        display: none;
        /*
	        grid-column: 3/5;
	        background: green;
	        grid-row: 1/2;
	        height: 40px;
*/
    }
    #navegacao_aberto {
        display: none;
    }
    .chapeu_navegacao_aberto {
        display: none;
    }
    #estadao {
        grid-column: 1/5;
        grid-row: 1/2;
        width: 100%;
        background: ;
    }
    #botoes_header {
        grid-column: 6/7;
        grid-row: 1/2;
        height: 49px;
        justify-self: end;
    }
    #imagem_abre {
        background: url("../img/home.jpg");
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
        width: 100%;
        height: 100vh;
        background-color: rgba(16, 148, 165, 0.5);
        background-blend-mode: multiply;
    }
    .imagem_abre_interna {
        grid-column: 1/7;
        grid-row: 2/3;
    }
    #autor {
        grid-column: 1/2;
        background: ;
    }
    #titulo {
        grid-column: 1/7;
        grid-row: 1/2;
    }
    #texto {
        grid-column: 2/6;
        grid-row: 3/4;
        height: auto;
    }
    #timeline {
        width: 100%;
        height: 850px;
        background: ;
    }
    #logo_footer1 {
        grid-column: 2/6;
        grid-row: 1/2;
        height: ;
        background: ;
    }
    #logo_footer2 {
        grid-column: 2/6;
        grid-row: 2/3;
        height: ;
        background: red;
    }
}
