.site-navigation {
    width: 100%; /* Does the top bar extend to the right edge of the page */
    margin-bottom: 4px; /* gap below bar */
}
.site-navigation a { /* Links colour inside the top bar */
    color: rgba( 0, 0, 0, 1 );
}

/* Navigation Menu (the options bar at the top) */
.main-navigation { /* Small menu */
    background-image: linear-gradient( rgba( 255, 223, 0, 0.8 ), rgba( 218, 165, 32, 0.9 ) ); /* colour of bg of buttons */
    font-size: 1.125rem; /* Font size of menu items */
    overflow-x: auto; /* Scroll sideways on narrow (mobile) screens */
    -webkit-overflow-scrolling: touch;
}
.main-navigation ul {
    list-style: none;
    margin: 0 auto; /* Centres the menu; unlike justify-content: center, items that overflow stay reachable by scrolling */
    padding: 0 0px; /* Shift menu */
    display: flex;
    width: max-content;
}
.main-navigation li {
    float: left;
    position: relative;
    flex-shrink: 0;
}
.main-navigation a {
    display: block;
    padding: 6px 13px 7px;
    text-decoration: none;
    white-space: nowrap; /* Keep "Holy Book" on one line */
}

.main-navigation li:hover > a {
    background-image: linear-gradient( rgba( 255, 200, 0, 0.8 ), rgba( 184, 134, 11, 0.9 ) );
}

/* Dropdown list https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp */
.dropdown {
    float: left;
    overflow: hidden;
    text-rendering: optimizeLegibility;
    z-index:2;
}

.dropdown .dropbtn {
    border: none;
    outline: none;
    padding: 6px 13px 7px;
    background-color: inherit;
    font-family: inherit;
    font-size:1.125rem; /* font size of drop down buttons; must match "font size of menu items" */
    margin: 0;
    white-space: nowrap; /* So that drop down svg arrow isnt displayed on a new line on mobile devicees */
    /* cursor: pointer; this lets the pointer transform into a finger on hover (not needed as it's not a link itself) */
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: rgb( 255, 200, 0 , 0.7);
}

.dropdown-content {
    margin-top:34px; /* This should be short enough so as not to leave a gap between the button and the drop down list */
    display: none;
    position: absolute;
    background-color: rgb(255, 248, 220);
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: rgb(255, 215, 0);
}

.dropdown:hover .dropdown-content {
    display: block;
}
