@font-face {
	font-family: "Alegreya";
	font-style: normal;
	font-weight: normal;
	src: url("fonts/AlegreyaSans-Regular-Web.woff") format("woff");
}

html, body {
	height: 100%;
}

body {
	background: beige;
	display: flex;
	flex-direction: row;
	margin: 0;
	align-items: center;
	font-family: Alegreya, sans-serif;
}

header {
	flex: 1 2 100%;
	font-size: 9vw;
	text-align: center;
}

header .red {
	color: tomato;
}

ul {
	flex: 1 1 320px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;

	height: 100%;
	margin: 0;
	box-sizing: border-box;
	padding: 0 0 15px 10px;
	list-style-type: none;
	background: tomato;
}

ul li {
	margin: 5px 0;
	padding: 5px;
	background: beige;
}

ul a {
	color: black;
	line-height: 30px;
	font-size: 18pt;
	text-decoration: none;
	outline: 0;
}

ul a:hover {
	text-decoration: underline;
}

ul hr {
	width: 100%;
	height: 0;
	border: none;
	border-top: 1px dotted beige;
}

ul img {
	height: 60px;
}

@media screen and (orientation: portrait) {
	body {
		flex-direction: column;
		background: tomato;
	}

	header {
		flex: 1 1 0;
		width: 100%;
		font-size: 18vw;
	}
	
	header .red {
		color: beige;
	}

	ul {
		flex: 1 1 100%;
		justify-content: flex-start;
		width: 100%;
	}
}

