/* ui/styles.css */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

h1 {
  font-size: 2.5em;
  color: #e67e22; /* Tom laranja */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin: 10px 0;
}

a {
  text-decoration: none;
  color: #fff; /* Texto branco */
  font-size: 1em;
  border: 2px solid #e67e22; /* Tom laranja */
  padding: 10px 20px;
  border-radius: 5px;
  background-color: #e67e22; /* Tom laranja */
  transition: all 0.3s ease;
  display: inline-block;
}

a:hover {
  background-color: #d35400; /* Tom laranja mais escuro */
  border-color: #d35400; /* Tom laranja mais escuro */
}

.container {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 800px; /* Aumentar para comportar a tabela */
  margin: 20px;
}

.container-tabela {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 1600px; /* Aumentar para comportar a tabela */
  margin: 20px;
}

.ranking-container {
  text-align: left;
  width: 100%;
  padding: 20px;
}

.ranking-content {
  overflow-x: auto;
}

.resultsTable {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.resultsTable th,
.resultsTable td {
  border: 1px solid #ddd;
  padding: 8px;
}

.resultsTable th {
  background-color: #f2f2f2;
  text-align: center;
}

.resultsTable td {
  text-align: center;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url('images/background.jpg') no-repeat center center;
  background-size: cover;
}

footer {
  margin-top: 20px;
  font-size: 0.8em;
  color: #777;
}

/* Responsividade */
@media (max-width: 768px) {
  h1 {
    font-size: 2em;
  }

  a {
    font-size: 0.9em;
    padding: 8px 15px;
  }

  .container {
    width: 95%;
    padding: 15px;
  }

  .resultsTable th,
  .resultsTable td {
    padding: 5px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }

  a {
    font-size: 0.8em;
    padding: 5px 10px;
  }

  .container {
    padding: 10px;
  }

  .resultsTable th,
  .resultsTable td {
    padding: 3px;
  }
}
