* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* sticky menu - mobile view <400px width */
@media only screen and (max-width: 400px) {

    .sticky-menu {
        position: sticky;
        top: 5px;
        width: calc(100% - 10px);
        margin: 5px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        z-index: 1000;
        font-family: "Roboto";
        font-weight: 500;
        font-size: 15px;
        display: inline-block;
      }
      
      .menu-bar {
        display: block; 
        justify-content: left;
        align-items: center;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        margin: 0 auto;
      }
    
    .menu-logo {
        height: 25px;
        padding-top: 5px;
        padding-left: 5px;
        flex-basis: 25px;
        cursor: pointer;
    }
    
    .menu-item {
        margin-right: 2px;
        text-decoration: none;
        color: #00659d;
        padding: 0px;
        padding-left: 5px;
        display: block;
    }

    .menu-items-list {
        display: none;
        position: relative;
        z-index: 1;
    }

    .sticky-menu:hover .menu-items-list {
        display: block;
    }

    .menu-items-list :hover  {
        background-color: lightgrey;
    }

    #project img {
        max-width: 95%;
        margin: 5px;    
    }
}       

/* highlight when hovering over menu items */
.menu-items-list :hover  {
    background-color: lightgrey;
}


/* sticky menu - mobile view >=400px width */
@media only screen and (min-width: 400px) {

    .sticky-menu {
        position: sticky;
        top: 5px;
        width: calc(100% - 10px);
        margin: 5px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        z-index: 1000;
        font-family: "Roboto";
        font-weight: 500;
        font-size: 15px;
        box-sizing: border-box;
      }
      
      .menu-bar {
        display: flex; 
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0px;
        box-sizing: border-box;
        margin: 0 0;
      }
    
    .menu-logo {
        height: 25px;
        padding-top: 5px;
        flex-basis: 25px;
    }
    
    .menu-item {
        margin-right: 2px;
        text-decoration: none;;
        display: inline-block;
        color: #00659d;
        padding: 0px;
    }
    
    .menu-item:nth-of-type(6) {
        padding-right: 5px;
    }

    #project img {
        max-width: 95%;
        margin: 10px;    
    }
}       

/* sticky menu - mobile view >=520px width */
@media only screen and (min-width: 520px) {

    .sticky-menu {
        position: sticky;
        top: 5px;
        width: calc(100% - 10px);
        margin: 5px;
        background: white;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        z-index: 1000;
        font-family: "Roboto";
        font-weight: 500;
        font-size: 18px;
      }
      
    .menu-bar {
    display: flex; 
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 0px;
    margin: 0 auto;
    }
    
    .menu-logo {
        height: 25px;
        padding-top: 5px;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 25px;
    }
    
    .menu-item {
        margin-right: 5px;
        text-decoration: none;;
        display: inline-block;
        color: #00659d;
        padding: 0px;
    }
    
    .menu-item:nth-of-type(6) {
        padding-right: 10px;
    }

    #project img {
        max-width: 80%;
        margin: 5px;    
    }
}       

/* sticky menu  - mobile view >=620px width */
@media only screen and (min-width: 620px) {
    .sticky-menu {
        position: sticky;
        top: 5px;
        width: calc(100% - 10px);
        margin: 5px;
        background: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        border-radius: 5px;
        z-index: 1000;
        font-family: "Roboto";
        font-weight: 500;
        font-size: 20px;
    }
    
    .menu-bar {
        display: flex; 
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0px;
        max-width: 800px;
        margin: 0 auto;
    }

    .menu-logo {
        height: 30px;
        padding-left: 10px;
        padding-top: 5px;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: 30px;
    }

    .menu-item {
        margin-right: 20px;
        text-decoration: none;;
        display: inline-block;
        color: #00659d;
        padding: 0px;
    }

    #project img {
        max-width: 60%;
        margin: 5px;    
    }
}

/* project section */
#project {
    padding: 10px 20px 20px; /* Offset for sticky menu */
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
    color: black;
}

#project h1 {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
    padding-bottom: 1rem;
}

#project h2 {
    font-weight: 500;
    font-size: 16px;
    color: black;   
    padding-bottom: 0.5rem;
}

/* https://www.w3schools.com/css/css3_image_center.asp */
#project img {
    display: block;
    margin: auto;
    padding-top: 0.5rem;
}

/* news section */
#news {
    padding: 10px 10px 20px 20px;
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
}

#news-header {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
    padding-bottom: 1rem;
}

.news-title {
    font-weight: 500;
    font-size: 16px;
    color: black;
    display: inline-block;
    padding-left: 10px;   
    padding-bottom: 0.5rem;
}

.news-link {
    font-weight: 500;
    font-size: 14px;
    color: black;
    display: inline-block;   
    padding-left: 10px;   
}

.news-short {
    font-weight: 400;
    font-size: 15px;
    color: black;
    display: block;   
    padding-left: 10px;   
    padding-bottom: 1rem;
}

/* paper section */
#paper {
    padding: 10px 10px 20px 20px;
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
}

#paper-header {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
}

.paper-title {
    font-weight: 500;
    font-size: 16px;
    color: black;
    display: block;
    padding-left: 10px;   
    padding-top: 1rem;
}

@media only screen and (min-width: 620px) {
    .paper-row {
        display: flex;
        flex: 1;
        padding: 15px;
        padding-left: 30px;
        min-height: 100px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .paper-image {
        width: 200px;
        height: 100px;
    }
    
    .paper-citation {
        vertical-align: top;
        font-weight: 400;
        font-size: 15px;
        padding-left: 20px;
    }
    
}

@media only screen and (max-width: 620px) {
    .paper-row {
        display: flex;
        flex: 1;
        padding: 15px;
        padding-left: 30px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .paper-image {
        width: 200px;
        height: 100px;
    }
    
    .paper-citation {
        vertical-align: top;
        font-weight: 400;
        font-size: 12px;
        padding-left: 20px;
        padding-top: 1rem;
    }
    
}

/* links section */
@media only screen and (min-width: 520px) {
    #links {
        padding: 10px 10px 20px 20px;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 15px;
    }
    
    #links-header {
        font-weight: 700;
        font-size: 24px;
        color: #00659d;
    }

    .links-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        padding-left: 5px;   
        padding-top: 5px;
    }

    .links-url {
        display: inline-block;
        vertical-align:middle;
        padding-bottom: 0.5rem;    
    }

    .links-url a {
        display: inline-block;
        vertical-align:middle;    
        text-wrap: wrap;
        overflow-wrap: break-word;
        inline-size: 450px;
    }
}

@media only screen and (min-width: 400px) {
    #links {
        padding: 10px 10px 20px 20px;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 14px;
    }
    
    #links-header {
        font-weight: 700;
        font-size: 24px;
        color: #00659d;
    }

    .links-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        padding-left: 5px;   
        padding-top: 5px;
    }

    .links-url {
        display: inline-block;
        vertical-align:middle;
        padding-bottom: 0.5rem;    
    }

    .links-url a {
        display: inline-block;
        vertical-align:middle;    
        text-wrap: wrap;
        overflow-wrap: break-word;
        inline-size: 330px;
    }
}

@media only screen and (max-width: 400px) {
    #links {
        padding: 10px 10px 20px 20px;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 14px;
    }
    
    #links-header {
        font-weight: 700;
        font-size: 24px;
        color: #00659d;
    }

    .links-icon {
        display: inline-block;
        width: 20px;
        height: 20px;
        vertical-align: middle;
        padding-left: 5px;   
        padding-top: 5px;
    }

    .links-url {
        display: inline-block;
        vertical-align:middle;
        padding-bottom: 0.5rem;    
    }

    .links-url a {
        display: inline-block;
        vertical-align:middle;    
        text-wrap: wrap;
        overflow-wrap: break-word;
        inline-size: 300px;
    }
}

/* download section */
#download {
    padding: 10px 10px 20px 20px;
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
}

#download-header {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
}

.download-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    padding-left: 10px;   
    padding-top: 5px;
}

.download-link {
    display: inline-block;
    vertical-align:middle;    
}

.download-name {
    display: inline-block;
    vertical-align:middle;    
    font-weight: 500;
    font-size: 16px;
    padding-left: 10px;
    text-wrap: wrap;
    overflow-wrap: break-word;
}

.download-description {
    display: block;
    padding-left: 55px;
}

/* news single page */
.news-full-header {
    padding: 50px 20px 0px;
    font-family: "Roboto";
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
}

.news-full-author {
    font-family: "Roboto";
    font-weight: 500;
    font-size: 16px;
    color: black;
    padding-left: 30px;
    padding-bottom: 1rem;
}
.news-full-text {
    font-family: "Roboto";
    font-weight: 400;
    font-size: 16px;
    color: black;
    padding-left: 30px;    
}

.news-full-text h1 {
    font-weight: 700;
    font-size: 20px;
    color: #00659d;
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.news-full-text h2 {
    font-weight: 500;
    font-size: 16px;
    color: black;   
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.news-full-text img {
    max-height: 400px;
    max-width: 60%;
    display: block;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.news-full-text p, ul {
    padding-bottom: 0.5rem;
}

.news-full-text li {
margin-left: 2rem;
}

/* footer - desktop view 400..620px width*/

@media only screen and (min-width: 420px) {
    #footer {
        background-color: #00659d;
        box-sizing: border-box;
        display: flex;
        gap: 0px;
        align-items: flex-start;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 12px;
    }

    #footer-logobox {
        flex: 1;
        padding: 15px 5px 15px 5px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: white;
    }

    #footer-logo {
        height: 40px;
        padding-bottom: 20px;
    }

    #footer-infobox {
        color: white;
        flex: 1;
        padding: 15px 5px 15px 0px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 500;
        font-size: 14px;
    }

    .footer-infoboxtext {
        padding-top: 5px;
    }

    .footer-infoboxtext a{
        font-weight: 400;
        font-size: 12px;
        color: white;
        text-decoration: none;
    }

    #footer-contactbox {
        color: white;
        flex: 1;
        padding: 15px 5px 15px 0px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 500;
        font-size: 14px;
    }

    #footer-contacttext {
        padding-top: 5px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-contactmail {
        padding-top: 5px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-contactphone {
        padding-top: 5px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-sponsorbox {
        flex: 1;
        padding: 15px 5px 15px 0px;
        padding-left: 0px;
        padding-right: 5px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: white;
    }

    #footer-sponsorlogo {
        padding-bottom: 10px;
        height: 70px;
    }

    #footer-sponsortext {
        font-weight: 400;
        font-size: 10px;
    }
}

/* footer - desktop view >= 620px width*/
@media only screen and (min-width: 620px) {
    #footer {
        background-color: #00659d;
        box-sizing: border-box;
        display: flex;
        gap: 20px;
        align-items: flex-start;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 14px;
    }

    #footer-logobox {
        flex: 1;
        padding: 15px;
        padding-left: 20px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: white;
    }

    #footer-logo {
        height: 50px;
        padding-bottom: 20px;
    }

    #footer-infobox {
        color: white;
        flex: 1;
        padding: 15px;
        padding-left: 5px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 700;
        font-size: 18px;
    }

    .footer-infoboxtext {
        padding-top: 5px;
    }

    .footer-infoboxtext a{
        font-weight: 400;
        font-size: 14px;
        color: white;
        text-decoration: none;
    }

    #footer-contactbox {
        color: white;
        flex: 1;
        padding: 15px;
        padding-left: 5px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 700;
        font-size: 18px;
    }

    #footer-contacttext {
        padding-top: 5px;
        font-weight: 400;
        font-size: 14px;
    }

    #footer-contactmail {
        padding-top: 5px;
        font-weight: 400;
        font-size: 14px;
    }

    #footer-contactphone {
        padding-top: 5px;
        font-weight: 400;
        font-size: 14px;
    }

    #footer-sponsorbox {
        flex: 1;
        padding: 15px;
        padding-left: 5px;
        padding-right: 20px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: white;
    }

    #footer-sponsorlogo {
        padding-bottom: 10px;
        height: 100px;
    }

    #footer-sponsortext {
        font-weight: 400;
        font-size: 12px;
    }
}

/* footer - mobile view */
@media only screen and (max-width: 420px) {
    #footer {
        background-color: #00659d;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 0px;
        align-items: flex-start;
        font-family: "Roboto";
        font-weight: 400;
        font-size: 12px;
    }

    #footer-logobox {
        flex: 1;
        padding: 5px 5px 5px 5px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        color: white;
    }

    #footer-logo {
        height: 30px;
        padding-left: 10px;
        padding-right: 10px;
    }

    #footer-infobox {
        color: white;
        flex: 1;
        padding: 10px 5px 5px 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 500;
        font-size: 14px;
    }

    .footer-infoboxtext {
        padding-top: 5px;
        padding-left: 10px;
    }

    .footer-infoboxtext a{
        font-weight: 400;
        font-size: 12px;
        color: white;
        text-decoration: none;
    }

    #footer-contactbox {
        color: white;
        flex: 1;
        padding: 5px 5px 5px 5px;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        font-weight: 500;
        font-size: 14px;
    }

    #footer-contacttext {
        padding-top: 5px;
        padding-left: 10px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-contactmail {
        padding-top: 5px;
        padding-left: 10px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-contactphone {
        padding-top: 5px;
        padding-left: 10px;
        font-weight: 400;
        font-size: 12px;
    }

    #footer-sponsorbox {
        flex: 1;
        padding: 5px 5px 5px 5px;
        padding-left: 0px;
        padding-right: 5px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        color: white;
    }

    #footer-sponsorlogo {
        padding-left: 10px;
        padding-right: 10px;;
        height: 50px;
    }

    #footer-sponsortext {
        font-weight: 400;
        font-size: 12px;
    }
}

/* Datenschutzerklärung */

#datenschutztext {
    padding: 30px 20px 20px; /* Offset for sticky menu */
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
    color: black;
}

#datenschutztext h1 {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
}

#datenschutztext h2 {
    font-weight: 500;
    font-size: 20px;
    color: black;   
}

#datenschutztext h3 {
    font-weight: 500;
    font-size: 16px;
    color: black;   
}

/* Impressum */

#impressumtext {
    padding: 30px 20px 20px; /* Offset for sticky menu */
    font-family: "Roboto";
    font-weight: 400;
    font-size: 15px;
    color: black;
}

#impressumtext h1 {
    font-weight: 700;
    font-size: 24px;
    color: #00659d;
}

#impressumtext h2 {
    font-weight: 500;
    font-size: 20px;
    color: black;   
}

#impressumtext h3 {
    font-weight: 500;
    font-size: 16px;
    color: black;   
}