/* Poppins font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
	/*
	 * All :root vars are defined in styleVars.ts using the styleVars object, so
	 * that they are also available in JS.
	 */
	--: initial;
}

html {
	font-size: 1em;
	line-height: 1.4;
}

html,
body,
#root {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	pointer-events: none;
	box-sizing: border-box;
	overscroll-behavior: none;

	color: black;
	background: var(--appBackground);

	[data-theme='dark'] & {
		color: white;
		background: var(--appBackgroundDark);
	}
}

/* prettier-ignore */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  text-transform: uppercase;
}
h1 {
	font-weight: 300;
	padding-bottom: 40px;
}
h3 {
	font-weight: 300;
	text-transform: lowercase;
}

a:link,
a:visited,
a:hover,
a:active {
	font-weight: 500;
	transition: all 0.5s;
	color: rgba(195, 195, 195, 0.9);
	text-decoration: none;
}

a:hover {
	color: rgba(255, 255, 255, 1);
	text-decoration: none;
}

body {
	position: absolute;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	-webkit-perspective: 0;
	perspective: none;
	overflow: hidden;
	font-family: 'Poppins', 'Helvetica', sans-serif;
	font-size: 16px;
}

body.fadePageOut {
	opacity: 0;
	transition: opacity 0.5s;
}

.hidden {
	display: none;
}

.invisible {
	opacity: 0 !important;
}
