* {
	box-sizing: border-box;
}

:root {
	--blue: #216ce7;
}

@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('montserrat-regular.woff2') format('woff2');
}

@font-face {
	font-family: 'Material Symbols Outlined';
	font-style: normal;
	font-weight: 600;
	src: url('material-symbols.woff2') format('woff2');
}

.material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-feature-settings: 'liga';
	-webkit-font-smoothing: antialiased;
}

html,
body {
	height: 100%;
}

body {
	display: grid;
	place-items: center;
	margin: 0;
	padding: 0 20px;
	/*background: #3284ce;*/
	font-family: "Montserrat";
	font-size: 13px;
}

button,
input {
	border: 0;
	width: 100%;
	height: 40px;
	background: transparent;
	font-family: inherit;
	outline: none;
}

button {
	margin-top: 24px;
}

.signup {
	position: fixed;
	z-index: 2;
	top: calc(50% - 250px);
	left: calc(50% - 250px);
	/*height: 500px;*/
	width: 500px;
	padding: 90px;
	background: #111820;
}

.signup>h2 {
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 64px;
	color: rgb(255 255 255 / 96%);
}

.form {
	margin: 0;
	display: grid;
	gap: 16px;
}

.textbox {
	position: relative;
	margin-bottom: 8px;
}

.textbox span {
	position: absolute;
	top: calc(50% - 10px);
	left: 0;
	font-size: 22px;
	pointer-events: none;
	color: rgb(255 255 255 / 40%);
	scale: 0.875;
}

.textbox input {
	padding: 0 24px 0 36px;
	border-bottom: 2px solid #2b3442;
	color: rgb(255 255 255 / 96%);
	height: 48px;
}

input:focus {
	border-color: var(--blue);
}

:is(input:focus, input:valid)~span {
	color: rgb(255 255 255 / 96%);
}

:is(input:focus)~label {
	color: rgb(255 255 255 / 96%);
}

.textbox label {
	position: absolute;
	top: -4px;
	left: -4px;
	scale: 0.875;
	color: rgb(255 255 255 / 40%);
	pointer-events: none;
}

.form button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	padding: 0 16px;
	border-radius: 0px;
	background: var(--blue);
	color: #f9f9f9;
	border: 0;
	height: 48px;
}

.signup p {
	margin: 0 0 22px;
	color: #778395;
}

.signup p>a {
	color: var(--blue);
	text-decoration: none;
}

input:-webkit-autofill {
	color: white;
	-webkit-text-fill-color: white;
	transition: background-color 5000s ease-in-out 0s;
}

#error:not(:empty) {
	color: white;
    background-color: #e7216e;
    padding: 8px;
    margin: 8px 0px;
}