* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: monospace;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
}

.home-header,
.home-footer {
  padding: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.home-footer {
  padding-top: 130px;
  font-size: 18px;
  flex-direction: row;
  gap: 10px;
}

footer a {
  color: black;
}

.logo {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
  transform: scale(2);
}

.logo.small {
  transform: scale(1.2);
  margin: 0;
}

.logoLink {
  text-decoration: none;
  color: inherit;
}

.logoSmaller {
  margin-left: 0px;
  margin-right: 0;
  transform-origin: bottom center;
  transform: scale(0.7);
}

.logoBigger {
  font-size: 80px;
  margin-right: 5px;
  margin-left: 14px;
  transform: scale(1.5);
}

.season {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
}

.home {
  text-align: center;
}

.games {
  display: flex;
  flex-direction: column;
}

.games a {
  padding: 25px;
  padding-top: 60px;
  width: 100%;
  height: 200px;
  border: none;
  color: #333;
  display: flex;
  font-size: 35px;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  margin-bottom: -2px;
  position: relative;
  background: blue;
  color: white;
}

.games a:nth-child(odd) {
  background: #f9f9f9;
  color: #333;
}

.games a:nth-child(odd) svg {
  fill: #f9f9f9;
}

a.last {
  background: #ff4b4b;
  flex-direction: column;
  gap: 20px;
  font-size: 36px;
  height: unset;
  padding-top: 120px;
  padding-bottom: 100px;
}

a.last svg {
  fill: #ff4b4b;
}

a.last .name {
  font-size: 40px;
}

a.last .score {
  font-size: 80px;
  width: auto;
}

.games svg {
  bottom: -28px;
  position: absolute;
  pointer-events: none;
  height: 30px;
  fill: blue;
  z-index: 2;
}

.games a span {
  color: inherit;
}

.score {
  display: block;
  width: 140px;
  font-size: 25px;
}

.score.showScore {
  font-size: 45px;
}

.name {
  width: 500px;
  display: block;
}

.games input[type="checkbox"] {
  transform: scale(5);
  pointer-events: none;
  width: 140px;
}

.game {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.checkboxes {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GAMES */
.sprint,
.scale,
.zigzag,
.wave,
.catch {
  padding-bottom: 10px;
}

.sprint .checkboxes,
.zigzag .checkboxes,
.wave .checkboxes,
.catch .checkboxes {
  gap: 8px;
}

.scale .checkboxes {
  gap: 15px;
}

@keyframes scale {
  0% {
    transform: scale(0.4);
  }

  100% {
    transform: scale(5.5);
  }
}

.scale input[type="checkbox"] {
  animation: scale 1.9s ease-in-out infinite alternate;
}

.scale #checkbox-1 {
  animation-delay: -0s;
}

.scale #checkbox-2 {
  animation-delay: -0.4s;
}

.scale #checkbox-3 {
  animation-delay: -0.8s;
}

.scale #checkbox-4 {
  animation-delay: -1.2s;
}

.scale #checkbox-5 {
  animation-delay: -1.6s;
}

.scale #checkbox-6 {
  animation-delay: -2s;
}

.scale #checkbox-7 {
  animation-delay: -2.4s;
}

.scale #checkbox-8 {
  animation-delay: -2.8s;
}

.scale #checkbox-9 {
  animation-delay: -3.2s;
}

.scale #checkbox-10 {
  animation-delay: -3.6s;
}

.scale #checkbox-11 {
  animation-delay: -4s;
}

.scale #checkbox-12 {
  animation-delay: -4.4s;
}

.scale #checkbox-13 {
  animation-delay: -4.8s;
}

.scale #checkbox-14 {
  animation-delay: -5.2s;
}

.scale #checkbox-15 {
  animation-delay: -5.6s;
}

.scale #checkbox-16 {
  animation-delay: -6s;
}

.scale #checkbox-17 {
  animation-delay: -6.4s;
}

.scale #checkbox-18 {
  animation-delay: -6.8s;
}

.scale #checkbox-19 {
  animation-delay: -7.2s;
}

.scale #checkbox-20 {
  animation-delay: -7.6s;
}

.zigzag {
  --scaleVolume: 1.8;
}

.zigzag #checkbox-1 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

.zigzag #checkbox-2 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-3 {
  transform: translateY(calc(20px * var(--scaleVolume)));
}

.zigzag #checkbox-4 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-5 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

.zigzag #checkbox-6 {
  transform: translateY(calc(-10px * var(--scaleVolume)));
}

.zigzag #checkbox-7 {
  transform: translateY(calc(-20px * var(--scaleVolume)));
}

.zigzag #checkbox-8 {
  transform: translateY(calc(-10px * var(--scaleVolume)));
}

.zigzag #checkbox-9 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

.zigzag #checkbox-10 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-11 {
  transform: translateY(calc(20px * var(--scaleVolume)));
}

.zigzag #checkbox-12 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-13 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

.zigzag #checkbox-14 {
  transform: translateY(calc(-10px * var(--scaleVolume)));
}

.zigzag #checkbox-15 {
  transform: translateY(calc(-20px * var(--scaleVolume)));
}

.zigzag #checkbox-16 {
  transform: translateY(calc(-10px * var(--scaleVolume)));
}

.zigzag #checkbox-17 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

.zigzag #checkbox-18 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-19 {
  transform: translateY(calc(20px * var(--scaleVolume)));
}

.zigzag #checkbox-20 {
  transform: translateY(calc(10px * var(--scaleVolume)));
}

.zigzag #checkbox-21 {
  transform: translateY(calc(0px * var(--scaleVolume)));
}

@keyframes wave {
  0% {
    transform: translateY(-30px);
  }

  100% {
    transform: translateY(30px);
  }
}

.wave input[type="checkbox"] {
  animation: wave 1.9s ease-in-out infinite alternate;
}

.wave #checkbox-1 {
  animation-delay: -0s;
}

.wave #checkbox-2 {
  animation-delay: -0.4s;
}

.wave #checkbox-3 {
  animation-delay: -0.8s;
}

.wave #checkbox-4 {
  animation-delay: -1.2s;
}

.wave #checkbox-5 {
  animation-delay: -1.6s;
}

.wave #checkbox-6 {
  animation-delay: -2s;
}

.wave #checkbox-7 {
  animation-delay: -2.4s;
}

.wave #checkbox-8 {
  animation-delay: -2.8s;
}

.wave #checkbox-9 {
  animation-delay: -3.2s;
}

.wave #checkbox-10 {
  animation-delay: -3.6s;
}

.wave #checkbox-11 {
  animation-delay: -4s;
}

.wave #checkbox-12 {
  animation-delay: -4.4s;
}

.wave #checkbox-13 {
  animation-delay: -4.8s;
}

.wave #checkbox-14 {
  animation-delay: -5.2s;
}

.wave #checkbox-15 {
  animation-delay: -5.6s;
}

.wave #checkbox-16 {
  animation-delay: -6s;
}

.wave #checkbox-17 {
  animation-delay: -6.4s;
}

.wave #checkbox-18 {
  animation-delay: -6.8s;
}

.wave #checkbox-19 {
  animation-delay: -7.2s;
}

.wave #checkbox-20 {
  animation-delay: -7.6s;
}

.catch input[type="checkbox"] {
  transition: transform 100ms ease-out;
}

.catch input[type="checkbox"][disabled] {
  transform: translateY(0px) !important;
}

.delete {
  font-size: 24px;
  opacity: 0.7;
  padding-top: 10px;
  cursor: pointer;
}

.delete:hover {
  opacity: 1;
}

.full-body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.game-nav,
.fullwidth {
  width: 100%;
  overflow: hidden;
}

.game-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #eee;
  border-bottom: 2px solid #eee;
}

.game-nav li {
  padding: 0;
  margin: 0;
  background: blue;
  color: white;
  flex-grow: 1;
  padding: 15px;
  text-align: center;
  font-size: 16px;
  position: relative;
}

.game-nav input {
  pointer-events: none;
}

.game-nav a {
  color: currentColor;
  text-decoration: none;
}

.game-nav a:hover {
  text-decoration: underline;
}

.nav-name {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.nav-header,
.nav-total {
  font-weight: bold;
}

.game-nav li:nth-child(odd) {
  background: #f9f9f9;
  color: #333;
}

.game-nav li:after {
  content: "";
  position: absolute;
  right: -25px;
  top: 0;
  width: 25px;
  height: 100%;
  z-index: 2;
  border-left: 12px solid blue;
  border-bottom: 25px solid transparent;
  border-top: 25px solid transparent;
  border-right: 12px solid transparent;
  box-sizing: border-box;
}

.game-nav li:nth-child(odd):after {
  border-left: 12px solid #f9f9f9;
}

.hand {
  font-size: 22px;
  height: 2px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
}

.game-header,
.game-footer {
  padding: 20px;
  text-align: center;
}

.controls {
  position: relative;
}

.game-footer {
  border-top: 2px solid #eee;
}

.ready {
  position: relative;
}

.tip {
  position: absolute;
  font-size: 13px;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 13px 16px;
  border-radius: 7px;
  font-family: monospace;
  width: 230px;
  background: blue;
  font-weight: bold;
  animation: hover 1500ms ease-in-out alternate infinite;
  filter: drop-shadow(3px 2px 5px rgba(0, 0, 0, 0.3));
}

.tip a {
  color: white;
  text-decoration: underline;
}

.tip:after {
  content: "";
  width: 14px;
  height: 13px;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%, -50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  box-sizing: border-box;
  border-bottom: 7px solid transparent;
  border-top: 7px solid blue;
  opacity: 1;
}

.startButton {
  border: 3px solid #333;
  border-radius: 4px;
  background: white;
  font-family: monospace;
  padding: 15px 20px;
  min-width: 101px;
  font-weight: bold;
  position: relative;
  font-size: 18px;
  cursor: pointer;
  transition: border-color 1000ms ease;
}

.fadeOut {
  opacity: 0;
  transition: opacity 1300ms ease-out;
}

.red {
  background-color: red;
}

.red.tip:after {
  border-top: 7px solid red;
}

.startButton.green {
  border-color: transparent;
}

.hidden {
  display: none;
}

.legal article {
  max-width: 650px;
  margin: auto;
}

.game-block {
  max-height: 91px;
  height: 91px;
  overflow: hidden;
  background: #fefefe;
}

@keyframes hover {
  0% {
    transform: translateY(0px) translateX(-50%);
  }

  100% {
    transform: translateY(-8px) translateX(-50%);
  }
}
