body {
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6rem;
  background: #222;
  color: #fff;
}

.page {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
}

.current {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  padding-top: 4rem;
  min-width: 300px;
}

.highscore {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  padding-top: 4rem;
  min-width: 300px;
  font-size: 1.2rem;
}

.game {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  gap: 1rem;
}

#game-area {
  position: relative;
  width: 420px;
  height: 420px;
  background: #333;
  border: 3px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
}

#box {
  position: absolute;
  width: 50px;
  height: 50px;
  background: #4CAF50;
  border-radius: 3px;
  cursor: pointer;
  display: none;
}

#score, #time, #accuracy, #total {
  font-size: 20px;
  margin-top: 10px;
}

#time {
  font-size: 2rem;
}

button {
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  border-radius: 8px;
  background: #4CAF50;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: #45a049;
}
