* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: Arial, sans-serif;
	background: url("titlecard/background/background0.png") no-repeat center center fixed;
	background-color: black;
	background-size: cover;
	color: white;
}

.top-banner {
	width: 90%;
	max-width: 1200px;
	margin: 30px auto 0 auto;
	border: 10px solid rgb(166, 87, 49);
	background-color: rgb(25, 7, 21);
	text-align: center;
	padding: 10px;
}

.top-banner img {
	max-width: 50%;
	height: 50%;
}

.page {
	display: flex;
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	border: 10px solid rgb(166, 87, 49);
	background-color: black;
}

.sidebar {
	width: auto;
	padding: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-right: 8px solid rgb(166, 87, 49);
	gap: 10px;
}

.card {
	width: 185px;
	aspect-ratio: 1 / 1;
	display: block;
	overflow: hidden;
	border: 3px solid rgb(166, 87, 49);
	margin: 0 auto;
	transition: transform 0.2s ease;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card:hover {
	transform: scale(1.05);
}

.content {
	width: 75%;
	padding: 20px;
}

.content h1 {
	margin-bottom: 15px;
}

.content p {
	margin-bottom: 10px;
	line-height: 1.5;
}

.character-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	margin-top: 40px;
}

.character-card {
	position: relative;
	display: block;
	height: 420px;
	overflow: hidden;
	border: 4px solid rgb(166, 87, 49);
	background-color: black;
	transition: transform 0.2s ease;
}

.character-card:hover {
	transform: scale(1.03);
}

.character-card img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
	top: 0;
	left: 0;
	transition: opacity 0.25s ease;
}

.character-card .img-hover {
	opacity: 0;
}

.character-card:hover .img-hover {
	opacity: 1;
}

.character-card:hover .img-default {
	opacity: 0;
}

.featured-post {
	margin-top: 35px;
	margin-bottom: 50px;
}

.featured-card {
	display: block;
	background: linear-gradient(
		135deg,
		rgb(40, 8, 30),
		rgb(15, 0, 10)
	);
	border: 5px solid rgb(166, 87, 49);
	padding: 40px;
	text-decoration: none;
	color: white;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.featured-card:hover {
	transform: scale(1.01);
	box-shadow:
		0 0 25px rgba(166, 87, 49, 0.4);
}

.featured-card h2 {
	margin-bottom: 15px;
	font-size: 42px;
}

.featured-card p {
	font-size: 20px;
	color: rgb(220, 220, 220);
}

.content-block {
	margin-bottom: 40px;
	padding: 25px;
	border-left: 4px solid rgb(166, 87, 49);
	background-color: rgba(30, 5, 20, 0.65);
}

.content-block h2 {
	margin-bottom: 10px;
	font-size: 30px;
}

.content-block p {
	color: rgb(200, 200, 200);
	line-height: 1.7;
}

.posts {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin-top: 40px;
}

.post-card {
	display: block;
	background-color: rgb(25, 7, 21);
	border: 4px solid rgb(166, 87, 49);
	padding: 25px;
	text-decoration: none;
	color: white;

	transition:
		transform 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.post-card:hover {
	transform: scale(1.02);
	background-color: rgb(81, 19, 23);
	border-color: rgb(166, 87, 49);
}

.post-card h2 {
	margin-bottom: 10px;
	font-size: 28px;
}

.post-card p {
	color: rgb(220, 220, 220);
	line-height: 1.5;
}

.post-date {
	font-size: 14px;
	color: rgb(166, 87, 49);
	margin-bottom: 10px;
}

.gallery {
	column-count: 3;
	column-gap: 10px;
}

.gallery img {
	width: 100%;
	margin-bottom: 10px;
	border-radius: 8px;
	display: block;
	break-inside: avoid;
	cursor: pointer;
}

#lightbox {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
	background-color: rgba(0, 0, 0, 0.9);
	overflow: hidden;
}

#lightbox-img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	max-width: 90%;
	max-height: 90%;
	border-radius: 10px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

#lightbox.show #lightbox-img {
	opacity: 1;
}

#close {
	position: absolute;
	top: 20px;
	right: 40px;
	font-size: 40px;
	color: white;
	cursor: pointer;
}

.bottom-bar {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto 30px auto;
	border: 10px solid rgb(166, 87, 49);
	background-color: black;
	text-align: center;
	padding: 15px;
}

.bottom-bar p {
	margin: 0;
}

.choice-screen {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	border: 10px solid rgb(166, 87, 49);
	background-color: rgba(0, 0, 0, 0.92);

	display: flex;
	justify-content: space-between;
	align-items: center;

	min-height: 650px;
	padding: 40px;
	gap: 40px;
}

.choice-side {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: center;

	text-decoration: none;
}

.choice-button {
	width: 100%;
	max-width: 380px;
	height: 450px;

	background-color: rgb(25, 7, 21);

	border: 6px solid rgb(166, 87, 49);

	display: flex;
	justify-content: center;
	align-items: center;

	cursor: pointer;

	transition:
		transform 0.2s ease,
		border-color 0.2s ease;
}

.choice-button:hover {
	transform: scale(1.08);
}

.choice-button span {
	font-size: 90px;
	font-weight: bold;
	letter-spacing: 8px;

	color: white;
}

.yes-button:hover {
	border-color: rgb(181, 80, 36);
}

.no-button:hover {
	border-color: rgb(88, 17, 26);
}

.choice-center {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	min-width: 220px;
	text-align: center;
}

.choice-center h1 {
	font-size: 52px;
	margin-bottom: 20px;

	color: white;
}

.choice-center p {
	color: rgb(190, 190, 190);

	font-size: 18px;
	line-height: 1.7;
}

@media screen and (max-width: 900px) {

	.choice-screen {
		flex-direction: column;
		min-height: auto;
		padding: 30px;
	}

	.choice-center {
		order: -1;
	}

	.choice-button {
		height: 220px;
		max-width: 100%;
	}

	.choice-button span {
		font-size: 60px;
	}

	.choice-center h1 {
		font-size: 38px;
	}
}