
body{
  font-family:HelveticaNeue;
  color: #606060;
}


h1{
  margin: 80px 0 108px;
  font-weight: 900;
  font-size: 40px;
  line-height: 99%;
}

form{
  text-align: center;
}
label{
  display: inline-block;
  padding: 8px 20px;
  margin: 8px 0;
  font-weight: 900;
  font-size: 40px;
  line-height: 48px;
  text-align: center;
  transition: background .2s, font-size .2s;
}
input[type="radio"]:checked + label {
  background: #F4F4F4;
  font-size: 42px;
}
.wrapper{
  max-width: 375px;
  padding: 0 24px;
  margin:auto;
}
button{
  position: fixed;
  left: 50%;
  border: none;
  width: calc(100% - 48px);
  max-width: 327px;
  transform: translateX(-50%);
  bottom: -60px;
  height: 60px;
  border-radius: 8px;
  font-style: normal;
  font-weight: 900;
  font-size: 25px;
  line-height: 30px;
  text-align: center;
  color: #FFFFFF;
  background: rgb(97,0,255);
  background: linear-gradient(164deg, rgba(97,0,255,1) 52%, rgba(36,0,255,1) 52%);
  transition: 0.3s;
}

input[name="timer"]:checked ~ button {
  bottom: 24px;
}

input[name="timer"]:checked ~ h1 {
  background: red;
}

/* Countdown overlay */
#countdown-overlay {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: rgba(97,0,255,1);
  font-size: 100px;
  font-weight: 900;
  color: #fff;
  top: 0;
  left: 0;
  z-index: 2;
}
body.countdown #countdown-overlay {
  display: flex;
}

/* Progress Bar */
#progress-bar {
  -webkit-appearance: none;
  appearance: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: #cecece;
  z-index: 1;
}
progress::-webkit-progress-bar {
  background-color: #cecece;
}
progress::-webkit-progress-value {
  background-color: rgba(97,0,255,1);
}