:root {
	--highlight-speed:		0.75s;
	--highlight-delay:		0.15s;
}

body {

}

.landing-logo {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 25px;
	background-color: black;
	width: 250px;
	border: 5px solid var(--theme-color-secondary);
	border-radius: 15%;
	box-shadow: 0 0 25px black;
	user-select: none;
}

#landing-title {
	
	color: var(--light-grey);
	text-align: center;
	font-size: 3.5em;
	font-weight: bold;
	padding-top: 0;
	padding-bottom: 25px;
	user-select: none;
}

#landing-title > span:first-child {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
}

#landing-title > span:nth-child(2) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: var(--highlight-delay);
}

#landing-title > span:nth-child(3) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(2 * var(--highlight-delay));
}

#landing-title > span:nth-child(4) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(3 * var(--highlight-delay));
}

#landing-title > span:nth-child(5) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(4 * var(--highlight-delay));
}

#landing-title > span:nth-child(6) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(5 * var(--highlight-delay));
}

#landing-title > span:nth-child(7) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(6 * var(--highlight-delay));
}

#landing-title > span:nth-child(8) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(7 * var(--highlight-delay));
}

#landing-title > span:nth-child(9) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(8 * var(--highlight-delay));
}

#landing-title > span:nth-child(10) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(9 * var(--highlight-delay));
}

#landing-title > span:nth-child(11) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(10 * var(--highlight-delay));
}

#landing-title > span:nth-child(12) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(11 * var(--highlight-delay));
}

#landing-title > span:nth-child(13) {
	animation: highlight-shadow var(--highlight-speed) linear;
	animation-fill-mode: forwards;
	animation-delay: calc(12 * var(--highlight-delay));
}

#landing-container {
	position: relative;
	display: block;
	margin: auto;
	width: 450px;
	padding: 0;
	max-width: 100%;
	height: 350px;
	max-height: 80%;
	top: 50%;
	transform: translateY(-50%);

	background-color: var(--dark-blue);
	background-image: URL("/resources/website/images/backgrounds/landing-1.png");
    background-size: 100%;
	border-radius: 15px;
	box-shadow: 0 0 4px white;
}

#landing-form {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
}

#landing-form > div {
	flex-basis: 0;
	flex-grow: 1;
	flex-shrink: 1;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#landing-form input {
	font-size: 1.25em;
	color: var(--dark-blue);
}

#landing-form input[type="text"],
#landing-form input[type="password"] {
	width: 70%;
	margin: auto;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	border: 1px solid var(--theme-color-primary);
	border-radius: 3px;
}

#landing-form input[type="text"]::placeholder,
#landing-form input[type="password"]::placeholder {
	text-align: center;
}

#landing-form input[type="submit"] {
	border: 1px solid var(--theme-color-primary);
	border-radius: 15px;
	background-color: white;
	cursor: pointer;
	padding: 5px;
	transition: background-color 0.1s linear,
				color 0.1s linear,
				transform 0.1s linear,
				box-shadow 0.1s linear;
}

#landing-form input[type="submit"]:hover {
	background-color: var(--theme-color-primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 5px 5px black;
}

.landing-sub-title {
	text-align: center;
	font-size: 2em;
	font-weight: bold;
	font-style: italic;
	color: white;
}

.landing-warning {
	color: darkred;
	border: 2px solid darkred;
	background-color: lightpink;
	border-radius: 15px;
	width: 70%;
	padding: 10px;
	margin-bottom: 5px;
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 600px) {
	#landing-title {
		margin-top: 50px;
	}

	.landing-logo {
		display: inline-block;
		width: 128px;
		float: left;
		margin-right: 15px;
	}

	#landing-container {
		height: 300px;
	}

	#content {
		margin-top: 0;
	}
}

@keyframes highlight-shadow {
	0% {}
	75% {
		color: var(--dark-blue);
		text-shadow: 	0 0 8px var(--dark-blue);
	}
	100% {
		color: var(--dark-blue);
		text-shadow: 0 0 4px var(--dark-blue);
	}
}