/* html {
	scroll-behavior: smooth;
	box-sizing: border-box;
  scroll-snap-type: y mandatory;
}

* {
	
	transition: transform .2s, filter .2s;
	margin: 0;
}

*,
*:before,
*:after {
	box-sizing: inherit;
} */

/* ============================== */

html {
	min-height: 100%;
	background-color: var(--black);
}

section, #main-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* justify-content: center; */
	/* border: 3px solid grey; */
	/* TODO maybe only for mobile and check if speed can be customized https://stackoverflow.com/questions/70501759/is-it-possible-to-adjust-css-scroll-snap-speed-easing*/
  /* scroll-snap-align: start; */
	position: relative;
}

section {
	min-height: 100svh;
}

#main-header {
	justify-content: center;
	min-height: 100svh;
}

.center {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

/* nav {
	display: flex;
	flex-direction: row;
	position: fixed;
	margin-top: 3em;
	margin-left: 3em;
	z-index: 999;
} */

/* nav a {
	font-size: 2em;
	background-color: lightcoral;
	padding: 1rem 3rem;
	margin-right: 3rem;
	color: #6c6c6c;
	text-decoration: none;
} */

/* nav a:hover {
	box-shadow: inset 0 0 0 4px white;
} */

#message {
  position: fixed;
  top: 10em;
  left: 15em;
  background-color: white;
  height: auto;
  padding: 10px 20px;
}

h1 {
	width: 100%;
	text-align: center;
}

/* ================================================= */

.a-opacity {
	animation: opacity 5s forwards;
}

.a-move {
	animation: move 5s forwards;
}

.a-color {
	animation: color 5s forwards;
}

.a-rotate {
	animation: rotate 5s forwards;
}

/* ================================================= */


/* keyframes */

@keyframes opacity {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes move {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(60em);
	}
}

@keyframes color {
	from {
		background-color: inherit;
	}
	to {
		background-color: chocolate;
	}
}

@keyframes rotate {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(360deg);
	}
}