/* General Body Styling */
body {
  font-family: Arial, sans-serif;
  text-align: center;
  margin-bottom: 30px;
  background-color: #fefefe;
}

/* Title */
h1 {
  font-size: 36px;
  font-weight: bold;
  margin-top: 10px;
  color: #222;
}

/* Settings container */
#settings-container {
  margin-top: 30px;
}

#settings-container label {
  font-size: 1.5rem;
}

input {
  font-size: 1.25rem;
  padding: 10px 20px;
  border-radius: 50px;
  margin: 10px;
  border: 2px solid #ccc;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f9f9f9;
  color: #333;
  width: 200px;
  text-align: center;
}

input:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.5);
  background-color: #fff;
}


/* Game container */
#game-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 40px;
}

/* Align Start, Reset, and Score horizontally */
#controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

#score-display {
  font-size: 1.5rem;
  margin: 0;
  color: #333;
}

/* Score text inline with buttons */
#score-display span {
  font-weight: bold;
  font-size: 1.75rem;
}

/* Letter canvas styling */
#letter-canvas {
  border: 2px solid #ccc;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}

/* Button styling */
button {
  font-size: 1.25rem;
  padding: 12px 28px;
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: transform 0.1s ease, background-color 0.3s ease;
}

button:active {
  transform: scale(0.95);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#start-button {
  background-color: #0077cc;
}

#reset-button {
  background-color: #999;
}

/* YES = Green */
#yes-button {
  background-color: #28a745;
}

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

/* NO = Red */
#no-button {
  background-color: #dc3545;
}

#no-button:hover {
  background-color: #c82333;
}

/* Score Container */
#score-container {
  margin-top: 30px;
  font-size: 1.5rem;
}

#score {
  font-weight: bold;
  font-size: 1.75rem;
}


/* For the instruction box */
.instructions-box {
  max-height: 70px;
  overflow: hidden;
  transition: all 0.5s ease;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.instructions-box.expand {
  max-height: 400px;
}

.v-instruction-container {
  border: 0.2rem solid #97d23d;
  justify-content: flex-start;
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 1rem;
  background-color: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.v-instruction-container ul {
  list-style-type: disc;
  padding-left: 20px;
  font-size: 1.1rem;
}

.v-instruction-container ul li {
  padding: 5px 0;
  color: #333;
}

.v-button{
  margin: 10px;
}

.v-collapsible:after {
  content: '\2193'; /* Downward arrow by default */
  scale: 2.5;
  font-weight: bold;
  color: red; 
  transition: transform 0.3s ease; /* Smooth rotation */
}

.v-collapsible-active:after {
  transform: rotate(180deg); /* Rotate 180 degrees */
}


body{
  margin-bottom: 30px;
}
