/* vim: set fileencoding=utf-8 :
 * SPDX-License-Identifier: MIT
 * SPDX-FileType: SOURCE
 * SPDX-FileCopyrightText: 2022-2022 Pikopiko Network
 *                                 / 濃紺度胸会 Software Assembly
 * SPDX-FileContributor: Anthony Low <nodokai@pikopiko.org>
 */

@import url('../fonts/m-plus-2.css');

/* Josh's Custom CSS Reset https://www.joshwcomeau.com/css/custom-css-reset/ */
*, *::before, *::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}
html, body {
	height: 100%;
}
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
	display: block;
	max-width: 100%;
}
input, button, textarea, select {
	font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
	overflow-wrap: break-word;
	hyphens: auto;
}

html {
	font-family: 'M PLUS 2', sans-serif;
}
#body-column {
	max-width: 60rem;
	min-width: 35rem;
	margin: 0 auto;
	padding: 1rem;
	box-shadow: 0 0 10px;
	background: #dddddd;
}
header, nav, footer {
	text-align: center;
}
nav {
	font-size: 1.25rem;
	height: 4.5rem;  /* 1 + 2.5 + 1 */
}
#nav-bar {
	width: 100%;
	padding: 1rem 0;
	background: #dddddd;
}
#nav-bar.fixed {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	max-width: 60rem;
	min-width: 35rem;
	padding-left: 1rem;
	padding-right: 1rem;
	z-index: 99;
}
nav ul {
	width: 100%;
	height: 2.5rem;
	padding: 0;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: 1fr;
	gap: 0.5rem;
}
nav li {
	display: block;
	padding: 0.25rem;
	background: #eeeeee;
}
section {
	padding: 1rem 0;
}
h2 {
	margin-bottom: 1rem;
}
p {
	margin-bottom: 1rem;
}
.text-button {
	margin: 0;
	padding: 0;
	border: none;
	color: blue;
	text-decoration: underline;
	background: transparent;
	cursor: pointer;
}
.video {
	position: relative;
	width: 80%;
	margin: 1rem auto;
	padding-bottom: 45%;
}
#sya-video .yt-video-notice {
	background-image: url(https://i.ytimg.com/vi/F8mOsGDGvZk/maxresdefault.jpg);
}
