/**
 * (c) Mike Moisio
 */
 
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 
body {
	background: #fefefe;
	text-align: center;
	font-size: 16pt;
	font-family: "Roboto", sans-serif;
	font-optical-sizing: auto;
}

.background {
	position: fixed;
	background: #fefefe;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	margin: 0;
	z-index: 1;
}


.background video {
	position: relative;
	object-fit: cover;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.90;
	background-size: 100%;
	max-width: 100vw;
	z-index: 1;
}

.flex {
	position: relative;
	display: flex;
	box-sizing: border-box;
	padding: 1em;
	margin-top: -3vh;
	min-height: 100vh;
    align-items: center;
    justify-content: center;
	background: transparent;
	z-index: 3;
}

.wrapper {
	width: 100%;
	max-width: 640px;
	margin: 0 auto;
	background: #fefefe;
	background: linear-gradient(42deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 245, 252, 1) 100%);
	box-shadow: 3px 3px 16px #0003;
	border: 2px solid #b9ab9e;
	border-radius: 3px;
}

.stars {
	font-size: 120%;
	margin: 0 auto -8px auto;
	padding: 0;
}

h1 {
	margin: 1em auto 0.25em auto;
}

h1 img {
	width: 90%;
	margin: 0 auto;
	max-width: 480px;
}

h2, h3 {
	margin: 0.6em auto;
}

h3 {
	margin-bottom: 1.5em;
}

.links img {
	max-width: 128px;
	border: 1px solid #dadada;
	background: white;
}

.links img:hover {
	transform: scale(1.5);
}

footer {
	margin-top: 2em;
	color: #444;
	padding-bottom: 1em;
	font-size: 80%;
}

@media screen and (max-width: 800px) {
	body {
		padding: 0;
		margin: 0;
	}
	
	.background video {
		display: none;
	}
	
	.flex {
		border-top: 24px solid navy;
		border-bottom: 24px solid red;		
		padding: 0 0.5em;
		margin-top: 0;
	}
	
	.wrapper {
		box-shadow: none;
		border: none;
		background: none;
	}
}