/*  ┌─────────────────────────────────────────────────────────────────────────────────────────┐  */
/*  │                                Jonas-Klose.de Basestyle                                 │  */
/*  └─────────────────────────────────────────────────────────────────────────────────────────┘  */

/*  ┌─────────────────────────┐  */
/*  │  Reset & Initial Setup  │  */
/*  └─────────────────────────┘  */
@import url("fontawsome/css/all.min.css");

* {
    font-family:opensans-regular, sans-serif;
    font-size: 1em;
    margin: 0;
    padding: 0;
}

*:focus {
    outline: none;
}

html {
    margin: 0px;
    padding: 0px;
    height: 100%;
    width: 100%;
}

body {
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    overflow-y: scroll;
}

section {
    padding: 20px 8px 30px 8px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
}

h1 {
    font-size: 2.7em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.8em;
}

h4 {
    font-size: 1.6em;
}


/*  ┌──────────┐  */
/*  │  Header  │  */
/*  └──────────┘  */
.header {
    padding: 30px;
    text-align: center;
    background-image: url("../images/bg-pano.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.header img {
    height: 20em;
}


/*  ┌──────────────────┐  */
/*  │  Navigation Bar  │  */
/*  └──────────────────┘  */
.navigation {
    font-size: 1.25em;
}

.navbar {
    width: 100%;
    display: block;
    z-index: 1;
}

.sticky {
    position: fixed;
    top: 0;
}

.navbar a.icon {
    display: none;
}

.navbar .navbar-wrapper {
    display: grid;
    grid-template-columns: repeat(6,auto) 1fr;
    grid-template-rows: auto;
}

.navbar .navbar-wrapper a {
    width: auto;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 0.75em 1em;
}

@media(max-width: 751px) {
    .navbar .navbar-wrapper {
        grid-template-columns: repeat(3,auto);
        grid-template-rows: auto auto;
    }
}

@media (max-width: 601px) {
    .navbar {
        width: 100%;
        display: block;
    }

    .navbar a.icon {
        padding: 0.875em;
        display: block;
    }

    /* Add some space after the hamburger icon */
    .navbar a.icon p {
        margin-left: 0.75em;
    }

    .navbar a.icon i, .navbar a.icon p {
        display: inline-block;
    }

    /* Not neccecary, but needet for the Javascript to work */
    .navbar .navbar-wrapper {
        display: none;
    }

    .navbar .navbar-wrapper a {
        display: block;
    }
}

.placeholder p {
    display: none;
}

/*  ┌────────────┐  */
/*  │  Sections  │  */
/*  └────────────┘  */
main.content {
    max-width: 80%;
    padding: 4.5em 0;
}

main.content, main.content .title {
    margin: 0 auto;
    text-align: center;
}

main.content .title {
    padding-bottom: 2.25em;
}

@media (max-width: 699px) {
    main.content {
        max-width: 90%;
    }
}


/*  ┌──────────┐  */
/*  │  Footer  │  */
/*  └──────────┘  */
.footer {
    padding: 14px;
    text-align: center;
}

.footer ul {
    display: inline;
}

.footer li {
    display: inline-block;
    list-style: none;
}

.footer li:not(:first-child):before {
    content: "|";
    padding: 0 0.5em;
}

.footer a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
}