@font-face {
	font-family: CloisterBlack;
	src: url("/CloisterBlack.ttf");
  }

body {
	margin: 0;
	width: 100vw;
	height: 100vh;
	transition: opacity 0.25s;
	opacity: 1;
}

.transparent {
	opacity: 0;
}

main {
	width: 100%;
	height: 100%;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	font-family: CloisterBlack, 'Times New Roman', Times, serif;
}

main.accessible {
	font-family: 'Times New Roman', Times, serif;
}

#links {
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	background-clip: text;
	filter: saturate(0) brightness(2000%);
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	50% {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.screen-link {
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	outline-offset: -8px;
	outline-width: 2px;
}

.link-text {
	color: transparent;
	font-weight: 700;
	font-size: 4vw;
	animation-name: fadeIn;
	animation-duration: 0.5s;
}

main.accessible .link-text {
	color: white;
}

#left {
	cursor: w-resize;
}

#forward {
	cursor: n-resize;
}

#no {
	cursor: not-allowed;
}

#right {
	cursor: e-resize;
}

#plaque {
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	text-wrap: wrap;
	overflow-wrap: break-word;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url("/images/room_half_i_wall_plaque_darker.webp");
	background-size: contain;
	background-position: center;
	filter: brightness(50%);
	background-repeat: no-repeat;
	background-clip: text;
	text-align: center;
	pointer-events: none;
}

#plaque-text {
	max-width: 32vw;
	color: transparent;
	font-weight: 700;
	margin: 0;
	font-size: 4vw;
	line-height: 1;
}

main.accessible #plaque {
	filter: none;
}

main.accessible #plaque-text {
	color: white;
}

@media (min-aspect-ratio: 16/9) {
	main {
		background-size: cover;
	}

	#links {
		background-size: cover;
	}

	#plaque {
		background-size: cover;
	}
}
