@font-face {
	font-family: "Orae";
	src: url("assets/orae_font.otf") format("opentype");
}

@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:ital,wght@0,100;0,300;0,400;0,500;0,700;0,800;0,900;1,100;1,300;1,400;1,500;1,700;1,800;1,900&display=swap');

.alegreya-sans-thin {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.alegreya-sans-light {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.alegreya-sans-regular {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.alegreya-sans-medium {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.alegreya-sans-bold {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.alegreya-sans-extrabold {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.alegreya-sans-black {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.alegreya-sans-thin-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.alegreya-sans-light-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.alegreya-sans-regular-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.alegreya-sans-medium-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.alegreya-sans-bold-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.alegreya-sans-extrabold-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.alegreya-sans-black-italic {
  font-family: "Alegreya Sans", sans-serif;
  font-weight: 900;
  font-style: italic;
}

html {
	background-color: black;
	color: white;
	font-family: "Alegreya Sans", sans-serif;
	overflow-x: clip;
}

.background-img {
	z-index: -1;
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}


.footer-effect {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
	z-index: 100;

	opacity: 0;
	animation: footer-appear linear;
	animation-timeline: scroll(root);
	animation-range: 95% 100%;
}

@keyframes footer-appear {
	to {
		opacity: 1;
	}
}

.foreground-wrap {
	width : 100%;
	height : 100%;
	overflow-x: hidden;
	inset: 0;
	position: absolute;
	pointer-events: none;
}

.foreground-img {
	z-index: 100;
	position: fixed;
	top : 0;
	width: 50vw;
	height: auto;
}

.foreground-l {
	left: 0;
	animation: foreground-intro-l 4s ease-out forwards;
}

.foreground-r {
	right : 0;
	animation: foreground-intro-r 4s ease-out forwards;
}


@keyframes foreground-intro-l {
	from {
		left: 0;
	}

	to {
		left: -20vw;
	}
}

@keyframes foreground-intro-r {
	from {
		right: 0;
	}

	to {
		right: -20vw;
	}
}


* {
	box-sizing: border-box;
}

body {
	padding: 10rem 2rem 1rem 2rem;
	max-width: 37rem;
	margin: 0 auto;
}

footer {
	margin-top: 100vh;
	display: flex;
	gap: 1rem;
	justify-content: center;
}


footer p,
footer a {
	margin-block: 0;
	font-size: 0.7rem;
	color: #888888;
	text-align: center;
	font-variant-numeric: lining-nums;
}

p {
	font-size: 1rem;
	text-align: justify;
	text-justify: inter-character;
}

h1 {
	margin-block-start: 3rem;
	font-family: 'Orae';
	font-size: 2rem;
	text-align: center;
	font-synthesis: none;
}

.introduction {
	font-size: 1.6rem;
	font-style: italic;
	font-weight: 300;
	text-align: center;
	margin: 0 auto 4rem;
	width : 90%;
}

iframe {
	width: 100%;
	height: 300px;
	border-radius: 8px;
}



.logo {
	max-width: 25rem;
	display: block;
	margin: 0 auto 5rem auto;
}

.gif {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
}

.call-to-action {
	display: flex;	
	gap : 1rem;
	justify-content: center;
	margin-top: 3rem;
}

.call-to-action a {
	color: white;
	text-decoration: none;
	width : 30%;
	background: #111111;
	border-radius: 8px;
	display: flex;	
	flex-direction: column;
	padding: 1rem;
	font-size: 1.5rem;
	text-align: center;
	font-weight: 700;
	letter-spacing: 1px;
	overflow-x: clip;
	transition:
	  transform 0.2s;
}

.call-to-action a:visited {
	color: white;
}

.call-to-action a:hover {
	transform: scale(1.04);
}

.call-to-action a img {
	width: 100px;
	display: block;
	margin: 1rem auto 0 auto;
}

.characters {
	display: flex;
	flex-wrap: nowrap;
	gap: 1rem;
	align-items: end;
	justify-content: center;
}

.characters div p {
	margin-block-start: 0;
	text-align: center;
	font-family: 'Orae';
	font-size: min( 1.5rem, 4.5vw );
}

.characters div {
	position: relative;
}

.characters div img {
	width: auto;
	height: min(145px, 17vw);
	image-rendering: pixelated;
}

.characters div .base_img {
	opacity: 1;
}

.characters div .alt_img {
	position: absolute;
	transform: translateX(-100%);
	opacity: 0;
	pointer-events: none;
}

.characters div:hover .base_img {
	opacity: 0;
}

.characters div:hover .alt_img {
	opacity: 1;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.gallery img {
	flex: 1 1 calc(100% - 0.5rem);
	min-width: 0;
	max-width: 100%;
	border-radius: 8px;
	transition: transform 0.2s;
}

.gallery img:hover {
	/* transform: scale(1.02); */
}

@media (max-width: 700px) {
	.call-to-action {
		gap : 0.8rem;
		justify-content: center;
	}
	
	.call-to-action a {
		min-width: 40%;
	}
	
	
	
}


@media (max-width: 800px) {
	@keyframes foreground-intro-l {
		from {
			left: 0;
		}

		to {
			left: -35vw;
		}
	}

	@keyframes foreground-intro-r {
		from {
			right: 0;
		}

		to {
			right: -35vw;
		}
	}
}

