    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

body {
  background: url('../img/bg.webp') no-repeat center center fixed;
  background-size: cover;
}


header {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 0;
  position: relative; /* Ou 'static' se quiser que ele desça com a página */
  z-index: 999;
}

nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative; /* Ou 'static' se quiser comportamento mais simples */
  z-index: 1000;
}

    nav a, .dropdown-btn {
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      font-size: 18px;
      padding: 12px;
      transition: color 0.3s ease;
      cursor: pointer;
    }

    nav a:hover, .dropdown-btn:hover {
      color: #ffd700;
    }

    .dropdown {
      position: relative;
    }

    .dropdown:hover .dropdown-content {
      display: block;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 40px;
      left: 0;
      background-color: rgba(0, 0, 0, 0.95);
      min-width: 160px;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 10px rgba(0,0,0,0.5);
      z-index: 2000;
    }

    .dropdown-content a {
      display: block;
      padding: 14px 18px;
      color: #ccc;
      text-decoration: none;
      font-size: 16px;
    }

    .dropdown-content a:hover {
      background-color: #333;
      color: #ffd700;
    }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 20px 20px; /* espaço pro header */
  text-align: center;
}

.hero-content {
  z-index: 2;
}

    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: 600;
      margin-bottom: 15px;
      color: #fff;
      text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
    }

    .hero-content p {
      font-size: 1.4rem;
      color: #ccc;
    }

    footer {
      background-color: rgba(0, 0, 0, 0.5);
      padding: 20px;
      text-align: center;
      margin-top: 50px;
      border-top: 1px solid #888;
    }

    footer p {
      color: #fff;
      font-size: 14px;
    }

    .logo {
      height: 90px;
    }

    .pix {
      height: 200px;
    }


    @media (max-width: 768px) {
      nav {
        gap: 20px;
        flex-direction: column;
      }

      .hero-content h1 {
        font-size: 2.2rem;
      }
    }


.info-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.info-list {
  background-color: rgba(0, 0, 0, 0.6); /* mais escuro */
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  width: 500px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.info-list h2 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  text-align: center;
}

.info-list ul {
  list-style: disc inside;
}

.info-list li {
  margin-bottom: 8px;
}

.botao-img {
  display: block;
  margin: 20px auto 0;
  width: 100%;
  max-width: 200px; /* tamanho máximo */
  height: auto;
  transition: transform 0.3s ease;
}

.botao-img:hover {
  transform: scale(1.05);
}


/* parte do registro ----------------------------------------------*/

/* Estilo para o formulário de registro */
#registro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#registro-form label {
    font-weight: 600;
    color: #333;
}

#registro-form input,
#registro-form select,
#registro-form button {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    color: #333;
    width: 100%;
}

#registro-form input:focus,
#registro-form select:focus,
#registro-form button:focus {
    outline: none;
    border-color: #28a745;
}

#registro-form button {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

#registro-form button:hover {
    background-color: #218838;
}

/* Mensagem de sucesso/erro */
#registro-form div {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
}

#registro-form div[style*="background-color: #28a745"] {
    background-color: #28a745;
    color: white;
}

#registro-form div[style*="background-color: #dc3545"] {
    background-color: #dc3545;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    #registro-form button {
        font-size: 1rem;
    }
}


/* Contêiner da box */
.login-box {
  max-width: 400px;
  margin: 10vh auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* A box visual em si */
.login-box .info-list {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  width: 100%;
}

/* Título */
.login-box h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #fff;
}

/* Formulário em colunas com espaçamento */
.login-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Labels */
.login-box label {
  font-weight: bold;
  color: #ddd;
}

/* Inputs */
.login-box input[type="text"],
.login-box input[type="password"] {
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
}

/* Botão */
.login-box button[type="submit"] {
  padding: 12px;
  background: #0088cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

/* Hover no botão */
.login-box button:hover {
  background: #006fa1;
}

/* Mensagem de erro */
.login-box p {
  margin-top: 10px;
  text-align: center;
  color: red;
  font-weight: bold;
}

/* Container principal */
.painel-box {
  max-width: 600px;
  margin: 80px auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Título de boas-vindas */
.painel-info h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 26px;
  color: #00ccff;
}

/* Dados do usuário */
.painel-dados {
  margin-bottom: 30px;
  padding: 15px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 8px;
  line-height: 1.8;
  font-size: 16px;
}

/* Botões */
.painel-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.painel-buttons a {
  text-align: center;
  text-decoration: none;
}

.painel-btn {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.painel-btn-vote {
  background-color: #28a745;
  color: #fff;
}
.painel-btn-vote:hover {
  background-color: #218838;
}

.painel-btn-senha {
  background-color: #ffc107;
  color: #000;
}
.painel-btn-senha:hover {
  background-color: #e0a800;
}

.painel-btn-recuperar {
  background-color: #007bff;
  color: #fff;
}
.painel-btn-recuperar:hover {
  background-color: #0056b3;
}


.painel-btn-logout {
  background-color: #dc3545;
  color: #fff;
}
.painel-btn-logout:hover {
  background-color: #c82333;
}


.newsenha-box {
  max-width: 500px;
  margin: 100px auto;
  padding: 30px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.newsenha-info h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #00ccff;
}

.newsenha-info form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsenha-info label {
  font-weight: bold;
  font-size: 14px;
}

.newsenha-info input[type="text"],
.newsenha-info input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-size: 14px;
}

.newsenha-info button {
  padding: 12px;
  background-color: #00aaff;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsenha-info button:hover {
  background-color: #0088cc;
}

.newsenha-message {
  background-color: #ffdddd;
  color: #a00;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

/* vote.css */

.vote-section {
    text-align: center;
    padding: 20px;
}

.vote-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.vote-option {
    text-align: center;
    max-width: 180px;
    padding: 10px;
    border-radius: 8px;
    background-color: #f4f4f4;
    transition: transform 0.2s, box-shadow 0.2s;
}

.vote-option:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.vote-image-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.vote-image-button img {
    width: 150px;
    height: auto;
    border-radius: 5px;
}

.vote-text {
    margin-top: 8px;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    color: #333;
}

.time-remaining {
    font-size: 13px;
    color: #d9534f;
    margin-top: 5px;
}
