/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
	box-sizing: border-box;
}
* {
	margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		interpolate-size: allow-keywords;
	}
}
body {
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}
input,
button,
textarea,
select {
	font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}
p {
	text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}
#root,
#__next {
	isolation: isolate;
}

img {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
}

figure,
section {
	width: 100%;
}

.user-select {
	user-select: none;
	-moz-user-select: none;
	-webkit-user-drag: none;
}

#loading-logo {
	width: 80%;
	margin: 0 auto;
	opacity: 1;
	fill: #101010;
}

.loading {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	animation: disappear 0.5s ease-in-out 0.5s both;
	z-index: 9999;
	background: #f8f8f8;
	overflow-y: hidden;
	pointer-events: none;
}

.loading-inner {
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

@keyframes disappear {
	0% {
		display: block;
		opacity: 1;
	}

	99% {
		display: block;
		opacity: 0;
	}

	100% {
		display: none;
		opacity: 0;
	}
}

html.onLoad,
html.onLoad body {
	overflow: hidden;
}

html.onLoad .loading {
	animation-play-state: paused;
}

#logo {
	position: fixed;
	top: 3px;
	left: 7px;
	z-index: 9995;
	mix-blend-mode: difference;
}

#logo svg {
	width: 250px;
	fill: #fff;
	transition: 0.5s;
}

#logo.smaller svg {
	width: 150px;
}

::-webkit-scrollbar {
	width: 12px;
}

::-webkit-scrollbar-track {
	background: #fff;
}

::-webkit-scrollbar-thumb {
	background: #fff;
	border: 2px solid #101010;
}

::-webkit-scrollbar-thumb:hover {
	background: #ad0000;
}

img {
	pointer-events: none;
}
