:root {
  --background: rgb(0, 50, 107);
  --primary-blair: #0177A0;
  --primary-peddie: #DD971A;
  --light-gray: #e1e1e1;
  --lighter-gray: #f8f4f4;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

body {
  font-size: 16px;
  line-height: 1.4;
}

header {
  background-color: var(--background);
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 7rem;
  position: relative;
}

header #logo {
  height: 1.75rem;
}

header #emblem {
  height: 5.5rem;
  position: absolute;
  left: 1rem;
  opacity: 30%;
}

h2 {
  color: var(--primary-blair);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 1.75rem;
}

.score-totals {
  padding: 0 1rem;
}

.row {
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
}

#blair-row {
  color: var(--primary-blair);
}
#peddie-row {
  color: var(--primary-peddie);
}
#tie-row {
  color: #72808A;
}

.updated {
  font-style: italic;
  text-align: center;
  font-size: 0.875rem;
  color: #72808A;
  margin: 1rem;
}

table.scores {
  width: 70vw;
  max-width: 360px;
  min-width: 100px;
  margin: 1rem auto;
  background-color: var(--light-gray);
  border-collapse: collapse;
  text-align: center;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); /* optional: subtle border glow */
}


.scores thead th {
  background-color: var(--background);
  color: white;
  font-weight: normal;
  padding: 0.5rem 1rem;
  border: 1px solid rgb(1, 52, 112);
}

.score-row td,
.game-label td {
  padding: 0.5rem;
  border: 0.5px solid #bbbbbb;
  width: 50%;
}

.game-label td {
  background: var(--lighter-gray);
  font-weight: bold;
  text-align: center;
}

.cta {
  width: 70vw;
  max-width: 360px;
  min-width: 100px;
  background-color: #5493BC;
  border: none;
  color: white;
  border-radius: 5px;
  font-size: 1rem;
  padding: 1rem;

  margin: 2rem auto;
  display: block;
  text-align: center;
  text-decoration: none;
}

.button-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.visually-hidden {
  display: none;
}
