@media all 
{
    /* html5 block tags */
    body {
        display: block;
        padding: 0px;
        padding-top: 15px;
        padding-bottom: 15px;
        margin: 0px;
        color: #232323;
        background-color: #f0f0f0;
        font-family: Tahoma, sans-serif;
        font-size: 14px;
    }

    main {
        display: block;
        width: 98%;
        margin: 0px;
        margin-left: 1%;
        margin-right: 1%;
    }

    article {
        overflow: auto;
        overflow-x: hidden;
        display: block;
        width: 100%;
        padding: 0px;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: #ffffff;
        box-shadow: 1px 1px 6px #a3a3a3;
    }

    header {
        display: block;
        float: left;
        width: 100%;
        padding: 0px;
        padding-top: 10px;
        text-align: center;
        color: #000000;
    }

    nav {
        display: block;
        float: left;
        width: 100%;
        padding: 0px;
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
    }

    section {
        display: block;
        float: left;
        width: 94%;
        padding: 0px;
        padding-left: 3%;
        padding-right: 3%;
    }

    aside {
        display: block;
        float: left;
        width: 100%;
        padding: 0px;
        padding-top: 30px;
        text-align: center;
    }

    footer {
        display: block;
        float: left;
        width: 100%;
        padding: 0px;
        padding-top: 5px;
        padding-bottom: 10px;
        color: #898989; 
        text-align: center; 
        font-size: 12px;
    }

    summary {
        display: block;
        width: 100%;
        margin: 0px;
        margin-bottom: 20px;
        text-align: justify;
        font-weight: normal;
        line-height: 1.3em;
    }

    p {
        display: block;
        margin: 0px;
        padding: 0px;
        padding-bottom: 4px;
        padding-top: 2px;
        text-align: justify;
        line-height: 1.3em;
    }

    /* html5 inline tags */
    a {
        color: #008ccf;
        text-decoration: none;
        font-size: 14px;
    }

    a:hover {
        text-decoration: underline;
    }

    nav a {
        display: inline;
        margin: 0px;
        margin-left: 30px;
        text-decoration: none;
        font-size: 16px;
    }

    nav a:first-child {
        margin-left: 0px;
    }

    a.active {
        color: #232323;
    }

    a.active:hover {
        text-decoration: none;
    }

    ul {
        padding-left: 50px;
    }

    li {
        padding-top: 6px;
    }

    li:first-child {
        padding-top: 5px;
    }

    h2 {
        margin: 0px;
        margin-bottom: 0px;
        color: #494949;
        font-weight: normal;
        font-size: 20px;
    }

    h3 {
        margin: 0px;
        margin-bottom: 5px;
        color: #363636;
        font-weight: bold;
        font-size: 14px;
    }

    h4 {
        margin: 0px;
        color: #232323;
        font-weight: bold;
        font-size: 13px;
        text-transform: uppercase;
    }

    table {
        border-spacing: 0;
        padding: 5px;
    }

    td {
        vertical-align: top;
        padding: 5px;
    }

    mark {
        background-color: yellow;
    }

    mark.privacy {
        display: inline-block;
        padding-left: 2px; 
        padding-right: 2px;
        color: #797979;
    }

    /* custom elements */
    article.page {
        margin: 0px;
        margin-top: 10px;
        padding-top: 50px;
    }

    span.header-title {
        font-size: 26px;
    }

    span.header-subtitle {
        font-size: 17px;
    }

    div.column {
        display: block;
        float: left;
        width: 100%;
        margin: 0px;
        margin-top: 20px;
        font-size: 14px;
    }

    div.subsection {
        display: block;
        padding: 0px;
        padding-bottom: 30px;
        color: #383838;
    }

    div.row {
        overflow: auto; 
        display: block;
        width: 100%;
        padding: 0px;
        padding-top: 10px;
        color: #383838;
    }

    div.firstrow {
        padding-top: 20px;
    }

    /* elements for loading screen */
    #init {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        background-color: white;
        z-index: 10;
        text-align: center;
    }

    img.init {
        display: inline-block;
        position: relative;
        width: 150px;
        max-width: 150px;
        margin: 0px;
        margin-top: 30%;
    }

    /* elements for about me */
    #slider {
        pointer-events: auto;
        display: block;
        float: left;
        position: relative;
        width: 100%;
    }

    #controls {
        pointer-events: none;
        position: absolute;
        display: block;
        width: 100%;
        height: 200px;
        z-index: 1;
    }

    a.arrow {
        pointer-events: auto;
        position: relative;
        display: block;
        height: 195px;
        width: 40px;
        color: rgba(255,255,255,0.6);
        font-weight: bold;
        font-size: 100px;
        padding: 0px;
        padding-top: 30px;
    }

    a.arrow:hover {
        text-decoration: none;
        color: rgba(255,255,255,1);
    }

    a.left-arrow {
        text-align: left;
        float: left;
        background-image: linear-gradient(to right, rgba(255,255,255,0.4), rgba(255,255,255,0));
        padding-left: 10px;
    }

    a.right-arrow {
        text-align: right;
        float: right;
        background-image: linear-gradient(to left, rgba(255,255,255,0.4), rgba(255,255,255,0));
        padding-right: 10px;
    }

    #sliderview {
        pointer-events: auto;
        display: block;
        position: relative;
        width: 100%;
        scroll-behavior: smooth;
        overflow-x: hidden;
        overflow-y: hidden;
        z-index: 0;
    }

    #slideset {
        display: block;
        position: relative;
        max-height: 200px;
        height: 200px;
        padding-top: 12px;
        padding-bottom: 12px;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        background-color: #f5f5f5;
    }

    a.slide {
        overflow: hidden;
        width: 300px;
        display: block;
        position: relative;
        float: left;
        padding-left: 7px;
        color: rgba(255,255,255,0.85);
    }

    a.slide:hover {
        color: rgba(255,255,255,1);
    }

    a.firstslide {
        width: 180px;
        padding-left: 0px;
    }

    img.slide-image {
        position: relative;
        display: block;
        float: left;
        height: 200px;
        max-height: 200px;
    }

    div.slide-caption {
        position: absolute;
        display: block;
        width: 250px;
        height: 40px;
        margin: 0px;
        margin-top: 130px;
        padding: 15px;
        padding-left: 25px;
        padding-right: 25px;
        background-color: rgba(0,0,0,0.5);
        font-size: 14px;
        text-align: center;
    }

    div.announcement {
        display: block;
        float: left;
        width: 94%;
        padding: 12px;
        padding-left: 3%;
        padding-right: 3%;
        margin-top: 25px;
        background-color: #fffcdc;
        color: #363636;
        border: 1px solid #fff47e;
        border-left: none;
        border-right: none;
    }

    img.extern {
        display: inline;
        max-height: 30px;
    }

    span.extern {
        position: relative;
        top: -7px;
        display: inline;
        padding-left: 3px;
        font-size: 20px;
    }

    a.extern {
        display: inline-block;
        height: auto;
        padding: 5px;
        padding-bottom: 2px;
        padding-right: 8px;
        margin-right: 12px;
        margin-bottom: 10px;
        color: white;
    }

    a.extern:hover {
        text-decoration: none;
        color: white;
    }

    a.scholar {
        background-color: #4285f4;
    }

    a.scholar:hover {
        background-color: #4285f4;
    }

    a.researchgate {
        background-color: #00ccbb;
    }
    
    a.researchgate:hover {
        background-color: #00ccbb;
    }

    a.github {
        background-color: #010101;
    }

    a.github:hover {
        background-color: #010101;
    }

    a.mastodon {
        background-color: #2b90d9;
    }

    a.mastodon:hover {
        background-color: #2b90d9;
    }

    a.twitter {
        background-color: #50abf1;
    }

    a.twitter:hover {
        background-color: #50abf1;
    }

    a.linkedin {
        background-color: #007bb6;
    }

    a.linkedin:hover {
        background-color: #007bb6;
    }

    /* elements for publications */
    div.publication {
        max-width: 500px;
        margin: 0px auto;
        text-align: left;
    }

    div.row-preview {
        float: left;
        display: block;
        width: 100%;
        max-width: 500px;
        padding: 0px;
        padding-bottom: 5px;
        text-align: left;
    }

    img.preview {
        margin-top: 10px;
        width: 100%;
        max-width: 500px;
    }

    div.row-abstract {
        display: block;
        float: left;
        width: 100%;
        max-width: 500px;
        font-size: 12px;
    }

    p.summary {
        margin: 0px;
        padding-top: 10px;
        padding-bottom: 5px;
        font-size: 12px;
    }

    details {
        font-size: 12px;
        line-height: 1.3em;
    }

    div.row-links {
        display: block;
        float: left;
        width: 100%;
        max-width: 500px;
        text-align: left;
    }

    /* elements for curriculum vitae */
    div.row-time {
        float: left;
        display: block;
        width: 20%;
    }

    div.row-description {
        float: left;
        display: block;
        width: 75%;
        margin-left: 2%;
    }

    bdi {
        color: transparent;
        text-shadow: rgba(0, 0, 0, 0.85) 0px 0px 10px;
        -webkit-user-select: none; /* Safari */        
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* IE10+/Edge */
        user-select: none; /* Standard */
    }

    /* elements for imprint */
    section.imprint {
        text-align: center; 
        padding-top: 100px; 
        padding-bottom: 120px;
    }
}

@media screen and (min-width: 1024px) 
{
    /* html5 block tags */
    body {
        padding: 50px;
        padding-left: 0px;
        padding-right: 0px;
        font-size: 16px;
    }

    main {
        width: 1000px;
        margin: 0px auto;
    }

    article {
        padding-bottom: 30px;
    }

    header {
        padding-top: 40px;
    }

    section {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

    summary {
        margin-bottom: 30px;
    }

    footer {
        padding-top: 10px; 
        font-size: 14px;
    }

    /* html5 inline tags */
    a {
        font-size: 17px;
    }

    nav a {
        padding-left: 60px;
        font-size: 22px;
    }

    nav a:first-child {
        padding-left: 0px;
    }

    table {
        padding: 10px;
    }

    h2 {
        font-size: 26px;
    }

    h3 {
        font-size: 17px;
    }

    h4 {
        font-size: 17px;
    }

    /* custom elements */
    article.page {
        margin-top: 30px;
        padding-top: 100px;
    }

    span.header-title {
        font-size: 48px;
    }

    span.header-subtitle {
        font-size: 28px;
    }

    div.column {
        width: 40%;
        padding: 40px;
        padding-left: 7%;
        padding-right: 0%;
        font-size: 18px;
        margin: 0px;
    }

    div.subsection {
        padding-left: 100px;
        padding-right: 100px;
    }

    section.publication div.row {
        padding-bottom: 20px;
    }

    /* elements for about me */
    #controls {
        height: 250px;
    }

    a.arrow {
        height: 208px;
        width: 60px;
        font-size: 130px;
        padding-bottom: 60px;
    }

    #slideset {
        max-height: 250px;
        height: 250px;
    }

    a.slide {
        width: 380px;
    }

    a.firstslide {
        width: 230px;
    }

    img.slide-image {
        height: 250px;
        max-height: 250px;
    }

    div.slide-caption {
        margin-top: 180px;
        font-size: 18px;
        width: 330px;
    }

    a.extern {
        color: #363636;
    }

    a.extern:hover {
        text-decoration: none;
        color: white;
    }

    a.scholar {
        background-color: transparent;
    }

    a.researchgate {
        background-color: transparent;
    }

    a.github {
        background-color: transparent;
    }

    a.mastodon {
        background-color: transparent;
    }

    a.twitter {
        background-color: transparent;
    }

    a.linkedin {
        background-color: transparent;
    }

    div.announcement {
        width: 86%;
        padding: 12px;
        padding-left: 7%;
        padding-right: 7%;
    }

    /* elements for publication */
    div.publication {
        padding-left: 7%;
        padding-right: 7%;
        width: 86%;
        max-width: 86%;
    }

    div.row-preview {
        overflow: hidden;
        width: 340px;
        max-width: 340px;
        max-height: 190px;
    }

    img.preview {
        width: 100%;
        max-width: 100%;
        margin: 0px;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    div.row-abstract {
        float: right;
        width: 500px;
        max-width: 500px;
        font-size: 16px;
    }

    p.summary {
        font-size: 15px;
    }

    details {
        font-size: 15px;
    }

    div.row-links {
        display: block;
        float: left;
        width: 340px;
        max-width: 340px;
        padding: 0px;
        padding-top: 10px;
        text-align: center;
    }

    /* elements for curriculum */
    div.row-description {
        width: 614px;
        margin: 0px;
        margin-left: 2px;
    }

    /* elements for imprint */
    section.imprint {
        text-align: center; 
        padding-top: 150px; 
        padding-bottom: 170px;
    }
}

@media print 
{
    /* remove pages layout from print */
    body {
        background-color: white;
    }

    article {
        background-color: #ffffff;
        box-shadow: none;
    }

    article.page {
        padding-top: 20px !important;
    }

    li {
        padding-top: 3px;
    }

    div.whitespace {
        height: 0px !important;
    }

    footer {
        display: none;
    }
}