* {
    box-sizing: border-box;
}

body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    line-height: 1.5em;
}

/* Style the header */

#content-header {
    background-color: white;
    text-align: left;
    font-size: 1em;
    line-height: 1.1em;
    color: rgb(0, 51, 153);
    padding-bottom: 2em;
}

/* Container for flexboxes */

#page {
    display: flex;
    flex-basis: 0;
}

/* Style the navigation menu */

nav {
    flex-basis: content;
    width: min-content;
    padding: 20px;
    background: rgb(163, 167, 178);
    font-weight: 700;
    line-height: 2.5em;
    top: 0;

}

/* Style the list inside the menu */

nav ul {
    list-style-type: none;
    padding: 0;
    
}


nav ul li ul {
    list-style-position: inside;
    list-style-type: circle;
    
}

/* Style the content */

#content {
    flex: 2;
    background-color: white;
    padding: 10px;
    margin-left: 3em;
    width: max-content;
}

/* Style the footer */

footer {
    background-color: white;
    padding: 10px;
    text-align: center;
    color: rgb(0, 51, 153);
}

/* style linking */

a:link {
    text-decoration: none;
    color: rgb(0, 51, 153);
}

a:hover {
    color: rgb(102, 0, 0);
    text-decoration: underline;
}

a:visited {
    color: rgb(51, 51, 102);
    text-decoration: none;
}

a:active {
    color: rgb(0, 51, 153);
    text-decoration: none;
    font-weight: bold;
}

/* Style the talks */

div.datum {

  font-size: small;
}

span.ort {
  font-size: small;
}

/* style the books */

#book-container {
    display: flex;
    flex-basis: 0;
}

.book-picture {

    flex-basis: auto;
    width: 150px;
    margin: 10px;
    text-align: left;
    /* line-height: 75px;
        font-size: 30px; */
}

.book-info {

    flex-basis: content;
    width: min-content;
    text-align: left;
    margin-left: 1em;
}

.text {
    margin-left: 2em;
}

.subtitle {
    margin-top: -1.5em;
    font-size: small;
}

/* 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) {
    #page {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
}

/* Comaptibility styling */

/*
 * Old browsers who do not know HTML5 semantic elements
 * would render it display>inline hence
 */

article, aside, footer, header, nav, section {
    display: block;
}
