:root {
  --sky-blue: #8ecae6ff;
  --blue-green: #219ebcff;
  --prussian-blue: #023047ff;
  --selective-yellow: #ffb703ff;
  --ut-orange: #fb8500ff;
}

body {
  background-color: var(--blue-green);
  font-family: sans-serif;
}

header {
  background-color: var(--prussian-blue);
  color: var(--sky-blue);
  border-bottom: 4px solid var(--selective-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15%;
  padding: 10px;
}

#status {
  color: var(--selective-yellow);
  font-size: 24px;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.scale-up {
  animation: scaleUp 1s ease-out;
}

/* Center the main content */
main {
  display: grid; /* Use grid layout */
  grid-template-columns: repeat(3, 100px); /* 3 columns, each 100px wide */
  grid-template-rows: repeat(3, 100px); /* 3 rows, each 100px tall */
  grid-gap: 5px; /* Space between cells */
  justify-content: center; /* Center grid horizontally */
  align-items: center; /* Center grid vertically */
  height: 60%; /* Full viewport height */
  margin-top: 20px;
  margin-bottom: 20px;
}

.cell {
  width: 100px;
  height: 100px;
  border: 3px solid var(--prussian-blue);
  border-radius: 5px; /* Slightly rounded corners */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  font-size: 36px; /* Font size for X and O */
  background-color: var(--sky-blue);
  font-family: "Courier New", Courier, monospace;
  color: var(--prussian-blue);
}

.highlight {
  border: 3px solid var(--selective-yellow);
  box-shadow: 0 0 10px var(--selective-yellow);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.bounce {
  animation: bounce 0.5s ease-in-out;
}

footer {
  height: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

button {
  border: 2px solid var(--selective-yellow);
  border-radius: 10px;
  background-color: var(--prussian-blue);
  color: var(--sky-blue);
  padding: 10px 20px;
  font-size: 16px;
  margin-bottom: 15px;
}

form {
  font-size: 18px;
}

label {
  margin: 10px;
  cursor: pointer;
  font-size: 18px;
  margin-right: 25px;
}

input[type="radio"] {
  margin-right: 5px;
}
