body {
    margin: 0;
    padding: 0;
    font-family: Raleway, Arial, sans-serif;
    border-left: 16px solid #69a5a5;
    min-height: 100vh;
}

h2 {
    color: #526674;
    line-height: 130%;
    margin: 32px 0 16px;

}

h3 {
    color: #526674;
    margin: 32px 0 16px;
    font-size: 1.2rem;
}

ul {
    margin: 0 0 -10px;
}

p, li {
    font-size: 1.2rem;
    line-height: 130%;
    margin: 0 0 16px;
}

#wrapper {
    margin: 0 auto;
    padding: 16px;
    /*height: 100vh;*/
    max-width: 1024px;
}

header {
    border-bottom: 1px solid #69a5a5;
    padding-bottom: 5px;
    margin-top: 44px;
}

#logo img {
    display: none;
}

.burger {
    display: flex;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 24px;
    padding: 0;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    height: 3px;
    width: 100%;
    background: #526674;
    border-radius: 2px;
}

.close-nav {
    display: none;
}

/* Slide-in Navigation rechts */
.nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75vw;
    max-width: 360px;
    background: #526674;
    border-left: 8px solid #69a5a5;
    padding: 64px 16px 20px;
    flex-direction: column;
    gap: 10px;

    transform: translateX(100%);
    transition: transform 0.5s ease-out;

    display: flex;
    z-index: 1;
    /*box-shadow: -6px 0 18px rgba(86, 102, 115, 0.5);*/
}

.navitem {
    position: relative;
    font-size: 1.2rem;
    color: #fff;
    padding-top: 6px;
    border-bottom: 1px solid #fff;
    padding-left: 8px;
}

.navitem.active {
    font-weight: bold;
}

.navitem a {
    display: block;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
    padding: 0 0 16px 24px;
    background: url("../images/chevron-right2.svg") left 0 no-repeat;
}

.navitem > a:hover {
    text-decoration: underline;
}

.navitem > a.active {
    font-weight: bold;
}

.subnav {
    padding: 12px 16px 4px;
}

.subnav a {
    font-size: 1.1rem;
    white-space: nowrap;
}

.subnav a:hover {
    text-decoration: underline;
}

.subnavitem {
    color: #fff;
    padding: 0 32px 0 0;
    white-space: nowrap;
    font-weight: normal;
}

.subnavitem:last-child {
    padding-right: 0;
}

.subnavitem.active {
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 8px;
}

.nav.show {
    transform: translateX(0);
}

/* Close-Button */
.close-nav {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    line-height: 1;
    display: block;
}

.close-nav:focus,
.close-nav:hover {
    opacity: 0.7;
}

header h1 {
    display: flex;
    align-items: center;
    /*margin: 0;*/
    font-size: 1.9rem;
    font-weight: normal;
    /*white-space: nowrap;*/
    /*width: calc(100vw - 32px);*/
}

header h1 a {
    text-decoration: none;
    color: #526674;
}

header .name {
    /*color: #69a5a5;*/
    color: #599595;
    /*font-size: 36px;*/
}

.portrait {
    float: right;
    /*margin-top: -45px;*/
    padding-left: 10px;
    padding-bottom: 10px;
}

.portrait img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.important {
    /*margin-left: 10px;*/
    font-size: 24px;
    font-weight: bold;
    color: #599595;
    margin-left: 12px;
    /*text-align: center;*/
}

.education h3 {
    margin-bottom: 0;
}

.education p {
    margin-left: 16px;
}

footer {
    border-top: 1px solid #69a5a5;
    padding-top: 16px;
    margin-top: 48px;
}

footer p {
    font-size: 1rem;
}

footer a {
    color: #526674;
    padding: 0 12px;
}

footer a:first-child {
    padding-left: 0;
}

footer a.active {
    font-weight: bold;
    text-decoration: none;
}

@media (min-width: 600px) {
    #wrapper {
        padding: 0 32px;
    }

    #logo {
        margin: 0 0 -30px;
    }

    #logo img {
        display: block;
        float: left;
    }

    header {
        margin-top: 0;
        height: 120px;
    }

    header h1 {
        font-size: 2.2rem;
        gap: 10px;
    }

    .burger {
        right: 32px;
    }
}

@media (min-width: 1024px) {
    body {
        border-left: none;
    }

    p, li {
        font-size: 1.2rem;
        line-height: 145%;
    }

    header .nav {
        position: relative;
        display: flex;
        justify-content: flex-end;
        flex-direction: row;
        height: auto;
        width: auto;
        max-width: none;
        background: transparent;
        border: none;
        padding: 0;
        transform: none;
        margin-right: 20px;
    }

    .nav {
        gap: 32px;
    }

    .navitem {
        color: #526674;
        z-index: 0;
        border-bottom: none;
        padding-left: 0;
    }

    .navitem > a {
        font-size: 1.2rem;
        /*font-weight: bold;*/
        color: #526674;
        text-decoration: none;
        background: url("../images/chevron-right2.svg") left center no-repeat;
        padding-left: 0;
    }

    .subnav {
        position: absolute;
        top: 36px;
        left: 0;
        padding-bottom: 0;
        background: #69a5a5;
        z-index: 1;
        display: none;
    }

    .subnav.hide {
        display: none !important;
    }

    .navitem:hover .subnav.hide {
        display: flex !important;
    }

    .subnav a {
        background: none;
        padding-left: 0;
    }

    .subnav .active {
        font-weight: bold;
    }

    .subnav .active:hover {
        text-decoration: none;
    }

    .subnavitem.active {
        margin: 0;
    }
    .navitem:hover {
        z-index: 1;
    }

    .navitem:hover > .subnav,
    .navitem.active > .subnav {
        display: flex;
    }

    .burger {
        display: none;
    }

    .close-nav {
        display: none;
    }

    .content {
        width: 80%;
        margin-top: 60px;
        margin-left: 60px;
    }

    .portrait img {
        width: 220px;
        height: 220px;
    }
}

.sr-only {
    border: 0 none;
    clip: rect(0px, 0px, 0px, 0px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}