body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #161616;
  color: #d9d9d9;
  text-align: center;

  margin-left: 15%;
  margin-right: 15%;
}
body[data-theme="light"] {
  color: black;
  background-color: #e3e3e3;
}

@media screen and (max-width: 600px) {
  body {
    margin-left: 5%;
    margin-right: 5%;
  }
}

header {
  margin-bottom: 3rem;
}

.big-text {
  font-size: 6.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.half-big-text {
  font-size: 3.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.quarter-big-text {
  font-size: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: bold;
}

h1 {
  font-size: 2.5rem;
}

@media screen and (max-width: 600px) {
  .big-text {
    font-size: 4.5rem;
  }
  .half-big-text {
    font-size: 2.5rem;
  }
  .quarter-big-text {
    font-size: 1.5rem;
  }
}

hr.red {
  border: 1px solid #ca0000;
}
hr.blue {
  border: 1px solid #0000c4;
}

a {
  color: #d9d9d9;
}
body[data-theme="light"] a {
  color: black;
}

#color-scheme {
  position: fixed;
  right: 5px;
  top: 5px;
  text-decoration: none;
}

.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

#progress-bar {
  position: relative;
  width: 100%;
  background-color: #252525;
  border-radius: 5px;
}
#countdown-progress {
  width: 0%;
  transition: width 1.5s ease-out;
  height: 2.5rem;
  background-color: #4a4a4a;
  border-radius: 5px;
  text-align: center;
  line-height: 2.5rem;
}
body[data-theme="light"] #progress-bar {
  background-color: #bdbdbd;
}
body[data-theme="light"] #countdown-progress {
  background-color: #9f9f9f;
}

#progress-label {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
}

#hand {
  animation: wave 0.8s 1;
  display: inline-block;
}
#hand:hover {
  animation: wave 0.8s infinite;
  cursor: default;
}

@media screen and (max-width: 600px) {
  #hand {
    display: block;
  }
}

@keyframes wave {
  50% {
    transform: rotate(30deg);
  }
}
