
html {
    font-size: 16px;
}

body {
    font-size: 1.375rem;
    font-family: "Times New Roman", Times, serif;
    line-height: 1.5;
    color: #333;
    margin: 0;
}



/* HEADER STYLE */

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    background-color: #006;
    color: white;
    padding: 0 20px;
    font-family: Arial, sans-serif;
    font-size: 18pt;
}

.top-bar a:visited, 
.top-bar a {
    color: white;
    text-decoration: none;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    align-items: center;
}

.nav-links li {
    display: inline;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: block; /* Makes sure item takes up full height for centering */
}

/* Hide checkbox but keep it accessible */
.toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Container for the hamburger icon */
.toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers bars vertically */
    gap: 6px;                /* space between lines */
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Hamburger bars */
.bar {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Optional animation for open/close */
.toggle-checkbox:checked + .toggle-label .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.toggle-checkbox:checked + .toggle-label .bar:nth-child(2) {
    opacity: 0;
}

.toggle-checkbox:checked + .toggle-label .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Initially hide nav links for small screens */
.nav-links {
    display: none; /* Hidden by default */
}

/* Hide display of checkbox input */
.toggle-checkbox {
    display: none;
}



/* SMALLER SCREENS */
@media (max-width: 767px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        background-color: #333;
        width: 100%;
        text-align: center;
    }

    .nav-links ul {
        display: block;
        padding: 10px 0;
    }

    .nav-links li {
        margin: 10px 0;
    }

    /* Show desktop links when hamburger menu is clicked / checkbox is checked */
    .toggle-checkbox:checked + .toggle-label + .nav-links {
        display: block;
    }
}



/* WIDER SCREENS */
@media (min-width: 768px) {
    .nav-links {
        display: flex; /* Show nav links */
        position: static;
        text-align: right;
    }

    .toggle-label {
        display: none; /* Hide hamburger icon */
    }
}



/* CONTAINER */

h1, h2, h3, h4 {
    font-family: Arial, sans-serif;
    color: #369;
}

li {
    margin-bottom: 22px;
}

ul li::marker {
    font-weight: bold;
    color: #777;
}

ol li::marker {
    font-weight: bold;
    color: #777;
}

.container {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    gap: 20px; /* Space between columns */
}

.left {
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    padding: 10px;
    box-sizing: border-box; /* Includes padding in width */
    margin: 0 auto; /* Center the column */
}

.right {
    width: 300px;
    background-color: #fff;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
}

.h2link a, .h2link a:visited {
    text-decoration: none;
    color: #444;
}

.sidebar p.heading {
    color: #963;
    font-weight: bold;
    font-size: 24px;
}

.sidebar {
    margin: 40px 0 0 30px;
}

.sidebar a, .sidebar p {
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    border: 1px solid #ddd;
    font-family: Arial, sans-serif;
    text-decoration: none;
}

.sidebar a:hover {
    background-color: #eee;
}

.cutline {
    font-family: Arial, sans-serif;
    color: #777;
    font-size: 16px;
}

/* ohp styles */

.article .bcv {
    margin: 0 25px 25px 25px;
    font-style: italic;
    color: #555;
}

.article .otherbooks {
    margin: 0 25px 25px 25px;
    font-family: Arial, sans-serif;
    color:#555;
}

.footer {
    border-top: solid 1px #ccc;
    text-align: center;
}

.center {
    text-align: center;
}

.specialNote {
    font-size: 1.1rem;
    font-family: Arial, sans-serif;
    color: #369;
}


/* ADDED */


.no-margin-bottom a {
    color: #369;
    text-decoration: none;
}

