body {
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.navbar {
    margin-bottom: 20px;
}

.navbar-logo {
    height: 40px; /* Adjust the height as needed */
    margin-right: 10px; /* Space between logo and brand name */
}

.homepage-logo {
    height: 100px; /* Adjust the height as needed */
    margin-bottom: 20px; /* Space below the logo */
}


@font-face {
    font-family: 'SBL Greek';
    src: url('/static/fonts/SBLGreek.ttf') format('truetype');
}

.greek-text {
    font-family: 'SBL Greek', sans-serif;
    font-size: 18px;
    text-align: center;
    margin-bottom: 5px;
}

.interlinear-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: block; /* Ensure this is set to block */
}

.verse-header {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
}

.full-verse-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.gematria-value {
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    display: block;
}

.gematria-value.simple-value {
    color: #007bff; /* Blue */
}

.gematria-value.ordinal-value {
    color: #28a745; /* Green */
}

/* .gematria-value.reduced-value { */
    /* color: #dc3545; */ /* Red */
/* } */

.strongs-number {
    font-size: 10px;
    color: #666;
    text-align: center;
    display: block;
    margin-bottom: 2px;
}

.hebrew-text, .greek-text {
    font-family: 'SBL Hebrew', sans-serif;
    font-size: 18px;
    direction: rtl;
    text-align: center;
    margin-bottom: 5px;
}

.english-text {
    font-size: 14px;
    text-align: center;
    display: block;
}

.highlight {
    background-color: #d1ecf1;
}

.word-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
}

.verse {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.gematria-systems {
    margin-bottom: 20px;
    text-align: center;
}

.gematria-systems label {
    font-weight: bold;
}

.simple-label {
    color: #007bff; /* Blue */
}

.ordinal-label {
    color: #28a745; /* Green */
}

/* .reduced-label { */
    /* color: #dc3545; */ /* Red */
/* } */

#sidebar {
    height: 100vh;
    position: sticky;
    top: 0;
    padding-top: 20px;
    overflow-y: auto;
}

#toc {
    padding-left: 0;
}

#toc li {
    list-style-type: none;
}

#toc .book-header {
    font-weight: bold;
    color: #333;
    padding: 10px 15px;
    background-color: #f1f3f5;
    border-radius: 5px;
    margin-top: 10px;
}

#toc .chapter-link {
    display: inline-block;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 3px;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: background-color 0.2s;
}

#toc .chapter-link:hover {
    background-color: #ced4da;
}

.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.footer a {
    text-decoration: none;
    color: #6c757d;
}

.footer a:hover {
    color: #343a40;
}

#toc .chapter-link.active {
    background-color: #007bff;
    color: white;
}

.verse-totals {
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

.verse-totals .gematria-value {
    margin-right: 10px;
    display: inline-block;
}

.book-section {
    margin-bottom: 20px;
}

.book-header {
    font-weight: bold;
    color: #333;
    padding: 10px 15px;
    background-color: #f1f3f5;
    border-radius: 5px;
    margin-bottom: 10px;
}

.chapter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

#bible-content .chapter-link {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 3px;
    background-color: #e9ecef;
    color: #495057;
    text-decoration: none;
    transition: background-color 0.2s;
}

#bible-content .chapter-link:hover {
    background-color: #ced4da;
}

@media (max-width: 768px) {
    #sidebar {
        position: relative;
        height: auto;
        width: 100%;
        padding-top: 0;
    }

    #sidebar-div {
        display: none; /* Hide sidebar by default on mobile */
    }

    .navbar-toggler {
        display: block;
    }
}

@media (max-width: 768px) {
    main {
        width: 100%;
        padding: 0 15px;
    }

    .container-fluid {
        padding: 0;
    }

    .row {
        margin: 0;
    }
}
