body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: url(http://www.stammkopernikus.de/images/Baendsel.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
}

.box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 400px;
    padding: 40px;
    background: rgba(0,0,0,.8);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.5);
    border-radius: 10px;
}

.box h2 {
    margin: 0 0 30px;
    padding: 0;
    color: #fff;
    text-align: center;
}

.box .inputBox {
    position: relative;
}

.box .inputBox input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}

.box .inputBox label {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition:  .5s;
}

.box .inputBox input:focus ~ label,
.box .inputBox input:valid ~ label {
    top: -18px;
    left: 0;
    color: #03a9f4;
    font-size: 12px;
}

#submit-button-container {
	display: flex;
	-moz-column-count: 2;
    -moz-column-gap: 50%;
    -webkit-column-count: 2;
    -webkit-column-gap: 50%;
    column-count: 2;
    column-gap: 50%;
}

.box input[type="submit"] {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    background: #03a9f4;
    padding: 10px 20px;
    cursor: pointer;    
}

#startseite-button {
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    background: #03a9f4;
    padding: 10px 20px;
    cursor: pointer;    
	text-decoration: none;
	font-size: 1rem;
}

#login-button {
	font-size: 1rem;
	transform: translate(-53%);
}

#err{
    position: fixed;
	right: 0;
	padding-right: 40px;
}

#err p{
    color: rgb(155, 29, 29);
    font-size: 11px;
}

@media screen and (orientation:portrait) {
	.box {
		width: 100%;
		height: 66%;
		top: 55%;
	}
	
	@-moz-document url-prefix() {
		.box {
			height: 75%;
			top: 50%;
		}
	}

	.inputBox {
		height: 15rem;
		margin-bottom: 4rem;
	}

	.box .inputBox input {
		height: 80%;
		font-size: 4.5rem;
	}

	.box .inputBox label {
		font-size: 3rem;
	}

	.box .inputBox input:focus ~ label,
	.box .inputBox input:valid ~ label{
		top: -18px;
		left: 0;
		color: #03a9f4;
		font-size: 2rem;
	}

	.box input[type="submit"]{
		left: 50%;
		transform: translate(-50%, 3rem);
		position: absolute;
		width: 94%;
		height: 12rem;
		font-size: 3rem;
		border-radius: 15px;
	}

	#login-button {
		font-size: 3rem;
		transform: translate(-50%);
	}

	#startseite-button {
		font-size: 3rem;
		transform: translate(-50%, 14rem);
		left: 50%;
		position: absolute;
		width: 90%;
		height: 10rem;
		border-radius: 15px;
		background-color: gray;
		padding: 10px 20px;
		line-height: 10rem;
		text-align: center;
	}

	.box h2 {
		font-size: 4rem;
	}
}
