* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #224;
}

h1, h2, h3 {
    font-family: Muli;
    font-weight: 800;
}

header {
    text-align: center;
    padding: 7.5rem 0;
}

header h1 {
    text-transform: uppercase;
	color: #111;
	font: 800 4.25rem Muli;
	text-align: center;
}

.slider {
    width: 80%;
    margin: 7.5rem auto 0;
}

.slider li {
    background-color: #eee;
    margin: 0 1rem;
}

.slider a {
    text-decoration: none;
    font: 800 1.25rem/1em Muli;
    display: inline-block;
    padding: .85rem 1rem 1rem;
    width: 100%;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    color: #eee;
}

#timeline {
    position: relative;
    background-color: #f5f5fa;
    width: 100%;
    padding: 0 5%;
}

#timeline::before {
    content: '';
    position: absolute;
    top: 3.5rem;
    height: 100%;
    width: .5rem;
    background: #ccc;
    left: 50%;
    margin-left: -.25rem;
}

section {
    background-color: #f5f5fa;
    padding: 0 2.5rem;
    width: 100%;
    display: block;
}
section:first-child {
    padding-top: 2.5rem;
}
section:last-child {
    padding-bottom: 2.5rem;
}

.year {
    position: absolute;
    left: 50%;
    width: 7rem;
    height: 7rem;
    margin-left: -3.5rem;
    background: #eee;
    border-radius: 4rem;
    border: .5rem solid #ccc;
    text-align: center;
    padding: 2rem 0;
    font: 800 2.25rem/1em Muli;
    color: #444;
}

.content {
    position: relative;
    width: 42.5%;
    padding: 2rem 2rem 1rem;
    color: #111;
    background-color: #ddd;
    border-radius: 1rem;
}

section:after {
    content: "";
    display: table;
    clear: both;
}
section:nth-child(even) .content {
    float: right;
    display: inline-block;
}

.summary {
    font: normal 1.25rem/1.35em Lora;
    margin: .75rem 0;
}

.read-more {
    display: inline-block;
    padding: .25rem .5rem;
    background: #f70;
    color: #fff;
    text-decoration: none;
    border-radius: .5rem;
    transition: .25s;
}
.read-more:hover, .read-more:active {
    background: #b35300;
}

#back-to-top {
    position: fixed;
    bottom: 3.5rem;
    right: 3.5rem;
    z-index: 9999;
    width: 5rem;
    height: 5rem;
    text-align: center;
    line-height: 1em;
    font-size: 4.45rem;
    background: rgba(0,0,0,.65);
    color: #eee;
    cursor: pointer;
    border: 0;
    border-radius: .5rem;
    text-decoration: none;
    transition: .25s;
    opacity: 0;
}
#back-to-top:hover {
    background: rgba(0,0,0,.9);
}
#back-to-top.show {
    opacity: 1;
}

/* RIBBON */
#ribbon {
	padding: .38em .85em .34em;
	margin: 1rem;
	background: #ffbb80;
    display: inline-block;
    position: relative;
}

#ribbon:before, #ribbon:after {
	content: "";
	width:.2em;
	bottom:-.5em;
	position: absolute;
	border: .9em solid #ffa04d;
	z-index: -2;
}

#ribbon:before {
	left: -1.35em;
	border-right-width: .75em;
	border-left-color: transparent;
}

#ribbon:after {
	right: -1.35em;
	border-left-width: .75em;
	border-right-color: transparent;
}

#content:before, #content:after {
	content:"";
	bottom: -.5em;
	position: absolute;
	display: block;
	border-style: solid;
	border-color: #f70 transparent transparent transparent;
	z-index: -1;
}

#content:before {
    left: 0;
    border-width: .5em 0 0 .5em;
}

#content:after {
    right: 0;
    border-width: .5em .5em 0 0;
}
