@font-face {
	font-family: 'Ubuntu';
	font-weight: normal;
	font-style: normal;
	src: local('Ubuntu'), url('/public/fonts/ubuntu-r.woff2') format('woff2');
}
@font-face {
	font-family: 'Ubuntu';
	font-weight: bold;
	font-style: normal;
	src: local('Ubuntu'), url('/public/fonts/ubuntu-b.woff2') format('woff2');
}


body {
	font-family: 'Ubuntu', sans-serif;
	margin: 0;
	background-color: #333;
}

a {
	color: inherit;
}

a:hover {
	text-decoration: none;
}

p {
	line-height: 1.5;
}

::selection {
	background-color: #7a3;
	color: #fff;
}

.full-wrapper {
	width: 100vw;
	min-height: 100vh;

	background-color: #eee;
	color: #000;

	position: relative;
	display: flex;
	gap: 1rem;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.full-wrapper:nth-child(2n) {
	background-color: #583;
	color: #fff;
}

.full-wrapper:nth-child(2n) ::selection {
	background-color: #fff;
	color: #583;
}

@media screen and (min-width: 36rem) {
	.full-wrapper.horizontal {
		flex-direction: row;
	}
	.block-wrapper.horizontal {
		grid-auto-flow: column;
	}
}


.block-wrapper {
	margin: 10vh 10vw;
	display: grid;
	grid-auto-flow: row;
	gap: 1rem;
}

.block {
	padding: 0 1rem;
	border: 3px solid;
	border-radius: 1rem;
	font-size: 1.2rem;
	position: relative;
}

.block.floating-heading {
	margin-top: 3rem;
}

.block.floating-heading h2:first-of-type {
	position: absolute;
	top: -4rem;
}


.icon {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}


.scroll-arrow {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 3rem;
	padding: 1rem;
	border-radius: 50%;
	transition: background .5s;
	animation: arrow-down 1s 1.5s cubic-bezier(.2,.9,.5,1.3) both;
}
.scroll-arrow:hover { background-color: #0002 }
.scroll-arrow:active { background-color: #0004 }


.logo {
	width: 6rem;
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 0;
}


.present h1 {
	animation: fade-up 1s both;
}

.present p {
	max-width: 40rem;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 400;
	margin: 0 1rem;
	animation: fade-up 1s .5s both;
}


ul, ol {
	padding-left: 1em;
}


.video-player {
	width: 80vmin;
	height: 45vmin;
	border: none;
	border-radius: 1rem;
	box-shadow: 0 0 1rem #0004;
}


@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(5rem);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes arrow-down {
	from {
		opacity: 0;
		transform: translate(-50%, -10rem);
	}
	to {
		opacity: 1;
		transform: translateX(-50%);
	}
}
