:root {
    --font-main: #cccccf;
    --font-bright: #dddddf;
    --border-color: #555558;
    --background-main: #222225;
    --background-brighter: #333336;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: larger;
    font-weight: 300;
    line-height: 1.6em;
}

body {
    background-color: var(--background-main);
    color: var(--font-main);
    font-family: 'Open Sans', Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2em;
    padding-bottom: 2em;
}

a {
    color: var(--font-bright);
    white-space: nowrap;
}

h1, h2, h3, strong, b {
    font-weight: 500;
    color: var(--font-bright);
    margin-bottom: 0;
    margin-top: 0;
}

h1 {
    font-size: 1.5em;
}

h2 {
    font-size: 1.2em;
}
    h2 img {
        height: 1.5em;
        width: auto;
        vertical-align: -.35em;
    }

    h2 sup {
        display: inline-block;
        padding: 0 .5em;
        font-size: .5em;
        line-height: 1.5em;

        background-color: var(--background-brighter);
        border-radius: 10%;
    }

h3 {
    font-size: 1.1em;
    font-weight: 400;
    margin-top: 2em;
}

hr {
    border: 0;
    background-color: var(--border-color);
    height: 1px;
    margin-top: 2em;
    margin-bottom: 2em;
}

body > * {
    width: 60%;
}

header {
    display: flex;
    justify-content: center;

    -padding-bottom: 2em;
    margin-bottom: 2em;

    -border-bottom: 1px solid var(--border-color);
}
    header .logo {
        width: 30%;
    }
        header .logo img {
            width: 100%;
        }

footer {
    display: flex;
    margin-top: 2em;
    padding-top: 1em;
    border-top: 1px solid var(--border-color);
    justify-content: space-between;
    gap: 2em;

    font-size: .7em;
}
    footer a {
        color: var(--font-main);
        margin-right: .2em;
    }

    footer a:last-child {
        margin-right: 0;
    }

img.dropshadow {
    box-shadow: 0px 10px 30px 0px rgb(0, 0, 0, .5);
    transition: box-shadow .2s;
}

img.dropshadow:hover {
    box-shadow: 0px 10px 50px 0px rgb(0, 0, 0, .5);
}

span.midiType {
    display: inline-block;
    font-size: .8em;
    padding: 0 .5em;
    line-height: 1.5em;

    background-color: var(--background-brighter);
    border-radius: 10%;
}

p.distribute {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: .5em;
    flex-wrap: wrap;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nowrap {
    white-space: nowrap;
}

.right {
    text-align: right;
}

@media screen and (orientation:portrait) {
    body {
        font-size: large;
    }
    body > * {
        width: 90%;
    }
}

#patreonBadge {
    display: flex;
    position: fixed;
    top: -40px;
    right: -80px;

    width: 200px;
    height: 100px;
    z-index: 1000;

    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-top: 1em;

    text-decoration: none;

    transform: rotate(45deg);

    background-color: var(--background-brighter);

    box-shadow: 0px 10px 30px 0px rgb(255, 255, 255, 0);
    transition: box-shadow .2s;
}

#patreonBadge:hover {
    box-shadow: 0px 10px 30px 0px rgb(255, 255, 255, .1);
}
    #patreonBadge * {
        display: block;
    }

    #patreonBadge label {
        font-size: .5em;
        font-weight: 600;
        cursor: pointer;
    }

@media screen and (orientation:portrait){
    header .logo {
        width: 50%;
    }
}