:root {
    --bg: #0D0D0D;
    --accent: #FF7400;
    --accent-alt: #fba11a;
    --fg: #F0D6AB;
}

html {
    background-color: var(--bg);
    margin: auto;
    display: flex;
    min-height: 100vh;
}

.content {
	padding: 20px;
	max-width: 576px;
	margin: 0 auto;
}

body {
    max-width: 576px;
    margin: auto;
    padding: 0 18px;
    line-height: 1.7;
    font-family: fusion-pixel, system-ui, sans-serif;
    color: var(--fg);
}

a {
    color: var(--accent)
}

a:hover {
    color: #FFD900 !important;
}

a:visited {
    color: var(--accent-alt);
}

hr {
    border-top: 1px solid var(--fg);
    width: 100%;
    height: 10;
    margin: auto;
    margin-left: 0;
    opacity: 11.4%;
}

hr.diary {
    border-top: 1px solid var(--fg);
    width: 25%;
    height: 0;
    margin: auto;
    opacity: 22.2%;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.45;
}

img {
    max-width: 100%;
    margin: 10px auto;
    margin-left: 0;
    margin-right: auto;
}

img.header {
    width: 100%;
}

::selection {
    background-color: #f29900;
    color: white;
}
  
::-moz-selection {
    background-color: #ff9500;
    color: white;
}

@font-face {
    font-family: 'fusion-pixel'; 
    src: url('../font/fusion-pixel-12px-proportional-zh_hans.ttf.woff') format('woff'),
         url('../font/fusion-pixel-12px-proportional-ja.ttf.woff') format('woff'); 
    font-weight: 400; 
    font-style: normal; 
}

.l-image {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-image: url('../img/cyber.png');
	background-size: cover;
	background-position: center;
	pointer-events: none;
	image-rendering: pixelated;
}

.image-button {
	display: inline-flex;
	border: none;
	background: url('../img/btn.png') no-repeat;
	background-size: contain;
	width: 70px;
	height: 50px;
	padding: 0;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	text-decoration: none;
	color: white;
	font-size: 18px;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.image-button img {
	transition: transform 0.3s ease;
	width: 70px;
	height: auto; 
}
.image-button:active img {
	background-image: url('../img/btnp.png');
}

.image-button span {
	position: relative;
	z-index: 1;
	padding-bottom: 23px
}

.r-image {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-image: url('../img/404.png');
	background-size: cover;
	background-position: center;
	pointer-events: none;
	image-rendering: pixelated;
}

.t1-image {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-image: url('../img/theme1.png');
	background-size: cover;
	background-position: center;
	pointer-events: none;
	image-rendering: pixelated;
}

.ht-image {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background-image: url('../img/themeht.png');
	background-size: cover;
	background-position: center;
	pointer-events: none;
	image-rendering: pixelated;
}