:root {
	--color-primary: #006cff;
	--color-tertiary: #132a42;
	--color-light: #fff;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: "Figtree";
	src: url("../../fonts/figtree/Figtree[wght].woff2") format("woff2"),
		url("../../fonts/figtree/Figtree[wght].ttf") format("truetype");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

html,
body {
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	overflow: hidden;
}

body {
	background: url("../../images/bg.jpg") center 10% / cover no-repeat;
	color: dimgrey;
	display: flex;
	flex-flow: column;
}

body::after {
	background: rgba(0, 0, 0, 0.5);
	content: "";
	inset: 0;
	opacity: 0;
	position: fixed;
	transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
	visibility: hidden;
	z-index: 0;
}

body.fade::after {
	opacity: 1;
	visibility: visible;
}

ul {
	margin-block: 1rem;
	padding-inline-start: 2rem;
}

p {
	margin-block: 1em;
}

p:only-of-type {
	margin-block: 0;
}

a,
button,
input {
	font: inherit;
}

button {
	background: none;
	border: 0;
	color: inherit;
}

.link {
	color: var(--color-primary);
	text-decoration: none;
}

input:not([type="checkbox"]) {
	border: 0;
	border-radius: 0;
	font-size: 1.15rem;
	margin-bottom: 1rem;
	padding: 1rem;
	width: 100%;
}

.visually-hidden {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

[data-toast] {
	animation: appear 0.5s ease-in-out;
	border-radius: 5px;
	bottom: auto;
	color: #fff;
	inset: 1rem;
	overflow: hidden;
	padding: 0.8rem 1.2rem;
	position: fixed;
	text-align: left;
}

[data-toast="success"] {
	background: mediumseagreen;
}

[data-toast="error"] {
	background: crimson;
}

[data-toast].out {
	animation: flyOut 0.2s ease-in-out;
}

[data-toast] .toast-content {
	align-items: stretch;
	display: inline-flex;
	gap: 1rem;
}

[data-toast] p {
	align-items: center;
	flex-grow: 1;
}

[data-toast] svg {
	flex-grow: 0;
	flex-shrink: 0;
}

[data-toast] [data-dismiss] {
	background: rgba(0, 0, 0, 0.25);
	border-radius: 5px;
	cursor: pointer;
	display: flex;
	padding: 0.5rem 0.8rem;
	place-items: center;
	transition: background 0.1s ease-in-out;
}

[data-toast] [data-dismiss]:hover {
	background: rgba(0, 0, 0, 0.125);
}

.cur-p {
	cursor: pointer;
}

.light {
	color: var(--color-light);
}

.hide-o {
	opacity: 0;
	visibility: hidden;
}

.flex {
	display: flex;
}

.flex-inline {
	display: inline-flex;
}

.grid {
	display: grid;
}

.grid-layout {
	grid-template-columns: auto 1fr auto;
}

.grid-layout-xs {
	grid-template-columns: 1fr;
}

.flex-wrap-row {
	flex-flow: row wrap;
}

.justify-sb {
	justify-content: space-between;
}

.place-center {
	place-items: center;
}

.flex-1 {
	flex: 1;
}

.gap-h {
	gap: 0.5rem;
}

.gap-1 {
	gap: 1rem;
}

.gap-2 {
	gap: 2rem;
}

.list-none {
	list-style: none;
}

.fixed {
	position: fixed;
}

.contain {
	position: relative;
}

.top-right-1 {
	right: 1rem;
	top: 1rem;
}

.ml-h {
	margin-left: 0.5rem;
}

.mt-2 {
	margin-top: 2rem;
}

.mb-1 {
	margin-bottom: 1rem;
}

.mb-2 {
	margin-bottom: 2rem;
}

@media (min-width: 600px) {
	.grid-layout {
		grid-template-columns: 1fr 8fr 1fr;
	}

	.grid-col-1 {
		grid-column: 1;
	}

	.grid-col-2 {
		grid-column: 2;
	}

	.grid-col-3 {
		grid-column: 3;
	}
}

.px-1 {
	padding-left: 1rem;
	padding-right: 1rem;
}

.py-1 {
	padding-bottom: 1rem;
	padding-top: 1rem;
}

.py-2 {
	padding-bottom: 2rem;
	padding-top: 2rem;
}

.p-0 {
	padding: 0;
}

.p-1 {
	padding: 1rem;
}

.td-none {
	text-decoration: none;
}

.w-full {
	width: 100%;
}

.font-primary {
	font-family: "Figtree", sans-serif;
}

.font-h-sm {
	font-size: clamp(1.25rem, 4vw, 3rem);
}

.font-h-lg {
	font-size: clamp(2.25rem, 5.5vw, 5.75rem);
}

.fw-semi {
	font-weight: 550;
}

.fw-700 {
	font-weight: 700;
}

.spacing-hn {
	letter-spacing: -0.5px;
}

.outline-0 {
	outline: 0;
}

.blend-diff {
	color: var(--color-primary);
	mix-blend-mode: difference;
}

@keyframes appear {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes flyOut {
	from {
		display: block;
		opacity: 1;
		transform: translateY(0);
	}

	to {
		display: none;
		opacity: 0;
		transform: translateY(-200px);
	}
}

@keyframes vanish {
	from {
		display: block;
		opacity: 1;
	}

	to {
		display: none;
		opacity: 0;
	}
}

dialog {
	background: none;
	border: 0;
	inset: 0;
	max-height: 100%;
	max-width: 100%;
}

[data-dialog][open]::backdrop {
	display: none;
}

[data-dialog] {
	animation: vanish 0.25s ease-in-out;
	display: none;
	z-index: 1;
}

[data-dialog][open] {
	animation: appear 0.5s ease-in-out;
	display: block;
}

.btn-basic {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	font-family: "Figtree", sans-serif;
	font-size: 1rem;
	font-weight: 500;
	justify-content: center;
	text-decoration: none;
}

.btn-dark {
	background-color: var(--color-tertiary);
	color: #fff;
}

.btn-primary {
	background-color: var(--color-primary);
	color: #fff;
}

.btn-var-sm {
	padding: clamp(0.5rem, 1.25vw, 1.5rem) clamp(0.75rem, 1.75vw, 2rem);
}

.btn-var-md {
	padding: clamp(1rem, 1.75vw, 1.5rem) clamp(1.25rem, 2vw, 2rem);
}

.btn-var-lg {
	padding: clamp(0.65rem, 1.75vw, 1.5rem) clamp(0.9rem, 2vw, 2rem);
}

.btn-variable {
	text-align: center;
	width: 100%;
}

.group {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 1rem;
	width: 100%;
}

#top-menu {
	align-items: center;
	display: flex;
	justify-content: center;
	position: sticky;
	text-align: center;
	top: 0;
	width: 100%;
	z-index: 1;
}

#top-menu .brand {
	justify-self: flex-start;
}

#top-menu .brand img {
	height: 50px;
}

#top-menu .close {
	justify-self: flex-end;
}

main h2 {
	font-family: "Figtree", sans-serif;
	font-size: clamp(2.25rem, 6.5vw, 5.75rem);
	font-weight: 350;
	letter-spacing: -1px;
}

main h2 span {
	color: var(--color-primary);
	font-weight: 550;
}

footer {
	color: var(--color-light);
}

@media (min-width: 600px) {
	[data-toast] {
		position: static;
	}

	.btn-basic {
		font-size: clamp(1rem, 2vw, 1.25rem);
	}

	.btn-variable {
		width: auto;
	}

	#top-menu .brand,
	#top-menu .close {
		justify-self: center;
	}

	footer {
		padding-left: 1rem;
		padding-right: 1rem;
	}
}
