h1 {
	letter-spacing: -0.02em;
	font-weight: 700;
	color: black;
	font-size: calc(2.5vw + 2.5vh);
}
label.email,
label.password {
	position: relative;
	display: flex;
	width: 100%;
}
input,
button,
.google {
	font-family: var(--font-family);
	font-size: calc(1.2vw + 1.2vh);
	outline: none;
	width: inherit;
	border-radius: calc(0.5vw + 0.5vh);
	padding: calc(1.2vw + 1.2vh);
	transition: all 0.2s ease;
}
input {
	color: var(--text-color);
	font-weight: 500;
	background: white;
	border: 1px solid #eee;
	padding-right: calc(1.7vw + 1.7vh);
}
input:hover {
	border-color: #ccc;
}
input::placeholder {
	color: #ccc;
	opacity: 1;
}
button {
	color: #f9f9f9;
	font-weight: 600;
	border: 0;
	background: #454545;
	border-radius: calc(0.5vw + 0.5vh);
}
label svg {
	position: absolute;
	z-index: 1;
	right: calc(0.3vw + 0.3vh);
	top: 50%;
	width: calc(1.9vw + 1.9vh);
	fill: none;
	transform: translate(-50%, -50%);
	transition: all 0.2s ease;
}

svg path,
svg polyline {
	stroke: #ccc;
}

.no {
	display: none;
}
.grid {
	width: 100%;
	height: inherit;
	display: grid;
	padding: 10%;
	background: white;
}

.image {
	z-index: -1;
	width: 100vw;
	height: 100vh;
	position: absolute;
	right: 0;
	top: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	float: right;
	display: flex;
	align-items: center;
	justify-content: center;
}
.image video {
	height: auto;
	width: inherit;
}
form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: calc(2vw + 2vh);
	height: inherit;
	float: left;
	width: 100%;
	margin: 0 auto;
	padding-top: 15%;
}
.signup {
	display: flex;
	flex-direction: column;
	gap: calc(1vw + 1vh);
	font-size: calc(1.6vw + 1.6vh);
	font-weight: 500;
}
.signup a {
	cursor: pointer;
	color: #454545;
	text-decoration: underline;
	font-weight: 500;
}
.signup .link {
	display: flex;
	gap: calc(0.5vw + 0.5vh);
	flex-direction: row;
}
.signup .link a:hover {
	color: black;
}
.signup .warning {
	display: none;
	font-weight: 500;
	color: #e3000f;
	align-items: center;
	gap: 10px;
	font-size: calc(1.2vw + 1.2vh);
	padding: calc(1.2vw + 1.2vh);
	background: #e3000f33;
	border-radius: calc(0.6vw + 0.6vh);
}
.signup .warning svg {
	width: 18px;
}
.signup .warning svg path {
	fill: #e3000f;
	stroke: unset;
}
.signup.user-not-exist .warning {
	display: flex;
}
.logo {
	position: absolute;
	width: calc(10vw + 10vh);
	left: calc(2vw + 2vh);
	top: calc(2vw + 2vh);
}
.logo path {
	stroke: #ffffff;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: logo 4s linear infinite;
}
form svg {
	pointer-events: none;
}
form .sign-in:hover {
	background: black;
}
.google {
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	text-align: center;
	background: white;
}
.google img {
	width: calc(1.5vw + 1.5vh);
}
.google span {
	width: 100%;
	font-weight: 600;
	color: var(--text-color);
}
.google:hover {
	border-color: #ccc;
}
form .hr {
	width: 100%;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: space-around;
}
form .hr hr {
	border: calc(0.01vw + 0.01vh) solid #eee;
}
form .hr div {
	width: 100%;
}
form .hr span {
	margin: 0 calc(1vw + 1vh);
	font-size: calc(1.5vw + 1.5vh);
}
.email input:focus {
	z-index: 1;
	background: #ffffff;
	/* box-shadow: -4vw -2vw 6vw #e3000ff0, 4vw 2vw 6vw #ffcc00f0, inset 0 0 0 10vw white !important; */
}
.email.check input {
	background: white;
}
.email svg path,
.email svg polyline {
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: stroke 0.2s ease 0s;
}
.email svg path {
	stroke-dasharray: 64;
	stroke-dashoffset: 127;
	transition: stroke-dasharray 0.6s ease 0.6s, stroke-dashoffset 0.6s ease 0s;
}
.email svg polyline {
	stroke-dasharray: 18;
	stroke-dashoffset: 18;
	transition: stroke-dashoffset 0.2s ease 0s;
}
.email.check svg polyline.check,
.email.check svg path {
	stroke: #00ca4e;
}
.email.xmark svg path {
	stroke: #cccccc;
}
.email.wait svg path {
	stroke: #ffcc00;
}
.email.xmark svg path,
.email.wait svg path {
	animation: wait 1s ease infinite;
	transition: stroke-dasharray 0.6s ease 0s, stroke-dashoffset 0.6s ease 0.2s, stroke 0.2s ease 0s;
}
.email.xmark svg path,
.email.check svg path {
	stroke-dasharray: 46;
	stroke-dashoffset: 150;
	transition: stroke-dasharray 0.6s ease 0s, stroke-dashoffset 0.6s ease 0.2s, stroke 0.2s ease 0s;
}
.email.xmark svg polyline.xmark,
.email.check svg polyline.check {
	stroke-dashoffset: 0;
	transition: stroke-dashoffset 0.2s ease 0.4s, stroke 0s ease 0s;
}
.email.xmark svg polyline.xmark {
	transform: translate(50%, -25%) rotate(45deg);
}
.password input:focus {
	z-index: 1;
	background: #ffffff;
	/* box-shadow: -4vw -2vw 6vw #e3000ff0, 4vw 2vw 6vw #ffcc00f0, inset 0 0 0 10vw white !important; */
	/* filter: invert(0.7); */
}
/* .password input:focus::placeholder {
	filter: invert(0.7);
} */
.password.unlock input {
	background: white;
}
.password svg rect {
	fill: #ccc;
}
.password svg path {
	stroke: #ccc;
	stroke-dashoffset: 60;
	transition: stroke-dashoffset 0.4s ease 0s;
}
/* .password input:focus ~ svg rect {
    fill: white;
}
.password input:focus ~ svg path {
	stroke: white;
} */
.password.unlock svg,
.password.lock svg {
	animation: skew 0.4s ease forwards;
}
.password.unlock svg rect {
	fill: #00ca4e;
}
.password.lock svg rect {
	fill: #ff605c !important;
}
.password.unlock svg path {
	stroke-dashoffset: 55;
	animation: unlock 0.4s ease forwards;
	transition: stroke-dashoffset 0.2s ease 0.2s;
}
.password-optional {
	display: flex;
	justify-content: space-between;
	width: 100%;
	font-size: calc(1.4vw + 1.4vh);
	font-weight: 500;
	color: #454545;
	gap: calc(1vw + 1vh);
}
.password-optional .show {
	cursor: pointer;
	display: flex;
	align-items: center;
}
.password-optional .show input {
	margin-right: calc(0.5vw + 0.5vh);
}
.password-optional .show:hover {
	color: black;
}
.password-optional .show span {
	font-size: inherit;
}
.password-optional .forgot {
	cursor: pointer;
	font-size: inherit;
}
.password-optional .forgot:hover {
	text-decoration: underline;
	color: black;
}
button[type="submit"] {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
button[type="submit"] svg {
	width: 14px;
	display: none;
	animation: loading 2s linear forwards;
}
button[type="submit"] svg path {
	fill: #fff !important;
	stroke: #fff !important;
}
button.back {
	gap: calc(1vw + 1vh);
	color: black;
	display: flex;
	font-size: calc(2vw + 2vh);
	padding: calc(0.5vw + 0.5vh) calc(1vw + 1vh);
	width: fit-content;
	position: absolute;
	top: calc(2vw + 2vh);
	right: calc(2vw + 2vh);
	background: none;
	align-items: center;
	justify-content: center;
	box-shadow: 1vw 1vw 1vw #00000050;
	background: white;
}
button.back svg {
	width: calc(1vw + 1vh);
}
button.back span {
	font-size: calc(1.5vw + 1.5vh);
}
button.back:hover {
	background: black;
	color: white;
}
button.back:hover svg {
	fill: white;
}
@keyframes loading {
	100% {
		transform: rotate(360deg);
	}
}
@keyframes unlock {
	50% {
		transform: translateY(0.1vw);
	}
	100% {
		transform: translateY(-0.1vw);
	}
}
@keyframes skew {
	20% {
		transform: translate(-50%, -55%);
	}
	60% {
		transform: translate(-50%, -45%);
	}
	100% {
		transform: translate(-50%, -50%);
	}
}
@keyframes wait {
	0% {
		stroke-dasharray: 46;
		stroke-dashoffset: 150;
	}
	40% {
		stroke-dasharray: 36;
		stroke-dashoffset: 100;
	}
	60% {
		stroke-dasharray: 56;
		stroke-dashoffset: 150;
	}
	100% {
		stroke-dasharray: 66;
		stroke-dashoffset: 100;
	}
}
@keyframes success {
	33% {
		opacity: 1;
		transform: scale(1.2);
	}
	100% {
		opacity: 0;
		transform: scale(0);
	}
}
@keyframes logo {
	0% {
		stroke-dashoffset: 1000;
		opacity: 0.5;
	}
	40% {
		stroke-dashoffset: 500;
		opacity: 1;
	}
	80% {
		stroke-dashoffset: 0;
		opacity: 1;
	}
	100% {
		stroke-dashoffset: -500;
		opacity: 0.5;
	}
}
