body {
  background-color: black;
  color: #ecf0f1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Inter", Arial, sans-serif;
}

#navigation {
  width: 600px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 20px;
}

#game-controls {
  display: flex;
  flex-direction: row;
  gap: 20px;
  text-align: start;
}

#game-container {
  position: relative;
}

#game-board {
  display: flex;
  background-color: #4e443a;
  border: 24px solid #341f0b;
  box-shadow: 0 4px 32px #000a;
  border-radius: 24px;
  flex-wrap: wrap;
}

.cell {
  width: 20px;
  height: 20px;
  border-radius: 4px;
}

.snake {
  background: linear-gradient(135deg, #5be358 60%, #3b883b 100%);
  box-shadow: 0 1px 4px #14141444;
}

.snake-head {
  background: #a5ff7a;
}

.food {
  background-color: #e74c3c;
  border-radius: 50%;
}

#score {
  font-size: 24px;
  margin-top: 20px;
  display: none;
}

#game-over {
  display: none;
  font-size: 24px;
  color: #e74c3c;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.select-wrapper {
  position: relative;
}

.select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.select-wrapper::after {
  content: "▼";
  font-size: 12px;
  color: #ecf0f1;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px;
  background-color: #341f0b;
  border: 2px solid #6c5f53;
  color: #ecf0f1;
  border-radius: 8px;
  padding: 8px 35px 8px 15px;
  cursor: pointer;
}

button {
  height: 38px;
  background-color: #578a34;
  color: #ecf0f1;
  border: none;
  border-radius: 8px;
  padding: 8px 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

select:focus,
button:focus {
  outline: none;
}
