@import url("text.css");
@import url("scrollbar.css");
@import url("root.css");

body {
	margin: 0;
	display: flex;
}

.grow:hover {
	transform: scale(1.1);
}

.grow:active {
	transform: scale(1);
}

.sidebar,
.leftbox {
	height: 100vh;
}

/* Lefthand sidebar, contains logo, categories, and footer */

.sidebar {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding-top: 2vh;
	background: var(--Orange);
	color: white;
	width: 25vw;
	height: 98vh;
}

.topbox {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 0 2vw;
}

.topbox img {
	width: 90%;
}

.topbox p {
	margin: 0;
}

.topbox a {
	color: white;
	font-weight: 900;
	text-decoration: underline;
}

.topbox a:hover {
	color: var(--Active);
}

.mode-switch {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 5px;
	height: 50px;
	font-weight: 700;
	border-radius: 50px;
	margin-bottom: 10px;
	padding: 5px 15px;
}

.mode-switch img {
	height: 2em;
	width: 2em;
}

#light {
	display: flex;
	background: white;
	color: var(--Orange);
}

#dark {
	display: none;
	background: var(--Orange);
	color: white;
}

.credits {
	display: none;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 100vh;
	position: absolute;
	background: rgba(0, 0, 0, 0.75);
	z-index: 1;
}

.thankbox {
	display: flex;
	align-items: center;
	flex-direction: column;
	padding: 50px;
	color: white;
	font-size: 1.2em;
	background: var(--Orange);
}

.thankbox a {
	color: white;
	font-weight: 700;
}

.thankbox p {
	margin: 10px;
}

.thankbox img {
	margin-top: 10px;
	height: 50px;
	width: 50px;
}

.footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 3vh 0;
	width: 100%;
	background: var(--Blue);
}

.footer img {
	width: 70%;
}

.footer p {
	margin-top: 0;
	color: white;
}

.footer a {
	color: white;
	text-align: center;
}

.footer a:hover {
	color: #97c6ff;
}

.toggle {
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 40px;
	position: absolute;
	border-bottom-right-radius: 10px;
	z-index: 1;
	top: 0px;
	left: 25vw;
	background: var(--Orange);
}

.toggle img:hover {
	transform: scale(1.3);
}

#hide {
	display: flex;
	left: 25vw;
}

#show {
	display: none;
	left: 0px;
}

/* Righthand container for character display and selector row */

.rightbox {
	width: 75vw;
	height: 100vh;
}

.rightbox iframe {
	border: none;
	width: 70vw;
}

.frame,
.selrow {
	display: flex;
	justify-content: center;
	align-items: center;
}

.frame {
	width: 100%;
	height: 75vh;
	background: #ffc97c;
}

.frame iframe {
	height: 70vh;
}

/* Index row frame */

.selrow {
	width: 100%;
	height: 25vh;
	background: var(--Orange);
}

.selrow iframe {
	height: 20vh;
}
