* {
	background-color: rgb(40, 40, 40);
	color: white;
	text-align: center !important;
	font-family: 'Roboto', sans-serif;
}

.hidden {
	visibility: hidden;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	position: absolute;
}

body {
	margin: 0;
}

p {
	margin: 2em 5em;
	line-height: 1.5;
}

h1 {
	font-size: 2em;
	font-weight: bold;
	margin: 40px;
}

form {
	margin: 40px;
}

input,
button {
	color: black;
	outline: none;
	border: none;
	background-color: white;
	border-radius: 12px;
}

input {
	padding: 9px 20px;
}

button {
	padding: 10px 20px;
}

/* Each page is a full page load, so the page fly transition is a cross-document view transition */
@view-transition {
	navigation: auto;
}

::view-transition-old(root) {
	animation: 150ms cubic-bezier(0.33, 1, 0.68, 1) both fly-out;
}

::view-transition-new(root) {
	animation: 150ms cubic-bezier(0.33, 1, 0.68, 1) 150ms both fly-in;
}

@keyframes fly-out {
	to {
		opacity: 0;
		transform: translateY(20px);
	}
}

@keyframes fly-in {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
}
