@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: 'Fami Sans';
  font-style: normal;
  font-weight: 400;
  font-weight: normal;
  font-display: swap;
  src: url('font/Fami-Sans.otf') format('otf');
  src: url('font/fami-sans.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Sans Bold';
  font-style: normal;
  font-weight: 700;
  font-weight: bold;
  font-display: swap;
  src: url('font/Fami-Sans-Bold.otf') format('otf');
  src: url('font/fami-sans-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Sans Condensed';
  font-style: normal;
  font-weight: 400;
  font-weight: normal;
  font-display: swap;
  src: url('font/Fami-Sans-Condensed.otf') format('otf');
  src: url('font/fami-sans-condensed.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Sans Condensed Bold';
  font-style: normal;
  font-weight: 700;
  font-weight: bold;
  font-display: swap;
  src: url('font/Fami-Sans-Condensed-Bold.otf') format('otf');
  src: url('font/fami-sans-condensed-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Serif';
  font-style: normal;
  font-weight: 400;
  font-weight: normal;
  font-display: swap;
  src: url('font/Fami-Serif.otf') format('otf');
  src: url('font/fami-serif.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Serif Bold';
  font-style: normal;
  font-weight: 700;
  font-weight: bold;
  font-display: swap;
  src: url('font/Fami-Serif-Bold.otf') format('otf');
  src: url('font/fami-serif-bold.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Square';
  font-style: normal;
  font-weight: normal;
  font-weight: 400;
  font-display: swap;
  src: url('font/Fami-Square.otf') format('otf');
  src: url('font/fami-square.woff2') format('woff2');
}

@font-face {
  font-family: 'Fami Square Bold';
  font-style: normal;
  font-weight: 700;
  font-weight: bold;
  font-display: swap;
  src: url('font/Fami-Square-Bold.otf') format('otf');
  src: url('font/fami-square-bold.woff2') format('woff2');
}

body {
	background: #222;
	font-family: "Noto Sans", system-ui;
	font-weight: 400;
	font-style: normal;
}

#page {
	width: 780px;
	display: block;
	margin: 0;
	position: absolute;
	left: 50%;
	margin-right: -50%;
	transform: translate(-50%);
	
	background-color: #004;
	box-shadow: 0 0 8px 4px #000;
}

header {
	display:block;
	float: right;
	width: 520px;
	padding: 24px;
	background-color: #000;
	text-wrap: nowrap;
}
header h1 {
	font-family: "Fami Sans Condensed Bold", monospace;
	font-smooth: never;
	-webkit-font-smoothing : none;
	font-weight: 700;
	font-size: 32px;
	color: #fa0;
}
header h2 {
	font-family: "Fami Sans Bold", monospace;
	font-smooth: never;
	-webkit-font-smoothing : none;
	font-weight: 700;
	font-size: 16px;
	color: #fff;
}

#sidebar {
	display: block;
	float: left;
	width: 192px;
	background-color: #000;
	color: #fff;
	padding: 10px;
	font-family: 'Fami Sans Condensed Bold', monospace;
	font-size: 32px;
	font-weight: 700;
}

#sidebar img {
}

#sidebar nav a {
	display:block;
	width: 128px;
	height: 16px;
	background:url(btn/nes-btn.png);
	padding: 8px 32px;
	
	font-family: 'Fami Sans Bold', monospace;
	font-weight: 700;
	text-decoration: none;
	font-size: 16px;
	color: #fff;
}

#sidebar nav a:hover {
	background-position:0 32px;
}

#footer {
	display: block;
	float: left;
	text-align: center;
	size: 10pt;
	color: #ccc;
	width: 780px;
}

div.content {
	display: block;
	float: right;
	width: 520px;
	padding: 24px;
	background-color: #fff;
}

div.content p.timestamp {
	color: grey;
	font-size: 0.8em;
	text-align: center;
	margin: -1em 0 0 0;
}

div.content p {	color: #008;}

div.content details { color: #f80;}

div.content details p {	color: #f80;}

div.content h1 {
	font-family: "Fami Sans Bold";
	font-smooth: never;
	-webkit-font-smoothing : none;
	font-size: 32px;
	font-weight: 700;
	color: #008;
}

div.content h2 {
	font-family: "Fami Sans Bold";
	font-smooth: never;
	-webkit-font-smoothing : none;
	font-size: 16px;
	font-weight: 700;
	color: #008;
}

div.gallery {
	margin: 5px;
	border: 1px solid #ccc;
	float: left;
	width: 160px;
	text-align: center;
}

div.gallery:hover {
	border: 1px solid #777;
}

div.gallery img {
	object-fit: none;
	width: 160px;
	height: 120px;
	background-color: #888;
}

div.desc {
	padding: 4px;
	text-align: center;
	font-size: 10pt;
}