*, *::before, *::after {
	box-sizing: border-box;
	font-family: "Open Sans","Arial","sans-serif";
}

html {
	line-height: 1;
	-webkit-text-size-adjust: 100%;
	-moz-tab-size: 4;
	tab-size: 4;
}

body {
	margin: 0;
	min-height: 100svh;
	color: dimgrey;
	min-width: 300px;
}

a, a:link, a:visited, a:hover, a:active {
	color: inherit;
}
a:hover {
	text-decoration-color: #e02b20;
}

p {
	margin: auto;
}

div.top-decoration {
	height: 10px;
	background-color: #e02b20;
}

header {
	height: 70px;
	@media screen and (max-width: 800px) {
		height: 60px;
	}
	padding: 10px;
	background-color: white;
	border-bottom: 1px solid lightgrey;
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
	column-gap: 10px;
	position: sticky;
	top: -1px;
	& > a {
		height: 100%;
		& img {
			height: 100%;
		}
	}
	& h1 {
		white-space: nowrap;
		text-overflow: ellipsis;
		overflow: hidden;
		@media screen and (max-width: 800px) {
			font-size: x-large;
		}
	}
	& nav {
		display: flex;
		flex-flow: column;
		justify-content: center;
		align-items: center;
		row-gap: 5px;
		/* font-size: smaller; */
		@media screen and (max-width: 800px) {
			/* font-size: x-small; */
		}
	}
}

main {
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: center;
	column-gap: 10px;
	row-gap: 10px;
	padding: 5px;
	text-align: center;
	line-height: 1.25;
	margin-bottom: 200px;
}

footer {
	background: black;
	color: grey;
	padding: 1rem;
	position: fixed;
	bottom: 0px;
	width: 100%;
	text-align: center;
	font-size: smaller;
}

hr {
	width: 100%;
}

h2 {
	width: 100%;
	margin: 0;
	padding: 5px;
	/* background: whitesmoke; */
	color: #3366ff;
	@media screen and (max-width: 800px) {
		font-size: large;
	}
}

ul {
	text-align: justify;
	max-width: 550px;
	margin: auto;
	padding-right: 2rem;
	&.description {
		padding: 0 0.25rem;
		list-style-type: none;
		border: 1px solid lightgrey;
		@media screen and (max-width: 800px) {
			font-size: small;
			text-align: center;
		}
		& li {
			padding: 0.5rem;
			&:nth-child(2n) {
				background: #f8f8f8;
			}
			& ul.list li {
				padding: 0;
			}
		}
	}
}

p.empty-home {
	padding: 2rem 0.5rem;
	margin-bottom: 50px;
}

h4 {
	margin: 0.5rem;
}

p.login-error {
	width: 100%;
	text-align: center;
	color: red;
	padding: 0.25rem;
	margin-top: 0.5rem;
}

p.password-forgotten-sent {
	width: 100%;
	text-align: center;
	color: green;
	padding: 0.25rem;
	margin-top: 0.5rem;
}

form#password-forgotten,
form#login {
	margin: 1rem auto;
	border: 1px solid lightgray;
	border-radius: 0.5rem;
	padding: 1rem;
	display: flex;
	flex-flow: column;
	justify-content: flex-start;
	align-items: stretch;
	background-color: whitesmoke;
	min-width: 250px;
	& label {
		font-size: smaller;
		margin-bottom: 2px;
	}
	& input {
		text-align: center;
	}
	& a.password-forgotten {
		text-align: center;
		font-size: x-small;
	}
}
