@font-face {
	font-family: 'MigMix 2P';
	src: url(migmix-2p-regular.ttf);
}
body {
	display: flex;
	flex-flow: column;
	min-height: 90vh;
	font-family: 'MigMix 2P';
}
header {
	text-indent: 3em;
	font-size: 180%;
	font-weight: 900;
}
main {
	flex: 1;
	padding: 0 3em;
}
main ul {
	padding: 1em 2em;
	font-size: 145%;
	list-style-type: none;
}
main ul a {
	padding: .5em;
	color: #333;
	text-decoration: none;
}
main ul a li:hover {
	color: #000;
	text-decoration: underline;
}
pre {
	font-size: 135%;
	margin-left: 15em;
}
figure {
	text-align: right;
}
span {
	text-align: right;
}
span a {
	padding: 1em;
	border-radius: .2em;
	background: #ccc;
	color: #333;
	transition: all .2s ease-out;
	text-decoration: none;
	font-weight: 900;
	border: solid 1px #333;
	box-shadow: inset 0 0 0 2px hsla(0,0%,100%,.5)
}
span a:hover {
	background: #eee;
}
span a:active {
	position: relative;
	top: 3px;
	box-shadow: 0 0 0 #222;
}
footer {
	text-align: center;
}

div#topic1 {
	margin: 0 auto;
	width: 240px;
	height: 200px;
	border-radius: 1em;
	background: #eee;
	transition: background .2s;
}
div#topic1:hover {
	background: #aaa;
}
div#topic2 {
    text-align: center;
    height: 300px;
}
div#topic2 img {
    width: 400px;
    transition: width .2s;
}
div#topic2 img:hover {
    width: 500px;
}
div#container3{
	height: 50px;
	width: 10em;
	margin: 0 auto;
}
p#topic3 {
	width: 5em;
	font-size: 150%;
    border-bottom: 1px solid #aaa;
    transition: border-bottom .2s;
}
p#topic3:hover {
    border-bottom: 5px solid #aaa;
}
div#container4 {
	text-align: center;
}
img#topic4 {
    border: 5px solid #fff;
    transition: border .2s;
}

img#topic4:hover {
    border: 5px solid #aaa;
}
