:root {
	--nequi-purple: #200020;
	--nequi-white: #ffffff;
	--safe-area-inset-top: env(safe-area-inset-top, 0px);
	--safe-area-inset-right: env(safe-area-inset-right, 0px);
	--safe-area-inset-bottom: 0px;
	--safe-area-inset-left: env(safe-area-inset-left, 0px);
}

ion-app,
ion-router-outlet {
	background: var(--nequi-purple);
}

html,
body {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

*::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

* {
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

input,
textarea,
[contenteditable="true"] {
	-webkit-user-select: text;
	-moz-user-select: text;
	-ms-user-select: text;
	user-select: text;
}

input::placeholder {
	color: #ffffff80;
}

button,
img,
div,
span,
a {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	outline: none;
}

button,
a {
	touch-action: manipulation;
}

button:focus,
button:active,
img:focus,
img:active,
div:focus,
div:active {
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

a,
button,
input,
select,
textarea {
	touch-action: manipulation;
}

button img,
button svg,
button span,
button * {
	pointer-events: none;
	user-select: none;
}

div[onclick] img,
div[onclick] svg,
div[onclick] span,
a img,
a svg,
a span {
	pointer-events: none;
	user-select: none;
}

body {
	font-family:
		-apple-system,
		BlinkMacSystemFont,
		Segoe UI,
		Roboto,
		Oxygen,
		Ubuntu,
		Cantarell,
		sans-serif;
	color: var(--nequi-white);
	overflow: hidden;
	background-color: var(--nequi-purple);
	padding: 0;
	margin: 0;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	height: 100vh;
	height: 100dvh;
	min-height: 100dvh;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
}

.app {
	height: 100vh;
	height: 100dvh;
	min-height: 100dvh;
	width: 100vw;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	background-color: var(--nequi-purple);
}

.page {
	height: 100vh;
	height: 100dvh;
	min-height: 100dvh;
	width: 100%;
	background-color: var(--nequi-purple);
	overflow: hidden;
	box-sizing: border-box;
}

.page.home-page {
	padding: 0;
}

.page-transition-wrapper {
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 100dvh;
	position: relative;
	overflow: hidden;
	background-color: var(--nequi-purple);
}

.page {
	height: 100%;
	width: 100%;
	background-color: var(--nequi-purple);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	box-sizing: border-box;
	will-change: transform, opacity;
}

@font-face {
	font-family: Manrope Regular;
	src: url(./Manrope-Regular-Dq9tZ1lj.ttf) format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: Manrope Bold;
	src: url(./Manrope-Bold-Dnxmu-HN.ttf) format("truetype");
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: Manrope Medium;
	src: url(./Manrope-Medium-mPHf4ji3.ttf) format("truetype");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: sherpafont;
	src: url(./sherpafont-DLqA5KjS.ttf) format("truetype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: Squeaky;
	src: url(./Squeaky_PERSONAL_USE_ONLY-cermgXgp.otf) format("opentype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: neo_1;
	src: url(./neo_1-DUkJV_DF.otf) format("opentype");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: Down Hill;
	src: url(./Down%20Hill-DA4-YU6P.ttf) format("truetype");
	font-weight: 400;
	font-style: normal;
}

:root {
	font-family:
		Manrope Regular,
		system-ui,
		Avenir,
		Helvetica,
		Arial,
		sans-serif;
	line-height: 1.5;
	font-weight: 400;
	color-scheme: light dark;
	color: #ffffffde;
	background-color: #200020;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a {
	font-weight: 500;
	color: #646cff;
	text-decoration: inherit;
}

a:hover {
	color: #535bf2;
}

html,
body,
#root {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: #200020;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	min-width: 320px;
}

@media (max-width: 360px) {
	body {
		min-width: 0;
	}
}

body {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-user-drag: none;
	overscroll-behavior-x: none;
	overscroll-behavior-y: none;
	-webkit-overflow-scrolling: touch;
}

html {
	overscroll-behavior-x: none;
	overscroll-behavior-y: none;
}

h1 {
	font-size: 3.2em;
	line-height: 1.1;
}

button {
	border-radius: 8px;
	border: 1px solid transparent;
	padding: 0.6em 1.2em;
	font-size: 1em;
	font-weight: 500;
	font-family: inherit;
	background-color: #200020;
	cursor: pointer;
	transition: border-color 0.25s;
	outline: none;
}

button:hover {
	border-color: #646cff;
}

button:focus,
button:focus-visible {
	outline: none;
}

@keyframes overlayAppear {
	0% {
		opacity: 0;
		transform: scale(0);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes overlayExit {
	0% {
		opacity: 1;
		transform: scale(1);
	}

	45% {
		opacity: 0;
		transform: scale(0.2);
	}

	to {
		opacity: 0;
		transform: scale(0);
	}
}

@keyframes layer-up--animation {
	50% {
		transform: rotate(-180deg) translate(-15px, 10px);
	}

	to {
		transform: rotate(-180deg) translate(0);
	}
}

@keyframes layer-down--animation {
	50% {
		transform: rotate(-180deg) translate(13px, -14px);
	}

	to {
		transform: rotate(-180deg) translate(2px);
	}
}

.layer-up {
	animation-name: layer-up--animation;
	animation-duration: 1.5s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	transform-origin: 52% 48%;
}

.layer-down {
	animation-name: layer-down--animation;
	animation-duration: 1.5s;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	transform-origin: 52% 48%;
}

.loading__spinner {
	height: 60px;
	width: 50px;
}

@keyframes shimmer {
	0% {
		background-position: -450px 0;
	}

	to {
		background-position: 450px 0;
	}
}

@keyframes bounce {
	0%,
	to {
		transform: scale(1);
	}

	50% {
		transform: scale(1.1);
	}
}

@keyframes slideUpOverlay {
	0% {
		clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
	}

	to {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}
}

@keyframes slideDownOverlay {
	0% {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}

	to {
		clip-path: polygon(100% 100%, 100% 100%, 100% 100%, 100% 100%);
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.shimmer {
	background: #46235f;
	background-image: linear-gradient(
		90deg,
		#46235f,
		#b464ff4d 20%,
		#46235f 40% 100%
	);
	background-repeat: no-repeat;
	background-size: 1000px 100%;
	animation: shimmer 1.5s linear infinite;
	border-radius: 6px;
	display: inline-block;
	overflow: hidden;
}

@media (prefers-color-scheme: light) {
	:root {
		color: #ffffffde;
		background-color: #200020;
	}

	a:hover {
		color: #747bff;
	}

	button {
		background-color: #f9f9f9;
	}
}

input[inputmode="decimal"],
input[inputmode="numeric"] {
	-webkit-text-security: none;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
	appearance: textfield;
}

@keyframes blink {
	0%,
	50% {
		opacity: 1;
	}

	51%,
	to {
		opacity: 0;
	}
}
