@import url('https://static.clemclem.world/normalize.css');
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,700;1,400&display=swap');

:root {
	--color-1: #000;
	--color-2: #FFF;
	--color-3: #1638D1
}

* {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent
}

html, body {
	width: 100%;
	height: 100%
}

body {
	font-family: 'Courier Prime', monospace;
	font-size: 16px;
	font-weight: 400;
	color: var(--color-1);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column
}

a {
	color: inherit
}

.container {
	width: calc(100% - 5vmin);
	height: calc(100% - 5vmin);
	background: rgba(255, 255, 255, .1);
	position: relative;
	overflow: hidden
}

#login_form {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10%
}

#header, #login_submit, #login {
	width: 33.33%;
	aspect-ratio: 1/1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column
}

#header {
	background: var(--color-3)
}

#login_submit {
	background: var(--color-4);
	border: none;
	outline: 0;
}

#login {
	background: var(--color-2);
	color: var(--color-3);
	justify-content: space-between;
	padding: 1.5rem
}

.logo {
	max-width: 60%;
	max-height: 60%;
	display: block
}

#login_submit .logo {
	cursor: pointer;
	animation: pulsate-bck .75s ease-in-out infinite both
}

@keyframes pulsate-bck{0%{transform:scale(1)}50%{transform:scale(.9)}100%{transform:scale(1)}}

#page_title {
	display: block;
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center
}

#page_subtitle {
	display: block;
	font-size: 1.5rem;
	text-align: center
}

.input_field {
	width: 100%;
	margin: .5rem 0;
	display: flex;
	flex-flow: column;
}

.input_field:first-of-type {
	margin-top: 0
}

.input_field:last-of-type {
	margin-bottom: 0
}

.input_field label {
	font-size: 1.25rem;
}

.input_field input {
	color: inherit;
    outline: none;
    background: none;
    border: none;
    border-bottom: 1px solid;
    padding: .25rem 0 .5rem;
	font-size: 1rem
}

.shake-horizontal {
	animation: shake-horizontal .8s cubic-bezier(.455,.03,.515,.955) both
}

@keyframes shake-horizontal{0%,100%{transform:translateX(0)}10%,30%,50%,70%{transform:translateX(-10px)}20%,40%,60%{transform:translateX(10px)}80%{transform:translateX(8px)}90%{transform:translateX(-8px)}}

.rotate-center {
	animation: rotate-center .6s ease-in-out both
}

@keyframes rotate-center {
	0% {
		transform: rotate(0)
	}
	100% {
		transform: rotate(360deg)
	}
}


@media only screen and (max-width: 768px) {
	.container {
		width: 90%;
		height: 90%
	}
	
	#header, #login_submit, #login {
		width: 100%;
	}
	
	#login {
		height: 46.66%;
	}
	
	#header, #login_submit {
		height: 20%;
	}
	
	
	#login_form {
		flex-flow: column
	}
}