body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 100svh;
}

login-app {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 420px;
	margin-top: 15vh;
	padding: 30px;
	border-radius: 10px;
	background-color: var(--background-color2);
}

login-page,
signup-page {
	width: 100%;
}

h1 {
	margin-bottom: 5px;
	font-size: 2rem;
	font-weight: 500;
}

p.title {
	font-size: 1rem;
	font-weight: 300;
	opacity: 0.666;
}

p.page-switch {
	font-size: 14px;
	font-weight: 300;
	color: var(--text-color);
}

p.page-switch a {
	color: var(--primary-color-light);
	text-decoration: none;
}

form {
	margin: 30px 0;
}

form .item {
	margin-bottom: 15px;
}

form label {
	font-size: 12px;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	opacity: 0.9;
}

form input {
	width: 100%;
	margin: 5px 0;
	padding: 10px 15px;
	font-size: 14px;
	color: var(--text-color);
	border-radius: 5px;
	border: 1px solid transparent;
	background-color: var(--background-color);
	transition: border-color 0.125s;
}

form input::placeholder {
	color: var(--text-color);
	opacity: 0.333;
}

form input:user-invalid {
	border-color: rgb(255, 69, 36);
}

form action-button {
	margin-top: 10px;
}

label:has(~ input[required], ~ textarea[required], ~ select[required])::after,
label:has(~ * input[required], ~ * textarea[required], ~ * select[required])::after {
	content: "*";
	margin-left: 0.2em;
	font-size: 1.2em;
	color: rgb(255, 69, 36);
}

p.error-message {
	font-size: 14px;
	font-weight: 300;
	text-align: center;
	color: rgb(255, 69, 36);
}

public-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 60px;
	background: var(--background-color2);
	z-index: 100;
}

public-header nav {
	/* max-width: 935px; */
	height: 100%;
	margin: 0 auto;
	padding: 0 5vw;
	justify-content: space-between;
}

public-header .logo {
	gap: 10px;
}

public-header .logo .icon {
	width: 24px;
	height: 24px;
}

public-header .logo h1 {
	font-size: 22px;
	font-weight: 600;
	font-family: Consolas, monospace;
	margin: 0px;
}