body {
	font-family: sans-serif;
	font-style: normal;
	background-color: #ffffff;
	margin: 7px;
	box-sizing: border-box;
	height: calc(100vh - 14px);
	overflow: hidden;
}

h1, h2, p, a, li, marquee, span {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.2;
	color: rgba(0, 0, 0, 0.85);
	margin: 0;
	text-decoration: none;
}

a {
	color: blue;
	cursor: pointer;
}

.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 7px;
	margin-bottom: 7px;
	word-break: break-word;
	overflow: hidden;
	width: 100%;
}

#nav {
	position: absolute;
}

.content {
	height: calc(100%);
	padding-top: 0px;
}

.text-column {
	grid-column: span 1;
	display: flex;
	align-items: flex-end;
}

.gallery-column {
	grid-column: span 3;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	overflow: hidden;
	max-height: 100vh;
}

.gallery {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: auto;
	position: relative;
	cursor: e-resize;
	user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	max-height: 100vh;
}

.gallery img, .gallery video {
	display: none;
	height: auto;
	max-height: 100%;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.gallery .active {
	display: block;
}
