body{
    background-image: url('../img/back-3.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

}


.info-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}


.tabela-ranking {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  border-collapse: collapse;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: rgba(255, 255, 255, 0.85); /* Efeito vidro suave pru OROMAITO!!! */
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden; 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.tabela-ranking th, .tabela-ranking td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Estilo do Cabeçalho */
.tabela-ranking th {
  background-color: #1a237e; /* Azul escuro oficial e imponente */
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.5px;
}


.tabela-ranking tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}


.tabela-ranking tbody td:first-child {
  color: #e63946;
}


.tabela-ranking tfoot {
  background-color: #f1f3f9;
  font-weight: bold;
  color: #4a5568;
  font-size: 13px;
  text-align: center;
}

.tabela-ranking tfoot td {
  border-bottom: none; /* Remove a linha do fundo */
}


.formulario-heroi {
  width: 100%;
  max-width: 500px;
  margin: 40px auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.9); 
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-family: 'Segoe UI', Arial, sans-serif;
}

.formulario-heroi h2 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #1a237e; 
  text-align: center;
}


.grupo-campo {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.grupo-campo label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #333;
  font-size: 14px;
}

/* Estiliza todos os campos de digitação de uma vez só */
.grupo-campo input, 
.grupo-campo select, 
.grupo-campo textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  transition: border-color 0.2s;
}

/* Efeito visual quando o usuário clica no campo para digitar */
.grupo-campo input:focus, 
.grupo-campo select:focus, 
.grupo-campo textarea:focus {
  outline: none;
  border-color: #1a237e; /* Borda fica azul ao focar */
  box-shadow: 0 0 4px rgba(26, 35, 126, 0.2);
}

/* Botão de Envio Estilizado */
.btn-enviar {
  width: 100%;
  padding: 12px;
  background-color: #e63946; 
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-enviar:hover {
  background-color: #b7094c; /* Escurece o vermelho ao passar o mouse */
}



/* media querie*/
@media screen and (max-width: 728px) {
  
  
  .formulario-heroi {
    width: 90%;
    padding: 20px;
    margin: 20px auto;
  }

  
  .tabela-ranking {
    display: block; 
    width: 95%;
    overflow-x: auto; /* Cria uma barra de rolagem horizontal se a tabela for mais larga que a tela */
    white-space: nowrap; 
  }
  
  .tabela-ranking th, .tabela-ranking td {
    padding: 10px 12px; 
    font-size: 13px; 
  }
}


@media screen and (max-width: 600px) {

 
  .formulario-heroi {
    width: 95%;
    padding: 15px;
  }
  
  .grupo-campo input, 
  .grupo-campo select, 
  .grupo-campo textarea {
    padding: 8px; 
    font-size: 14px;
  }

  
  .tabela-ranking {
    width: 98%;
  }
  
  .tabela-ranking th, .tabela-ranking td {
    padding: 8px 10px;
    font-size: 12px;
  }
}