html {
    font-family: Roboto, sans-serif;
    background-color: black;
    color: white;
}

body {
    display: flex;
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: stretch;
    margin: 0;
}

div.content {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3em;
}

a {
    color: #ccc;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: revert;
}

ul.dash > li::marker {
    content: "- ";
}

ul.no-indent {
    padding-left: 0;
}

li {
    list-style: none;
    padding-bottom: 0.3em;
}

h1 {
    font-size: 2.5em;
}

.big-text {
    font-size: 1.5em;
}

@media (orientation: landscape) {
    .left-container {
        flex: 1 1 30%;
        min-height: 100vh;
    }

    #main {
        flex: 2 1 60%;
    }

    .right-container {
        flex: 0 2 10%;
    }

    div.topbar {
        display: none;
    }

    .hide-on-desktop {
        display: none;
    }
}

@media (orientation: portrait) {
    .left-container, .right-container {
        display: none;
    }

    #main {
        width: 90%;
        margin: 0 5%;
        padding: 1em 2em !important;
    }

    .topbar {
        position: sticky;
        top: 0;
        height: 4em;
    }

    .topbar-content {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        background-color: #333;
        height: 100%;
        border-bottom: 0.1em solid #000;
    }

    .topbar-content::before {
        content: var(--title);
        font-size: 2.5em;
        font-weight: bold;
        padding-left: 0.75em;
        flex: 1 0 auto;
    }

    .topbar-content > .hamburger {
        display: flex;
        flex: 0 0 auto;
        padding-right: 0.75em;
    }

    .topbar > .dropdown {
        position: fixed;
        top: 4em;
        background-color: #333;
        z-index: -1;
        width: 100%;
        border-bottom: 0.1em solid #000;
        border-radius: 0 0 1em 1em;
    }
    
    @media (prefers-reduced-motion: reduce) {
        .topbar > .dropdown {
            visibility: hidden;
            height: 0;
            opacity: 0;
            transition: opacity 0.25 ease-out;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .topbar:hover > .dropdown {
            height: auto;
            opacity: 1;
            visibility: visible;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .topbar > .dropdown {
            transform: translateY(calc(-100% - 4em));
            transition: transform 0.25s ease-out;
        }
    }

    @media (prefers-reduced-motion: no-preference) {
        .topbar:hover > .dropdown {
            transform: translateY(0);
        }
    }

    .topbar > .dropdown > h2,
    .topbar > .dropdown > ul {
        padding-left: 2.1rem;
    }

    .hide-on-mobile {
        display: none;
    }
}

#main {
    padding: 1em 4em;
    background-color: #333;
    border-radius: 0 0 1em 1em;
    margin-bottom: 4em;
}

