* {
  box-sizing: border-box;
}

body {
  background-image: url("../Images/game_page.png");
  background-size: cover; /* Make the image cover the entire screen */
  background-position: center; /* Center the image on the screen */
  background-repeat: no-repeat;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

#game-image {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

#game-image img {
  width: 100%;
  max-width: 500px;
  border: 2px solid #00ff00;
}

#game_intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 20px 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #00ff00;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

#flex-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  padding: 20px;
  height: 300px;
}

#play_game {
  flex: 1;
  padding: 20px;
  background-color: #00ff00;
  border: 2px solid #00ff00;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 300px;
  height: 250px;
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.9);
  backdrop-filter: blur(5px);
}

#controls,
#team {
  flex: 1;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  border: 2px solid #00ff00;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 300px;
  max-height: 250px;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

#team {
  order: -1;
}

.button {
  background-color: #007bff;
  border-radius: 5px !important;
  border: none;
  text-decoration: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  display: block;
  width: 80%;
  max-width: 200px;
  margin: 10px auto;
  font-size: 1em;
}

.button:hover {
  background-color: green;
}

#play_game .button:hover {
  background-color: #ff00ff;
}

.nav-link {
  position: relative;
  padding: 10px;
  transition: border-color 0.3s ease;
  border-bottom: rgba(255, 255, 255, 0.8) 2px solid;
}

.nav-link:hover {
  border-bottom: 2px solid #00ff00;
}

.navbar-toggler:hover {
  border: 2px solid #00ff00;
}
