@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Pinstripe:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@700&display=swap');

/* Paletas de fundo */
.bg-white { background: #ffffff; color: #111; }
.bg-black { background: #0b0b0b; color: #eaeaea; }
.bg-caju  { background: #fffde8; color: #111; }



/* Corpo do ficheiro*/
body {
  font-family: "Montserrat", "Oswald", Helvetica, ui-serif, Georgia, serif;
  font-weight: 400;
  font-style: normal;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.wrap {
  max-width: 70%;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}

.wrap2 {
  display: grid;
  grid-template-columns: 1fr 1fr; /* duas colunas iguais */
  gap: 2rem; /* espaçamento entre colunas */
}


/*Cabeçalho*/
header.site {
  border-bottom: 1px solid #ccc;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}




/* Título principal do site */
.site-title {
  margin: 0;
  font-size: 3rem;
  text-align: center;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}




/* Sub-título */
.tagline {
  color: #666;
  margin: 10px 0 0;
}



/* 
 Títulos das diferetes secções da página principal 
 Para marcadores h2 
 * */
.h2-title {
  margin: 3.5rem 0 0 0;
  font-size: 24px;
}

.h2-title:hover{
   color: #f36060;
   cursor: pointer;
   transition: color 0.3s ease;
}

.h2-title a {
  color: inherit;
  text-decoration: none;
}

/* Sub-título */
.tagline {
  color: #666;
  margin: 10px 0 0;
}


/* Barra de Navegação*/ 
.site-nav {
  font-size: 20px;
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  text-align:center;
}

.site-nav a {
  color: inherit;
  text-decoration: none;
  border-top-style: 1px solid black;
  border-bottom: 1px solid transparent;
  margin: 0 auto;
}

.site-nav a:hover {
  color: #6f4f37;
  border-color: currentColor;
  cursor: pointer;
  transition: color 0.3s ease;

}

.parent {
  max-width: 40%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* duas colunas iguais */
  gap: 2rem; /* espaço entre as colunas */
  margin: 2rem auto;
  text-align: center;
  justify-content: center; /* centra conteúdo dentro do grid */
  align-items: center;
}

.parent > div {
    padding-top: 10px;
	  padding-bottom: 10px;
    background-color: #ffffff;
    border-radius:5px;
}

.parent a {
  color:inherit;
  text-decoration:none;
}

.parent a:hover{
  color: #6f4f37;
  border-color: currentColor;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Seletor de Tema: Fundo Preto, Braco, Bege*/
.theme-switcher {
  margin-top: 1rem;
  font-size: .9rem;
}

.posts { list-style: none; padding: 0; margin: 0; }
.post-item { padding: 1rem 0; border-bottom: 1px dashed #ccc; }
.post-item:last-child { border-bottom: none; }
.post-title { margin: 0; font-size: 1.25rem; }
.post-title a { text-decoration: none; color: inherit; }
.post-title a:hover { text-decoration: underline; }
.meta { font-size: .9rem; color: #666; }
.excerpt { margin: .5rem 0 0; }

footer.site {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  font-size: .9rem;
  color: #666;

}
