@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|EB+Garamond&display=swap');

/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */


/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #fff;
    font-size: 1em;
    line-height: 1.2;
    font-family: "Source Sans Pro", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000540;
    /* 003E40 */
    position: relative;
    min-height: 100%;
    top: 0;
}


/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}


/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
    margin: 1em 0;
    padding: 0;
}


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}


/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}


/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}


/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap;
    /* 1 */
}


/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}


/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}


/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " ";
    /* 1 */
    display: table;
    /* 2 */
}

.clearfix:after {
    clear: both;
}


/* new sassquad styling */

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: #dddde2;
    /* 00F8FF */
    ;
}

a:hover,
a:active,
a:focus {
    color: #808e8e;
    /* 00BABF */
    ;
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "EB Garamond", serif;
    color: #ffffff;
    line-height: 1;
}

h1 {
    padding: 0.4em 0;
    font-size: 4em;
    margin: 0;
}

h2 {
    font-size: 3em;
    font-weight: normal;
    line-height: normal;
    margin: 24px 0 0 0;
}

h3 {
    font-size: 2em;
    padding: 0;
}

.card {
    border: 1px solid #4e4975;
    /* darkslategrey */
    background: linear-gradient(#4e4975, transparent);
    /* darkslategrey */
}

@supports(--css: variables) {
     :root {
        --bgcolor: #000540;
        /* 003E40 */
        --fgcolor: #ffffff;
        --headfont: "EB Garamond", serif;
        --bodyfont: "Source Sans Pro", sans-serif;
        --border: #4e4975;
        /* darkslategrey */
    }
    body {
        background-color: var(--bgcolor, #000540);
        /* 003E40 */
        color: var(--fgcolor, #ffffff);
        font-family: var(--bodyfont, "Source Sans Pro", sans-serif);
    }
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--headfont, "EB Garamond", serif);
        color: var(--fgcolor, #ffffff);
        line-height: 1;
    }
    .card {
        border: 1px solid var(--border);
        background: linear-gradient(var(--border), transparent);
    }
}

body {
    min-width: 100%;
    padding: 1em;
    box-sizing: border-box;
    margin: 0;
}

.flex,
.social,
.navbar ul {
    display: flex;
    flex-direction: row;
}

.flex {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
    align-items: stretch;
}

.card {
    flex: 0 0 44%;
    margin: 0 2.5% 2.5% 0;
    box-sizing: border-box;
    padding: 1em;
    border: 1px solid #4e4975;
    /* darkslategrey */
    border-radius: 10px;
}

.card h3 {
    margin: 0 0 0.5em;
}

.maincontent {
    order: 0;
}

.contentwrapper {
    background-image: none;
    margin: 0;
    width: 100%;
}


/* .portfolio .contentwrapper {
    background-image: none;
} */

.masthead,
.tagline {
    background-image: none;
}

.maincontent,
.sidebar,
footer {
    float: none;
    width: 100%;
}

.masthead,
.maincontent,
.sidebar,
footer {
    padding: 0;
}

.maincontent h2,
.sidebar h3 {
    text-transform: none;
}

.twitter-timeline {
    display: none;
}

.navbar {
    padding-left: 0;
}

.navbar ul {
    flex-direction: row;
}

.navbar li {
    display: inline;
}

header p {
    display: block;
    padding: 0;
}

nav h3 {
    display: block;
    margin-top: 0;
}

footer {
    padding-top: 0.5em;
    text-align: center;
    margin: 0 auto;
}

.picture {
    float: none;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}

.video {
    border: none;
}

.feedback label,
.feedback input {
    display: block;
    width: 100%;
    float: none;
    margin-bottom: 10px;
}

.feedback label {
    text-align: left;
    width: 100%;
    padding-right: 0;
}

.feedback textarea {
    display: block;
    width: 100%;
    float: none;
    margin-bottom: 10px;
}

input[name="submitit"] {
    width: auto;
}

.feedback br {
    clear: left;
}

.social svg,
.download_link svg {
    fill: currentColor;
    height: 2.5rem;
    width: 2.5rem;
}

ul,
.content_list {
    padding: 1em;
    list-style: outside;
    margin: 1em;
}

.content_list li {
    list-style: outside;
}

.social {
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}

.social li {
    list-style-type: none;
    padding-right: 0.7em;
}

.dropcaps {
    text-transform: capitalize;
}

.hideit {
    display: none;
}

.showit {
    display: block;
    visibility: visible;
}

.noSeeUm {
    visibility: hidden;
}

.navbar {
    margin: 0;
    padding: 0;
}

.navbar li {
    list-style-type: none;
}

.navbar a {
    display: inline;
    padding: 0.5em 0;
}

.navbar li:after {
    content: " - ";
}

.navbar li:last-child:after {
    content: "";
}

@media screen and (min-width: 769px) {
    .contentwrapper {
        background-color: transparent;
        margin: 0 auto;
        width: 75%;
        box-sizing: border-box;
    }
    .masthead img {
        display: none;
    }
    .flex {
        flex-direction: row;
    }
    .maincontent {
        line-height: 1.5em;
        padding: 0 2vw;
        width: 75%;
        box-sizing: border-box;
        order: 1;
    }
    .sidebar {
        padding: 0 0 24px 0;
        width: 25%;
        box-sizing: border-box;
        /* margin: 0 2.5% 2.5% 0; */
        padding: 1em;
        border: 1px solid #4e4975;
        /* darkslategrey */
        border-radius: 10px;
        background: linear-gradient(#4e4975, transparent);
        /* darkslategrey */
    }
    /* .portfolio .maincontent {
        float: none;
        width: auto;
    } */
    .maincontent p {
        margin: 6px 0 12px 0;
    }
    .navbar li {
        display: block;
    }
    .navbar a {
        display: block;
        padding: 0.4em 0;
    }
    .navbar li:after {
        content: "";
    }
    #introControls {
        margin: 0;
    }
    #introControls li {
        list-style-type: none;
    }
    #introSection {
        background-image: url(../../images/sas_quote.gif);
        background-repeat: no-repeat;
        color: #95847b;
        font-size: 0.9em;
        letter-spacing: 0.1em;
        line-height: 1.4em;
        margin: 12px 0;
        padding: 0 0 0 34px;
        text-align: left;
    }
    #tagline {
        clear: both;
    }
    #tagline p {
        margin: 0;
        display: none;
    }
    ul.games {
        list-style: none;
        margin: 0;
    }
    ul.games li {
        margin: 0.5em 0;
    }
    ul.games li figure {
        display: inline-block;
        vertical-align: middle;
    }
    ul.games img.picture {
        float: none;
        margin-right: 10px;
        display: inline-block;
    }
    .picture {
        float: none;
        display: block;
        margin: 10px auto;
    }
    .video {
        display: block;
        margin: 10px auto;
    }
    .video::after {
        clear: both;
    }
    .sidebar p {
        margin: 6px 0 12px 0;
    }
    footer {
        clear: both;
        margin: 0 auto;
        padding: 12px 0 0;
        width: 75%;
        box-sizing: border-box;
    }
    .feedback label,
    .feedback input {
        display: block;
        width: 200px;
        float: left;
        margin-bottom: 10px;
    }
    .feedback label {
        text-align: right;
        width: 200px;
        padding-right: 20px;
    }
    .feedback textarea {
        display: block;
        width: 200px;
        float: left;
        margin-bottom: 10px;
    }
    input[name="submitit"] {
        width: auto;
    }
    .feedback br {
        clear: left;
    }
    .download_link {
        border: 1px dashed #666666;
        border-radius: 5px;
        margin: 10px 0 10px 0;
        padding: 10px 0 10px 0;
        list-style-type: none;
        font-size: 90%;
        font-style: italic;
    }
    .download_link li {
        margin: 0 10px 0 10px;
    }
    .download_link li img,
    .download_link li svg {
        border: none;
        margin: 4px 8px 4px 8px;
        vertical-align: middle;
    }
    header p {
        display: none;
    }
    .social svg,
    .download_link svg {
        height: 1.5rem;
        width: 1.5rem;
    }
    .download_link svg {
        fill: currentColor;
    }
    .column-list {
        columns: 2 auto;
        column-gap: 3em;
    }
}