:root {
	--qb-blue: #3B82DB;
	--qb-blue-rgb: 59, 130, 219;
}

#outer_container {
	width: 900px;
	margin: 0 auto;
}

#title {
	padding-bottom: 0.5em;
	font-family: 'Linux Biolinum', sans-serif;
	font-size: 30px;
	font-style: normal;
  	font-weight: normal;
}

h1 {
	font-family: 'Linux Biolinum', sans-serif;
	font-weight: bold;
	font-size: 1.9em;
	padding-top: 1em;
}

h2 {
	font-family: 'Linux Biolinum', sans-serif;
	font-weight: normal;
	margin-bottom: 0.3em;
	margin-top: 1.5em;
}

p {
	font-family: 'Linux Libertine', serif;
	margin-top: 0em; 
}

#links {
	display: flex;
    align-items: center;     /* Center items vertically */
	gap: 10px;
	font-family: 'Linux Biolinum', sans-serif;
	font-size: 20px;
}

#links a {
	color: var(--accent_color);
	stroke: var(--accent_color);
	fill: var(--accent_color);
}

#links a:hover {
	color: #606060;
	stroke: #606060;
	fill: #606060;
}

#links-outer{
	display: flex;
	width: 100%;
	justify-content: left;
	padding-bottom: 2em;
}

#caption {
	font-family: 'Linux Biolinum', sans-serif;
	font-style: normal;
	font-size: 0.9em;
}

#authors > p {
	font-family: 'Linux Biolinum', sans-serif;
	font-size: 20px;
	font-style: normal;
  	font-weight: normal;
	text-transform: uppercase;
	margin-bottom: 1px;
}

#authors > p > a {
	color: black;
	/* text-decoration-color: black;
	text-decoration-style: dotted;
	text-decoration: underline; */
	border-bottom: 1px dotted black;
  	text-decoration: none; 
}

#authors > p > a > b {
	color: black;
	/* text-decoration-color: black;
	text-decoration-style: dotted;
	text-decoration: underline; */
	border-bottom: 1px dotted black;
  	text-decoration: none; 
}

#authors > p > a:hover {
	color: #606060;
	/* text-decoration-color:  #606060;; */
	border-bottom: 1px dotted #606060;
}

#authors > p > a > b:hover {
	color: #606060;
	/* text-decoration-color:  #606060; */
	border-bottom: 1px dotted #606060;
}

#authors > p > span {
	text-transform: none;
	font-size: 17px;
}

#authors {
	padding-bottom: 0.67em;
}

#home_link_box {
	text-align: center;
}

#git_message {
	font-size: 0.75em;
}

#teaser {
	width: 100%;
	padding-bottom: 0.3em;
}

#nav-bar > h2 {
	font-family: 'Linux Biolinum', sans-serif;
	font-weight: normal;
	margin-bottom: 0.3em;
	margin-top: 1.5em;
}

pre {
	margin-bottom: 0.5rem;
	padding: 0.5rem  0.5rem;
	border-radius: 5px;
	background-color: #eeeeee;
	display: grid;
	white-space: wrap;
}

pre code {
	padding: 0rem  1rem;
}

code {
	font-family: "Fira Code", Menlo, Monaco, Consolas, "Courier New", monospace;
	font-size: 80%;
	max-width: 100%;
	overflow-x: auto;
	margin: 0 0.1rem 0  0.1rem;
	padding: 0.2rem 0.5rem 0.1rem  0.5rem;
	background-color: #eeeeee;
	border-radius: 3px;
	white-space: pre;
}

.scenes-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	/* gap: 6%; space between scenes */
	gap: 2vw;
	/* margin-top: 40px; */
	box-sizing: border-box;
}

.scene-title {
	position: absolute;
	top: 90%;
	left: 5%;
	color: #222;
	font-size: 1.3em;
	background: rgba(255,255,255,0.75);
	padding: 1% 3%;
	border-radius: 5px;
	pointer-events: none; /* Allows clicks to pass through to the canvas */
	z-index: 2;
	/* box-shadow: 0 2px 8px rgba(0,0,0,0.07); */
}

.scene-container {
	width: 47%;
	height: 100%;
	max-width: 300px;        /* Maximum width per render */
  	min-width: 100px;        /* Minimum width for mobile */
	aspect-ratio: 8 / 9;
	border: 6px solid #ffffff;
	border-radius: 16px;
	background: #111;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	/* overflow: hidden; */
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.scene-container canvas {
	display: block;
	border-radius: 8px;
	/* Ensures the canvas fills the div */
	width: 101.5%;
	height: 101.5%;
	/* background: transparent; */
}

.lil-gui {
	position: absolute;
	top: 3%;
	left: 5%;
	right: auto;
	bottom: auto;
	z-index: 100;
	background: rgba(256, 256, 256, 0.7) !important;
	/* box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important; */
	border-radius: 8px !important;
}

.lil-gui .title {
	color: #000000 !important; /* Replace with your desired color */
	font-weight: normal;
	font-family: 'Linux Biolinum', sans-serif;
	/* font-style: normal; */
	font-size: 1.3em;
	background: rgba(256, 256, 256, 0.7) !important;
	border-radius: 8px !important;
}

.lil-gui .name {
	color: #000000 !important; /* Replace with your desired color */
	font-weight: normal;
	font-family: 'Linux Biolinum', sans-serif;
	/* font-style: normal; */
	font-size: 1.3em;
}

@media only screen and (max-width: 700px) {
	.scenes-row {
		flex-direction: column;
		gap: 4vw;
	}
	.scene-container {
		width: 100%;
		height: 100%;
	}
}