﻿/* Container principal */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  padding: 20px;
}

/* Título */
.titulo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 5px;
}

/* Fluxo principal */
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px; /* Espaçamento entre os botões */
}

/* Botões */
.button {
  background: linear-gradient(145deg, #3AAB9D, #4FCBBC);
  border: none;
  border-radius: 12px;
  padding: 15px 25px; /* Espaçamento interno */
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin: 15px 0; /* Espaçamento vertical padrão */
}

.button:hover {
  background: linear-gradient(145deg, #4FCBBC, #3AAB9D);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Responsividade para telas maiores que 768px */
@media (min-width: 769px) and (max-width: 1024px) {
  .main-container {
      padding: 15px; /* Espaçamento interno ao container */
      gap: 25px; /* Maior espaçamento entre botões */
  }

  .button {
      padding: 20px 30px; /* Aumenta o tamanho dos botões */
      margin: 20px 0; /* Aumenta o espaçamento vertical */
      font-size: 18px; /* Fonte maior para telas médias */
  }
}

/* Responsividade para telas menores que 768px */
@media (max-width: 768px) {
  .main-container {
      padding: 10px; /* Adiciona padding ao container */
  }

  .button {
      padding: 12px 20px; /* Reduz o padding interno */
      margin: 20px 0; /* Aumenta o espaçamento vertical para botões em telas menores */
      font-size: 14px; /* Reduz a fonte para melhor exibição */
  }
}

/* Responsividade para telas maiores que 1024px */
@media (min-width: 1025px) {
  .main-container {
      padding: 20px; /* Espaçamento interno ao container */
      gap: 30px; /* Espaçamento maior entre botões */
  }

  .button {
      padding: 15px 30px; /* Botões maiores para telas grandes */
      margin: 25px 0; /* Espaçamento vertical ainda maior */
      font-size: 20px; /* Fonte maior para telas grandes */
  }
}


/* Estilo geral do modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7); /* Fundo escuro com opacidade */
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-in-out;
}

.modal.show {
  display: flex; /* Mostra o modal */
}

/* Animação de fade-in */
@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Conteúdo do modal */
.modal-content {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  padding: 30px;
  width: 80%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto; /* Adiciona barra de rolagem se o conteúdo for maior que a tela */
  animation: scaleUp 0.3s ease-in-out;
}

/* Animação para "zoom" do modal */
@keyframes scaleUp {
  from {
      transform: scale(0.9);
      opacity: 0.8;
  }
  to {
      transform: scale(1);
      opacity: 1;
  }
}

/* Botão de fechar */
.close {
  position: sticky; /* Permite que o botão acompanhe o scroll */
  top: 0; /* Alinha ao topo do modal */
  right: 0; /* Garante que fique na borda direita */
  z-index: 10; /* Coloca o botão acima do conteúdo */
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  background: white; /* Fundo para destaque */
  border: none;
  border-radius: 50%; /* Botão redondo */
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  float: right; /* Move para a direita */
  margin: 10px; /* Margem para afastar do conteúdo */
}

.close:hover {
  color: #e74c3c;
  background: #f9f9f9; /* Destaque no hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Títulos */
.titulo-modal {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #485e49;
  text-align: center;
  font-family: 'Lexend', sans-serif;
}

/* Estilo da tabela */
table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lexend', sans-serif;
  margin-bottom: 20px;
  background: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

/* Cabeçalho da tabela */

.th.cabeça-tabela{
  background: #3AAB9D;
  color: white;
  text-align: center;
  font-size: 16px;
  padding: 15px;
  font-weight: bold;
}
th {
  background: linear-gradient(145deg, #63c7bb, #53b9ac);
  color: white;
  text-align: center;
  font-size: 16px;
  padding: 15px;
  font-weight: bold;
}


.cabeça-tabela{
  background: #3AAB9D;
  color: white;
  text-align: center;
  font-size: 16px;
  padding: 15px;
  font-weight: bold;
}


/* Células */
td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

/* Zebra stripes */
tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Hover na tabela */
tr:hover {
  background-color: #e8f5e9;
}

/* Estilo responsivo para tabelas */
@media (max-width: 768px) {
  th, td {
      font-size: 14px;
      padding: 10px;
  }
}
