/* Not Found (https://codepen.io/gabriellewee/pen/oBPGWd) */
body {
	margin: 0;
}

.not-found {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	padding: 12px;
	background: #343434;
	color: white;
	font-size: 24px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	height: 100vh;
	overflow: hidden;
	pointer-events: none;
	user-select: none;
}

.not-found svg {
	width: 50px;
	height: auto;
}

.not-found .crack {
	position: relative;
	z-index: 4;
	margin-left: -50px;
}

.not-found .crack polyline {
	fill: none;
	stroke: #f04f54;
	stroke-width: 10px;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 1649.099;
	stroke-dashoffset: 1649.099;
	-webkit-animation: drawStroke 1500ms ease-out 500ms forwards;
	animation: drawStroke 1500ms ease-out 500ms forwards;
}

.not-found main {
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
}

.not-found main > div {
	display: flex;
	align-items: center;
	align-content: center;
	position: relative;
	overflow: hidden;
}

.not-found main > div svg {
	position: relative;
	z-index: 1;
}

.not-found main > div svg polygon {
	fill: #343434;
}

.not-found main > div span {
	display: block;
	position: relative;
	z-index: 0;
	padding: 0 12px;
	line-height: 1.4;
	font-size: 1.2rem;
}

.not-found main > div:first-child {
	text-align: right;
	z-index: 1;
}

.not-found main > div:first-child span:first-child {
	opacity: 0;
	transform: translateX(100%);
	-webkit-animation: translateLeft 1000ms linear 1250ms forwards;
	animation: translateLeft 1000ms linear 1250ms forwards;
}

.not-found main > div:first-child span:last-child {
	opacity: 0;
	transform: translateX(100%);
	-webkit-animation: translateLeft 1000ms linear 1450ms forwards;
	animation: translateLeft 1000ms linear 1450ms forwards;
}

.not-found main > div:first-child svg polygon {
	-webkit-animation: removeFill 10ms ease-out 1600ms forwards;
	animation: removeFill 10ms ease-out 1600ms forwards;
}

.not-found main > div:last-child {
	z-index: 0;
	margin-left: -50px;
}

.not-found main > div:last-child span:first-child {
	opacity: 0;
	transform: translateX(-100%);
	-webkit-animation: translateRight 1000ms linear 1650ms forwards;
	animation: translateRight 1000ms linear 1650ms forwards;
}

.not-found main > div:last-child span:last-child {
	opacity: 0;
	transform: translateX(-100%);
	-webkit-animation: translateRight 1000ms linear 1850ms forwards;
	animation: translateRight 1000ms linear 1850ms forwards;
}

@-webkit-keyframes drawStroke {
	0% {
		stroke-dashoffset: 1649.099;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes drawStroke {
	0% {
		stroke-dashoffset: 1649.099;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

@-webkit-keyframes removeFill {
	0% {
		fill: #343434;
	}
	100% {
		fill: rgba(52, 52, 52, 0);
	}
}

@keyframes removeFill {
	0% {
		fill: #343434;
	}
	100% {
		fill: rgba(52, 52, 52, 0);
	}
}

@-webkit-keyframes pulseColor {
	0% {
		color: white;
	}
	25% {
		color: #43cb9d;
	}
	50% {
		color: white;
	}
	75% {
		color: #43cb9d;
	}
	100% {
		color: white;
	}
}

@keyframes pulseColor {
	0% {
		color: white;
	}
	25% {
		color: #43cb9d;
	}
	50% {
		color: white;
	}
	75% {
		color: #43cb9d;
	}
	100% {
		color: white;
	}
}

@-webkit-keyframes translateLeft {
	0% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 150, 0, 0, 1);
		opacity: 1;
	}
	7.61% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 69.561, 0, 0, 1);
	}
	11.41% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 39.355, 0, 0, 1);
	}
	15.12% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 17.801, 0, 0, 1);
	}
	18.92% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.02, 0, 0, 1);
	}
	22.72% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.661, 0, 0, 1);
	}
	30.23% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.852, 0, 0, 1);
	}
	50.25% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.282, 0, 0, 1);
	}
	70.27% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.519, 0, 0, 1);
	}
	100% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
		opacity: 1;
	}
}
@keyframes translateLeft {
	0% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 150, 0, 0, 1);
		opacity: 1;
	}
	7.61% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 69.561, 0, 0, 1);
	}
	11.41% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 39.355, 0, 0, 1);
	}
	15.12% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 17.801, 0, 0, 1);
	}
	18.92% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 3.02, 0, 0, 1);
	}
	22.72% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.661, 0, 0, 1);
	}
	30.23% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -10.852, 0, 0, 1);
	}
	50.25% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.282, 0, 0, 1);
	}
	70.27% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0.519, 0, 0, 1);
	}
	100% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
		opacity: 1;
	}
}
/* https://goo.gl/p1Hnde */
@-webkit-keyframes translateRight {
	0% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -150, 0, 0, 1);
		opacity: 1;
	}
	7.61% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -69.561, 0, 0, 1);
	}
	11.41% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -39.355, 0, 0, 1);
	}
	15.12% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -17.801, 0, 0, 1);
	}
	18.92% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.02, 0, 0, 1);
	}
	22.72% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.661, 0, 0, 1);
	}
	30.23% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10.852, 0, 0, 1);
	}
	50.25% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.282, 0, 0, 1);
	}
	70.27% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.519, 0, 0, 1);
	}
	100% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
		opacity: 1;
	}
}
@keyframes translateRight {
	0% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -150, 0, 0, 1);
		opacity: 1;
	}
	7.61% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -69.561, 0, 0, 1);
	}
	11.41% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -39.355, 0, 0, 1);
	}
	15.12% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -17.801, 0, 0, 1);
	}
	18.92% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -3.02, 0, 0, 1);
	}
	22.72% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.661, 0, 0, 1);
	}
	30.23% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 10.852, 0, 0, 1);
	}
	50.25% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.282, 0, 0, 1);
	}
	70.27% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -0.519, 0, 0, 1);
	}
	100% {
		transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
		opacity: 1;
	}
}
