/* http://colorschemedesigner.com/#3H51Ew0w0w0w0 */

html,
body {
    font-size: 20px;
    height: 100%;
    width: 100%;
    overflow: hidden;
    color: #052C6E;
}

p {
    margin-bottom: 1em;
    line-height: 1.4em;
}

h2 {
    font-size: 150%;
    font-weight: bold;
    margin-bottom: 1em;
}

h1 {
    text-transform: uppercase;
    font-size: 180%;
    margin-bottom: 1em;
}

b {
    font-weight: bold;
}

i {
    font-style: italic;
}

ol {
    list-style: decimal;
}

#title {
    display: inline-block;
    margin-right: 0.1em;
}

#nav {
    font-family: 'Paytone One', sans-serif;
    height: 100%;
    min-width: 35%;
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 1em;
    padding-top: 0.2em;
    font-size: 200%;
    li {
        text-align: right;
        margin-bottom: 1em;
        cursor: pointer;
        color: #052C6E;
    }
}

#tabs {
    font-family: 'Tauri', sans-serif;
    .tab {
        font-size: 110%;
        color: lighten(#6A92D4, 50%);
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        &.active {
            display: block;
        }
        .innerTab {
            padding: 5%;
            width: 90%;
            height: 90%;
            overflow: auto;
        }
        a,
        a:visited,
        a:hover {
            text-decoration: none;
            color: #6A92D4;
        }
        a.closeTab {
            font-family: 'Paytone One', sans-serif;
            position: absolute;
            top: 1%;
            right: 1%;
            cursor: pointer;
            font-size: 140%;
        }
    }
    #pd {
        .innerTab {
            height: 80%;
            textarea {
                width: 50%;
                height: 100%;
                display: block;
            }
        }
    }
    #configuration {
        .paramContainer {
            display: inline-block;
            min-width: 12em;
            text-align: center;
        }
        #genConfig {
            margin-bottom: 3em;
        }
    }
    #about {
        #copyright {
            font-size: 80%;
        }
    }
}

#controls {
    display: inline-block;
    position: relative;
    bottom: 0.2em;
    /* from random.html */
    #getRandomPatch {}
    #startSound {
        background-image: url('../img/play.png');
        span {
            position: relative;
            right: 1em;
        }
    }
    #stopSound {
        background-image: url('../img/stop.png');
        display: none;
        background-size: auto 90%;
    }
}

#social {
    position: absolute;
    bottom: 1em;
    right: 0;
    #twitter,
    #github {
        float: right;
    }
}

#svg svg {
    position: relative;
}

body,
html,
div {
    padding: 0;
    margin: 0;
    border: 0;
    overflow: hidden;
}

body,
html {
    background-color: black;
}

#st-el-1.st-sticky-share-buttons {
    display: none;
}

#youtube,
#blur,
#svg,
.fullscreen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.transition {
    opacity: 0;
    transition: opacity 10s ease-in-out;
    -moz-transition: opacity 10s ease-in-out;
    -webkit-transition: opacity 10s ease-in-out;
    mix-blend-mode: difference;
}

.transition.show {
    opacity: 1;
}

#svg {
    background-color: white;
    overflow: scroll;
    background-blend-mode: difference;
    mix-blend-mode: difference;
}

svg, .fft {
    width: 50%;
    height: 50%;
    background-repeat: no-repeat;
}

.fft {
  top: 0;
  right: 0;
  position: absolute;
}

#blur {
    /*-webkit-filter:blur(125px);
  -ms-filter:blur(125px);
  filter:blur(125px);*/
    height: 101%;
}

.startButton {
    font-size: 5vh;
    font-family: "GillSans-BoldItalic", "San Francisco", "American Typewriter";
    color: gray;
    background: transparent;
    display: none;
    position: absolute;
    align-items: flex-start;
    text-align: center;
    box-sizing: border-box;
    z-index: 0;
    -webkit-appearance: button;
    cursor: pointer;
    font-style: normal;
    border-color: transparent;
    font-variant-caps: normal;
    font-weight: normal;
    top: 0%;
    width: 100%;
    height: 100%;
    z-index: 1000;
    small {
        font-size: 3vh;
    }
}

.logo {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
    position: absolute;
    font-family: "NOTEWORTHY", "San Francisco", "GillSans-Bold", "American Typewriter", Verdana;
    padding: 0% 4% 0 0;
    font-size: 10vh;
    color: white;
    background-blend-mode: difference;
    mix-blend-mode: difference;
    -webkit-user-select: none;
    /* Chrome/Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+ */
    /* Rules below not implemented in browsers yet */
    -o-user-select: none;
    user-select: none;
    cursor: pointer;
}

#st-el-1 .st-toggle {
    display: none;
}

.notSupported {
    position: absolute;
    width: auto;
    bottom: 5vh;
    right: 5vw;
    display: none;
}

.control {
    z-index: 1000;
}

#convolvers {
    font-size: 10px;
}

canvas {
    width: 100vw;
    height: 100vh;
    display: block;
  }

