body {
	background-color: #ffffff;
	font-family: 'Barlow', sans-serif;
}

#background {
	background-image: url('../images/lavender.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	height: 80%;
	width: 99%;
	overflow: hidden;
	margin-top: 1px;
	margin-left: 0px;
	left: 5%;
	top: 20%;
	display: block;
	position: fixed;
	z-index: -999;
}

#login {
	width: 500px;
	height: 190px;
	position: absolute;
	left: 50%;
	margin-left: -250px;
	top: 50%;
	margin-top: -110px;
	border: 1px solid #dfdfdf;
	z-index: 1;
}

#edit_login {
	width: 500px;
	height: 260px;
	position: absolute;
	left: 50%;
	margin-left: -250px;
	top: 50%;
	margin-top: -110px;
	border: 1px solid #dfdfdf;
	z-index: 1;
	resize: both;
	overflow: scroll;
}
	
#login label {
	font-size: 22px;
	display: inline-block;
	width: 140px;
	margin-left: 40px;
	margin-top: 20px;
}

#login input[type=text], input[type=password] {
	border: 1px solid #c46eef;
	padding: 6px;
	width: 240px;
}

#login input[type=text]:focus, input[type=password]:focus {
	box-shadow:  0 0 12px 4px #e9c9f9;
	border: 1px solid #b74eec;
	outline: none;
}

#login input[type=submit], input[type=button], input[type=reset] {
	font-size: 16px;
	border: none;
	padding: 12px 16px;
	background-color: #c672f0;
	color: white;
	margin-top: 20px;
}

#login input[type=text]:focus, input[type=password]:focus {
	box-shadow:  0 0 12px 4px #e9c9f9;
}

#login input[type=submit], input[type=button] {
	margin-left: 24px;
}

#login input[type=reset] {
	margin-left: 120px;	
}

#login .login_label {
	position: absolute;
	font-size: 16px;
	color: #dfdfdf;
	margin-top: -12px;
	margin-left: 12px;
	background-color: #ffffff;
	padding-left:10px;
	padding-right: 10px;
}

#edit_login label {
  font-size: 18px;
  display: inline-block;
  width: 140px;
  margin-left: 40px;
  margin-top: 20px;
}

#edit_login input:disabled {
	background-color: #eccbfc;
}

#edit_login input[type=text], input[type=password] {
  border: 1px solid #c46eef;
  padding: 6px;
  width: 240px;
}

#edit_login input[type=text]:focus, input[type=password]:focus {
  box-shadow:  0 0 12px 4px #e9c9f9;
  border: 1px solid #b74eec;
  outline: none;
}

#edit_login input[type=submit], input[type=button], input[type=reset] {
  font-size: 16px;
  border: none;
  padding: 12px 16px;
  background-color: #c672f0;
  color: white;
  margin-top: 20px;
}

#edit_login input[type=text]:focus, input[type=password]:focus {
  box-shadow:  0 0 12px 4px #e9c9f9;
}

#edit_login input[type=submit], input[type=button] {
  margin-left: 24px;
}

#edit_login input[type=reset] {
  margin-left: 120px; 
}

#edit_login .login_label {
  position: absolute;
  font-size: 16px;
  color: #dfdfdf;
  margin-top: -12px;
  margin-left: 12px;
  background-color: #ffffff;
  padding-left:10px;
  padding-right: 10px;
}

#message_success {
	margin-top:2em;
	background-color: white;
	max-width: 20em;
	padding: 1em 1em 1em 1.5em;
	border-left-width: 6px;
	border-left-style: solid;
	position: absolute;
	border-radius: 3px;
	box-sizing: border-box;
	border-left-color: darkolivegreen;
	display: block;
	right:5%;
	box-shadow: 0px 0px 10px 10px #dedede;
	opacity: 0;
	animation: fadeIn 1.5s forwards;
}

#message_success:before {
	background-color: darkolivegreen;
	content: "✔";
	color: white;
	width:  1.5em;
	height: 1.5em;
	position: absolute;
	top: 1em;
	left: -3px;
	border-radius: 50%;
	transform: translateX(-50%);
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}

#message_timeout {
	margin-top:2em;
	background-color: white;
	max-width: 20em;
	padding: 1em 1em 1em 1.5em;
	border-left-width: 6px;
	border-left-style: solid;
	position: absolute;
	border-radius: 3px;
	box-sizing: border-box;
	border-left-color: gold;
	display: block;
	right:5%;
	box-shadow: 0px 0px 10px 10px #dedede;
	opacity: 0;
	animation: fadeIn 1.5s forwards;
}

#message_timeout:before {
	background-color: gold;
	content: "⚠";
	color: white;
	width:  1.5em;
	height: 1.5em;
	position: absolute;
	top: 1em;
	left: -3px;
	border-radius: 50%;
	transform: translateX(-50%);
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}

#message_failure {
	margin-top:2em;
	background-color: white;
	max-width: 20em;
	padding: 1em 1em 1em 1.5em;
	border-left-width: 6px;
	border-left-style: solid;
	position: absolute;
	border-radius: 3px;
	box-sizing: border-box;
	border-left-color: darkred;
	display: block;
	right:5%;
	box-shadow: 0px 0px 10px 10px #dedede;
	opacity: 0;
	animation: fadeIn 1.5s forwards;
}

#message_failure:before {
	background-color: darkred;
	content: "✗";
	color: white;
	width:  1.5em;
	height: 1.5em;
	position: absolute;
	top: 1em;
	left: -3px;
	border-radius: 50%;
	transform: translateX(-50%);
	font-weight: bold;
	line-height: 1.5;
	text-align: center;
}


@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

#maincontent {
	width: 800px;
	border: 1px solid #DFDFDF;
	height: fit-content;
	position: absolute;
	left: 50%;
	margin-left: -400px;
	top: 30%;
	display: flex;
}