@charset "UTF-8";

header {
	display: block;
	text-align: center;
}
header .logo {
	opacity: 0;
	pointer-events: none;
}
header .page {
	position: relative;
	top: 3rem;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 2rem;
	pointer-events: none;
}
header .page .inner {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	row-gap: 5px;
	column-gap: 0;
	color: #fff;
	line-height: 2.5rem;
	font-size: 2.1rem;
	font-weight: bold;
}
header .page::before,
header .page::after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 4px;
	background-color: #fff;
}
header .page span {
	display: inline-block;
}
header .model {
	position: absolute;
	top: 5px;
	right: 10px;
	display: inline-flex;
	justify-content: flex-end;
	align-items: center;
	gap: 5px;
}
#news {
	position: absolute;
	padding: 1em;
	top: 10px;
	left: 10px;
	background-color: #fff;
	border-radius: 10px;
	display: none;
}
@media (orientation: portrait) {
	#news {
		padding: .5em;
		font-size: 65%;
	}
}
#menu {
	margin: 40px 20px;
}
#menu h1 {
	display: flex;
	align-items: center;
	gap: 60px;
	margin: 0 0 15px 0;
	font-size: 2em;
}
#menu h1::before,
#menu h1::after {
	content: '';
	height: 1px;
	background-color: #999;
	flex-grow: 1;
}
#menu .inner {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
	gap: 5px;
}
#menu a {
	position: relative;
	display: inline-block;
	width: calc((100% - 10px) / 3);
	aspect-ratio: 6 / 3;
	border: 1px solid #ccc;
	border-radius: 20px;
	text-decoration: none;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-color: #fff;
}
#menu a[disabled] {
	pointer-events: none;
}
#menu a .name {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .7);
	color: #fff;
	text-align: center;
	text-shadow: none;
	font-size: 2.5dvh;
	font-weight: bold;
	word-break: keep-all;
	transition: all .1s;
}
#menu a:hover .name {
	background-color: transparent;
	color: #333;
	text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff,
				-1px 1px 0 #fff,  1px -1px 0 #fff,
				 1px 0   0 #fff, -1px  0   0 #fff,
				 0   1px 0 #fff,  0   -1px 0 #fff;
}
@media (orientation: portrait) {
	#menu {
		margin: 40px 10px;
		padding: 0;
	}
	#menu h1 {
		gap: 20px;
		margin: 0 0 20px 0;
	}
	#menu a {
		aspect-ratio: 5 / 3;
	}
	#menu a .name {
		font-size: 1.4em;
		/* color: #0f0; */
	}
}
@media (orientation: landscape) {
	#menu .inner {
		gap: 10px;
	}
	#menu a {
		width: calc((100% - 50px) / 6);
	    aspect-ratio: 6 / 4;
	}
}
@media (max-width: 767px) {
	#menu a .name {
		font-size: 1em;
		/* color: #f00; */
	}
}
@media (max-height: 767px) and (orientation: landscape) {
	#menu a .name {
		font-size: 1em;
		/* color: #00f; */
	}
}
#topics {
	position: relative;
}
#topics .inner {
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	grid-auto-rows: auto;
	align-items: start;
	row-gap: 5px;
	column-gap: 10px;
	margin-left: 65px;
	margin-bottom: 5px;
	line-height: 1.2;
}
#topics::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "TOPICS";
	color: #d00;
	font-weight: bold;
}
#topics span {
	padding-top: 3px;
}
