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

body {
	background: url(../images/patb.png);
	background-size: 40%;
	color: white;
	overflow: hidden;
	margin: 0;
}

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

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

.content {
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Left box, for character image and the most basic but important info */

.left {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 30px;
	height: 100%;
	width: 35vw;
	border-right: solid 10px white;
	overflow: hidden;
}

.left img {
	max-height: 73vh;
	max-width: 30vw;
}

.left #switcher {
	max-height: 63vh;
}

.infobox {
	width: 35vw;
	padding-bottom: 3%;
}

.infobox h1 {
	margin-left: 3vw;
	margin-bottom: 10px;
	line-height: 1em;
}

.infobox p {
	margin-left: 3vw;
	margin-top: 0;
}

.track {
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	gap: 10px;
	width: 29vw;
	height: 10vh;
	padding: 0 3vw;
}

.bn {
	display: inline-block;
	font-size: 0.8em;
	font-weight: 700;
	padding: 0.8em;
	color: white;
	width: fit-content;
	border-radius: 0 0 1em 1em;
	border-top: 5px solid white;
	background: black;
}

.on {
	border-top: none;
	border-bottom: 5px solid white;
	background: rgba(0, 0, 0, 0.3);
}

/* Right box, for all other character info including bios, likes and dislikes, relationships, etc. */

.right {
	display: flex;
	justify-content: center;
	height: 100%;
	width: 65vw;
	overflow-x: hidden;
}

.centerflex {
	display: flex;
	flex-direction: column;
	max-height: 100vh;
	width: 61vw;
	padding: 2em 2vw;
	overflow-x: hidden;
	overflow-y: scroll;
	overscroll-behavior: none;
}

.flexbox {
	display: grid;
	grid-template-columns: 48.5% 48.5%;
	justify-content: flex-start;
	align-items: flex-start;
	width: 100%;
	column-gap: 2vw;
}

.tit {
	display: inline-block;
	padding: 0.5em 4em 0 1em;
	border-radius: 0 20px 0 0;
	border-left: 5px solid white;
	font-weight: 900;
	width: fit-content;
	color: black;
	background: white;
}

.tit img {
	height: 1em;
	position: relative;
	top: 2px;
}

.bx {
	width: 56vw;
	display: inline-block;
	padding: 1em;
	border: 5px solid white;
	border-radius: 0 20px 0 20px;
	margin-bottom: 20px;
}

.flexbox .bx {
	width: 25vw;
}

.relaflex {
	display: flex;
	flex-direction: column;
	row-gap: 15px;
}

.relakid {
	display: flex;
	flex-direction: row;
	gap: 10px;
}

.relakid img {
	width: 40px;
	height: 40px;
	border-radius: 200px;
	border: 2px solid white;
}

.relakid p {
	margin-bottom: 0;
}

.relakid a {
	font-weight: 700;
	color: white;
	text-decoration: underline;
}

/* === HANDLE ACTIVE === */
::-webkit-scrollbar-thumb:active {
	background: white;
}
