/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre {
    font-family: monospace, monospace;
    font-size: 1em;
}

a {
    background-color: transparent;
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted;
}

b, strong {
    font-weight: bolder;
}

code, kbd, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

small {
    font-size: 80%;
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

img {
    border-style: none;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

button, input {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal;
}

progress {
    vertical-align: baseline;
}

textarea {
    overflow: auto;
}

[type="checkbox"], [type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

details {
    display: block;
}

summary {
    display: list-item;
}

template {
    display: none;
}

[hidden] {
    display: none;
}
/* ============================================================*/

/*! colinclark.org Styles */

body {
    font-family: 'Yantramanav', sans-serif;
    font-weight: 300;
    font-size: 130%;
    background-color: #ddd;
}

h1 {
    font-weight: 900;
    font-size: 250%;
}

.page-caption {
    font-size: 100%;
    font-weight: 100;
    margin: 0;
    margin-top: -1.75em;
    padding-top: 0.2em;
    padding-bottom: 0.5em;
}

main, nav {
    clear: both;
    margin-left: 5%;
    margin-right: 15%;
    margin-top: 1em;
}

main {
    margin-bottom: 1.25em;
}

a {
    font-weight: 300;
    color: #000;
}

a:visited {
    color: #666;
}

a:focus img {
    filter: invert(100%);
}

a:focus {
    outline: none;
    font-weight: 700;
    color: #333;
}

nav {
    font-size: 150%;
    font-weight: 100;
}

nav ol {
    list-style-type: none;
    padding-left: 0em;
}

nav li {
    float: left;
    padding: 0.25em 2em 1.25em 0em;
}

nav li a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 100;
}

nav img.external-link-icon {
    width: 0.5em;
    opacity: 0.5;
}

.heading {
    clear: both;
}

ol.publications-list {
    list-style-type: none;
    padding-left: 0em;
}

ol.publications-list li {
    padding-bottom: 1em;
    padding-left: 1.5em;
    text-indent:-1.5em;
}

.videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.video-square {
    background-color: #999;
    border-radius: 1em;
    margin: 0.5em;
    padding: 0em 0em 0.5em 0em;
}

.video-square img {
    border-radius: 1em 1em 0em 0em;
    width: 100%;
}

.video-square a:link{
    text-decoration: none;
}

.video-square a:focus {
    outline: none;
}

.video-square:focus-within {
    border-width: 0.5em;
    margin: 0em;
    border-style: solid;
    border-color: #fff;
}

.video-caption {
    font-weight: 300;
    font-size: 80%;
    display: block;
    text-align: center;
    color: #eee;
}

.note {
    clear: both;
    font-style: italic;
    padding: 1em 0em;
}

.video-embed {
    padding-top: 1em;
}

.software-header {
    margin-top: 1.5em;
    margin-bottom: 0em;
}

.software-header img {
    margin-top: 0.25em;
    float: right;
    padding-right: 4em;
}

.software-header .twitter-logo {
    padding-right: 0.5em;
}

.footer-image {
    width: 100%;
    padding-top: 1em;
}

/* Small device overrides */
@media (max-width:1280px) {
    body {
        font-size: 200%;
    }

    main, nav {
        margin-left: 3%;
        margin-right: 3%;
    }

    nav {
        font-size: 130%;
    }
    nav li {
        float: left;
        padding: 0 0.5em 1em 0;
    }

    .videos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:850px) {
    nav li {
        float: none;
        text-align: center;
        padding-bottom: 0.5em;
    }

    .videos {
        grid-template-columns: repeat(1, 1fr);
    }
}
