html, body {
	height: 100%;
	margin: 0;
	overflow: hidden;
}

body {
	font-family: sans-serif;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	z-index: 1;
}

.slideshow {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: -1;
}

.slide {
	position: absolute;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	animation: fade 18s infinite;
}

.slide:nth-child(1) {
	background-image: url('/minc-sismus/images/slide-1.jpg');
	animation-delay: 0s;
}

.slide:nth-child(2) {
	background-image: url('/minc-sismus/images/slide-2.jpg');
	animation-delay: 6s;
}

.slide:nth-child(3) {
	background-image: url('/minc-sismus/images/slide-3.jpg');
	animation-delay: 12s;
}

@keyframes fade {
	0%   { opacity: 0; }
	10%  { opacity: 1; }
	30%  { opacity: 1; }
	40%  { opacity: 0; }
	100% { opacity: 0; }
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 5px;
}

.login-failure {
	color: #ec0a05;
	font-size: 14px;
	padding-top: 2px;
	padding-right: 10px;
	font-weight: bold;
}

.login-box {
	width: 320px;
	height: 420px;
	background: #000;
	color: #fff;
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
	padding: 70px 30px;
}

.login-box .avatar {
	width: 300px;
	height: 60px;
	border-radius: 2%;
	position: absolute;
	top: -30px;
	left: calc(5% - 5px);
}

.login-box h1 {
	margin: 0;
	padding: 0 0 20px;
	text-align: center;
	font-size: 22px;
}

.login-box label {
	margin: 0;
	padding: 0;
	font-weight: bold;
	display: block;
}

.login-box input {
	width: 100%;
	margin-bottom: 20px;
}

.login-box input[type="text"], .login-box input[type="password"] {
	border: none;
	border-bottom: 1px solid #fff;
	background: transparent;
	outline: none;
	height: 40px;
	color: #fff;
	font-size: 16px;
}

.g-recaptcha {
	display: flex;
	justify-content: center;
}

.login-box input[type="submit"] {
	border: none;
	outline: none;
	height: 40px;
	background: #b80f22;
	color: #fff;
	font-size: 18px;
	border-radius: 20px;
}

.login-box input[type="submit"]:hover {
	cursor: pointer;
	background: #ffc107;
	color: #000;
}

.login-box a {
	text-decoration: none;
	font-size: 12px;
	line-height: 20px;
	color: darkgrey;
}

.login-box a:hover {
	color: #fff;
}
