/* all */
* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Style the header */
header {
    background-color: #666;
    padding: 30px;
    text-align: center;
    font-size: 35px;
    color: white;
}

#headtitle {            
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 5rem;
    border-bottom: 5px solid orange;    
    display: inline-block;
    padding-bottom: 10px;    
    font-family: sans-serif;
}
/* Container for flexboxes */
/*section {
    display: -webkit-flex;
    display: flex;
}*/

h1{
    color: darkgoldenrod;
}

/* Style the navigation menu */
nav {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background: #ccc;
    padding: 20px;
    float: left;
    width: 20vw;    
}

/* Style the list inside the menu */
nav ul {
    list-style-type: none;
    padding: 0;
}

/* Style the content */
article {
    -webkit-flex: 3;
    -ms-flex: 3;
    flex: 3;
    background-color: #f1f1f1;
    padding: 10px;
    float: left;
    left: 20vw;
    width: 76vw;
}

/* Style the footer */
footer {
    background-color: #777;
    padding: 10px;
    text-align: center;
    color: white;
    float: left;
    width: 100vw;
}

nav .curpage {
    font-weight: bolder;
    color: gray;
}

/* Responsive layout - makes the menu and the content (inside the section) sit on top of each other instead of next to each other */
/*@media (max-width: 600px) {
    section {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
}*/

/* Use a media query to add a break point at 1000px: */
@media screen and (max-width: 1000px) {

    nav {
        width: 100vw;
        /* The width is 100%, when the viewport is 800px or smaller */
        font-size: 40px;
    }
    article {
        width: 100vw;
        /* The width is 100%, when the viewport is 800px or smaller */
        font-size: 18px;
    }

}

/*publication*/
.bibsection {
    width: 100%;
}

.pubimg {
    position: relative;
    top: 0px;
    width: 130px;
    height: 90px;
}

.pubtext {
    position: relative;
    top: -80px;
    left: 140px;
}

