@font-face {
	font-family: 'misaki_gothic';
	src: url(/misaki_gothic.ttf);
}

* {
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
	color: #fff;
	font-family: misaki_gothic;
}

html,
body {
	width: 100vw;
	height: 100vh;
	overflow: hidden;
}

#content {
	width: 100%;
	height: 100%;
	padding: 0.5rem;
	box-sizing: border-box;
}

h1 {
	font-size: 2rem;
    user-select: none;
}

#page {
	width: 100%;
	height: calc(100% - 3rem);
	margin-top: 1rem;
	padding: 0.5rem;
	font-size: 1.3rem;
	box-sizing: border-box;
	border: #fff 4px solid;
	border-radius: 16px;
	line-height: 1.8rem;
}

textarea,
input[type="text"] {
	outline: none;
	resize: none;
}

#menu {
	position: absolute;
	right: 1rem;
	top: 0;
    user-select: none;
}

#menu.open {
	width: 320px;
}

#menu-button {
	position: fixed;
	top: 0;
	right: 0;
	font-size: 2rem;
	padding: 0.5rem;
}

#menu-container {
	padding: 0.5rem;
	width: 0;
	height: 0;
	overflow: hidden;
}

#menu.open #menu-container {
	width: 100%;
	height: auto;
	overflow: visible;
}

#menu-inner {
	border: #fff 4px solid;
	border-radius: 16px;
}

#menu-inner hr {
	border-bottom: 2px solid #fff;
    margin: 1rem;
}

.index {
	width: 90%;
	margin: 0.5rem auto 1.5rem auto;
}

.index > button {
	position: relative;
	font-size: 1rem;
	margin: 0.5rem 1rem;
}

.index > button:hover::before {
	content: '\f04b';
	font-family: FontAwesome;
	position: absolute;
	top: 0;
	left: -1rem;
}

button {
	outline: none;
	cursor: pointer;
}

.menu-info {
	margin: 1rem;
    line-height: 1.3rem;
}

#window {
	position: fixed;
	bottom: 10%;
	left: calc(10% - 4px);
	width: 80%;
	padding 1rem;
	border: #fff 4px solid;
	border-radius: 16px;
	min-height: 20%;
	display: none;
    user-select: none;
}

#message {
	margin: 1rem;
	font-size: 1.3rem;
	line-height: 2rem;
}

#caret {
	position: absolute;
	font-size: 2.5rem;
	right: 1rem;
	bottom: 0;
	animation: blink 0.75s step-end infinite;
	display: none;
}

#caret.show {
	display: block;
}

#window.open {
	display: block;
}

@keyframes blink {
	50% { 
		opacity: 0.0;
	}
}
