body {
  font-family: Arial, sans-serif;
  background: #f2f2f2;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  background: white;
  padding: 50px;
  border-radius: 25px;
  text-align: center;
    /* Box-shadow estilizado */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.05);
    /* Adicionando transição suave para quando o mouse passar sobre a caixa */
  transition: box-shadow 0.3s ease-in-out;
  margin: 50px auto;
}

.container:hover {
  /* Aumenta o efeito de box-shadow quando o mouse passar por cima */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 16px 32px rgba(0, 0, 0, 0.1);
}

.container-eventos {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  width: 70%;
  gap: 10px;
  justify-content: center;
    border-radius: 25px;
    /* Box-shadow estilizado */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0), 0 8px 24px rgba(0, 0, 0, 0);
    /* Adicionando transição suave para quando o mouse passar sobre a caixa */
  transition: box-shadow 0.3s ease-in-out;
  margin: 50px auto;
}

.container-eventos img {
  background-color: white;
  border-radius: 25px;
  border: 1px solid white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 8px 24px rgba(0, 0, 0, 0.05);
  width: 110px;
  height: 110px;
  padding: 10px;
  object-fit:contain;
}

.container-eventos img:hover {
  /* Efeito de borda quando o mouse passar por cima */
  border: 1px solid goldenrod;
  border-radius: 25px;
}

.container-eventos img:active {
  /* Efeito de borda quando clica */
  border: 1px solid goldenrod;
  border-radius: 25px;
}

input[type="email"] {
  width: 60%;
  padding: 8px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

input[type="email"]:focus {
    border: 1px solid #007bff;
    outline: 0;
}

.nome-evento p {
  margin: 10px;
  gap: 1px;
}

button {
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

#resultado {
  margin-top: 20px;
  margin-inline: 0;
  padding: 0;
  text-align: left;
  width: 80%;
}

.cert-item {
  background-color: lightcyan;
  padding-inline: 15px;
  margin-bottom: 15px;
  border-left: 4px solid #007bff;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin: 8px;
}

.cert-item:hover {
  background-color: lightgray;
}

.cert-item a {
  display: inline-block;
  color: white;
  text-decoration: none;
}

.cert-item a:hover {
  text-decoration: none;
}

.button-busca {
  background-color: rgb(40, 167, 69); /* Cor verde */
  color: white; /* Texto branco */
  border: none; /* Sem borda */
  padding: 10px 20px; /* Espaçamento interno */
  font-size: 16px; /* Tamanho da fonte */
  font-weight: bold; /* Texto em negrito */
  border-radius: 5px; /* Bordas arredondadas */
  cursor: pointer; /* Cursor em forma de mãozinha */
  transition: background-color 0.3s ease; /* Transição suave para mudança de cor */
}

.button-busca:hover {
  background-color: rgb(19, 114, 41); /* Cor verde */
}

.button-busca:active {
  background-color: rgb(19, 114, 41); /* Cor verde */
}

.button-busca:focus {
  outline: none; /* Remove o contorno ao focar */
}

.btn-download {
  background-color: #007bff;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn-download:hover {
  background-color: #0056b3;
}

.botao {
  margin: auto 10px;
    padding: 0;
    color: white;
}

/* Estilos da Navbar */
.navbar {
  width: 100vw;
  background-color: #555;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;  /* Navbar com layout vertical */
  align-items: center;
}

.navbar-container {
  display: flex;
  justify-content: space-between;  /* Alinha logo à esquerda e hamburger à direita */
  align-items: center;
  padding: 10px 20px;
}
.cabecalho {
  height: auto;
  padding: 25px 0;
  margin: 0 100px;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  width: 300px; height: auto;
}
.navbar-links {
  list-style: none;
  display: flex;  /* Exibe os links na horizontal inicialmente */
  gap: 20px;
  margin: 0;
  padding: 0;
  width: 100%;
}

.navbar-links li {
  display: inline;
}

.navbar-links a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: #28a745; /* Cor de destaque no hover */
}

/* Hamburger Menu */
.navbar-toggle {
  display: none;  /* O ícone do hamburger só é exibido em telas pequenas */
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.navbar-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .container {
    width: 90%;
    padding: 10px;
  }

  .container-eventos {
  width: 90%;
  }

  input[type="email"] {
  width: 80%;
  }

  #resultado {
    width: 100%;
  }

  .cert-item {
    flex-direction: column;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 8px;
  }

  .botao  {
    margin: auto;
  }

  .navbar {
    align-items: end;
  }

  .navbar-container {
    align-items: end;
    flex-direction: column;
  }
  /* Ajuste da exibição do menu quando o hamburger for clicado */
  .navbar-links {
    display: flex;
    flex-direction: column;  /* Exibe os links na vertical */
    justify-content: center;
    align-items: end;
    gap: 20px;
    width: 100%;
    height: 0;  /* Inicialmente, o menu está oculto */
    overflow: hidden;
    transition: height 0.9s ease;  /* Transição suave ao expandir */
  }

  .navbar-links.active {
    height: auto;  /* Quando o menu estiver ativo, ele vai expandir */
    padding: 10px 0;  /* Adiciona padding quando expandido */
  }

  /* Exibe o ícone de hamburger */
  .navbar-toggle {
    display: flex;
  }

  /* Ajuste do tamanho da fonte dos links no menu expandido */
  .navbar-links a {
    font-size: 18px;
  }

  /* Ajuste de espaçamento do hamburger em relação ao logo */
  .navbar-container {
    justify-content: space-between;
    padding: 10px 20px;
  }

  /* Espaçamento entre o nome do site e o ícone do hamburger */
  .navbar-logo {
    margin-right: 15px;
  }
  .cabecalho {
    justify-content: center;
    display: flex;
    margin: 25px 0;
  }
  }

.icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 30px;
  background-color: #25D366; /* verde padrão WhatsApp */
  color: #fff;
  border-radius: 50%;
  padding: 15px;
  width: 60px;
  height: 60px;
  text-align: center;
  text-decoration: none;
  z-index: 1000;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.icon:hover {
  background-color: #fff;
  color: #25D366;
  box-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db; /* Azul para combinar com o site? */
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  margin: 0 auto; /* Centraliza */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Estilos do Modal */
.modal-overlay {
  display: none; /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fundo escuro transparente */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-box {
  background: white;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease;
}

.modal-box h3 {
  color: #e67e22; /* Laranja de alerta */
  margin-top: 0;
}

.destaque-aviso {
  background-color: #fff3cd;
  color: #856404;
  padding: 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  margin: 15px 0;
  border: 1px solid #ffeeba;
}

.modal-botoes {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.btn-confirmar {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.btn-cancelar {
  background-color: #95a5a6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.btn-confirmar:hover { background-color: #219150; }
.btn-cancelar:hover { background-color: #7f8c8d; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
