/*

*/


/* ====== Begin Boilerplate CSS ====== */

html {
    margin: 0;
    padding: 0;
    height: 100%;
    box-sizing: border-box;
    background-color: #000; /* Color you see during overscroll */
    font-size: 62.5%; /* makes rem = px size */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Apercu', sans-serif;
    min-height: 100%;
    /*height: 100%;*/
    color: #bbb;
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
}

*, *:before, *:after {
    box-sizing: border-box;
}

p, li, span { margin: 0; line-height: 1.65; }

a { outline: 0; text-decoration: none; }

a:link { text-decoration: none; color: #bbb; }
a:visited { text-decoration: none; color: #bbb; }
a:focus { outline: 1px dotted #444; }
a:hover { text-decoration: none; color: #bbb; }
a:active { text-decoration: none; color: #bbb; }

ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-weight: normal;
}

html > * { font-size: 1.3rem; }

.serif { font-family: serif; }
.sans-serif { font-family: sans-serif; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.vh {
    height: 100vh;
}

/*.abs-fill-wrapper {*/
/*position: relative;*/
/*display: block;*/
/*height: 100%;*/
/*}*/

/*@media all and (min-width: 414px) {*/

.abs-fill-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
}

/*}*/

.table-table {
    position: relative;
    display: table;
    height: 100%;
    width: 100%;
}

.table-cell {
    position: relative;
    display: table-cell;
    height: 100%;
    width: 100%;
    vertical-align: middle;
}

.aspect-wrapper {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.aspect-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.aspect-16-9 {
    position: relative;
    display: block;
    padding-top: 56.25%;
}

.aspect-3-2 {
    position: relative;
    display: block;
    padding-top: 66.666%;
}

.aspect-4-3 {
    position: relative;
    display: block;
    padding-top: 75%;
}

.aspect-6-5 {
    position: relative;
    display: block;
    padding-top: 83.333%;
}

.aspect-1-1 {
    position: relative;
    display: block;
    padding-top: 100%;
}

.page-curtain {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: opacity 3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

body.loaded .page-curtain {
    pointer-events: none;
    opacity: 0;
}



/* Animated Menu Hamburger */

#menu-toggle {
    position: fixed;
    top: 20px;
    right: 24px;
    width: 29px;
    height: 29px;
    cursor: pointer;
}

#menu-toggle * {
    transition: width .25s ease-in-out, height .25s ease-in-out;
    box-sizing: border-box;
}

#menu-toggle span {
    display: block;
    background-color: #53575a;
}

#menu-toggle #hamburger {
    position: absolute;
    height: 100%;
    width: 100%;
}

#menu-toggle #hamburger span {
    width: 29px;
    height: 1px;
    position: relative;
}

#menu-toggle #hamburger span:nth-child(1) {
    transition-delay: 0.5s;
    margin: 5px 0 8px;
}

#menu-toggle #hamburger span:nth-child(2) {
    transition-delay: 0.625s;
    margin: 0;
}

#menu-toggle #hamburger span:nth-child(3) {
    transition-delay: 0.75s;
    margin: 8px 0 5px;
}

#menu-toggle #cross {
    position: absolute;
    height: 100%;
    width: 100%;
    -ms-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

#menu-toggle #cross span {
    background-color: #53575a;
}

#menu-toggle #cross span:nth-child(1) {
    height: 0%;
    width: 1px;
    position: absolute;
    top: 0;
    left: 14px;
    transition-delay: 0s;
}

#menu-toggle #cross span:nth-child(2) {
    width: 0%;
    height: 1px;
    position: absolute;
    left: 0;
    top: 14px;
    transition-delay: 0.25s;
}

#menu-toggle.open #hamburger span {
    width: 0%;
}

#menu-toggle.open #hamburger span:nth-child(1) {
    transition-delay: 0s;
}

#menu-toggle.open #hamburger span:nth-child(2) {
    transition-delay: 0.125s;
}

#menu-toggle.open #hamburger span:nth-child(3) {
    transition-delay: 0.25s;
}

#menu-toggle.open #cross span:nth-child(1) {
    height: 100%;
    transition-delay: 0.625s;
}

#menu-toggle.open #cross span:nth-child(2) {
    width: 100%;
    transition-delay: 0.375s;
}



/* ====== Slick Slider overrides ====== */

.slick-list,
.slick-track,
.slick-slide,
.slick-slide > div,
.slick-slide > div > div,
.slick-slide > div > div > img {
    height: 100%;
}

.slick-slide > div,
.slick-slide > div > div > img {
    width: 100%;
}

/* For when setting the gallery to a specific aspect-ratio */
.aspect-content .slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* For when swapping lazy-loaded img src as background-image */
.slick-list .slide img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}



/* ====== Waypoint Animations ====== */

.fade-in-up {
    opacity: 0;
    will-change: transform;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease;
}
.fade-in-up.activate,
.activate .fade-in-up {
    opacity: 1;
    will-change: transform;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}



/* ====== Begin Custom CSS ====== */


.vh-landing {
    position: relative;
    display: block;
    height: 100%;
    height: 100vh;
    width: 100%;
    margin: 0 auto;
    text-align: center;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.8),
            rgba(0, 0, 0, 0.8)),
        url(../img/jm-bg.jpg) no-repeat 45% 50% / cover;
}

.whackd-landing span {
    position: relative;
    display: block;
}

.whackd-tx-title {
}

.whackd-number {
    font-size: 3.6rem;
    line-height: 1.25;
}

.whackd-landing span:nth-child(2) {
    margin-bottom: 16px;
}

.whackd-landing-content {
    position: relative;
    display: block;
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;

    transition: opacity 1.5s ease-in-out 3s;
}

body.loaded .whackd-landing-content {
    opacity: 1;
    pointer-events: auto;
}

