/* Palette: #56A7D8 | #176799 | #8CFFED | #FFD3CC | #CC5C5C */

/* Page */
html, body {
	width: 100%;
	height: 100%;
	margin: 0;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	background: white;
	font-family: "Montserrat", Arial, sans-serif;
	font-weight: 500;
}

.container {
	width: 80vw;
	position: relative;
	text-align: center;
}

/* Content */
.spacer {
	height: 10vw;
}

.welcome {
	display: block;
	font-size: 6vw;
	text-align: center;
	color: rgba(0, 0, 0, 0.7);
}

.resume {
	display: block;
	text-decoration: none;
	text-transform: uppercase;
	color: rgba(0, 0, 0, 0.7);
	font-size: 2.5vw;
	margin: 2.5vw 0;
}

.links {
	position: relative;
	width: 100%;
	height: 7vw;
}

.links a {
	background: rgba(0, 0, 0, 0.7);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
	position: absolute;
	border-radius: 50%;
	transform: translateX(-50%);
}

.links a svg {
	width: 3vw;
	height: 3vw;
	padding: 2vw;
	fill: white;
	display: block;
}

.links a:nth-child(1) {
	left: calc(50% - 7vw - 1vw);
	animation: 0.3s ease-out 0.00s presentLinks both;
}

.links a:nth-child(2) {
	left: 50%;
	animation: 0.3s ease-out 0.05s presentLinks both;
}

.links a:nth-child(3) {
	left: calc(50% + 7vw + 1vw);
	animation: 0.3s ease-out 0.10s presentLinks both;
}

.print-email {
	display: none;
}

@media print {
	.links,
	.resume {
		display: none;
	}

	.print-email {
		display: block;
		text-transform: uppercase;
	}
}

@keyframes presentLinks {
	0% {
		top: 7vw;
		opacity: 0;
	}
	100% {
		top: 0;
		opacity: 1;
	}
}

/* Full-size fixed layout */
@media (min-height: 1000px) and (min-width: 800px) {
	.container {
		width: 640px;
	}
	
	.welcome {
		font-size: 48px;
	}

	.resume {
		font-size: 20px;
		margin: 20px 0;
	}
	
	.spacer {
		height: 80px;
	}

	.links {
		height: 56px;
	}
	
	.links a svg {
		width: 24px;
		height: 24px;
		padding: 16px;
	}
	
	.links a:nth-child(1) {
		left: calc(50% - 56px - 8px);
	}

	.links a:nth-child(2) {
		left: 50%;
	}

	.links a:nth-child(3) {
		left: calc(50% + 56px + 8px);
	}

	@keyframes presentLinks {
		0% {
			top: 56px;
			opacity: 0;
		}
		100% {
			top: 0;
			opacity: 1;
		}
	}
}

/* Height-dependent layout */
@media (max-height: 1000px) and (min-width: 800px), (max-height: 800px) and (max-width: 800px) and (orientation: landscape) {
	.container {
		width: 64vh;
	}
	
	.welcome {
		font-size: 4.8vh;
	}

	.resume {
		font-size: 2vh;
		margin: 2vh 0;
	}
	
	.spacer {
		height: 8vh;
	}
	
	.links {
		height: 5.6vh;
	}
	
	.links a svg {
		width: 2.4vh;
		height: 2.4vh;
		padding: 1.6vh;
	}
	
	.links a:nth-child(1) {
		left: calc(50% - 5.6vh - 0.8vh);
	}

	.links a:nth-child(2) {
		left: 50%;
	}

	.links a:nth-child(3) {
		left: calc(50% + 5.6vh + 0.8vh);
	}

	@keyframes presentLinks {
		0% {
			top: 5.6vh;
			opacity: 0;
		}
		100% {
			top: 0;
			opacity: 1;
		}
	}
}
