@import url("https://fonts.bunny.net/css?family=lexend:300,400,500,600,700");

:root {
	--bg-1: #030711;
	--bg-2: #071229;
	--bg-3: #0a1128;
	--bg-4: #050a16;
	--bg-5: #0c1c38;
	--sky: #7dd3fc;
	--sky-soft: #4fb3e8;
	--sky-dim: #a9dffb;
	--sky-faint: #26558a;
	--line: #1c3a5e;
	--danger: #fca5a5;
}

body {
	font-family: "Lexend", Arial, Helvetica, sans-serif;
	margin: 0;
	background: linear-gradient(120deg, var(--bg-1), var(--bg-2), var(--bg-3), var(--bg-4), var(--bg-5));
	background-size: 400% 400%;
	animation: drift 24s ease-in-out infinite;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	color: var(--sky-dim);
}

@keyframes drift {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

#particles {
	position: fixed;
	inset: 0;
	z-index: 0;
}

body > *:not(#particles) {
	position: relative;
	z-index: 1;
}

.flex-center {
	display: flex;
	justify-content: center;
}

.header-center {
	align-items: center;
	flex-direction: column;
	margin-top: 10%;
}

.left-margin {
	margin: 0px 16px;
}

#sj-frame {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: var(--bg-3);
}

#sj-error {
	color: var(--danger) !important;
	white-space: pre-wrap;
}

#sj-error-code {
	font-size: 12px;
	color: var(--sky-dim);
	font-family: "Courier New", Courier, monospace;
}

.logo {
	height: 25vh;
}

.logo-wrapper .text {
	font-size: 75px;
	color: var(--sky);
}

.logo-wrapper h1 {
	color: var(--sky);
	font-weight: 700;
	letter-spacing: 0.02em;
}

footer {
	margin: 0 16px;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	line-height: 30px;
	margin-bottom: 20px;
}

footer > div {
	display: flex;
	justify-content: left;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

footer a,
footer span {
	margin: 0 15px;
	text-decoration: none;
	color: var(--sky-dim);
	font-size: 15px;
}

footer a {
	cursor: pointer;
}

footer a:hover {
	text-decoration: underline;
	color: var(--sky);
}

.desc p {
	width: 560px;
	max-width: 100%;
	color: rgba(169, 223, 251, 0.7);
}

#sj-address {
	background: none;
	font-family: inherit;
	padding: 0px 17px;
	height: 48px;
	border: 1px solid var(--line);
	color: var(--sky-dim);
	border-radius: 3px;
	outline: none;
	width: 350px;
	margin-top: 5px;
	border-radius: 50px;
	transition: border-radius 0.1s, border-color 0.15s;
}

#sj-address::placeholder {
	color: rgba(169, 223, 251, 0.45);
}

#sj-address:focus {
	border: 1px solid var(--sky-soft);
	border-radius: 6px;
}

.credit {
	border-radius: 10px;
	padding: 10px;
	display: block;
	border: var(--line) 1px solid;
	color: var(--sky-dim);
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;
}

.credit label {
	margin-left: auto;
	margin-right: 15px;
}

.credit a,
.credit label {
	color: var(--sky);
	text-decoration: underline;
	text-align: right;
}

.credit pre {
	display: none;
	width: 100%;
}

.credit label::after {
	content: "show license";
	cursor: pointer;
}

.credit input:checked + label::after {
	content: "hide license";
}

.credit input:checked ~ pre {
	display: block;
}
