.hidden {
  display: none;
}

#hud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1s ease-out;
}

#hud.fadein {
  opacity: 1;
}

#hud .button {
  pointer-events: all;
}

#timer {
  color: white;
  height: 35px;
  margin: 12px;
  display: flex;
  padding-top: 4px;
  display: flex;
  align-items: center;
}

#timer-sec {
  font-size: 24px;
  display: inline-block;
}

#timer-tenthsec {
  font-size: 12px;
  display: inline-block;
}

.counters-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  display: flex;
  justify-content: space-between;
}

.counter {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100px;
  height: 45px;
  overflow: visible;
  padding: 8px 12px;
  box-sizing: border-box;
  margin: 16px;
}

.counter--hidden {
  display: none;
}

.counter__background {
  background-image: url('assets/Outline.svg');
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  width: 200px;
  height: 90px;
  top: 0;
  left: 0;
  transform: translate(-25%, -25%);
}

.counter__text {
  color: white;
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
}

.buttons-wrapper {
  height: 150px;
  width: 100vw;
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(6, 22, 165, 0.6) 1.11%, rgba(0, 0, 0, 0) 98.9%);
}

.button {
  width: min(15vw, 15vh);
  height: min(15vw, 15vh);
  position: relative;
  display: block;
  background-color: transparent;
  box-sizing: border-box;
  padding: 0;
  outline: none;
  border: 0;
  position: absolute;
  bottom: 100px;
}

.button--pause {
  left: 50px;
}

.button--bin {
  right: 50px;
}

.button--play {
  width: min(20vw, 20vh);
  height: min(20vw, 20vh);
  left: 50%;
  transform: translateX(-50%);
}

.button__background {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-25%, -25%);
  width: 200%;
  height: 200%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.button__background--pause {
  background-image: url('assets/Pause.svg')
}

#button-bin > span {
  background-image: url('assets/bin.svg')
}

#button-bin.active > span {
  background-image: url('assets/bin-active.svg')
}

.button__background--play {
  background-image: url('assets/Play.svg')
}

#counter-max {
  display: inline-block;
  font-size: 12px;
}

.hint {
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px);
  border-radius: 22px;
  position: absolute;
  bottom: 220px;
  left: 50%;
  width: 80vw;
  max-width: 250px;
  transform: translateX(-50%);
  padding: 22px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;

  color: white;
  font-family: 'Poppins';
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
}

.hint--visible {
  opacity: 1;
}
