@import url('https://fonts.googleapis.com/css2?family=Bentham&display=swap'); /*google fonts. get font, get embased code, import, 1 copiar*/

*{
    box-sizing: border-box; 
    margin: 0px;
    padding: 0px;
}
body{
    background-color:  	#fffbe9;
    font-family: "Bentham", sans-serif; /*fonte do site e uma fonte alternativa, reserva*/
    font-weight: 500; /*espessura da letra*/
    letter-spacing: normal 

}

header{ 
    background:linear-gradient(to right, #DCDCDC, #B0C4DE);
   padding: 20px 0px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items:center ;
   flex-wrap: wrap;
}
header img{ 
    width: 300px; /*largura*/
    height: auto; /*altura*/
    margin-bottom: 5px; /*margem*/
}
nav{
    text-align: center;
}
nav a{
    color: cornflowerblue;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none; /*retirar sublinhado do texto*/
    padding: 5px 12px;
    margin: 0px 20px;
}
nav a:hover{
 color: #000080;
 background-color:#ADD8E6; 
 border-radius: 15px;
} /*menu de navegação*/


section{
    display: flex;
    justify-content: center;
    align-items: center; /*alinhar o texto de acordo com o eicxo secundario*/
    flex-wrap: wrap; /*reorganizar os blocos dentro do pai para não passar da área desejada*/
    flex-basis: 150px; /*tamanho mínimo que vai encolher(tela de celular)*/
    flex-grow:1;
    flex-shrink:1;


}

main{
    text-align: center;
    margin: 20px;
}

#frase-de-efeito{
letter-spacing: 1px;
color: #245fe0;
font-weight: 700;
font-size: 1rem;
}

h1{
    color:#000080 ;
    font-size:25px ;
    margin: 20px;
}
h2{
    color: #245fe0;
}

.main-container{
    display: flex;
    max-width: 1000px;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0 auto; /* auto para mudar a margem dos lados*/

}
.main-container p{
    font-weight: 500;
    margin: 5px;
}

.main-block{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 200px;
    background-color: aliceblue;
    padding: 20px; /*relação do conteúdo com a borda do bloco*/
    border-radius: 10px; /*arredondar borda*/
    box-shadow: 2px 2px 5px black; /*sombra da caixa*/
    justify-content: space-evenly; 
    align-items: center; /*alinhar itens*/
}
.main-block a{
    color:#245fe0;
    background-color:#B0C4DE;
    text-decoration:none;
    padding: 5px 12px ;
    margin: 3px 4px;
    border-radius: 15px;
    font-weight: 500;
}
.main-block a:hover{
    color:#000080;
    background-color: #ADD8E6;
}


.more{
    display: flex;
    max-width: 1000px;
    gap:20px;
    flex-wrap: wrap;
    margin: 30px auto;
}
.littlemore{
    display:flex ;
    flex-direction:column;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 200px;
    background-color: aliceblue;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 2px 2px 5px black;
    justify-items: space-evenly;
    align-items: center;

}
.littlemore p{
    text-align: left;
}


#topo{
    margin-top: 20px;
}
#topo a {
    text-decoration: none;
    color: #245fe0;

}
figure img{
    width: 150px;
    height: 150px;
    border-radius: 5px;
    padding-top: 20px;
}

figcaption{
    font-size: 1.2rem;
}
#topo a:hover{
    color: #B0C4DE;
}

footer{
    background-color:#B0C4DE ;
    color: #000080;
 text-align: center;
 padding: 20px;
}
.redes{
    margin-top: 10px;
}
footer img {
    width: 25px;
    height: 25px;
    transition: transform 0.2s ease ;
    margin: 0px 6px;
}
footer img:hover{
    transform: scale(1.5);
}
@media (max-width:700px ) {
    figure img{ width: 100%; }
    
}