@font-face {
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-style: normal;
}

body {
    max-width: 40em;
    margin: 0 auto 0 auto;
    background-color: #eee;
    color: #000;
    font-size: 20px;
}

body#booklist ol li {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 8px;
}

div.abook {
    position: relative;
    margin: 0 0 8em 0;
    z-index: 1;
}

.topnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #eee;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    opacity: 0.95;
    z-index: 1000;
}

.topnav .nav-left, .topnav .nav-right {
    display: flex;
    align-items: center;
}

.topnav a {
    color: #000;
    text-decoration: none;
    padding: 14px 16px;
    font-size: inherit;
}

.topnav a.active, .current-language {
    color: #288f5e;
    font-weight: bold;
}

.topnav a:hover, .language-option:hover {
    color: #288f5e;
}

.topnav .icon {
    display: none;
}

.dropdown {
    position: relative;
}

.dropdown .dropbtn {
    font-size: inherit;
    border: none;
    outline: none;
    color: #000;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #eee;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.language-switch {
    padding: 0;
    display: flex;
    align-items: center;
}

.language-option {
    color: #000;
    text-decoration: none;
    padding: 14px 10px;
}

.current-language {
    font-weight: bold;
    color: #288f5e;
    padding: 14px 10px;
}

.progress-container {
    position: fixed;
    margin: 0;
    width: 100%;
    height: 2px;
    left: 0;
    right: 0;
    background: #ccc;
    z-index: 999;
}

.progress-bar {
    height: inherit;
    background: #288f5e;
    width: 0%;
}

footer {
    text-align: center;
    padding: 15px;
    margin: 0px 10px 10px 10px;
    font-size: 9pt;
}

.review-figure {
    margin: 0;
    padding: 0;
}

.review-img {
    float: left;
    height: auto;
    width: 150px;
    margin: 0px 10px 0px 0px;
    padding: 0px 10px 0px 0px;
}

.about {
    float: right;
}

#disclaimer {
    display: none;
    font-size: small;
}

.disclaimer-btn {
    font-style: inherit;
    font-family: inherit;
    background-color: inherit;
    border: none;
    padding: 0px;
    margin: 0px;
    font-size: 0.9em;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
}

.disclaimer-btn:hover {
    color: #288f5e;
}

.book_list a {
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.book_list a:visited {
    color: inherit;
    font-weight: normal;
    font-size: 14px;
    text-decoration: none;
}

.book_list a:hover {
    color: #288f5e;
    font-weight: bold;
    text-decoration: none;
}

@media screen and (max-width: 600px) {
    body {
        padding: 0 5px 0 5px;
    }

    .review-img {
        width: 100px;
    }

    .topnav {
        flex-direction: column;
        align-items: flex-start;
    }

    .topnav a:not(:first-child), .dropdown .dropbtn, .language-switch {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a:not(:first-child), .topnav.responsive .dropdown .dropbtn, .topnav.responsive .language-switch {
        display: block;
        width: 100%;
        text-align: left;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .dropdown-content {
        position: relative;
        background-color: #e2e2e2;
        box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.2);
    }

    .topnav.responsive .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
    }

    .topnav.responsive .language-switch {
        display: flex;
        width: 100%;
        padding: 10px;
        justify-content: space-between;
    }

    .language-option, .current-language {
        padding: 10px;
    }
}
