/* Estilos básicos e reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
   background-image: url('https://www.programacaoemexcel.com.br/imagens/NAIM-13-SMAL.png');
    background-color: hsla(0, 0%, 0%, 0.4);
    background-size:contain; /* cobre toda a tela */
   
  }
  


/* Menu principal */
.menu-container {
  position: relative;
}

.menu-button {
  position: fixed;
  top: 2%;
  left: 2%;
  height: 8%;
  cursor: pointer;
  animation: pulse 5s infinite ease-in-out;
}

.menu-button {
  position: fixed;
  top: 2%;
  left: 2%;
  height: 8%;
  cursor: pointer;
  animation: pulse 5s infinite ease-in-out;
}

.menu-options {
  display: none;
  position: fixed;
  top: 10%; 
  left: 5%;
  width: 100VH;
  max-height: 80vh; /* Limita a altura máxima a 80% da altura da viewport */
  overflow-y: auto; /* Habilita a barra de rolagem vertical quando necessário */
  background-color: rgba(0, 0, 0, 0.85);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000; 
}

.menu-options.visible {
  display: block;
  color: #b5f8b8;
}


.menu-options a {
  display: block;
  padding: 2%;
  font-size: 2vw;
  text-decoration: none;
  color: #b5f8b8;
}

.menu-options a:hover {
  background-color: #b6b16d;
}



/* Logo */
#logo {
  display: flex;
  margin-left: 45%;
  max-width: 15%;
  animation: pulse 5s infinite ease-in-out;
  cursor: pointer;
}

    
  #whatsapp {
    position: fixed;
    bottom: 15%;
    right: 1%;
    width: 80px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
  #instagram {
    position: fixed;
    bottom: 30%;
    right: 0%;
    width: 60px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
  #youtube {
    position: fixed;
    bottom: 15%;
    left: 0.2%;
    width: 90px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
    
  
  #foostertext{
    animation: pulse 5s infinite ease-in-out;
    font-size: 10px;
    
    left: 0%; 
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      color: #f6fa03;
    }
    33% {
      transform: scale(1.1);
      color: #0af81e;
    }
    66% {
      transform: scale(1.1);
      color: #0184ff;
    }
    100% {
      transform: scale(1.1);
      color: #e74c3c;
    }
  }
  
  /* Rodapé fixo - ocupa 11% da altura da tela */
  footer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px; /* 11% da altura da tela */
    background: #034b27;
    color: white;
    text-align: center;
    padding: 1%;
    z-index: 1000;
  }
  
  #foostertext {
    display: inline;
        height: auto; /* Altura automática */
        font-size: 12px; /* Texto menor no celular */
        padding: 10px;
        margin-left: 0%;
        animation: pulse 5s infinite ease-in-out;
        z-index: 1000
    
    
  }
  
  /* Contêiner principal */
.content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 3%;
  margin-bottom: 10%;
  margin-left: 10%;
  margin-right: 10%;
  text-align: center;
  overflow-y: visible;
}

/* Itens */
.item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color:  hsla(0, 0%, 0%, 0.4);
  color: white;
  border-radius: 30px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 5px solid #ffcc00;
  width: 100%;
  max-width: 600px;
}

.container-item { 
  display: flex;
  flex-direction: column;
  width: 98%;
  border-radius: 30px;
  border: 3px solid #fa0b02;
  text-align: center;
  font-size: 2vw;
}

  .description {
    margin-top: 3%;
    margin-left: 3%;
    margin-right: 3%;
    margin-bottom: 3%;
    font-size: 2vh;
    text-align: justify;
    font-weight: 700;
}
  
.iframe {
    width: 100%; /* Ajusta a largura para 100% do container */
    height: 400px; /* Para manter a proporção */
    border: 0.5vw solid #ff0000;
    border-radius: 30PX;
    max-width: 100%; /* Garante que não ultrapasse os limites do container */
}
#youtubegif {
    width: 100%; /* Ajusta a largura para 100% do container */
    height: 150px; /* Para manter a proporção */
    border: 0.5vw solid #ff0000;
    border-radius: 30PX;
    max-width: 100%; /* Garante que não ultrapasse os limites do container */
}

  
  /* Botão de ação */
  .action-button {
    background-color: #00cc66;
    border: 5px solid #ffcc00;
    padding: 2%;
    font-size: 2vw;
    font-weight: 700;
   
    margin-top: 2%;
    cursor: pointer;
    text-align: center;
    width: 50vh;
    margin: auto; /* Centraliza o botão */
    border-radius: 30px;
  }

  
  .action-button:hover {
    background-color: #ff9900;
  }
 


  
  @media (max-width: 768px) {
    header, footer {
        height: 20px; /* Ajusta automaticamente a altura */
        padding: 5%; /* Melhor espaçamento em dispositivos menores */
        font-size: 9px; /* Reduz o tamanho do texto */
        text-align: left;

    }

     .menu-button {
        width: 90px; /* Reduz o tamanho do logo e botões */
        height: 40px; /* Mantém a proporção */
    }
       #logo {
        width: 120px; /* Reduz o tamanho do logo e botões */
        height: 90px; /* Mantém a proporção */
    }

    .content {
        margin-left: 1%; /* Reduz margens */
        margin-right: 1%; /* Reduz margens */
        margin-bottom: 10%; /* Menor espaçamento para telas menores */
        margin-top: 24%;
    }
    .action-button {
      width: 80%; /* Reduz o botão para caber na tela */
      font-size: 4vw; /* Ajusta o tamanho do texto */
      padding: 3%; /* Ajusta o padding */
      text-align: center;
      margin: auto; /* Centraliza o botão */
    }

    #pegarplanilhas {
     font-size: 2vh;
  }
  #whatsapp {
    width: 60px;
height: 60px;
  }

    .item {
        font-size: 10px; /* Texto menor para itens */
        padding: 5%; /* Ajusta o padding */
    }

    .container-item {
        font-size: 10px; /* Reduz o tamanho do texto */
        height: auto; /* Ajusta automaticamente a altura */
    }

   
 

}
