*,
html {
  padding: 0;
  margin: 0;
  /*box-sizing: border-box;*/
}

a {
  text-decoration: none;
}
/* Reset básico */
body, html {
  font-size: 1rem;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}
/* Cabeçalho fixo */
#menu {
  position: fixed;
  top: 0;
  width: 100%;
  height: 15vh;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 10;
}
#menu a {
  color: white;
  text-decoration: none;
}
#logo{
  position: relative;
  top:25%;
  text-align: center;
  flex-grow: 1;
  align-self: flex-start;
  justify-content: center;
  font-size: 2.1rem;
  font-weight: bold;
  color: #FFF;
}
/* Botões do menu (visíveis em telas maiores) */
#menu #button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  margin: 0 10px;
  padding: 0px 4px;
  border-top: 1px solid;
  border-bottom: 1px solid;
  border-top-color: #aaa;
  /*border: 1px solid #aaa;*/
}
/* Hamburger – oculto em telas maiores */
#hamburger {
  display: none;
}
/* Área de conteúdo */
#conteudo {
  position: absolute;
  top: 15.2vh;
  /* bottom: 10.2vh; */
  left: 0;
  right: 0;
  background-color: #aaa;
  /* overflow: auto; */
  overflow: hidden;
}
#conteudo  p {
 /*   margin-left: 32px; */
}
/* Rodapé */
#rodape {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 10vh;
  background-color: #333;
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 0 10%;
  color: #FFF;
  box-sizing: border-box;
  border-top: 1px solid #fff;
}
/* css responsivo */
@media screen and (max-width: 800px) {
  /* Exibe e reformula o hamburger */
  #hamburger {
    display: block;
    position: relative;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
  }
  /* Estilo para as linhas do hamburger */
  #hamburger .line {
    position: absolute;
    left: 50%;
    width: 70%;
    height: 2px; /* Diminuído de 3px para 2px */
    background: white;
    transition: all 0.3s ease-in-out;
    z-index: 2;
  }
  /* Linha superior: posicionada mais próxima do rótulo */
  #hamburger .line.top {
    top: 30%;  /* Anteriormente 15% */
    transform: translateX(-50%);
  }
  /* Linha inferior: posicionada mais próxima do rótulo */
  #hamburger .line.bottom {
    bottom: 30%;  /* Anteriormente 15% */
    transform: translateX(-50%);
  }
  /* Rótulo "Menu" centralizado por trás das linhas */
  #hamburger .menu-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
    z-index: 1;
  }
  /* Estado "open": as linhas se reposicionam e rotacionam para formar um "X" */
  #hamburger.open .line.top {
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
  }
  #hamburger.open .line.bottom {
    bottom: 50%;
    transform: translate(-50%, 50%) rotate(-45deg);
  }
  
  /* Ajustes no cabeçalho para telas menores */
  #menu {
    height: 12vh;
    justify-content: center;
  }
  #link-home >font {
      position: absolute;
      left: 14px;
      top: 7.4vh;
   /* display: none; */
  }
  /* Esconde os botões do menu principal em mobile */
  #menu-items button {
    display: none;
  }
  /* Menu expansível (slide-in do lado esquerdo) */
  #menu-expansivel {
    position: fixed;
    top: 12.2vh;
    left: -87%;  /* Inicia oculto à esquerda */
    width: 87%;
    height: calc(100% - 22.4vh);
    background-color: #333;
    background-color: rgba(50,50,50,.8);
    color: white;
    padding: 10px;
    box-sizing: border-box;
    transition: left 0.3s ease-in-out;
    z-index: 9;
    /* Grid de duas colunas */
    display: grid;
    grid-template-columns: 1fr 0.5fr;
    gap: 7px;
  }
  /* Botões do menu expansível – quadrados com borda #aaa */
  #menu-expansivel button {
    display: flex;
    position: relative;
    background-color: #f33;
    background-color: rgba(0,0,0,.8);
    /*left: calc(60% - 18vh);*/
    border: 2px solid #aaa;  /* Borda com a cor #aaa */
    box-sizing: border-box;
    aspect-ratio: 1;         /* Garante que o botão seja um quadrado perfeito */
    width: 14vh;
    align-items: center;
    justify-content: center;
    /* background: none; */
    color: white;
    cursor: pointer;
    font-size: inherit;
  }
  #conteudo{
    top: 12.2vh;
    bottom: 10.2vh;
 }
#rodape{
    text-align: center;
    /* flex-direction: column; */
    /*top: 3px;*/
    font-size: 0.52rem;
    padding: 2px 2px;
}
}