.content {
    /*width: 1200px;*/
    max-width: 90%;
    margin: auto;
    /*margin-left: 5%;*/
}

header {
    /*width: 1200px;*/
    max-width: 90%;
    margin: auto;
    /*margin-left: 5%;*/
}

#logo {
    max-height: 100px;
}

/* hack to prevent floating image overflowing header */
#navbar::after {
    content: "";
    clear: both;
    display: table;
}

#navbar img {
    float: left;
    margin-right: 2%;
}

#navbar ul {
    float: right;
    list-style-type: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
}

#navbar li {
    float: left;
}

#navbar li a {
    display: block;
    padding: 12px 24px 12px 24px;
    user-select: none;
}

#navbar li a:hover:not(.currentpage) {
    background-color: #333;
    color:white;
}

#hamburger {
    display: none;
    user-select: none;
}

.currentpage {
    background-color: #66F;
}

.hidden {
    display: none;
}

@media screen and (max-width: 1150px) {
    p, h3, h6, li {
        font-family: Tahoma, Geneva, sans-serif;
        font-size: 2em;
    }

    .nav_menu {
        display: none;
    }

    #hamburger {
        float: right;
        display: inline-block;
        font-size: 48pt;
    }

    #hamburger_menu {
        right: 5%;
    }

    #hamburger_menu {
        list-style-type: none;
        margin: auto;
    }

    #hamburger_menu li {
        /*right: 0;*/
        /*text-align: center;*/
        font-family: Tahoma, Geneva, sans-serif;
        padding: 12px;
        border-bottom: solid;
    }

    #hamburger_menu li a {
        /*border: none;*/
    }
}

@media screen and (min-width: 1151px) {
    #hamburger_menu {
        display: none;
    }
}

/*.currentpage {
    background-color: #6666FF;
}*/

h1 {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    border-bottom: solid;
}

p, h3, h6, li {
    font-family: Tahoma, Geneva, sans-serif;
}

a {
    font-weight: bold;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Image slideshow */
#img_carousel {
    position: relative;
    object-fit: contain;
    max-width: 80%;
    margin: auto;
    /*height: 400px;*/
    /*height: 60vh;*/
    /*min-height: 200px;*/
    /*transition: all 2s;*/
}

.img_slide {
    display: none;
    margin: auto;
    object-fit: contain;
    /*height: 400px;*/
    height: 36vh;
    /*min-height: 200px;*/
}

#show_image {
    display: none;
    margin: auto;
    object-fit: contain;
}

.prev_img, .next_img {
    visibility: hidden;
    position: absolute;
    background-color: lightblue;
    top: 50%;
    transform: translate(0, -50%);
    padding: 16px;
    user-select: none;
    font-weight: bold;
    font-size: 32px;
}

#img_carousel:hover .prev_img, #img_carousel:hover .next_img {
    visibility: visible;
    
}

.prev_img {
    /*float: left;*/
    left: 0;
}

.next_img {
    /*float: right;*/
    right: 0;
}

footer {
    width: 90%;
    margin-left: 5%;
    align-self: center;
    opacity: 0.8;
}