@font-face {
    font-family: "Overpass";
    src: url("./fonts/overpass/Overpass_Regular.ttf");
}

* {
    padding: 0px;
    margin: 0px;
}

/* polyfill for display: flex; */
html,
body,
body > #center-horizontal-container,
body > #center-horizontal-container > header > nav > ul,
body > #center-horizontal-container > header > nav > ul > li,
body > #center-horizontal-container > #section-1-splash,
body > #center-horizontal-container > #section-1-splash > #logo,
body > #center-horizontal-container > #section-1-splash > #credits,
footer
{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex
    display: flex;
}

/* polyfill for flex-direction: row */
body,
body > #center-horizontal-container > header > nav > ul,
body > #center-horizontal-container > #section-1-splash > #logo,
body > #center-horizontal-container > #section-1-splash > #credits {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -moz-box-orient: horizontal;
    -moz-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
}

/* polyfill for flex-direction: column */
body > #center-horizontal-container,
body > #center-horizontal-container > header > nav > ul > li,
body > #center-horizontal-container > #section-1-splash {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

/* polyfill for align-items: flex-start */
body {
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

/* polyfill for justify-content: center */
body,
body > #center-horizontal-container > header > nav > ul > li {
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

/* polyfill for justify-content: flex-end */
body > #center-horizontal-container > header > nav > ul {
    -webkit-box-pack: end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}

/* polyfill for justify-content: flex-start */
footer {
    -webkit-box-pack: start;
    -moz-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

html {
    /*display: flex;*/
    overflow-x: hidden;
    min-height: 100%;
    width: 100%;
    font-family: sans-serif;
}

body {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*align-items: flex-start;*/
    /*justify-content: center;*/
    font-family: "Overpass";
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    min-width: 100%;
    height: 100%;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#004e92+0,000428+100 */
    background: #004e92; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #004e92 0%, #000428 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #004e92 0%,#000428 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #004e92 0%,#000428 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004e92', endColorstr='#000428',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

    color: white;
}

@media screen and (min-width:720px) {
    p, li {
        font-size: 1.2em;
    }
}

body > #center-horizontal-container {
    /*display: flex;*/
    /*flex-direction: column;*/
    width: 100%;
}

@media screen and (min-width:720px) {
    body > #center-horizontal-container {
        max-width: 1000px;
    }
}

body > #center-horizontal-container > header {
    min-height: 64px;
    margin-bottom: 8em;
}

body > #center-horizontal-container > header > nav > ul {
    list-style-type: none;
    text-decoration: none;
    /*display: flex;*/
    /*flex-direction: row;*/
    /*justify-content: flex-end;*/
}

body > #center-horizontal-container > header > nav > ul > li {
    padding: 0px;
    padding-top: 30px;
    /*display: flex;*/
    /*flex-direction: column;*/
    /*justify-content: center;*/
    font-size: 1.2em;
    margin-left: 20px;
    font-weight: bold;
    border-radius: 10px;
    position: relative;
}

body > #center-horizontal-container > header > nav > ul > li:first-child {
    margin-left: 0px;
}

@media screen and (max-width:720px) {
    body > #center-horizontal-container > header > nav > ul > li {
        font-size: 1.0em;
    }
    body > #center-horizontal-container > header {
        margin-bottom: 2em;
    }
}

@media screen and (max-width:420px) {
    body > #center-horizontal-container > header > nav > ul {
        /*justify-content: center;*/
        -webkit-box-pack: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
    }
}

body > #center-horizontal-container > header > nav > ul > li > a {
    text-decoration: none;
    color: white;
}

body > #center-horizontal-container > header > nav > ul > li:hover:after,
body > #center-horizontal-container > header > nav > ul > li.active:after {
    content: "";
    background: transparent;
    width: 100%;
    position: absolute;
    border-bottom: 2px dashed rgba(230, 230, 230, 10);
    bottom: -5px;
    right: 0;
}

body > #center-horizontal-container > header > nav > ul > li:hover {
    cursor: pointer;
}

body > #center-horizontal-container > #section-1-splash {
    /*display: flex;*/
    /*flex-direction: column;*/
    padding: 0em 5em;
    margin-bottom: 5em;
}

@media screen and (max-width:720px) {
    body > #center-horizontal-container > #section-1-splash {
        padding: 0em 2em;
        margin-bottom: 2em;
    }
}

body > #center-horizontal-container > #section-1-splash > #logo {
    /*display: flex;*/
    /*flex-direction: row;*/
    padding: 1em 0px;
}

@media screen and (max-width:720px) {
    body > #center-horizontal-container > #section-1-splash > #logo {
        max-width: 200px;
        padding: 0px;
    }
}

body > #center-horizontal-container > #section-1-splash > #credits {
    /*display: flex;*/
    /*flex-direction: row;*/
    line-height: 1.2;
}

body > #center-horizontal-container > #section-1-splash > #credits > p:first-child {
    margin-right: 0.5em;
}

body > #center-horizontal-container > #section-1-splash > #subtitle {
    margin-top: 3em;
    max-width: 800px;
}

body > #center-horizontal-container > #section-1-splash > #subtitle > h2 {
    font-size: 1.2em;
}

body > #center-horizontal-container > #section-2-features > .feature {
    border-radius: 2em;
    background: white;
    color: black;
    padding: 4em;
    line-height: 1.75;
    position: relative;
    margin-bottom: 4em;
    display: flex;
    flex-direction: column;
}
body > #center-horizontal-container > #section-2-features > .feature > p {
    margin-bottom: 20px;
}

body > #center-horizontal-container > #section-2-features > .feature:last-child {
    margin-bottom: 0px;
}

@media screen and (max-width:1000px) {
    body > #center-horizontal-container > #section-2-features > .feature,
    body > #center-horizontal-container > #section-2-features > .feature:before {
        border-radius: 0px;
    }
    body > #center-horizontal-container > #section-2-features > .feature {
        padding: 2em;
    }
    body > #center-horizontal-container > header {
        padding-right: 2em;
    }
}

body > #center-horizontal-container > #section-2-features > .feature:before {
    content: "";
    border-radius: 2em;
    z-index: -1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 200px 0px rgba(0,0,0,0.75);
}

body > #center-horizontal-container > #section-2-features > .feature > h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

body > #center-horizontal-container > #section-2-features > .feature > ul {
    padding-left: 2em;
}

body > #center-horizontal-container > #section-2-features > .feature#introduction {
    margin-bottom: 400px;
}

@media screen and (max-width:720px) {
    body > #center-horizontal-container > #section-2-features > .feature#introduction {
        margin-bottom: 4em;
    }
}

body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > * {
    position: absolute;
    -webkit-box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 100px 0px rgba(0,0,0,0.75);
}

@media screen and (min-width:720px) {
    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #calculator {
        /* border-radius: 15px; */
        right: -50px;
        bottom: -50px;
        width: 32%;
    }

    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #screenshot {
        right: 75px;
        bottom: -377px;
        width: 50%;
        height: auto;
    }

    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #linux_screenshot {
        border-radius: 3px;
        right: -208px;
        bottom: -506px;
        width: 60%;
        z-index: 1;
        height: auto;
    }
}

@media screen and (max-width:720px) {
    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #calculator,
    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #screenshot,
    body > #center-horizontal-container > #section-2-features > .feature#introduction > .standout > #linux_screenshot {
        display: none;
    }
}

footer {
    /*display: flex;*/
    /*justify-content: flex-start;*/
    padding: 2em;
}

/* ------------------------- PRISM.CSS, for code highlighting ----------------------- */

/* PrismJS 1.14.0 - https://prismjs.com/download.html#themes=prism&languages=rust */

code[class*="language-"] {
    display: inline-block;
    color: black;
    background: #f5f2f0;
    padding: 1em;
    border-radius: 5px;
    text-shadow: 0 1px white;
    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.5;

    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;

    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;

    overflow-x: scroll;
}

@media print {
    code[class*="language-"] {
        text-shadow: none;
    }
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: slategray;
}

.token.punctuation {
    color: #999;
}

.namespace {
    opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
    color: #9a6e3a;
    background: hsla(0, 0%, 100%, .5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
    color: #07a;
}

.token.function,
.token.class-name {
    color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
    color: #e90;
}

.token.important,
.token.bold {
    font-weight: bold;
}

.token.italic {
    font-style: italic;
}

.token.entity {
    cursor: help;
}
