@charset "utf-8";
*{
    margin: 0;
    padding: 0;
}

#container{
    /* width: 960px; */
    width: 65%;
    margin: auto;
    border: 1px solid black;
    list-style-type: none;
    background-color: white;
}
.popup{
    border: solid 1px gray;
    background-color: rgb(238, 238, 238);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 600px;
    height: 480px;
    padding-top: 15px;
    padding-left: 30px;
    display: none;
    overflow: auto;
}
.text_pop{
    color: black;
}
.cont_pop{
    text-align: center;
    text-decoration: underline;
    color: black;
}
img{
    width: 100%;
    height: 150%;
}
body{
    background-image: url('../Imagens/fundo7.jpg');
    background-size: cover;
}

nav li{/* Aqui é quando a página esta para celular */
    list-style-type: none;
    width: 100%; /* Aqui é a % referente ao pai dela, a borda da DIV */
    line-height: 30px; 
    text-align: center;
    margin-bottom: 2px; /* Aqui vai dar um espaço entre cada link junto com cada borda do menu */
    margin-top: 5px;
}/* Aqui são as alterações somente no menu */
nav li a,a{ /* Aqui é a tag A dentro da tag LI dentro da tag NAV - usado ainda no menu*/
    color: darkblue;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    text-decoration: none;
    display: block;
}
a:hover{
    color: rgb(184, 3, 3);
}
a:hover.link_dica{
    color: rgb(184, 3, 3);
    font-style: italic;
    text-decoration: underline;
}
hr{
    clear: both;
}
h1{
    text-align: center;
}
#rodape{
    background-color: rgb(71, 71, 71);
    width: 100%;
    line-height: 18px;
}
#rodape p{ 
    text-align: center;
    font-size: 10px;
    color: white;
}
article{ /* Aqui são os artigos */
    width: 10%;
    margin: 20px 20px 20px;
    
}
.link_popup{
    display: inline;
}
.link_dica{
    font-size: 17px;
    text-align: center;
}
.dica_obs{
    clear: both;
    text-align: center;
    font-size: 12.5px;
    margin-left: 25px;
    margin-right: 25px;
}





@media only screen and (min-width: 650px){
    article{
        width: 35%;
        margin: 30%;
        margin-top: 5%;
    }
    #scroll{
        width: 95%;
        height: 150px;
        background-color: white;
        overflow: auto;
        margin-left: 10px;
    }
    .popup{
        border: solid 1px gray;
        background-color: rgb(238, 238, 238);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 350px;
        height: 380px;
        padding-top: 15px;
        padding-left: 30px;
        display: none;
        overflow: auto;
    }
    .dica_obs{
        clear: both;
        text-align: center;
        font-size: 12.5px;
        margin-left: 25px;
        margin-right: 25px;
    }
}

@media only screen and (min-width: 780px){ /* sempre abrir as Chaves {} */
nav li{ /* Estamos usando essas propriedades no menu */
    position: relative;
    width: 30%;
    float: left;
    margin: 0.5%;
}
article{
    float: left;
    width: 50%;
    margin: 2%;
}
.link_dica{
    font-size: 22px;
    margin-top: 24px;
    margin-left: 70%;
}
footer#rodape{
    clear: both;
}
.popup{
    border: solid 1px gray;
    background-color: rgb(238, 238, 238);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 460px;
    height: 480px;
    padding-top: 15px;
    padding-left: 30px;
    display: none;
    overflow: auto;
}
.dica_obs{
    clear: both;
    text-align: center;
    font-size: 12.5px;
    margin-left: 25px;
    margin-right: 25px;
    background-color: rgba(211, 211, 211, 0.493);
}
.header{
    width: 55%;
    margin-left: 24%;
}
}/* Fecha media 480px - nunca esquecer de fechar as Chaves {} */



@media only screen and (min-width: 1080px){
article{
    float: left;
    width: 35%;
    margin-left: 10%;
}
.link_dica{
    font-size: 18px;
    margin-left: 0;
}
.header{
    width: 55%;
}
nav li{
    width: 15.3%;
}
.logo{
   margin-left: -4%;
}
#scroll{
    width: 98%;
    height: 150px;
    background-color: white;
    overflow: auto;
    margin-left: 10px;
}
#caixa1{
    width: 98%;
    height: 276px;
    background-color: white;
    overflow: auto;
    margin-left: 10px;
}
.popup{
    border: solid 1px gray;
    background-color: rgb(238, 238, 238);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 600px;
    height: 480px;
    padding-top: 15px;
    padding-left: 30px;
    display: none;
    overflow: auto;
}
.dica_obs{
    clear: both;
    text-align: center;
    font-size: 12.5px;
    margin-left: 25px;
    margin-right: 25px;
}
}
/* Fecha media 768px - nunca esquecer de fechar as Chaves {} */