article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

html {
    font-family: "HelveticaNeue-Light", "Calibri-Light", Helvetica, Calibri, sans-serif;
    background: white;
    font-size: 17px;
    color: black;
}

body {
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1em 0;
    padding: 0;
    font-weight: normal;
}

p:first-child {
    margin-top: 0;
}

p:last-child {
    margin-bottom: 0;
}

h1 {
    font-size: 1.8rem
}

h2 {
    font-size: 1.5rem
}

h3 {
    font-size: 1.3rem
}

h4 {
    font-size: 1.2rem
}

h5 {
    font-size: 1.1rem
}

h6 {
    font-size: 1rem
}

a {
    text-decoration: none;
    color: #262;
}

a:hover {
    color: #F33;
    text-decoration: underline;
}

#site-head {
    max-width: 1200px;
    color: rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    font-size: 1.5rem;
}

#site-head h1 {
    padding: 1.3%;
    margin: 0;
    font-size: inherit;
}

.main-content {
    max-width: 1600px;
    margin: 0 auto;
    background-color: white;
}

.portfolio-entry {
    clear: both;
    text-align: left;
    overflow: auto;
    padding: 1.5%;
    margin: 1.5%;
    border: 2px solid #eee;
    background: #f6f6f6;
}

.intro-text {
    padding: 1.5%;
    margin: 1.5%;
    background: white;
    border: none;
    text-align: center;
}

.login {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.8rem;
    line-height: 1rem;
}

/*** Navigatie en menuknoppen */
.main-menu-container {
    background-color: #222;
}

.main-menu {
    background-color: #222;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.4rem;
}

.main-menu a {
    display: inline-block;
    color: #777;
    padding: 1.3% 2%;
    transition: 0.2s ease-in-out; /* border-color 0.2s ease-in-out, opacity 0.2s ease-in-out;*/
}

.main-menu a.active {
    background-color: #373;
    color: #ddd;
}

.main-menu a:hover {
    color: white;
    text-decoration: none;
}

.close-nav {
    display: none;
    color: white;
    background-color: #555;
    border: none;
    margin: 0 auto;
    width: 100%;
    padding: 1.5em .5em;
    right: 0;
    top: 0;
}

.open-nav {
    box-sizing: border-box;
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 100;
    width: 50px;
    height: 50px;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PGcgZmlsbD0iI2ZmZiI+PHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjYiIHk9IjIiIHJ4PSIyIiByeT0iMiIvPjxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSI2IiB5PSIxMyIgcng9IjIiIHJ5PSIyIi8+PHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjYiIHk9IjI0IiByeD0iMiIgcnk9IjIiLz48L2c+PC9zdmc+");
    background-repeat: no-repeat;
    background-position: 11px 11px;
    background-size: 25px 25px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
}

.open-nav:hover {
    background-color: rgba(255, 255, 255, 0.2);
}


@media (min-width: 1201px) {
    html {
        font-size: 20px;
    }
}

@media (max-width: 601px) {
    html {
        font-size: 15px;
    }

    #site-head {
        color: rgba(255, 255, 255, 0.6);
        padding: 0;
        background: black;
        height: 70px;
        position: relative;
        line-height: 70px;
        vertical-align: middle;
    }

    #site-head h1 {
        padding: 0;
    }

    .main-menu {
        width: 250px;
        float: left;
        position: fixed !important;
        top: 0;
        bottom: 0;
        z-index: 150;
        transition: transform 0.2s;
        transform: translateX(-250px);
    }

    .main-menu a {
        padding: 15px;
        width: 220px;
        margin: 0;
    }

    .close-nav {
        display: block;
    }

    .main-menu.is-active {
        display: block !important;
        transform: translateX(0);
    }

    .page-mask {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        overflow: hidden;
        width: 0;
        height: 0;
        background-color: #000;
        opacity: 0;
    }

    .page-mask.is-active {
        width: 100%;
        height: 100%;
        opacity: 0.7;
        transition: opacity 0.2s;
    }

    .open-nav {
        display: block;
    }

    .portfolio-entry {
        margin: 0;
        padding: 3% 1%;
        background: white;
        border: none;
        border-bottom: 3px solid #eee;
    }

    .portfolio-entry div {
        margin: auto;
    }

    .portfolio-entry header {
        margin: 0;
        float: none;
        width: auto;
    }
}
