/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
background-image: url("http://programacaoemexcel.com.br/imagens/NAIM-17.jpg");
}

/* rodapé fixos */
 .fixed-footer {
    background-color: #034b27;
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
header{
    background-color: #034b27;
    display: flex;
    align-items: center;
}
#logo{
    width: 12%;
    height: 10%;
    margin: 0 auto;
    display: block;
    cursor: pointer;
}
#menu{
  width: 12%;
top: 1%;
  margin: 0 auto;
  display: block;
  cursor: pointer;
}

.fixed-footer {
    bottom: 0;
}

/* Menu */
.menu-container {
    position: relative;
}

.menu-button {
    position: fixed;
    float: left;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.4s;
    width: 12%;

    border-radius: 30px;
}

.menu-button:hover {
    background-color: #ff9900;
}

.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.8);
    border-radius: 2%;
    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;
  }
  h2{
    text-align: center;
    font-size: 2vw;
    color: #007406;
    animation: pulse 2s infinite;
  }
  

/* Estilo das imagens */
.photo img {
    width: 100%; /* A imagem ocupa 100% da largura do contêiner */
    height: auto; /* Mantém a proporção da imagem */
    border-radius: 20px; /* Bordas arredondadas */
    object-fit: cover; /* Ajusta a imagem sem distorção */
    border: 13px solid #00cc66;
}
iframe{
    width: 100%; /* A imagem ocupa 100% da largura do contêiner */
    height: 280px; /* Mantém a proporção da imagem */
    border-radius: 20px; /* Bordas arredondadas */
    object-fit: cover; /* Ajusta a imagem sem distorção */
    border: 13px solid #00cc66;
}

/* Container dos itens */
.content {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    gap: 80px; /* Espaçamento consistente entre itens */
    justify-content: center;
    padding: 60px 100px; /* Espaçamento interno */
    margin-top: 30px;
    margin-left: auto;
}
/* Estilo dos itens */
.item {
    background-color: #000;
    color: white;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#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;
  }

.photo {
    background-color: #ffcc00;
    color: black;
    padding: 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    
}

.description {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: justify;
}

.action-button {
    background-color:  #00cc66;
    border: none;
    padding: 15px 150px;
    cursor: pointer;
    font-weight: 700;
    font-size: 24px;
    transition: background-color 0.3s;
    border-radius: 20px;
    border: 5px solid #ffcc00;
}

.action-button:hover {
    background-color: #ff9900;
    font-weight: 900;
    font-size: 30px;
    font-weight: bold;
}

/* Animação */
@keyframes pulse {
    0% {
      transform: scale(1);
      color: #f6fa03;
    }
    50% {
      transform: scale(1.2);
      color: #0af81e;
    }
    75% {
      transform: scale(1.1);
      color: #0184ff;
    }
    100% {
      transform: scale(1.1);
      color: #e74c3c;
    }
  }

/* Responsividade */
@media (max-width: 768px) {
    .menu-button {
        width: 24%; /* Ajustado para ocupar toda a largura */
        text-align: center; /* Centraliza o texto no botão */
        border-radius: 30px;
    }

    #logo {
        margin: 0 auto; /* Centraliza a logo no cabeçalho */
        width: 17%;
    }
    #menu {
      margin: 0 auto; /* Centraliza a logo no cabeçalho */
      width: 22%;
      position: fixed;
  }
h2{
  font-size: 3.5vh;
}
#whatsapp {
    position: fixed;
    bottom: 10%;
    right: 2%;
    width: 60px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
  #instagram {
    position: fixed;
    bottom: 25%;
    right: 2%;
    width: 60px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
  #youtube {
    position: fixed;
    bottom: 15%;
    left: 2%; 
    width: 60px;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
    cursor: pointer;
    z-index: 1000;
  }
    .content {
        grid-template-columns: 1fr; /* Apenas 1 coluna */
        gap: 20px; /* Ajuste do espaçamento entre os itens */
        justify-content: center;
        padding: 20px; /* Reduz o espaçamento interno */
        margin-top: 40px;
        margin-left: auto;
        margin-bottom: 80px;
    }

    .item {
        padding: 10px; /* Ajusta o espaçamento interno para caber na tela */
        text-align: center;
    }

    .photo img {
        width: 100%; /* Garante que a imagem ocupe a largura total do contêiner */
        height: auto;
        border-radius: 10px; /* Mantém as bordas arredondadas */
    }
    iframe {
        width: 100%; /* Garante que o iframe ocupe a largura total do contêiner */
        height: 275px;
        border-radius: 10px; /* Mantém as bordas arredondadas */
    }

    .action-button {
        padding: 10px 20px; /* Reduz o tamanho do botão para caber */
        font-size: 18px; /* Ajusta o tamanho da fonte */
        width: 100%; /* Garante que o botão ocupe toda a largura */
    }
}
