body {
	background-color: #002e18;
	font-family: 'Jost', sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
}

/* Base containers */
.title-text,
.secondary-title-text,
.content {
	max-width: 800px;
	/* neat column on desktop */
	width: 80%;
	/* allows shrinking on mobile */
	box-sizing: border-box;
	padding: 0 1rem;
	/* breathing room on phones */
	color: white;
}

.title-text {
	text-align: center;
	font-size: clamp(1.8rem, 4vw, 3rem);
}


.secondary-title-text {
	text-align: center;
	font-size: clamp(1rem, 4vw, 2rem);
}

.right-links,
.left-links {
	margin-top: 30px;
	padding: 10px;
	font-size: clamp(1rem, 1vw, 1.25rem);
	
}

.right-links {
	text-align: right;
    width: 30%;
}

.left-links {
	text-align: left;
    width: 70%;
}
.right-links a,
.left-links a {
	margin: 0 15px;
	text-decoration: none;
    color: white;
    &:hover {
	    color: #1e5feb;
        text-decoration: underline;
    }
    text-wrap-mode: nowrap;
}
   
.right-links a.this-page-link,
.left-links a.this-page-link {
    color:#1e5feb
}

/* Content */
a {
	color: #1e5feb;
    text-decoration: none;
    &:hover {
        text-decoration: underline;
    }
}

.section-header {
	text-align: center;
	margin: 40px 0 20px 0;
}

.unified-container {
	margin: 0 50px;
}

.header-links {
	display: flex;
	gap: 1rem;
	width: 90%;
	max-width: 1200px;
    /* border-bottom: dotted #1e5feb; */
}

/* Split layout */
.split-container {
	display: flex;
	flex-wrap: wrap;
	/* prevents text squish */
	gap: 1rem;
	width: 100%;
}

.split-left,
.split-right {
	flex: 1 1 0;
	min-width: 0;
}

.split-even {
	flex: 1;
}

.split-more {
	flex: 3;
}

.split-less {
	flex: 1;
}

.split-more-less {
	flex: 2;
}

.split-less-more {
	flex: 1;
}

/* Responsive override for small screens */
@media (max-width: 768px) {
	.split-container {
		flex-direction: column;
	}
	.split-left,
	.split-right {
		width: 100% !important;
		margin: 0 !important;
	}
}

.game-gif{
	display: flex;
}

/* Media + images */
.game-gif img,
img.book-cover {
	width: 100%;
	height: auto;
}

/* Default (outside split-containers): keep 16:9 ratio */
iframe.youtube,
iframe {
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
}

/* Inside split-containers: stretch to fill */
.split-container iframe.youtube,
.split-container iframe {
	height: 100%;
	aspect-ratio: auto;
	/* disable fixed ratio */
}

div.teaserscroll {
	overflow: auto;
	white-space: nowrap;
}

img.teaser {
	height: 250px
}

/* Headings */
h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h3 {
	text-align: center;
	padding-inline: 1rem;
	font-size: clamp(1.2rem, 2.5vw, 1.75rem);
	white-space: nowrap;
}

h4 {
	text-align: center;
	margin: 1rem 0 0 0;
	font-size: clamp(1rem, 2vw, 1.25rem);
}

p {
	font-size: clamp(1rem, 1vw, 1.25rem);
}

/* Lines */
hr {
	color: #1e5feb;
    border-style: solid;
}

.dotted-h3-row {
	width: 100%;
	padding-top: 2rem;
	display: flex;
	align-items: center;
}

.dotted-line-container {
	flex: 1;
}

.dotted-line {
	margin-top: 1rem;
	border: none;
	border-top: dotted .2rem;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  padding: 1.5rem;
  background: #1e5feb;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  color: white;
}

.card:hover {
  transform: translateY(-4px);
}


.wallpaper {
	
	aspect-ratio: 16,9;
	width: 100%;
	overflow: hidden;
}