@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/IBMPlexSans-Text-Latin1.woff2') format('woff2');
	unicode-range:
		U+0000, U+000D, U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+02C6,
		U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026,
		U+2030, U+2039-203A, U+2044, U+20AC, U+2122, U+2212, U+FB01-FB02;
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/IBMPlexSans-Text-Latin2.woff2') format('woff2');
	unicode-range:
		U+0100-0101, U+0104-0130, U+0132-0151, U+0154-017F, U+018F, U+0192,
		U+01A0-01A1, U+01AF-01B0, U+01FA-01FF, U+0218-021B, U+0237, U+0259,
		U+1E80-1E85, U+1E9E, U+20A1, U+20A4, U+20A6, U+20A8-20AA, U+20AD-20AE,
		U+20B1-20B2, U+20B4-20B5, U+20B8-20BA, U+20BD, U+20BF;
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Sans';
	src: url('../fonts/IBMPlexSans-Text-Latin3.woff2') format('woff2');
	unicode-range: U+0102-0103, U+01CD-01DC, U+1EA0-1EF9, U+20AB;
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'IBM Plex Sans Text';
	font-style: normal;
	font-weight: 450;
	src:
		local('IBM Plex Sans Text'),
		local('IBMPlexSans-Text'),
		url('../fonts/IBMPlexSans-Text.woff2') format('woff2');
}
@font-face {
	font-family: 'song-of-Coronos';
	src: url('../fonts/Song-Of-Coronos.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

root {
	font-size: 100%;
	font-family: 'IBM Plex Sans', Courier, monospace;
	scroll-behavior: smooth;
}
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
	vertical-align: baseline;
	-webkit-user-select: none;
	user-select: none;
}
*::before,
*::after {
	display: block;
}
img,
picture,
video,
iframe,
figure,
canvas {
	max-width: 100%;
	display: block;
	width: 100%;
	height: initial;
	object-fit: cover;
	object-position: center center;
}
a {
	display: block;
	text-decoration: none;
	color: inherit;
	font: inherit;
}
p a {
	display: inline;
}
li,
menu,
summary {
	list-style-type: none;
}
ol {
	counter-reset: revert;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
strong,
blockquote,
i,
b,
u,
em,
pre,
code,
mark,
del {
	font: inherit;
	line-height: 1em;
	text-decoration: none;
	color: inherit;
}
mark {
	background-color: transparent;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
	content: none;
}
form,
input,
textarea,
select,
button,
label {
	font: inherit;
	background-color: transparent;
	color: inherit;
	display: block;
	appearance: none;
}
fieldset {
	border: none;
}
::placeholder {
	color: unset;
}
button,
label {
	cursor: pointer;
}
table,
tr,
td,
th,
tbody,
thead,
tfoot {
	border-collapse: collapse;
	border-spacing: 0;
	font: inherit;
}
svg {
	width: 100%;
	height: initial;
	display: block;
	fill: currentColor;
}
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
	background: #000000;
}

::-webkit-scrollbar-thumb {
	background: #1680e4;
}

::-webkit-scrollbar-thumb:hover {
	background: #6fc96f;
}
body {
	width: 100%;
	min-height: 100vh;
	line-height: 1.5rem;
	color: #ffffff;
}

.state {
	display: grid;
	grid-template-columns: 25rem 1fr;
	grid-template-areas:
		'video info'
		'gallery gallery';
	gap: 1.5rem;
	width: 100%;
	max-width: 75rem;
	margin: 0 auto;
	padding: 1rem;
	position: relative;
	align-items: start;
}

.state__video {
	grid-area: video;
	background-color: #000;
	height: 100%;
	overflow: hidden;
}
.info {
	grid-area: info;
	padding: 0 1rem;
	display: flex;
	flex-direction: column;
	max-height: 15.75rem;
}

.info__scroll-container {
	overflow-y: auto;
	flex-grow: 1;
	min-height: 0;
}

.info__paragraph {
	text-align: justify;
	line-height: 1.5rem;
	color: #e0e0e0;
	margin-bottom: 0.75rem;
	margin-top: 0;
}

.info__scroll-container::-webkit-scrollbar {
	width: 6px;
}

.info__scroll-container::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
}

.info__scroll-container::-webkit-scrollbar-thumb {
	background: rgba(0, 229, 255, 0.4);
	border-radius: 10px;
}

.info__scroll-container::-webkit-scrollbar-thumb:hover {
	background: #00e5ff;
}

.state__gallery {
	grid-area: gallery;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
	gap: 1rem;
	padding: 1.5rem 0;
	width: 100%;
}

.state__frame {
	width: 100%;
	height: 100%;
	min-height: 15.75rem;
	display: block;
	border: 0;
}

.info__title {
	font-size: clamp(1.5rem, 4vw, 2.25rem);
	font-family: 'Song-Of-Coronos', sans-serif;
	font-weight: 700;
	color: #ffffff;
	text-align: center;
	text-shadow: 0 0 15px rgba(100, 220, 255, 0.4);
	flex-shrink: 0;
}

.info__text {
	text-align: justify;
	overflow-y: auto;
	padding-right: 10px;
	flex-grow: 1;
	line-height: 1.5rem;
	color: #e0e0e0;
	min-height: 0;
}

.info__text::-webkit-scrollbar {
	width: 6px;
}

.info__text::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
}

.info__text::-webkit-scrollbar-thumb {
	background: rgba(0, 229, 255, 0.4);
	border-radius: 10px;
}

.info__text::-webkit-scrollbar-thumb:hover {
	background: #00e5ff;
}

.state__gallery-link {
	display: block;
	aspect-ratio: 1 / 1;
	width: 100%;
	margin: 0 auto;
	border-radius: 50%;
	overflow: hidden;
	border: 2px solid rgba(0, 229, 255, 0.2);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition:
		transform 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

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

.state__gallery-link:hover {
	transform: scale(1.08);
	border-color: #00e5ff;
	box-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

article.lightbox {
	display: none;
}

article.lightbox:target {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	inset: 0;
	background-color: #110a18;
	z-index: 9999;
}

.lightbox__img {
	max-width: 85%;
	max-height: 80vh;
	width: auto;
	height: 60%;
	object-fit: contain;
	border-radius: 0.5rem;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
	-webkit-user-select: unset;
	user-select: none;
}

.lightbox__btn--prior,
.lightbox__btn--next {
	font-size: clamp(1.5rem, 4vw, 5rem);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	padding: 0 1.5rem;
	-webkit-user-select: unset;
	user-select: none;
	text-decoration: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
	z-index: 10010;
}

.lightbox__btn--prior:hover,
.lightbox__btn--next:hover {
	color: #6366f1;
	transform: scale(1.15);
}

.lightbox__close {
	position: absolute;
	top: 1.5rem;
	right: 2.5rem;
	font-size: clamp(1.5rem, 4vw, 5rem);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	-webkit-user-select: unset;
	user-select: none;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
	z-index: 10020;
}

.lightbox__close:hover {
	color: #ef4444;
	transform: scale(1.1) rotate(90deg);
}

@media (max-width: 60rem) {
	.state {
		grid-template-columns: 1fr;
		grid-template-areas:
			'video'
			'info'
			'gallery';
		padding: 1rem;
		gap: 1rem;
	}

	.state__video,
	.info {
		max-height: none;
	}

	.state__frame {
		aspect-ratio: 16 / 9;
		height: auto;
	}

	.info {
		max-height: 20rem;
		padding: 0.5rem;
	}

	.info__scroll-container {
		padding: 0;
	}

	.state__gallery {
		grid-template-columns: repeat(auto-fit, minmax(65px, 1fr));
		gap: 0.75rem;
	}

	.lightbox__img {
		width: 60;
		height: auto;
	}

	.lightbox__btn--prior,
	.lightbox__btn--next {
		font-size: clamp(3rem, 4vw, 5rem);
		font-weight: 700;
		padding: 0 0.5rem;
	}

	.lightbox__close {
		font-size: clamp(3rem, 4vw, 5rem);
		font-weight: 700;
	}
}
