/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Garamond', serif; 
    text-align: center;
  background-color: #1a1a2e;
    padding: 20px;
    align-items: center; 
    justify-content: center; 
    height: 100vh; 
    margin: 0;
    overflow-y: scroll;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #669900;
  text-align: center;
}

/* Main Container - 2 Columns */
.container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  margin: 20px;
}

/* Left Column (Text, Inputs, Messages) */
.left-column {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center-aligning the content */
  text-align: center;
}

/* Flexbox for input elements and button */
.container2 {
  display: flex;
  flex-direction: column; /* Stacking the elements vertically */
  align-items: center;
  gap: 30px; /* Adding space between inputs */
  margin-bottom: 20px;
  margin-top: 20px
}

label {
  font-size: 1.2rem;
  margin-right: 10px;
  color: #fddb3a;
}

/* Inputs */
input[type="number"] {
  padding: 8px;
  font-size: 1rem;
  width: 60px;
  text-align: center;
  border: 2px solid #669900;
  border-radius: 5px;
  background-color: #0f3460;
  color: white;
}

/* Remove default number arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

/* Button */
button {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #669900;
  color: #fddb3a;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-family: 'Garamond', serif;
}

button:hover {
  background-color: #99cc99;
}

/* Score Display */
#scoreDisplay, #scoreDisplay2, #totalScore, #totalScore2 {
  margin-top: 10px;
  font-size: 1.3rem;
  color: #fddb3a;
}

/* Message Area */
#messageArea {
  margin-top: 20px;
  font-size: 1.2rem;
  color: #ffffff;
  background-color: #0f3460;
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  display: none; /* Hidden initially */
}

#messageArea.show {
  display: block; /* Show message when needed */
}

/* Right Column (Canvas - Game Area) */
.right-column {
  display: flex;
  justify-content: center;
  align-items: center;
}

canvas {
  border: 4px solid #669900;
  background-color: #0f3460;
  border-radius: 8px;
}

