@import url('https://fonts.googleapis.com/css?family=Roboto+Mono&display=swap');
* { box-sizing: border-box; }
:root {
	--black: #111111;
	--gray: #444444;
	--red: #fd4442;
	--white: #ffffff;
}
html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-size: 10px;
	background-color: var(--black, #000000);
}
body {
	margin: 0;
	padding: 0;
	font-family: 'Roboto Mono', monospace;
}
h1.logo {
	position: relative;
	display: block;
	width: 100%;
/* 	max-width: 50rem; */
	line-height: 1px;
/* 	overflow: hidden; */
/* 	text-indent: -1000%; */
	color: transparent
/* 	margin-left: -8%; */
}
h1.logo::after {
	display: block;
	content: '';
	width: 100%;
	padding-top: 19.3%;	
	background: url('../img/logo.svg') no-repeat center center;
	background-size: 100% 100%;
	margin-left: -14%;
}
header {
	width: 100vw;
	height: 100vh;
	height: calc(var(--vh, 1vh) * 100);
	background-color: var(--black, #000000);
	color: var(--white, #ffffff);
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding-left: 25%;
}
header .container {
	width: 100%;
	max-width: 50rem;
}
header > * {
	position; relative;
	z-index: 1;
}
.traffic-bg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 0;
}
.traffic-bg .before,
.traffic-bg .after {
/* 	border: 1px solid yellow; */
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	overflow: hidden;
	z-index: 1;
/* 	opacity: 0.5; */
}

.traffic-bg .before::before,
.traffic-bg .after::before {
	display: block;
	content: '';
	position: absolute;
	top: 0;
	left: -540px;
	bottom: 0;
	width: calc(100% + 540px);
	background-image: url('../img/before.png');
	background-image: -webkit-image-set(
		url('../img/before.png') 1x,
		url('../img/before@2x.png') 2x
	);
	background-image: image-set(
		url('../img/before.png') 1x,
		url('../img/before@2x.png') 2x
	);
	background-repeat: repeat;
	background-position: left center;
	background-color: var(--black, #000000);
	background-size: 540px 600px;
	animation: animate-bg 20s linear infinite;
}
.traffic-bg .before {
	z-index: 2;
	width: 25%;
	border-right: 1px solid var(--red);
	animation: animate-line 2s linear infinite;
}
.traffic-bg .after::before {
	background-image: url('../img/after.png');
	background-image: -webkit-image-set(
		url('../img/after.png') 1x,
		url('../img/after@2x.png') 2x
	);
	background-image: image-set(
		url('../img/after.png') 1x,
		url('../img/after@2x.png') 2x
	);
}
a[href^='mailto'] {
	display: inline-block;
	margin-top: 3rem;
	background-color: var(--red);
	color: var(--white);
	text-decoration: none;
	font-size: 1.5rem;
	line-height: 1.5rem;
	padding: 1rem 2.5rem;
	text-align: center;
/* 	width: 18.2rem; */
	margin-left: -14%;
	border: 1px solid var(--red);
	animation: animate-line 2s linear infinite;
}
@media(hover: hover) {
	a[href^='mailto'] {
		background-color: var(--black);
		transition: background-color 0.5s ease;
	}
	a[href^='mailto']:hover {
		background-color: var(--red);
	}
}
@keyframes animate-bg {
	from {
		left: -540px;
	}
	to {
		left: 0px;
	}
}
@keyframes animate-line {
	from {
		border-color: rgba(253, 68, 66, 1);
	}
	50% {
		border-color: rgba(253, 68, 66, 0.3);
	}
	to {
		border-color: rgba(253, 68, 66, 1);
	}
}