@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;400;700&display=swap');

body .timer *{
  touch-action: none;
}

body .timer{
	overflow: hidden;
}

body.portrait .countdown{
	font-size: 13vmin;
}

body.landscape .countdown{
	font-size: 14vmin;
}

.countdown{
	margin: 0 auto;
	display: block;
	width: 128px;
	height: 128px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: "Oswald", sans-serif;
	font-weight: 400;
	border-radius: 50%;
	overflow: hidden;
	cursor: pointer;
	transition: width, height, border-radius, font-size;
	transition-duration: 0.2s;
}

.countdown--ended {
	-webkit-animation: buzz 0.5s;
		  animation: buzz 0.5s;
}

.countdown:active {
	transform: scale(1.02);
}

@-webkit-keyframes buzz {
  0% {
    transform: rotate(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(6deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(0);
  }
}

@keyframes buzz {
  0% {
    transform: rotate(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(6deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(-6deg);
  }
  100% {
    transform: rotate(0);
  }
}

.countdown__fill {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  opacity: 1;
}

.countdown__digit {
  width: 100%;
  text-align: center;
  mix-blend-mode: difference;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}