body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('../images/great_logo.png');
  background-size: cover;    /* Faz a imagem cobrir todo o ecrã */
  background-repeat: no-repeat; /* Impede que a imagem se repita */
  background-attachment: fixed; /* Mantém o fundo parado ao fazer scroll */
  background-position: center;  /* Centra a imagem */
}


.header-logo-absolute--mobile {
  display: none;
}

@media (max-width: 600px) {
  .header-logo-absolute img {
    display: none;
  }
  .header-logo-absolute--mobile {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 32px;
    width: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #c00;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    z-index: 2;
    padding: 0;
    margin-right: 12px;
  }
}

.main-header-bar {
  background: rgba(0,0,0,0.85);
  width: 100%;
  margin: 0;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  position: relative;
  z-index: 10;
  min-height: 70px;
}
.main-header-bar h1 {
  margin: 0;
  padding: 18px 0 14px 0;
  text-align: center;
  font-size: 2.5rem;
  color: #fff;
  background: none;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}
.header-logo-absolute {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 48px;
  display: flex;
  align-items: center;
  z-index: 2;
  padding-right: 18px;
}
.header-logo-absolute img {
  height: 48px;
  width: auto;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

header {
  background-color: #333;
  color: #fff;
  padding: 20px 0; /* Adicionei padding vertical para o texto não colar nas bordas */
  margin: 0;
  text-align: center;
  
  /* Se quiser que o header acompanhe o scroll (fixo no topo) */
  position: sticky;
  top: 0;
  z-index: 1000;
  
  /* Se quiser um efeito de transparência elegante sobre o fundo do body */
  background-color: rgba(51, 51, 51, 0.9); 
  backdrop-filter: blur(10px); 
}

nav a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
}

main {
  padding: 0;
  margin: 0;
}

footer {
  background-color: #222;
  color: #ccc;
  padding: 0;
  margin: 0;
  text-align: center;
  /* fixed to bottom of viewport */
  position: fixed;
  bottom: 0;
  width: 100%;
}