@font-face
{
	font-family: font;
	src: url("/font.otf") format("opentype");
}
html { height: 100%; }
body
{
	margin: 0;
	height: 100%;
	font-family: font;
}
header
{
	position: fixed;
	z-index: 10;
	width: 100%;
	background-color: white;
	color: #6BA2D7;
	align-items: center;
	box-shadow: 0 2px 8px #6BA2D7;
	display: flex;
}
header > b { cursor: pointer; }
header > img
{
	height: 50px;
	cursor: pointer;
}
header > img[src="/p.svg"]
{
	color: green;
	margin-left: auto;
}
main
{
	height: 100%;
	padding-top: 50px;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	box-sizing: border-box;
	gap: 5px;
}
main > button
{
	border: none;
	margin: 0;
	padding: 0;
	width: calc(50% - 2.5px);
	height: calc(33.33% - 3.33px);
	overflow: hidden;
	background-color: black;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transition: opacity 1s;
}
main > button > a
{
	display: block;
	height: 100%;
	width: 100%;
	color: white;
	font-family: font;
	font-weight: bold;
	font-size: 5vw;
	text-align: left;
	text-decoration: none;
	text-shadow: 2px 2px 1px black;
	pointer-events: none;
	cursor: pointer;
	opacity: 0;
	transition: opacity 1s;
}
main > button:hover { opacity: 0.5; }
main > button:hover > a
{
	opacity: 1;
	animation: enable 1s forwards;
}
@media (min-aspect-ratio: 1/1)
{
	main > button
	{
		width: calc(33.33% - 3.33px);
		height: calc(50% - 2.5px);
	}
}
@keyframes enable { to { pointer-events: auto; } }
@supports (-webkit-touch-callout: none)
{
	main > button > a
	{
		position: relative;
		z-index: -1;
		pointer-events: auto;
	}
	@keyframes enable { to { z-index: 1; } }
}
main > button.view
{
	position: fixed;
	z-index: 1;
	width: 100%;
	height: calc(100% - 50px);
	background-size: contain;
	opacity: 1;
	transition: none;
}
main > button.view > a
{
	opacity: 0 !important;
	transition: none;
}
