/* Body styling */
body {
  font-family: "Arial", sans-serif;
  background-color: #1e1e1e;
  color: #f0f0f0;
  text-align: center;
  margin: 50px;
}

/* Title Section */
.title-section {
  background-color: #1c1c1c;
  padding: 10px 20px;
  text-align: center;
  border-bottom: 2px solid #f39c12;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  flex-wrap: wrap;
  width: max-content;
}

.title-section h1 {
  font-family: "Arial", sans-serif;
  font-size: 48px;
  font-weight: bold;
  color: #f39c12;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.site-link {
  font-size: 14px;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}

.site-link:hover,
.site-link:focus {
  background-color: #f39c12;
  color: #1e1e1e;
}

/* Container for the quiz */
.quiz-container {
  display: inline-block;
  background-color: #333;
  border: 1px solid #555;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.8);
  border-radius: 10px;
}

/* Styling the input and button */
input {
  width: 80%;
  padding: 10px;
  margin: 10px 0;
  background-color: #444;
  color: #f0f0f0;
  border: 1px solid #666;
  border-radius: 5px;
}

button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

/* Top 10 list display */
#top-10-list p {
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}

/* Feedback for incorrect guesses */
#feedback {
  margin: 20px 0;
  font-size: 20px;
  color: #dc3545;
}

/* Styling for wrong guesses */
#wrong-guesses p {
  color: #dc3545;
  display: inline-block;
  margin-right: 10px;
}

#wrong-guesses img {
  width: 150px;
  height: 150px;
  margin-right: 10px;
  background-color: transparent;
}

/* Image styling */
#player-image img {
  border-radius: 50%;
  border: 2px solid #f0f0f0;
  max-width: 150px;
  max-height: 150px;
  margin-bottom: 20px;
}

/* Additional styling for the h1 */
h1 {
  color: #f0f0f0;
  font-size: 32px;
  margin-bottom: 20px;
}

/* Dark theme for the season and stat display */
#season,
#stat-type {
  color: #17a2b8;
  font-weight: bold;
}

/* Ensure everything is responsive */
@media (max-width: 600px) {
  body {
    margin: 20px;
  }

  .quiz-container {
    width: 100%;
  }
}
