@import url("https://use.typekit.net/jhw3rtl.css");

body, html {
    -webkit-overflow-scrolling: touch;
}

a {
    color: inherit;
    text-decoration: none;
}

header {
    position: fixed;
    background: white;
    z-index: 1;
    width: 100%;
}

header .inner {
    display: flex;
    position: relative;
    width: 100%;
    /*
     * max-width: 1000px;
     * margin: 0 auto;
     */
    justify-content: space-between;
    flex-direction: row;

}

header .title {
    align-self: flex-start;
    padding: 36px 0 36px 36px;
    transition: 0.2s padding ease-in-out;
    cursor: pointer;
}

header.small .title {
    padding: 0;
}

header #ticker {
    width: 100%;
    white-space: nowrap;
    margin-top: -6px;
    padding: 12px 50% 36px 36px;
    transition: 0.2s padding ease-in-out;
    overflow-x: scroll;
}

header #ticker::-webkit-scrollbar {
    display: none;
}

header.small #ticker {
    padding: 36px 50% 36px 36px;
}

header #ticker > span {
    display: inline-block;
    cursor: pointer;
    padding: 0 36px;
    font-family: 'area-extended', serif;
    font-weight: 400;
    font-size: 36px;
    transition: 0.2s opacity ease-in-out;
    opacity: 0.3;
}

header #ticker > span:hover {
    opacity: 0.5;
}

header #ticker > span:first-child {
    padding-left: 0;
}

header #ticker > span.current {
    opacity: 1;
}

header #ticker > span > div {
    font-family: 'area-extended';
    font-weight: 400;
    font-size: 16px !important;
    margin-top: 8px;
    padding-left: 4px;
}

header h1 {
    display: inline-block;
    font-family: 'area-extended';
    font-weight: 400;
    font-size: 36px;
    margin-right: 12px;
    background: black;
    color: white;
    padding: 0 12px 6px 12px;
}

header h3 {
    display: inline-block;
    font-family: 'area-extended';
    font-weight: 800;
    font-size: 16px;
    line-height: 20px;
    margin-top: -3px;
    position: relative;
    top: 3px;
    max-width: 324px;
    height: 42px;
}

header nav {
    align-self: center;
    padding: 4px 36px 0 0;
}

nav ul {
    white-space: nowrap;
}

nav li {
    font-family: 'area-extended';
    font-weight: 400;
    font-size: 24px;
    margin: 2px 0;
    padding: 4px 12px;
    display: inline-block;
    background: white;
    color: black;
    transition: 0.1s background ease-in-out, 0.1s color ease-in-out;
}

nav li:hover {
    background: black;
    color: white;
}

.video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    height: auto;
}

.video iframe,
.video object,
.video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 18px;
}

main {
    padding-top: 200px;
    overflow: scroll;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

main::-webkit-scrollbar {
    display: none;
}

main > div.inner {
    max-width: 100%;
    width: 500px;
    margin: 0 auto;
}

main > div.inner a {
    border-bottom: 2px solid black;
}

main > div {
    width: 100%;
    font-size: 0;
    line-height: 0;
    padding: 0 18px 18px 18px;
}

main p {
    font-family: 'area-extended', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 30px;
    padding: 0 16px;
    margin-bottom: 32px;
}

img {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 18px;
    display: inline-block;
}

img.lazy { 
    opacity: 0;
    transition: 0.2s opacity ease-in-out;
    -moz-transition: 0.2s opacity ease-in-out;
    -webkit-transition: 0.2s opacity ease-in-out;
}

img.lazy.loaded {
    opacity: 1;
}

.row {
    display: block;
    white-space: nowrap;
    font-size: 0;
    line-height: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

.col-6 {
    width: 50%;
}

.col-4 {
    width: 33.333%;
}

.mini {
    display: block;
    margin: 0 auto;
    width: 300px;
    max-width: 100%;
}

.center {
    display: block;
    text-align: center;
    padding-bottom: 32px;
}

.icon {
    display: inline-block;
    width: 36px;
    height: auto;
    margin-left: 12px;
    position: relative;
    padding: 0;
    transition: 0.1s opacity ease-in-out;
}

.icon:hover {
    opacity: 0.5;
}

a:first-child .icon {
    margin-left: 0;
}

@media screen and (max-width: 1000px) {
    header h3 {
        display: none;
    }
}

@media screen and (max-width: 440px) {
    header h1 {
        max-width: 120px;
    }
}

@media screen and (max-width: 800px) {
    img {
        padding: 8px;
    }
    main > div {
        padding: 0 8px 8px 8px
    }
    .video iframe,
    .video object,
    .video embed {
        padding: 8px;
    }
    main {
        padding-top: 120px;
    }
    header h1 {
        font-size: 24px;
    }
    nav li {
        font-size: 16px;
        padding: 4px 8px;
    }
    header nav {
        padding: 2px 12px 2px 0;
    }
    header .title {
        padding: 12px 0 12px 12px;
    }
    header #ticker {
        padding: 16px 50% 12px 16px;
    }
    header.small #ticker {
        padding: 12px 50% 12px 12px;
    }
    header #ticker > span {
        font-size: 20px;
        padding: 0 12px;
    }
    header #ticker > span > div {
        font-size: 12px;
        padding-left: 0;
    }
}
