@font-face {
    font-family: 'lhf_comic_caps_2_slantregular';
    src: url('fonts/lhfcomiccaps2slant-webfont.woff2') format('woff2'),
    url('fonts/lhfcomiccaps2slant-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'mv_boliregular';
    src: url('fonts/mvboli-webfont.woff2') format('woff2'),
    url('fonts/mvboli-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html {
    padding: 0;
    margin: 0;
}

body {
    background: #373737 url(img/background.jpg) no-repeat;
    background-size: cover;
    color: #fff;
    font-family: "MV Boli", "mv_boliregular", sans-serif;
    font-weight: bold;
    line-height: 1;
    padding: 0;
    margin: 0;
}

#page-home {
    background-image: url(img/background-repeating.jpg);
    background-repeat: repeat;
    background-size: contain;
    padding-top: 4vh;
}

#page-home article {
    position: relative;
}

aside {
    text-transform: uppercase;
    padding-bottom: 7rem;
    overflow: auto;
    position: relative;
    z-index: 2;
}

#page-home aside {
    position: absolute;
    top: 0;
    width: 100%;
}

aside li {
    display: block;
    background: #fff;
    color: #a2b2d3;
    padding: 0.5rem;
    border: solid #a2b2d3 0.3em;
    border-radius: 0.3em;
    margin: 0 0 0.5em;
    float: right;
    clear: right;
}

aside li:nth-child(1) {
    margin-right: 5%;
}

aside li:nth-child(2) {
    margin-right: 1%;
}

aside li:nth-child(3) {
    margin-right: 0;
}

aside li:nth-child(4) {
    margin-right: 6%;
}

aside li li {
    display: list-item;
    padding: 0;
    border: none;
    border-radius: 0;
    float: none;
}

aside li li:last-child {
    margin-bottom: 0;
}

aside li ul {
    margin: 0.5em 0 0 1em;
}

aside ul {
    padding: 0;
    margin: 1em;
}

aside.read-more {
    padding-bottom: 0;
    margin: -3em 0 0 10%;
}

#page-home aside.read-more {
    top: auto;
}

aside.read-more li {
    border-color: #373737;
    float: left;
    margin: 0 1em 0 0;
}

.calendar {
    display: inline-block;
    background: url(img/flags.png) no-repeat left top;
    background-size: cover;
    text-indent: -999em;
    line-height: 0;
    vertical-align: middle;
    overflow: hidden;
    width: 20px;
    height: 20px;
    rotate: 5deg;
}
.calendar-G { background-position: left top; }
.calendar-Eur { background-position: left -20px; }
.calendar-Eng { background-position: left -40px; }
.calendar-DP { background-position: left -60px; }
.calendar-Gue { background-position: left -80px; }

figure {
    max-width: 40rem;
    position: absolute;
    top: 10rem;
    z-index: 0;
}

figure img {
    width: 100%;
}

p {
    background: #fff;
    color: #373737;
    text-align: center;
    padding: 1em;
    border: solid #373737 0.4em;
    border-radius: 0.3em;
    margin: 1em;
    position: relative;
    z-index: 2;
}

p:nth-child(2) {
    margin-left: 10%;
    margin-right: 25%;
}

p:nth-child(3) {
    margin-left: 4%;
    margin-right: 33%;
}

p:nth-child(4) {
    margin-left: 13%;
    margin-right: 10%;
}

h1 {
    color: #337d98;
    font-family: "LHF Comic Caps 2 Slant", "lhf_comic_caps_2_slantregular", cursive;
    font-size: 6em;
    line-height: 0.7;
    text-indent: -0.5em;
    padding-left: 0.5em;
    margin: 0 0 0.5rem;
    rotate: -8deg;
    position: relative;
    z-index: 2;
}

#page-home h1 {
    font-size: 3em;
    margin-top: 1em;
}

h2 {
    background: #373737;
    color: #a2b2d3;
    font-family: "LHF Comic Caps 2 Regular", "lhf_comic_caps_2_slantregular", cursive;
    font-size: 2em;
    text-align: center;
    padding: 0.5em;
    border-radius: 0.3em;
    margin: 0 30% 0 0.5em;
    position: relative;
    z-index: 2;
}

#page-home h2 {
    background: none;
    color: #ec4646;
    font-family: "MV Boli", "mv_boliregular", sans-serif;
    font-size: 1.5em;
    padding: 0;
    margin-left: 5%;
    rotate: -8deg;
}

#page-home h2 small {
    display: block;
    color: #373737;
    rotate: 4deg;
    position: relative;
}

header {
    background: transparent url(img/logo.svg) no-repeat;
    background-size: contain;
    text-indent: -999em;
    overflow: hidden;
    height: 6em;
}

#page-home header {
    background-position: center;
    height: 12em;
    margin: 0 1em 2em;
}

nav {
    background: #a2b2d3;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.3rem;
    border-radius: 0.3em;
    position: absolute;
    top: 1.5rem;
    right: 5%;
    left: 15rem;
}

.rank {
    display: inline-block;
    background: #ffbc2c;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 0.25em;
    text-align: center;
    text-indent: 0;
    line-height: 1.3em;
    vertical-align: middle;
    border: solid 1px #d39e28;
    border-radius: 1em;
    margin: 0 0 -0.7em 0.3em;
    width: 1.3em;
    height: 1.3em;
    rotate: 8deg;
}