@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100vw;
	height: 100vh;
	background-color: #bababa;
	overflow: hidden;
	font-family: "Space Grotesk", sans-serif;
	font-size: 1dvh;
}

#label,
.locations li,
.social li {
	opacity: 0;
	visibility: hidden;
}

.char-child {
	visibility: hidden;
}

main,
.locations,
.social,
.decor {
	transform-origin: top;
	transform: scaleY(0);
	visibility: visible;
	opacity: 1;
}

main {
	position: fixed;
	width: 75dvw;
	height: 90dvh;
	top: 0;
	left: 0;
	background-color: #2d5a91;
	z-index: 5;
}

.decor {
	position: fixed;
	width: 25dvw;
	height: 4dvh;
	top: 96dvh;
	left: 75dvw;
	background-color: #2d5a91;
	z-index: 5;
}

.social {
	position: fixed;
	width: 25dvw;
	height: 43dvh;
	top: 53dvh;
	left: 75dvw;
	background-color: #242424;
	z-index: 5;
	user-select: none;
}

.locations {
	position: fixed;
	width: 25dvw;
	height: 53dvh;
	top: 0;
	left: 75dvw;
	background-color: transparent;
	z-index: 5;
	user-select: none;
}

#hero {
	display: block;
	color: #eee;
	font-size: 10dvh;
	position: absolute;
	bottom: 2dvh;
	left: 2dvh;
	line-height: 0.9em;
	font-weight: 600;
	letter-spacing: -0.05em;
	text-transform: uppercase;
	user-select: none;
}

#first,
#last {
	font-weight: 300;
}

#label {
	display: block;
	color: #eee;
	top: calc(2dvh - 0.4em);
	position: absolute;
	right: 2dvh;
	font-size: 2.2rem;
	line-height: 3.2rem;
	text-align: right;
	margin-top: 10px;
}

.social ul,
.locations ul {
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 2.2rem;
	line-height: 3.2rem;
}

.social ul {
	color: #eee;
	bottom: 2dvh;
	position: absolute;
	left: 2dvh;
}

.locations ul {
	color: #000;
	top: 2dvh;
	position: fixed;
	right: 2dvh;
	text-align: right;
}

a {
	text-decoration: none;
	color: inherit;
	outline: none;
	display: block;
}

.social li {
	display: block;
	position: relative;
	cursor: pointer;
	will-change: transform, color;
}

.locations li {
	display: block;
	list-style: none;
}

.char-parent,
.word-parent {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	visibility: visible;
}

.char-child {
	display: inline-block;
	position: relative;
	will-change: transform;
}

.force-3d {
	backface-visibility: hidden;
	transform: translateZ(0);
}

@media (orientation: portrait) {
	main {
		width: 100dvw;
		height: 60dvh;
		position: relative;
	}

	.locations {
		width: 100dvw;
		height: 15dvh;
		position: relative;
		left: 0;
		top: 0;
		background-color: #eee;
	}

	.social {
		width: 100dvw;
		height: 20dvh;
		position: relative;
		left: 0;
		top: 0;
	}

	.decor {
		display: none;
	}

	.locations ul {
		position: relative;
		right: 2dvh;
		top: 2dvh;
		text-align: right;
	}

	.social ul {
		position: relative;
		left: 2dvh;
		bottom: auto;
		top: 2dvh;
	}

	#hero {
		font-size: 8dvh;
		line-height: 0.85em;
	}

	#label {
		font-size: 1.8rem;
	}

	li {
		line-height: 2.8rem;
	}
}
