/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

:root {
    --primary: #e40613;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	box-sizing: border-box;
}

body {
    margin: 0;
}

main {
	display: block;
}

*, *::before, *::after {
	box-sizing: inherit;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/OpenSans-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Playfair';
    src: url('font/Playfair.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, p, a, li {
    font-family: Open Sans, Helvetica, Arial, sans-serif;
    line-height: 1.4;
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
}

h1 {
    font-size: 2.2em;
    margin: 0.6em 0 .2em;
    line-height: 1.2;
}

h2 {
    text-transform: uppercase;
    font-size: 1.4em;
    letter-spacing: 1px;
    margin: 2em 0 .5em;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 20px 0 14px;
}

h4 {
    font-size: 18px;
    margin: 0;
}

p {
    margin: 0 0 1em;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
ul, ol {
    margin: 0;
    padding: 0 15px;
}

ul li, ol li {
    margin: 8px 0;
}

ul {
    list-style: disc;
}

li > ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}

button {
    background-color: #eee;
    border: 1px solid #ddd;
    color: #333;
    font-size: 1em;
    padding: 10px 15px;
    margin: 15px 0;
    cursor: pointer;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
    color: var(--primary);
    background: transparent;
    text-decoration: none;
}

a:hover, a:focus, a:active {
    text-decoration: underline;
    color: var(--primary);
}

a:focus {
    outline: thin dotted;
}

a:hover, a:active {
    outline: 0;
}

a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: .03em;
    border-radius: 6px;
    transition:
        background .25s ease,
        border-color .25s ease,
        transform .15s ease,
        box-shadow .25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    cursor: pointer;
}

a.button:hover {
    background: #b71c1c;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    transform: translateY(-2px);
}

a.button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

a.button:focus-visible {
    outline: 3px solid #ffcc80;
    outline-offset: 3px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
header {
    width: 100vw;
    background-color: #fff;
    box-shadow: 0 5px 10px 0 rgba(50, 50, 50, 0.06);
}

.site-header .container {
    padding: 0;
}

.container {
    padding: 1em 70px 0 1em;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    background-color: #fff;
    padding: 0;
    text-align: center;
}

.main-navigation li {
    display: inline-block;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 0.5em .7em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

nav a:hover{
    color: #e40613;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2em 1em;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.centered {
    text-align: center;
}

footer {
    color: #fff;
    background-color: var(--primary);
    padding: 1em 0;
    margin-top: 4em;
}

footer a {
    display: inline-block;
    color: #fff;
    margin: 0 1.2em .5em 0;
    border-bottom: 1px solid var(--primary);
}

footer a:hover {
    text-decoration: none;
    border-bottom: 1px solid #fff;
    color: #fff;
}

.container.about {
    margin: 3em auto;
    padding: 3rem;
    background: #fff;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.about h2 {
    margin: 0 0 1em;
    color: var(--primary);
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
img {
    border-style: none;
    width: 100%;
    height: auto;
}

.preview {
    max-width: 300px;
    display: block;
    border: 1px solid #e40613;
    margin: 1em 0;
}

.logo {
    max-width: 300px;
    display: block;
    margin: .5em auto;
}

#archiv {
    padding: 5rem 0;
    background: #f7f7f7;
    text-align: center;
}

#archiv ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
}

#archiv li {
    margin-top: 1em;
}

#archiv a {
    display: flex;
    justify-content: space-between;
    padding: 1em 1.5em;
    background: #fff;
    text-decoration: none;
    border-left: 5px solid var(--primary);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: .2s ease;
}

.archive-list a::after {
    content: "Download ⤓";
    font-size: .9rem;
    color: #c62828;
    font-weight: 600;
}

.archive-list a:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/

@media screen and (min-width: 768px) {
    .logo {
        float: left;
    }

    .container {
        width: 720px;
        padding: 2rem 0;
    }

    section {
        padding: 2em 0;
    }

    header {
        height: 80px;
    }

    .main-navigation {
        text-align: right;
    }

    .main-navigation ul {
        width: calc(100% - 300px);
        float: right;
        text-align: right;
    }

    .main-navigation li {
        display: inline-block;
        margin: 0;
    }

    .main-navigation a {
        padding: 17px 13px;
    }

}

@media screen and (min-width: 992px) {
    .container {
        width: 960px;
    }

    .half {
        width: 50%;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .third {
        width: 33.33%;
        float: left;
        padding: 0 15px;
    }

    .quad {
        width: 25%;
        padding: 0 15px;
    }

}

@media screen and (min-width: 1200px) {
    .container {
        width: 1140px;
    }

}