@import url('https://fonts.googleapis.com/css2?family=Audiowide&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

html {
    --s: 100px; /* control the size*/
    --c1: rgba(255, 255, 255, 0.05);
    --c2: #060606;
    
    --_g: #0000 90deg,var(--c1) 0;
    background: 
      conic-gradient(from 90deg at 2px 2px,var(--_g)),
      conic-gradient(from 90deg at 1px 1px,var(--_g)),
      var(--c2);
    background-size: var(--s) var(--s), calc(var(--s)/5) calc(var(--s)/5);
    background-attachment: fixed;
}

body {
    color: #fff;
    font-family: "Space Mono", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    margin: 0;
    padding: 0;
}

a, a:visited, a:active {
    color: rgb(168, 255, 248);
    text-decoration: none;
}

a:hover {
    color: rgb(238,174,202);
    text-decoration: underline;
}

pre {
    font-size: 0.8rem;
    overflow: scroll;
}

@media screen and (min-width: 760px) {
    pre {
        overflow: hidden;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    clear: both;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.1;
}

h3 {
    font-size: 1.8rem;
    line-height: 1.1;
    padding: 30px 0 0 0;
    margin: 50px 0 20px 0;
    border-top: 1px solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to right, rgba(238,174,202,0), rgba(238,174,202,1), rgba(238,174,202,0));
}

h4 {
    font-size: 1.4rem;
    line-height: 1.1;
    margin: 40px 0 10px 0;
    padding: 0 0 0 20px;
    border-left: 20px solid rgba(168, 255, 248,1);

}

nav {
    display: none;
}

@media screen and (min-width: 760px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
        margin: 0 0 40px 0;
        border-bottom: 1px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(to right, rgba(238,174,202,0), rgba(238,174,202,1), rgba(238,174,202,0));
        background: #060606;
        text-transform: uppercase;
        font-size: 0.9rem;
    }
}

.alert {
    display: none;
}

@media screen and (max-width: 759.9px) {
    .alert {
        display: block;
        padding: 5px 10px;
        background-color: rgba(244, 207, 105, 0.9);
        color: #060606;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 0.8rem;
        text-align: center;
    }

    .alert::after {
        content: "This page is designed for screen widths of 760px and above. Bigger would be better!";
    }
}

.top-link {
    position: fixed;
    display: block;
    z-index: 999;
    bottom: 20px;
    right: 20px;
    padding: 5px 10px;
    background-color: rgb(168, 255, 248);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
}

.top-link a,
.top-link a:visited,
.top-link a:active,
.top-link a:hover {
    color: #060606;
    text-decoration: none;
}

header {
    margin: 80px auto;
    padding:0;
    text-align: center;
}

header .pre-title {
    font-style: italic;
}

header .title {
    margin: 0;
    padding: 10px 0;
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 4rem;
    text-transform: lowercase;
    line-height: 0.9;
    word-wrap: break-word;
}

@media screen and (min-width: 760px) {
    header .title {
        font-size: 6rem;
    }
}

header .tagline {
    font-size: 1.1rem;
}

section {
    padding: 40px 0;
    overflow: hidden;
}

section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5px;
}

section#introduction,
section#features {
    text-align: center;
}

section#marlotron-duo-synth {
    padding: 80px 0;
    margin-top: 60px;
    background: radial-gradient(circle, rgba(238,174,202,0.8) 0%, transparent);
    overflow: scroll;
}

section#marlotron-duo-synth h2 {
    display: none;
}

@media screen and (min-width: 760px) {
    section#marlotron-duo-synth {
        overflow: hidden;
    }
}

section#cs50,
section#open-source {
    background: radial-gradient(circle, rgba(238,174,202,0.15) 0%, transparent);
}

section#user-guide,
section#code-guide {
    background: radial-gradient(circle, rgba(168, 255, 248, 0.15) 0%, transparent);
}

section#cs50 .container,
section#user-guide .container,
section#open-source .container,
section#code-guide .container {
    max-width: 700px;
}

footer {
    text-align: center;
    font-size: 0.8rem;
    padding: 40px 0;
    margin: 0;
    background: #060606;
}

/* FEATURE STYLES */

.feature .feature-image {
    /* grid-column: 1 / span 5; */
    background-image: url("assets/images/marlotron-duo-screen.png");
    background-repeat: no-repeat;
    background-color: rgba(238,174,202,0.3);
    border: 1px dashed rgba(238,174,202,1);
    margin: 30px auto;
}

.feature p {
    max-width: 700px;
    margin: 20px auto;
}

.feature-image.img-oscillators {
    background-position: -172px -145px;
    width: 340px;
    height: 150px;
}

.feature-image.img-filters {
    background-position: -520px -145px;
    width: 220px;
    height: 150px;
}

.feature-image.img-ribbon {
    background-position: -200px -310px;
    width: 440px;
    height: 150px;
}

/* USER GUIDE STYLES */
.faq {
    width: 100%;
}

@media screen and (min-width: 760px) {
    .faq {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .faq-text {
        width: 100%;
    }
}

.faq-image {
    min-width: 160px;
    width: 160px;
    height: 160px;
    margin: 20px auto;
    background-image: url("assets/images/marlotron-duo-screen.png");
    background-repeat: no-repeat;
    background-color: rgba(238,174,202,0.3);
    border-radius: 50%;
    border: 1px dashed rgba(238,174,202,1);
}

.faq-image.img-mode-switch {
    background-position: -22px -145px;
}

.faq-image.img-ribbon {
    background-position: 15px 60px;
}

.faq-image.img-drone-toggle {
    background-position: -330px -260px;
}

.faq-image.img-vco1 {
    background-position: -148px -140px;
}

.faq-image.img-vco2 {
    background-position: -378px -140px;
}

.faq-image.img-xmod {
    background-position: -261px -145px;
}

.faq-image.img-cutoff {
    background-position: -493px -144px;
}

.faq-image.img-peak {
    background-position: -610px -144px;
}