html {
	width: 100%;
	font: sans-serif;
	color: gray;
	background: #333336;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 90%;
	position: fixed;
	/*background: #005a8b;
	color: ghostwhite;*/
	margin: 0 5% 0 5%;
}

section {
	display: block;
	width: 100%;
}

section > div {
	background: url(../images/d-logo.svg) top center no-repeat;
	background-size: 185px 186px;
	margin: 0 auto;
	padding: 200px 0 0 0;
	display: table;
}

section > div {
	display: block;
	width: 100%;
	max-width: 500px;
}

input[type=email],
input[type=text],
input[type=password],
section > div > button {
	width: 100%;
	margin: 0 auto 10px;
	box-sizing: border-box;
	border: 2px solid silver;
	border-radius: 30px;
	padding: 10px 20px;
	box-shadow: 5px 5px 5px black;
	background: #252525;
	color: ghostwhite;
}
input:focus {
	outline: 2px solid #0095c5ff;
	background-color: #444444;
	border-color: #0095c5ff;
}
input:focus ~ #view {
	background: #0095c5ff;
	border-color: #0095c5ff;
	color: white;
}

section > div > div {
	position: relative;
}

input[type=text],
input[type=password] {
	padding-right: 5em;
}

#view {
	position: absolute;
	padding: 10px 10px;
	width: 4.5em;
	right: 0;
	border: 2px solid silver;
	border-radius: 0 30px 30px 0;
	font-weight: bold;
	background: silver;
	color: #3a3a3a;
}

section > div > button {
	margin: 20px auto 0;
	font-weight: bold;
	background: silver;
	color: #3a3a3a;
}

input[type=checkbox] {
	display: inline;
	width:unset;
}

#login {
	padding: 5px 20px;
	border-radius: 6px;
	border: 0;
	color: #005a8b;
	background: ghostwhite;
	display: block;
	margin-left: auto;
}
#login:focus {
	font-weight: bold;
	outline: 0;
	box-shadow: rgba(0, 0, 0, .5) 3px 3px;
}
#login:active {
	background: #f6a2ac;
	transform: translate(2px, 2px);
	box-shadow: rgba(0, 0, 0, .5) 1px 1px;
}