:root
{
    --accent-color: #00b3ffff;
    --background-color: #f1f1f1;
    --alternate-background-color: #dedede;
    --dark-color: #202020;
    --text-color: #0d0d0d;
    --nav-background-color: #ffffff;
}

html
{
    font-family: 'Spartan', sans-serif;
    font-size: 1.2rem;
}

body
{
    margin: 0px;
    padding: 0px;
    color: var(--text-color);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a
{
    color: var(--accent-color);
}

h1
{
    font-size: 2.4rem;
    margin-top: 0px;
    margin-bottom: 0.4rem;
}

p
{
    max-width: 60%;
}

.button
{
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 10px;
    margin: 4px;
    display: inline-block;
    border-radius: 4px;
}

.button-group
{
    padding: 10px 0px;
}

/*Navigation*/
#website-nav
{
    background-color: var(--nav-background-color);
    display: flex;
    flex-direction: column;
}

#website-nav nav
{
    background-color: var(--nav-background-color);
    padding-left: 5vw;
    padding-right: 5vw;
    height: 3rem;
}

#website-nav ul
{
    padding-left: 0px;
    padding-right: 0px;
}

#website-nav a
{
    color: var(--text-color);
}

#website-nav-button
{
    height: 3rem;
    width: 3rem;
}

#website-nav-button > *
{
    height: 100%;
}

#website-nav nav, #website-nav ul
{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0px;
}

.nav-left
{
    margin-left: 100px;
}

#website-nav li, #website-nav li *
{
    list-style-type: none;
    text-decoration: none;
    height: 60px;
} 

#website-nav li *
{
    display: table-cell;
    vertical-align: middle;
}

.filler
{
    display: flex;
    flex-grow: 1;
}

footer
{
    text-align: center;
    background-color: var(--dark-color);
    padding-top: 5px;
    padding-bottom: 5px;
    color: white;
}

section
{
    display: flex;
    flex-direction: row;
    padding: 50px clamp(50px, calc(50vw - 50vmin), 30vw);
}

section.home-main-section
{
    padding: 50px max(50px, calc(50vw - 80vmin));
    color: #ffffff;
    background-color: var(--dark-color);
    background-image: url(https://media.qasictools.com/files/website-media/qASIC%20Unity%20Editor-dark.png);
    background-size: cover;
}

section.home-main-section > *
{
    max-height: 40vh;
    filter: drop-shadow(0px 0px 8px #00000088);
}

section > *
{
    padding: auto;
    justify-content: center;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
}

section.expand div
{
    max-height: none;
}

section.main
{
    text-align: center;
    justify-content: center;
    display: flex;
    flex-grow: 1;
}

section.main *
{
    margin: auto 0px;
    display: flex;
}

section.main div
{
    width: 100%;
}

section.alternate
{
    background-color: var(--alternate-background-color);
}

/*markdown*/
section.markdown
{
    flex-direction: column;
}

.markdown *
{
    max-height: fit-content;
}

.markdown h1
{
    margin-top: 6px;
    font-size: 1.8rem;
}

.markdown p
{
    margin-bottom: 12px;
}

.markdown pre
{
    background-color: var(--dark-color);
    color: white;
    padding: 8px;
    border-radius: 4px;
    border-color: black;
    border-width: 2px;
    border-style: solid;
}

/*mobile*/
@media screen and (max-width: 750px)
{
    #website-nav-button
    {
        display: block !important;
        z-index: 1;
    }

    #website-nav nav
    {
        display: none;
        flex-grow: 1;
        position: fixed;
        height: 100%;
        width: 100%;
        padding: 0px;
    }

    #website-nav
    {
        position: fixed;
        width: 100%;
    }

    #website-nav .main-logo-container
    {
        display: none;
    }

    #website-nav nav ul
    {
        flex-direction: column;
        max-width: 100%;
        gap: 0px;
    }

    #website-nav nav ul li
    {
        height: 3rem;
    }

    .website-nav-space
    {
        display: block;
    }

    .website-nav-filler
    {
        height: 3rem;
    }

    section
    {
        flex-direction: column-reverse;
    }
}

@media screen and not (max-width: 750px)
{
    #website-nav nav
    {
        display: flex !important;
    }

    #website-nav nav ul.left
    {
        margin-left: auto;
    }
}