body {
    background-color: #222;
    color: #d00;
    display: flex;
    margin: 0;
    font-family: Arial, sans-serif;
    min-height: 100vh;
    flex-direction: column;
}

h1 {
    padding: 0;
    margin: 0;
}

a {
    color: #0ff;
    text-decoration: none;

    &:hover {
        color: #f0f;
    }

}
code {
    background-color: #333;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #444;
}

#container {
    display: grid;
    grid-template-areas:
    "header header"
    "top-nav top-nav"
    "nav main";
    grid-template-columns: 1fr 3fr;
    grid-template-rows: auto auto 1fr;
    height: 100%;
    width: 100%;
}

#container.root {
    display: grid;
    grid-template-areas:
    "header header"
    "top-nav top-nav"
    "main";
    grid-template-columns: 1fr;
}

/** Expanded view **/
#container.expanded {
    grid-template-columns: .5fr 4fr;
}
#main.expanded {

}
#left-nav.expanded ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.header {
    grid-area: header;
    color: white;
    padding: 1em;
    text-align: center;
    border-bottom: 1px solid #444;
    box-sizing: border-box;
}

.nav {
    grid-area: nav;
    padding: 1em;
    border-bottom: 1px solid #444;
    box-sizing: border-box;
}

.top-nav {
    grid-area: top-nav;
    color: white;
    padding: 1em;
    text-align: center;
    border-bottom: 1px solid #444;
}

.top-nav ul {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.top-nav ul li {
    margin-left: 1em;
}

.top-nav ul li a {
    display: block;
    padding: 0.5em 1em;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.top-nav ul li a.current-collection {
    background-color: #a61717;
    font-weight: bold;
}

.top-nav ul li a:hover {
    background-color: #777;
}

#main {
    grid-area: main;
    padding: 1em;
    border-left: 1px solid #444;
    box-sizing: border-box;
}

#main li {
    line-height: 1.5em;
}

#main.root {
    grid-area: inherit;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#main.root h1 {
    text-align: center;
}

#main.root section {
    text-align: center;
}

#main img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#bottom-nav {
    grid-row: 4; /* Place footer in the last row */
    padding: 10px;
    text-align: center;
    border-top: 1px solid #444;
}

/** Expandable col 2 **/

.horizontal-nav {
    display: flex;
    flex-wrap: wrap; /* Allows the nav to wrap to the next line if needed */
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.horizontal-nav li {
    margin-right: 20px; /* Space between items */
}

.horizontal-nav a {
    text-decoration: none;
    color: #000; /* Adjust color as needed */
}

.horizontal-nav a:hover {
    text-decoration: underline; /* Optional: Add hover effect */
}



.horizontal-nav {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    max-height: 50px; /* Adjust based on the height of your nav items */
}

.horizontal-nav.expanded {
    max-height: 500px; /* Adjust to a value that fits all items */
}

#expand-button {
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 10px;
    text-align: right;
}

/** Tables **/
table {
    border-collapse: collapse;
    width: 95%;
}
th {
    background-color: #333;
    color: white;
    padding: 0.5em;
}
td,th {
    border: 1px solid #444;
    padding: 0.5em;
}

/** Splash **/
#splash-daw-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}
#splash-daw-list li {
    margin: 10px;
    border: 1px solid #444;
}
#splash-daw-list li > a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 2em;
    box-sizing: border-box;
}
#splash-daw-list li:hover {
    background-color: #333;
}

/** Style the back-ticked key commands (markdown: code) **/
.language-plaintext {
    background-color: #333;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid #444;
    text-align: center;
    vertical-align: middle;
}