body {
	font-family: sans-serif;
	display: flex;
	justify-content: center;
	margin-top: 50px;
	font-size: 1rem;
	background: #374151;
}

h1 {
	margin-top: 0;
	padding-top: 0;
}

.container {
	width: 100%;
	max-width: 450px;
	border: 1px solid #ccc;
	padding: 20px;
	border-radius: 8px;
  box-shadow: 0 0 40px #000;
	background: white;
}

input {
	font-size: 1rem;
	width: 100%;
	margin-bottom: 10px;
	padding: 8px;
	box-sizing: border-box;
  transition: 0.5s;
  outline: none;
  border: 2px solid #9ca3af;
}

input[type=text]:focus {
  border: 2px solid #15803d;
}

input[type=password]:focus {
  border: 2px solid #15803d;
}

button {
	font-size: 1rem;
	width: 100%;
	padding: 0.75rem 1.5rem;
	color: white;
	border: none;
	cursor: pointer;
	transition: background-color 0.5s;
}

button:hover {
	background: #16a34a;
}

button.primary {
	background: #15803d;
	border: 1px solid #15803d;
}

button.primary:hover {
	background: #16a34a;
	color: white;
}

button.primary.outline {
	color:  #15803d;
}

button.warn {
	background: #b91c1c;
	border: 1px solid #b91c1c;
}

button.warn.outline {
	color:  #b91c1c;
}

button.warn:hover {
	background:  #dc2626;
	color: white;
}

button.cancel {
	background: #374151;
	border: 1px solid #374151;
}

button.cancel.outline {
	color:  #374151;
}

button.cancel:hover {
	background: #4b5563;
	color: white;
}

button.outline {
	background: white;
}

button.outline:hover {
	color: white;
}

.navlink {
	font-size: 1rem;
	color: #15803d;
	cursor: pointer;
	margin: 0;
	padding: 4px 0;
}

.navlink:hover {
	color: #16a34a;
}

.error {
	color: red;
}

@keyframes fadeOut {
0% {
	opacity: 1;
}

99% {
	opacity: 0;
}

100% {
	opacity: 0;
	visibility: hidden;
}
}

.flash-msg {
	max-width: 450px;
	position: absolute;
	background-color: #d4edda;
	color: #155724;
	padding: 10px;
	margin-bottom: 15px;
	padding-left: 20px;
	border: 1px solid #c3e6cb;
	border-radius: 8px;

	/* animation: name duration ease-in-out start-delay stay-invisible */
	animation: fadeOut 1s ease-in-out 3s forwards;
}

.flex {
	display: flex;
}

.justify-center {
	justify-content: center;
}

#login-message {
	padding-bottom: 20px;
}
