.css-typing p {
  border-right: .15em solid orange;
  font-family: "Courier";
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
}
.css-typing p:nth-child(1) {
  width: 35em;
  opacity: 0;
  -webkit-animation: type1 2s steps(40, end);
  animation: type2 7s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}


.css-typing p:nth-child(2) {
  width: 45.5em;
  opacity: 0;
  -webkit-animation: type2 2s steps(40, end);
  animation: type2 7s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 9.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(3) {
  width: 21em;
  opacity: 0;
  -webkit-animation: type3 2s steps(40, end);
  animation: type2 4s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 17s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(4) {
  width: 20em;
  opacity: 0;
  -webkit-animation: type4 2s steps(40, end);
  animation: type2 4s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 23s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(5) {
  width: 30em;
  opacity: 0;
  -webkit-animation: type4 2s steps(40, end);
  animation: type2 7s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 28s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}
.css-typing p:nth-child(6) {
  width: 20em;
  opacity: 0;
  -webkit-animation: type4 2s steps(40, end);
  animation: type2 6s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 37s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.css-typing p:nth-child(7) {
  width: 42em;
  opacity: 0;
  -webkit-animation: type4 2s steps(40, end);
  animation: type2 6s steps(40, end);
  -webkit-animation-delay: 2s;
  animation-delay: 45s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}


.css-typing p:nth-child(8) {
  width: 24em;
  opacity: 0;
  -webkit-animation: type5 5s steps(20, end), blink .5s step-end infinite alternate;
  animation: type5 5s steps(20, end), blink .5s step-end infinite alternate;
  -webkit-animation-delay: 4s;
  animation-delay: 52s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}



@keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    border: none;
  }
}

@-webkit-keyframes type {
  0% {
    width: 0;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    border: none;
  }
}

@keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    opacity: 1;
    border: none;
  }
}

@-webkit-keyframes type2 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  99.9% {
    border-right: .15em solid orange;
  }
  100% {
    opacity: 1;
    border: none;
  }
}

@keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes type3 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes type4 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes type5 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}


@-webkit-keyframes blink {
  50% {
    border-color: tranparent;
  }
}

@-webkit-keyframes type6 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes type7 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}
@-webkit-keyframes type8 {
  0% {
    width: 0;
  }
  1% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@-webkit-keyframes blink {
  50% {
    border-color: tranparent;
  }
}





.hand {
	position: absolute;
	border-radius: 80% 80% 50% 50% / 100% 100% 10% 10%;
	box-shadow: 0 0 5px 0 black;
	animation: linear infinite;
	position: absolute;

}

$hourHand_width: 3%;
.hour {
	$top: 20%;
	top: $top;
	$width: $hourHand_width;
	width: $width;
	$height: (50% - $top + $width/2);
	height: $height;
	left: (50% - $width/2);
	transform-origin: center percentage(50% / ($top + $height));
	animation: {
		name: hourHand;
		duration: (12s);
	}
	background-color: #CCC;
}

.minute {
	$width: 3%;
	width: $width;
	$height: (50% + $width/2);
	height: $height;
	left: (50% - $width/2);
	transform-origin: center percentage(50% / $height);
	animation: {
		name: minuteHand;
		duration: (10s
   );
	}
	background-color: #CCC;
}

.second {
	$secondHand_width: 1%;
	width: $secondHand_width;
	$secondHand_height: 60%;
	height: $secondHand_height;
	left: (50% - $secondHand_width/2);
	$secondHand_transform_origin: percentage(50% / $secondHand_height);
	transform-origin: center $secondHand_transform_origin;
	animation: {
		name: secondHand;
		duration: 7s;
	}
	background-color: gray;

	&::before {
		content: '';
		position: absolute;
		$width: percentage($hourHand_width / $secondHand_width + 1);
		width: $width;
		$height: ($secondHand_width * $width / $secondHand_height);
		height: $height;
		left: -(($width - 100) / 2);
		top: ($secondHand_transform_origin - $height/2);
		border-radius: 50%;
		background: inherit;
		box-shadow: inherit;
	}
}




