:root {
    --intro-border: rgba(0,0,0,.2);
}

main { background-color: var(--white); }

.space {
	display: table;
	height: 100%;
}

.intro > div {
	text-align: center;
	height: 100%;
	width: 100%;
	background-color: var(--lgray);
	display: table;
	position: fixed;
	top: 0;
	z-index: -1;
}

.intro > div > div { display: table-row; }

.intro > div > div > div {
	display: table-cell;
	vertical-align: middle;
	height: inherit;
}

.intro .fade {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.intro a { text-decoration: none; }

.intro h1 {
	font-family: 'Bungee Outline', sans-serif;
	font-style: normal;
	font-weight: 400;
	display: flex;
	align-items: center;
	justify-content: center;
}

.intro h1 hr {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	border: none;
	background-color: var(--intro-border);
	height: 1px;
}

.intro h1 span a {
	text-decoration: none;
	color: var(--black);
	display: inline-block;
	vertical-align: middle;
}

.intro h2,
.intro h3 {
	font-family: 'Roboto', sans-serif;
	font-weight: 100;
	color: var(--black);
}

.intro h1 {
	font-size: 64px;
	line-height: 64px;
}

.intro h2 { font-size: 36px; }

.intro h3 { font-size: 26px; }

/* Mobile landscape */
@media (max-height: 400px) {
	.intro h1 {
		font-size: 42px;
		line-height: 42px;
		margin: 10px 0;
		white-space: nowrap;
	}

	.intro h1 hr { display: none; }

	.intro h2,
	.intro h3 { margin: 0; }
}

@media (max-width: 600px) {
	.intro h1 {
		font-size: 46px;
		line-height: 48px;
		margin: 30px 0;
	}

	.intro h1 hr { display: none; }
}

@media (min-width: 601px) and (min-height: 601px) {
	.intro h1 span { padding: 0 100px; }
}

@media (min-width: 1201px) {
	.intro h1 { white-space: nowrap; }
}

.mouse {
	margin-top: -15px;
	padding-bottom: 30px;
	height: 15px;
	background-color: var(--white);
	position: relative;
}

.mouse > div {
	position: absolute;
	top: -24px;
	left: calc(50% - 35px);
	height: 70px;
	width: 70px;
	text-align: center;
}

.mouse span {
    display: inline-block;
    background-color: var(--text);
    border: 15px solid var(--white);
    border-radius: 40px;
    width: 40px;
    height: 40px;
    position: relative;
}

.mouse span em {
    display: inline-block;
    width: 12px;
    height: 22px;
    border: 1px solid var(--white);
    border-radius: 8px;
    margin: 8px 12px;
}

.mouse span em hr {
    border: none;
    margin: 0;
    background-color: var(--border);
    height: 5px;
    width: 2px;
    border-radius: 2px;
    margin: 4px 5px;
    animation: mouse 5s infinite;
}

@keyframes mouse {
    20% {margin-top: 4px;}
    21% {margin-top: 5px;}
    22% {margin-top: 6px;}
    23% {margin-top: 7px;}
    24% {margin-top: 6px;}
    25% {margin-top: 5px;}
    26% {margin-top: 4px;}
    30% {margin-top: 4px;}
    31% {margin-top: 5px;}
    32% {margin-top: 6px;}
    33% {margin-top: 7px;}
    34% {margin-top: 6px;}
    35% {margin-top: 5px;}
    36% {margin-top: 4px;}
}