@charset "UTF-8";

body, html {
	font-family: "Segoe UI", "Lucida Sans", sans-serif !important;
	font-size: 12pt;
	padding: 0;
	margin: 0;
	background: black;
	color: white;
}

a {
	font-variant: none;
	text-decoration: none;
	color: #ffdd03;
}

a:not(.selected):hover {
	color: white;
}

.content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
}

.content .item:hover {
	border: 2px solid green;
}

.content .item img {
	max-height: 168px;
	display: block;
	margin: auto;
}

img.media-type {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px !important;
	background: #fcd61b;
	border: none !important;
	outline: none !important;
	border-radius: 3px;
}

img.media-type.video {
	background: #ff9200;
}

.content .item {
	max-height: 200px;
	margin: 5px;
	border: 2px solid #0f78f7;
	outline: 2px solid #da7a4e;
	padding: 5px;
	border-radius: 2px;
	margin: 5px;
	position: relative;
	cursor: pointer;
}

.content .item .title {
	font-size: 0.8em;
	text-align: center;
	padding-top: 5px;
}

.close {
	background: white;
	color: black;
	text-align: center;
	border: 2px solid green;
	margin: 4px;
	padding: 10px;
	cursor: pointer;
}

.close:hover {
	border-radius: 5px;
	font-weight: bold;
}

.full-text-content {
	text-align: center;
}

.full-text-content .title, .title {
	font-weight: bold;
	font-variant: petite-caps;
	font-size: 1.2em;
	color: #d5d1f5;
	text-align: center;
}

.full-text-content .description {
	text-align: left;
}

.full-text {
	display: none;
}

.full-image {
	height: auto;
	width: 90%;
	text-align: center;
	border: 1px solid #a4a3f0;
	padding: 10px;
	margin-bottom: 10px;
}

.full-text-widget {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(0, 0, 0);
	z-index: 1000;
	overflow: scroll;
}

input.response {
	width: 300px;
}

.formula {
	font-size: 1.4em;
}

.formulas-widget {
	margin: 20px;
}

#loading-spinner {
	display: flex;
	color: white;
	justify-content: center;
	align-items: center;
	height: 100vh;
	width: 100%;
	font-size: 30px;
	top: 0;
	position: absolute;
	text-shadow: 1px 1px black;
}

.header {
	font-weight: bold;
	letter-spacing: 2px;
	font-variant: petite-caps;
	font-size: 1.4em;
	color: #008dff;
}

.description {
	margin: 0 10px 0 10px;
	border: 1px solid #a4a3f0;
	padding: 20px;
	outline: 1px solid #1f2caf;
	border-radius: 5px;
	margin-bottom: 20px;
}

.menu-widget {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 20px;
	color: white;
	letter-spacing: 2px;
	height: 5%;
	background: black;
	position: sticky;
	z-index: 100;
}

.main-widget {
	height: 95%;
}

.selected {
	color: #ff9f00;
	font-variant: small-caps;
}

.menu-widget a:not(:last-child)::after {
	content: "|";
	margin-left: 20px;
	color: rgb(200, 200, 200);
}

.video-background {
	width: 100%;
	height: 100%;
	overflow: clip;
	z-index: -1;
	overflow: clip;
}

.video-background video {
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	will-change: transform;
	transform: translateZ(0);
}

.faqs-widget {
	margin: 20px;
}

.section {
	border-bottom: 1px solid #2e2929;
	padding-bottom: 10px;
}

.section:nth-child(odd) {
	background: #1e1e1e;
}

.section-title {
	font-size: 1.2em;
	font-weight: bold;
	font-variant: petite-caps;
	letter-spacing: 2px;
	margin-top: 10px;
	color: #00dcff;
}

.section-description {
	color: #00dcff;
}

.faqs {
	padding-left: 20px;
	padding-top: 5px;
}

.faq {
	margin-bottom: 10px;
}

.faq .question {
	font-weight: bold;
}

.faq .answer:before {
	content: "- ";
}

/* These are for the interactive */
#app {
	position: fixed;
	inset: 0;
}

canvas {
	display: block;
}

.ui {
	position: fixed;
	left: 16px;
	bottom: 16px;
	width: min(420px, calc(100vw - 32px));
	padding: 12px 12px 10px;
	border-radius: 14px;
	background: rgba(10, 10, 14, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(10px);
	color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.ui h1 {
	margin: 0 0 8px;
	font-size: 14px;
	font-weight: 650;
	letter-spacing: 0.2px;
}

.row {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 8px 0;
}

.row label {
	font-size: 12px;
	opacity: 0.9;
	min-width: 120px;
}

.row input[type="range"] {
	flex: 1;
}

.row .val {
	width: 56px;
	text-align: right;
	font-variant-numeric: tabular-nums;
	font-size: 12px;
	opacity: 0.95;
}

.row small {
	font-size: 11px;
	opacity: 0.75;
}

.btnRow {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

button {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.92);
	padding: 8px 10px;
	border-radius: 12px;
	cursor: pointer;
	font-size: 12px;
	transition: transform 120ms ease, background 120ms ease;
}

button:hover {
	background: rgba(255, 255, 255, 0.12);
}

button:active {
	transform: scale(0.98);
}

.hint {
	position: relative;
	padding: 10px 12px;
	border-radius: 14px;
	background: rgba(10, 10, 14, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.10);
	color: rgba(255, 255, 255, 0.85);
	font-size: 12px;
	max-width: 360px;
	line-height: 1.35;
	backdrop-filter: blur(10px);
	float: right;
}

.hint b {
	color: rgba(255, 255, 255, 0.95);
}

.divider {
	height: 1px;
	background: rgba(255, 255, 255, 0.10);
	margin: 10px 0;
}

.physics {
	flex: 1;
	font-size: 11px;
	line-height: 1.35;
	opacity: .85;
	padding-top: 1px;
}

.physics .k {
	opacity: .8;
}

.physics .v {
	font-variant-numeric: tabular-nums;
}

/* Custom jquery ui tooltip for flex*/
/* Target the main tooltip container */
.ui-tooltip {
	max-width: none !important; /* Remove max-width restriction */
	width: auto !important; /* Allow width to adjust to content */
}

/* Target the inner content area and apply flexbox */
.ui-tooltip-content.custom-flex-tooltip, .ui-tooltip-content {
	display: flex;
	flex-direction: row; /* or column, etc. */
	justify-content: space-between;
	align-items: center;
	gap: 10px; /* Space between flex items */
}