/* chris adding reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* start of the real stuff */

html, body {
  -webkit-text-size-adjust: none; }

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #b3b3b3;
  font-family: 'Andale$MonoW01-Regular', sans-serif;
  box-sizing: border-box; }

.main {
  width: 100%;
  height: 100vh;
  box-sizing: content-box;
}

a {
  color: #fff;
  text-decoration: none; }

a:hover {
  text-decoration: underline; }

.footnotes {
  text-align: center;
  padding: 60px 20px 20px 20px;
  margin-bottom: 50px;
  width: 100%;
  height: 250px;
letter-spacing: .4px;
	font-family: 'Futura W01 Medium', sans-serif;
  position: relative;
  box-sizing: border-box;

}

.footnotes p, a {
  font-size: 24px;
  line-height: 24px;
  margin: 13px 0 0 0;
  //letter-spacing: 1.25px;
}

.footnotes p {
  color: grey;
}

.footnotes a {
  color: white;
}

.footnotes a:hover {
  text-decoration: none;
  color: grey;
}

.footnotes p.highlight {
  position: relative;
}

.footnotes p sup {
  font-size: 50%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.7em;
}



.sitenav {
  display: block;
  font-family: 'Futura W01 Medium', sans-serif;
  letter-spacing: 2px;
  font-size: 18px;
  padding: 45px 0 0 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
  height: 200px;
  box-sizing: border-box; }
  .sitenav ul {
    display: inline-block;
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 895px;
    box-sizing: border-box;
    height: 128px; }
    .sitenav ul li {
      float: left;
      line-height: 128px;
      width: 20%;
      text-align: center;
      box-sizing: border-box;
      overflow: visible;
      box-sizing: border-box; }
      .sitenav ul li a:hover {
        text-decoration: none;
        border-bottom: 2px solid white; }
  .sitenav .darkigloo-logo {
    width: 128px;}

.logo { transform: scale(1.2); }
.logo a { line-height: 128px;}
@media only screen and (max-width: 480px) {
  .sitenav {
    font-size: 12px;
    padding: 24px 0 0 0;
    height: 160px; }
    .sitenav ul {
      height: 64px; }
    .sitenav li {
      line-height: 64px; }
    .sitenav .darkigloo-logo {
      width: 64px;
      margin: 36px 0 0 0; }

  /* Layout: Logo centered above, text links below.
  .sitenav {
    height: auto;
    padding: 0;

    ul {
      height: auto;
      width: 100%;

      li.text-link {
        line-height: 48px;
        margin-top: $navheight;
        margin-bottom: 24px;
        width: 25%;
        min-width: 25%;
      }

      li.logo {
        padding: 24px 0 0 0;
        position: absolute;
        width: 100%;
        left: 0;
        top: 0;
        height: $navheight * 0.9;
      }
    }

    .darkigloo-logo {
      width: $navheight * 0.9;
    }
  }
  */
}

.video{position:relative;width:100%;height:1000px;text-align:center}
.video .screens{position:absolute;left:0;top:0;width:100%;display:none}
.video .screen{position:absolute;left:0;top:0;width:100%;text-align:center}
.video .screen video{margin:0 auto}
.controls-container{position:absolute;left:0;top:0;width:100%;text-align:center}
.controls-container .controls{text-align:left;position:relative;margin:0 auto;height:60px;background-color:#000;background-color:rgba(0,0,0,.5);opacity:0;transition:opacity .3s}
.controls-container .controls button{border:0;background:transparent;outline:0;color:#fff;cursor:pointer;margin:12px 0 0 0}
.controls-container .controls button i.material-icons{font-size:36px}
.controls-container .controls button.launch{float:right}


.mobileOnly {
  display: none;
}

@media only screen and (max-width: 480px) {

  .mobileOnly {
    display: block;
  }

  .desktopOnly {
    display: none;
  }

  .sitenav {
    width: 100vw;
    padding: 45px 7%;
    margin: 0px auto;
    position: absolute;
    z-index: 420!important;
    transition: all .33s ease-in-out;
    overflow: visible;
  }

  .main {
    padding-top: 200px!important;
  }

  h1 {
    font-size: 24px;
    text-align: left;
    display: inline-block;
    float: left;
    z-index: 420;
    position: relative;
  }

  .burger {
    width: 20px;
    height: auto;
    float: right;
    display: inline-block;
    margin-top: -3px;
    cursor: pointer;
    transition: all .33s ease-in-out;
    position: relative;
    z-index: 90002;
  }

  .burger div {
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background: white;
    transition: all .33s ease-in-out;
  }

  .sitenav.open h1, .sitenav.open {
    z-index: 90001!important;
  }

  .sitenav.open .burger {
    transform: rotate(180deg) scale(1.2);
  }

  .sitenav.open .burger div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .sitenav.open .burger div:nth-child(2) {
    opacity: 0;
  }

  .sitenav.open .burger div:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .sitenav .menu {
    padding-top: 100px;
    padding: 15vh 0 0 7%;
    margin-left: -1px;
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 1px);
    overflow-x: hidden;
    background: rgba(0,0,0,0.9);
    transition: .33s ease-in-out;
    z-index: 90000;
    box-sizing: border-box;
  }

  .sitenav.closed .menu {
    opacity: 0;
    visibility: hidden;
  }

  .sitenav.open .menu{
    opacity: 1;
    visibility: visible;
  }

  .menu {
    text-align: left;
  }

  .menu h2 {
    font-size: 48px;
    margin-bottom: 28px;
    color: white;
  }

  .menu li, .menu li a {
    font-size: 16px;
    color: #808080;
    letter-spacing: 1px;
  }

  .menu ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    text-align: left;
    height: auto;
    margin:  -10px 0 20px 30px;
    width: 100%!important;
    overflow: visible;
  }

  .menu li {
    width: 100%!important;
    display: inline-block;
    line-height: normal!important;
    text-align: left!important;
    margin: 15px 0;
    white-space: nowrap;
  }

  .menu li:nth-child(n+5) {
    margin-left: -40px;
  }

  .menu li:nth-child(-n+5) {
    width: calc(100% - 40px)!important;
  }

  .menu li a {
    white-space: nowrap;
    overflow: visible;
  }

  .menu li a.active {
    color: white;
    position: relative;
  }

  .menu li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: -3px;
    border-bottom: solid 1px white;
    left: 0;
  }

}



/* FUCK THAT */

#fuckThat {
  position: absolute;
  width: 300px;
  height: 300px;
  top: 0;
  left: calc(50% - 150px);
  z-index: 420;
}

#fuckThat::before {
  content: '';
  width: 250px;
  height: 160px;
  background: url('darkigloo_script.png') no-repeat;
  background-size: contain;
  position: absolute;
  top: 16px;
  left: calc(50% - 125px);
}

#fuckThat::after {
  content: '';
  width: 220px;
  height: 400px;
  background: url('bear.png') no-repeat;
  background-size: contain;
  top: -60px;
  left: calc(50% - 110px);
  position: absolute;
  transform-origin: top center;
  animation: swing 2s ease-in-out infinite alternate;
}

#fuckThat:hover {
  transform-origin: top center;
  animation: bounce 2s cubic-bezier(0.280, 0.840, 0.420, 1) 1 forwards;
}
#fuckThat:hover::before {
  animation: antibounce 2s cubic-bezier(0.280, 0.840, 0.420, 1) 1 forwards;
}

@keyframes swing {
  0% {
    transform: rotate(-1deg);
  }
  100% {
    transform: rotate(2deg);
  }
}

@keyframes bounce {
      0%   { transform: scale(1,1)      translateY(0); }
      10%  { transform: scale(1,.97)   translateY(0); }
      30%  { transform: scale(1,1.03)   translateY(15px); }
      50%  { transform: scale(1,1) translateY(0); }
      57%  { transform: scale(1,1)      translateY(0px); }
      64%  { transform: scale(1,1)      translateY(0); }
      100% { transform: scale(1,1)      translateY(0); }
}

@keyframes antibounce {
      0%   { transform: scale(1,1)      translateY(0); }
      10%  { transform: scale(1,1.030927835)   translateY(0); }
      30%  { transform: scale(1,0.970873786)   translateY(-15px); }
      50%  { transform: scale(1,1)      translateY(0); }
      57%  { transform: scale(1,1)      translateY(0px); }
      64%  { transform: scale(1,1)      translateY(0); }
      100% { transform: scale(1,1)      translateY(0); }
}

@media only screen and (max-width: 480px) {
  #fuckThat {
    width: 80%;
    left: 0;
    z-index: 666;
  }
  #fuckThat::before {
    width: 180px;
    height: 160px;
    top: 7px;
    left: 0;
  }
  #fuckThat::after {
    width: 160px;
    top: -40px;
    left: calc(60% - 80px);
  }

  .footnotes {
    padding: 60px 20px;
    margin-bottom: 0px;
    height: auto;
  }

  .footnotes p a, .footnotes p {
    font-size: 15px;
    margin: 0;
  }

  p.highlight {
    margin: 0px auto 20px auto;
  }
  p.highlight a {
    font-size: 32px;
    display: block;
    line-height: 34px;

  }
}
