
h1 {
  text-align: center;
  text-shadow: 2px 2px 4px rgba(5, 5, 5, 0.5) /*sombra no texto*/
}

h3 {
  text-align: center;
}

header {
  display: flex;
  flex-direction: column;
  width: 80%;
  margin: 0 auto;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
}
main {
  display: flex;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 30px;
  flex-direction: column;
}
.horizontal {    /*section da classe horizontal*/
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
}
article {      /*article normal, horizontal*/
  width: 45%;
  background:darkred;
  text-align:center;
  border-radius: 8px;
  border:2px solid white;
}

.artvert {     /*article vertical*/
  width: 60%;
  background:darkred;
  text-align:center;  
}
.vertical {    /*section da classe vertical*/
  display: flex;
  width:100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.img1{         /*criação de 4 tipos de imagem*/
  width:300px;
}

.img2{
  width:400px;
}

.img3{
  width:200px;
}

.img4{
  width:500px;
}

.galeria {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content:space-evenly; 
}

.galeria img {
  width:20%;
  height:auto;
}

footer {
  display: flex;
  justify-content: center;
}

body {
  border:2px solid white;
  display: flex;
  flex-direction: column;
  margin:30px 15px 10px 15px;
  background:goldenrod;
}

.botao {
  display: inline-block;      /* permite ajustar tamanho */
  background-color: #3498db;  
  color: white;              
  padding: 10px 20px;         /* espaçamento interno */
  border-radius: 8px;         /* cantos arredondados */
  text-decoration: none;      /* remove o sublinhado */
  font-weight: bold;          /* deixa o texto em negrito */
  transition: background 0.3s; /* animação suave no hover */
}

.botao:hover {
  background-color: #217dbb;  /* cor ao passar o mouse */
}

table, th, td {
  border:2px solid black; /*borda para a tabela*/
  background: white;
}

@media (max-width: 800px) {
  .horizontal {    /*section da classe horizontal*/ /*para todas as páginas em que foi usada, passa a adaptar para coluna em caso de tela pequena*/
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  }
  article {      /*article normal, horizontal*/
  width: 80%;
  background:darkred;
  text-align:center;
  border-radius: 8px;
  border:2px solid white;
}
  .artvert {     /*article vertical*/
  width: 80%;
  background:darkred;
  text-align:center;  
}
  .img1{         /*criação de 3 tipos de imagem*/
  width:180px;
}

.img2{
  width:220px;
}

.img3{
  width:200px;
}
.img4{
  width:250px;
}
.galeria {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content:space-evenly;
  align-items: center; 
}
.galeria img {
  width:70%;
  height:auto;
}
}