* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background-color: #F2F7FB;
    color: #000000;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 1.2em;
    line-height: 1.4;
}
a {
    text-decoration: none;
    color: #000000;
}

/*only for large screens*/
@media screen and (min-width: 48em) {
    #wrapper {
        margin-left: auto;
        margin-right: auto;
        /*margin-top: 8em;*/
        max-width: 60em;
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 48em) {
    #head {
        width: 100%;
    }
}

@media screen and (min-width: 56em) {
    #head-container-name h1::after {
        content: "Sebastian Neef";
    }
    #head-container-name h2::after {
        content: "PhD Candidate in IT Security";
    }
}

@media screen and (max-width: 56em) {
    #head-container-name h1::after {
        content: "S. Neef";
    }
    #head-container-name h2::after {
        content: "PhD Candidate";
    }
}

@media screen and (min-width: 80em) {
    #wrapper {
        margin-top: 8em;
    }
    #navigation {
        margin-top: 5em;
        position: relative;
    }
}

@media screen and (max-width: 80em) {
    #head {
        padding: 1em 1em 1em 0em;
        margin-top: 2em;
    }
    #head-container-img {
        margin-left: auto;
    }
    #head-container-name {
        margin-right: auto;
        text-align: center;
        padding-left: unset;
    }
    #head-container-name h1, #head-container-name h2 {
        line-height: 1;
        margin-bottom: 0;
    }
    #head-container-name h1 {
        font-size: 2em;
    }
    #head-container-name h2 {
        font-size: 1.5em;
    }
     #navigation {
         display: none;
     }
 }

@media screen and (min-width: 80em) {
    #head-container-name h1 {
        font-size: 2.2em;
    }
    #head-container-name h2 {
        font-size: 1.3em;
    }
}

@media screen and (min-width: 90em) {
    #head-container-name h1 {
        font-size: 2.5em;
    }
    #head-container-name h2 {
        font-size: 1.5em;
    }
}


#wrapper {
    padding: 0.5em;
}

#navigation ul {
    border-left: 0.1em solid #309FFF;
}
#navigation ul li {
    list-style-type: none;
    padding-right: 0.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    pointer-events: none;
}
#navigation ul li a {
    pointer-events: auto;
    color: #000000;
}
#navigation ul li:hover {
    color: #309FFF;
    border-left: 0.3em solid #309FFF;
}


.pure-menu-heading, .pure-menu-link {
    white-space: normal;
    font-size: 1.2em;
    line-height: 1.5;
}


.pure-menu-active > .pure-menu-link, .pure-menu-link:focus, .pure-menu-link:hover {
    background-color: unset !important;
}


#content h2 {
    padding-bottom: 1vh;
    border-bottom: 0.1em solid #309FFF;
}


#head-container-name {
    padding-left: 2em;
}

#head-container-name h1 {
    margin: 0;
    line-height: 1;
}
#head-container-name h2 {
    margin: 0;
    color: #309FFF;
    border-bottom: none;
}
#head-container-img {
    /*position: relative;*/
}
#head-container-img img {
    filter: grayscale(100%);
    width: 8em;
    /*max-width: 10em;*/
    /*height: auto;*/
    border-radius: 50%;
    margin: 0 auto;
}

#aboutme p {
    /*text-align: justify;*/
}
#aboutme a {
    text-decoration: underline;
}

#aboutme em {
    border-bottom: 0.1em solid #309FFF;
}
#tags {
    /*text-align: center;*/
}

#tags, #aboutme {
    margin-top: 1em;
}

#tags, #publications, #teaching, #theses, #news, #contact {
    margin-bottom: 4em;
}

.publication-container, .teaching-container, .thesis-container, .news-container {
    margin-bottom: 2em;
}
.publication-container p, .teaching-container p, .thesis-container p, .news-container p {
    margin-top: 0;
    margin-bottom: 0.5em;
    /*text-align: justify;*/
}
.publication-container .publication-title, .teaching-container .teaching-title, .thesis-container .thesis-title, .news-container .news-title {
    font-weight: bold;
}
.publication-container .publication-conference, .teaching-container .teaching-shortdesc, .thesis-container .thesis-type, .news-container .news-type {
    font-style: italic;
}
.publication-container a, .teaching-container a, .news-container a {
    color: #309FFF;
    font-weight: bold;
}
#contact {
    margin-bottom: 8em;
}
#contact ul {
    list-style-type: none;
    padding-left: 0;
}
#contact a {
    text-decoration: underline;
}

#footer {
    border-top: 1px solid #000000;
    padding-top: 1em;
}
#footer a{
    text-decoration: underline;
    font-weight: bold;
}
#footer a:hover {
    color: #309FFF;
}

.left {
    float:left;
}
.right {
    float:right;
}
.clear {
    clear:both;
}
.blue {
    color: #309FFF;
}

.button-tag {
    color: #ffffff;
    border-radius: 0.3em;
    background-color: #309FFF;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    margin: 0.2em;
    display: inline-block;
}
.text-right {
    text-align: right;
}
.vertical-center {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}