
#container {
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 10%;
    margin-bottom: 10%;
    min-height: 100%;
    margin-bottom: 2em;
}

/* @media screen and (min-width: 35.5em) {
    .md-only {
       display: none; 
    }
}
@media screen and (min-width: 48em)	{
    .md-only {
        display: block;
    }
} */

@media screen and (min-width: 35.5em) {
    #container {
        margin-left: 10%;
        margin-right: 10%;
    }
}

@media screen and (min-width: 48em) {
    #container {
        margin-left: 15%;
        margin-right: 15%;
    }
}

@media screen and (min-width: 64em) {
    #container {
        margin-left: 20%;
        margin-right: 20%;
    }
}

body {
    background: #b5ded8;
    font-family: 'Roboto', sans-serif;
}

#nav {
    margin: 3em 0 3em 0;
}

#nav > .menu-item {
    padding: 0.5em 0em;
    margin-right: 1em;
    display: inline;
    border: 1px solid black;
    background: black;
    border-radius: 0.5em;
    height: 100%;
}

#nav > .menu-item > a, #nav > .menu-item > a:active {
    text-decoration: none;
    color: white;
    padding: 1em;
}

#email, #email:active {
    text-decoration: none;
    color: black;
}

.pure-menu-item {
    padding-right: 0.5em;
}

.pure-menu-item > a, .pure-menu-item > a:active {
    color: black;
    text-decoration: none;
}

.image-container {
    display: block;
    position: relative;
    margin-right: 1em;
    max-width: 80%;
}

.image-container > img {
    border: 1px solid black;
    position: relative;
    border-radius: 0.5em;
    z-index: 2;
}

.image-container::before {
    background: #dedd67;
    position:absolute;
    display: inline-block;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    content: '';
    z-index: 1;
    border: 1px solid black;
    border-radius: 0.5em;
    transform: translate(0.6em,-0.3em);
}

.heading-container {
    display: block;
    margin-top: 1em;
    position: relative;
    width: fit-content;
}

.heading-container > h2 {
    position: relative;
}

.heading-container::after {
    display: inline-block;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    content: '';
    height: 3px;
    background: #af7ac8;
}

.publication > p {
    display: inline;
    line-height: 24px;
}

.publication > a, .publication > a:active {
    color: black;
    text-decoration: none;
}

.publication > .title {
    font-weight: bold;
}

.publication-new > p > a {
    color: black;
}

.publication-new {
    border-bottom: 1px solid #af7ac8;
}

.publication-new:last-child {
    border-bottom: none;
}