/* --------------------------------

Primary style

-------------------------------- */

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

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: "Open Sans", sans-serif;
    color: #040404;
    background-color: #ffffff;
}

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

a:hover {
    text-decoration: underline;
}

#fade {
    position: absolute;
    bottom: 2%;
    left: 0;
}

ul {
    color: #fff;
    width: 100%;
    height: 40px;
    text-align: center;
}

ul li {
    list-style: none;
    font-family: arial;
    font-size: 3.125vw;
    line-height: 0.85;
    width: 100%;
    height: auto;
    text-align: center;
}


/* --------------------------------

General Style

-------------------------------- */

.intro {
    position: relative;
    height: 100vh;
    width: 100%;
    /* vertically align its content */
    display: table;
    background: #ffffff;
    overflow: hidden;
}

.intro-content {
    /* vertically align inside its parent */
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    padding: 0 5%;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.intro-content h1 {
    font-size: 2.4rem;
    color: #ffffff;
}

.intro-content p {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 1em 0;
    color: #6d7a97;
}

.intro-content .action-wrapper {
    display: inline-block;
}

.intro-content .action-wrapper::after {
    clear: both;
    content: "";
    display: table;
}

.intro-content .action-wrapper>* {
    float: left;
}

.number.one {
    font-family: "Courier", sans-serif;
    text-indent: 0;
    text-align: center;
    display: inline-block;
    width: auto;
    height: auto;
    font-size: 11px;
    line-height: 1;
    margin-left: 2px;
    color: white;
    vertical-align: top;
}

.contact-container {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10002;
    width: 100%;
    height: 100%;
    background: white;
    display: none;
}

.contact-container ul {
    width: auto;
    height: auto;
    position: absolute;
    top: 60px;
    left: 60px;
    z-index: 1000000;
}

.contact-container ul li {
    color: black;
    display: block;
    width: auto;
    text-align: left;
    font-size: 3.125vw;
    line-height: 1.125;
    font-weight: normal;
    font-family: Times, serif;
}

.contact-container ul li a {
    color: black;
}

#method1 b {
    display: none;
}

.number.one sup {
    /*
     color: white;
    font-size: 40px;
    line-height: 1.35;
    position: relative;
    top: 0;
    display: block;
    border: 2px solid;
    border-radius: 50%;
    width: 60px;
    height: 60px;
*/
    color: white;
    font-size: 16px;
    line-height: 1.45;
    position: relative;
    top: 0;
    display: block;
    border: 1px solid;
    border-radius: 50%;
    width: auto;
    height: auto;
    padding: 1px 8px;
}

.number.one:focus sup {
    color: blue !important;
}

.one {
    position: absolute;
    top: 6%;
    left: 4%;
}

.story-container {
    width: 60%;
    height: auto;
    padding: 5%;
    background: white;
    display: none;
    position: absolute;
    top: 10%;
    left: 50%;
    z-index: 1000;
    margin-left: -25%;
    -webkit-box-shadow: 3px 1px 20px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 3px 1px 20px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 3px 1px 20px 0px rgba(0, 0, 0, 0.2);
}

.story-container p {
    margin-bottom: 10px;
    line-height: 1.25;
    position: relative;
    z-index: 100;
}

.story-container p:last-child {
    margin-bottom: 50px;
}

.odradek {
    position: absolute;
    bottom: 2%;
    left: 50%;
    z-index: 10;
    width: 6%;
}

span.eye {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: white;
    position: absolute;
    top: 2%;
    left: 2%;
    z-index: 10003 !important;
    border-radius: 65% 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    border: 1px solid;
}

span.eye:before, span.eye:after {
    content: "";
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    border-radius: 100%;
}

span.eye:before {
  height: 12px;
  width: 12px;
  background: white;
  margin-top: -6px;
  margin-left: -6px;
  border: 1px solid;
}

span.eye:after {
  height: 0.4em;
  width: 0.4em;
  background: #000;
  margin-top: -0.15em;
  margin-left: -0.175em;
}

span.eye.see {
    border-radius: 52% 0;
}

span.eye.see:before, span.eye.see:after {
    content: "";
    position: absolute;
    display: block;
    top: 52%;
    left: 52%;
    border-radius: 100%;
}

span.eye.see:before {
    margin-top: -5px;
    margin-left: -4px;
}

span.eye.see:after {
    height: 0.4em;
    width: 0.4em;
    background: #000;
    margin-top: -0.11125em;
    margin-left: .011125em;
}

.checker {
    position: relative;
    width: 100%;
    height: 1000px;
    background-image: -moz-linear-gradient(45deg, #ccc 25%, transparent 25%), -moz-linear-gradient(-45deg, #ccc 25%, transparent 25%), -moz-linear-gradient(45deg, transparent 75%, blue 75%), -moz-linear-gradient(-45deg, transparent 75%, blue 75%);
    background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, #ccc), color-stop(.25, transparent)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, #ccc), color-stop(.25, transparent)), -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, #ccc)), -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, #ccc));
    -moz-background-size: 100px 100px;
    background-size: 100px 100px;
    -webkit-background-size: 100px 101px;
    /* override value for shitty webkit */
    background-position: 0 0, 50px 0, 50px -50px, 0px 50px;
    display: none;
}

.check {
    font-size: 400px;
    position: absolute;
    top: 40%;
    left: 42%;
    color: white;
    text-shadow: 3px 1px 20px rgba(0, 0, 0, 0.2);
}

.active {
    display: block;
}

.fake-browser-ui {
    padding: 20px 0 0;
    border-radius: 3px;
    border-bottom: 2px solid #ccc;
    background: #ddd;
    display: inline-block;
    position: relative;
    line-height: 0;
}

.fake-browser-ui .frame {
    display: block;
    height: 15px;
    position: absolute;
    top: 5px;
    left: 1px;
}

.fake-browser-ui span {
    height: 8px;
    width: 8px;
    border-radius: 8px;
    background-color: #eee;
    border: 1px solid #dadada;
    float: left;
    margin: 0 0 0 4px;
}

.text {
    width: 60%;
    height: 40%;
}


/*
.front-page-block {
    float: left;
    min-height: 50vh;
    width: 50%;
    padding: 100px;
}

.front-page-block:nth-child(1) {
    border-bottom: 3px solid #000;
}

.front-page-block:nth-child(2) {
    border-bottom: 3px solid #000;
}

.front-page-block:nth-child(2n) {
    border-left: 3px solid #000;
}
*/

.tobey-grid {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    text-align: left;
    font-size: 3.125vw;
    line-height: 1.125;
    font-weight: normal;
    font-family: Times, serif;
    padding-top: 60px;
    padding-right: 60px;
}

.tobey-type {
    width: 100%;
    height: inherit;
    position: relative;
    display: inline;
    z-index: 1000000;
}

.typing {
    display: inline;
    padding-right: 10px;
}

.tobey-grid-parent {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.tobey-grid img {
    position: absolute;
    width: 8%;
    height: auto;
}

.tobey-grid img:nth-child(1) {
    top: 2%;
    left: 0;
}

.tobey-grid img:nth-child(2) {
    top: 2%;
    left: 12%;
}

.tobey-grid img:nth-child(3) {
    top: 2%;
    left: 24%;
}

.tobey-grid img:nth-child(4) {
    top: 2%;
    left: 36%;
}

.tobey-grid img:nth-child(5) {
    top: 2%;
    left: 48%;
}

.tobey-grid img:nth-child(6) {
    top: 2%;
    left: 60%;
}

.tobey-grid img:nth-child(7) {
    top: 2%;
    left: 72%;
}

.tobey-grid img:nth-child(8) {
    top: 2%;
    left: 84%;
}

.tobey-grid img:nth-child(9) {
    top: 16%;
    left: 0;
}

.tobey-grid img:nth-child(10) {
    top: 16%;
    left: 12%;
}

.tobey-grid img:nth-child(11) {
    top: 16%;
    left: 24%;
}

.tobey-grid img:nth-child(12) {
    top: 16%;
    left: 36%;
}

.tobey-grid img:nth-child(13) {
    top: 16%;
    left: 48%;
}

.tobey-grid img:nth-child(14) {
    top: 16%;
    left: 60%;
}

.tobey-grid img:nth-child(15) {
    top: 16%;
    left: 72%;
}

.tobey-grid img:nth-child(16) {
    top: 16%;
    left: 84%;
}

.updated {
  position: absolute;
  bottom: 60px;
  left: 60px;
  z-index: 1000000;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.rando-image-close {
  display: none;
}

.rando-image-close.active {
  display: block;
}

.rando-container.active {
  display: block;
}

.rando-image {
  color: #1238F8;
  text-decoration: underline;

}

.rando-image {
  position: absolute;
  bottom: 30px;
  left:60px;
  z-index: 1000000;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.rando-image-close {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000000;
  font-size: 1.5rem;
  font-family: sans-serif;
}

.rando-container {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 100000;
	width: 100%;
	height: 100%;
	display: none;
  background: white;
}

.rando-container.active {
	display: block;
}

.rando {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1001;
	width: auto;
	height: auto;
}

.caption-wrap {
	position: fixed;
  bottom: 0;
  left: 60px;
  width: 100%;
  height: 44px;
	z-index: 1001;
	font-size: 1.5rem;
  font-family: sans-serif;
}

.caption {
  position: absolute;
  top: 0;
  left: 20%;
  max-width: 70%;
	z-index: 1001;
	font-size: 1.5rem;
  font-family: sans-serif;
}

@media only screen and (min-width: 768px) {
    .intro-content h1 {
        font-size: 5.2rem;
        font-weight: 300;
    }
    .intro-content p {
        font-size: 1.6rem;
        margin: 1.5em 0 1.9em;
    }
}

.cd-btn {
    display: inline-block;
    padding: 1.2em 1.4em;
    font-size: 1.3rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    background-color: #202e4a;
    border-radius: .25em;
    margin-right: 1.5em;
}

.cd-btn:nth-of-type(2) {
    margin-right: 0;
}

.cd-btn.main-action {
    background-color: #fb5e58;
}

@media only screen and (min-width: 480px) {
    .cd-btn {
        padding: 1.2em 1.6em;
    }
}

@media only screen and (min-width: 768px) {
    .cd-btn {
        padding: 1.4em 1.8em;
    }
}

.intro-content h1, .intro-content h1 span, .intro-content p, .intro-content .cd-btn {
    opacity: 0;
    -webkit-animation-duration: 0.8s;
    -moz-animation-duration: 0.8s;
    animation-duration: 0.8s;
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    animation-delay: 0.3s;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.no-cssanimations .intro-content h1, .no-cssanimations .intro-content h1 span, .no-cssanimations .intro-content p, .no-cssanimations .intro-content .cd-btn {
    opacity: 1;
}


/* --------------------------------

Bouncy

-------------------------------- */

.bouncy.intro-content h1 {
    -webkit-animation-name: cd-bounce-right;
    -moz-animation-name: cd-bounce-right;
    animation-name: cd-bounce-right;
}

.bouncy.intro-content p {
    -webkit-animation-name: cd-bounce-left;
    -moz-animation-name: cd-bounce-left;
    animation-name: cd-bounce-left;
}

.bouncy.intro-content h1, .bouncy.intro-content p {
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.bouncy.intro-content .cd-btn {
    -webkit-animation-name: cd-bounce-rotate;
    -moz-animation-name: cd-bounce-rotate;
    animation-name: cd-bounce-rotate;
}

.bouncy.intro-content .cd-btn {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    animation-duration: 0.5s;
}

.bouncy.intro-content .cd-btn.main-action {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

@-webkit-keyframes cd-bounce-right {
    0% {
        opacity: .2;
        -webkit-transform: translateX(-200px);
    }
    60% {
        opacity: .7;
        -webkit-transform: translateX(15px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-bounce-right {
    0% {
        opacity: .2;
        -moz-transform: translateX(-200px);
    }
    60% {
        opacity: .7;
        -moz-transform: translateX(15px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes cd-bounce-right {
    0% {
        opacity: .2;
        -webkit-transform: translateX(-200px);
        -moz-transform: translateX(-200px);
        -ms-transform: translateX(-200px);
        -o-transform: translateX(-200px);
        transform: translateX(-200px);
    }
    60% {
        opacity: .7;
        -webkit-transform: translateX(15px);
        -moz-transform: translateX(15px);
        -ms-transform: translateX(15px);
        -o-transform: translateX(15px);
        transform: translateX(15px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes cd-bounce-left {
    0% {
        opacity: .2;
        -webkit-transform: translateX(200px);
    }
    60% {
        opacity: .7;
        -webkit-transform: translateX(-15px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-bounce-left {
    0% {
        opacity: .2;
        -moz-transform: translateX(200px);
    }
    60% {
        opacity: .7;
        -moz-transform: translateX(-15px);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes cd-bounce-left {
    0% {
        opacity: .2;
        -webkit-transform: translateX(200px);
        -moz-transform: translateX(200px);
        -ms-transform: translateX(200px);
        -o-transform: translateX(200px);
        transform: translateX(200px);
    }
    60% {
        opacity: .7;
        -webkit-transform: translateX(-15px);
        -moz-transform: translateX(-15px);
        -ms-transform: translateX(-15px);
        -o-transform: translateX(-15px);
        transform: translateX(-15px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes cd-bounce-rotate {
    0% {
        opacity: .2;
        -webkit-transform: perspective(800px) rotateX(-80deg);
    }
    20% {
        opacity: 1;
    }
    60% {
        -webkit-transform: perspective(800px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: perspective(800px) rotateX(0);
    }
}

@-moz-keyframes cd-bounce-rotate {
    0% {
        opacity: .2;
        -moz-transform: perspective(800px) rotateX(-80deg);
    }
    20% {
        opacity: 1;
    }
    60% {
        -moz-transform: perspective(800px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        -moz-transform: perspective(800px) rotateX(0);
    }
}

@keyframes cd-bounce-rotate {
    0% {
        opacity: .2;
        -webkit-transform: perspective(800px) rotateX(-80deg);
        -moz-transform: perspective(800px) rotateX(-80deg);
        -ms-transform: perspective(800px) rotateX(-80deg);
        -o-transform: perspective(800px) rotateX(-80deg);
        transform: perspective(800px) rotateX(-80deg);
    }
    20% {
        opacity: 1;
    }
    60% {
        -webkit-transform: perspective(800px) rotateX(20deg);
        -moz-transform: perspective(800px) rotateX(20deg);
        -ms-transform: perspective(800px) rotateX(20deg);
        -o-transform: perspective(800px) rotateX(20deg);
        transform: perspective(800px) rotateX(20deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: perspective(800px) rotateX(0);
        -moz-transform: perspective(800px) rotateX(0);
        -ms-transform: perspective(800px) rotateX(0);
        -o-transform: perspective(800px) rotateX(0);
        transform: perspective(800px) rotateX(0);
    }
}


/* --------------------------------

Cut

-------------------------------- */

.cut.intro-content h1 {
    position: relative;
    /* overwrite default style */
    opacity: 1;
    font-weight: 700;
    color: transparent;
}

.cut.intro-content h1 span {
    /* 2 span elements are used to create the cut effect */
    display: block;
    position: absolute;
    width: 100%;
    height: 50%;
    left: 0;
    overflow: hidden;
    color: #ffffff;
}

.cut.intro-content h1 span:first-of-type {
    top: 0;
}

.cut.intro-content h1 span:last-of-type {
    bottom: 0;
}

.cut.intro-content h1 span:first-of-type::before, .cut.intro-content h1 span:last-of-type::after {
    /* span:first-of-type::before - top half of the text */
    /* span:last-of-type::after - bottom half of the text */
    content: attr(data-content);
    position: absolute;
    width: 100%;
    left: 0;
    color: #ffffff;
}

.cut.intro-content h1 span:first-of-type::before {
    top: 0;
}

.cut.intro-content h1 span:last-of-type::after {
    bottom: 0;
}

.cut.intro-content .cd-btn {
    /* overwrite default style */
    margin-right: 0;
    border-radius: 0;
}

.cut.intro-content h1 span, .cut.intro-content p, .cut.intro-content .cd-btn {
    -webkit-animation-duration: 0.6s;
    -moz-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.cut.intro-content h1 span, .cut.intro-content p {
    -webkit-animation-name: cd-slide-left;
    -moz-animation-name: cd-slide-left;
    animation-name: cd-slide-left;
}

.cut.intro-content h1 span:first-of-type {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.cut.intro-content p {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.cut.intro-content .cd-btn {
    -webkit-animation-name: cd-slide-left-btn;
    -moz-animation-name: cd-slide-left-btn;
    animation-name: cd-slide-left-btn;
    -webkit-animation-delay: 0.55s;
    -moz-animation-delay: 0.55s;
    animation-delay: 0.55s;
}

@-webkit-keyframes cd-slide-left {
    0% {
        opacity: 1;
        -webkit-transform: translateX(100vw);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-slide-left {
    0% {
        opacity: 1;
        -moz-transform: translateX(100vw);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes cd-slide-left {
    0% {
        opacity: 1;
        -webkit-transform: translateX(100vw);
        -moz-transform: translateX(100vw);
        -ms-transform: translateX(100vw);
        -o-transform: translateX(100vw);
        transform: translateX(100vw);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes cd-slide-left-btn {
    0% {
        opacity: 1;
        -webkit-transform: translateX(150vw);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-slide-left-btn {
    0% {
        opacity: 1;
        -moz-transform: translateX(150vw);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0);
    }
}

@keyframes cd-slide-left-btn {
    0% {
        opacity: 1;
        -webkit-transform: translateX(150vw);
        -moz-transform: translateX(150vw);
        -ms-transform: translateX(150vw);
        -o-transform: translateX(150vw);
        transform: translateX(150vw);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}


/* --------------------------------

Reveal

-------------------------------- */

.reveal.intro-content h1 {
    position: relative;
    /* overwrite default style */
    opacity: 1;
    font-weight: 700;
    /* <h1> text is not visible - it is used only as a container for the ::after element */
    color: transparent;
    overflow: hidden;
}

.reveal.intro-content h1::after {
    /* this is the animated text */
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: #ffffff;
    opacity: 0;
    -webkit-animation-name: cd-reveal-up;
    -moz-animation-name: cd-reveal-up;
    animation-name: cd-reveal-up;
    -webkit-animation-fill-mode: forwards;
    -moz-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.no-cssanimations .reveal.intro-content h1::after {
    opacity: 1;
}

@media only screen and (min-width: 768px) {
    .reveal.intro-content h1 {
        -webkit-transform: translateY(5px);
        -moz-transform: translateY(5px);
        -ms-transform: translateY(5px);
        -o-transform: translateY(5px);
        transform: translateY(5px);
    }
}

.reveal.intro-content p {
    position: relative;
    margin: 0;
    padding: 1em;
    background-color: #202e4a;
    -webkit-animation-name: cd-reveal-down;
    -moz-animation-name: cd-reveal-down;
    animation-name: cd-reveal-down;
}

@media only screen and (min-width: 1170px) {
    .reveal.intro-content p {
        padding: 1em 1.6em;
    }
}

.reveal.intro-content h1::after, .reveal.intro-content p {
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.reveal.intro-content .action-wrapper {
    position: relative;
    overflow: hidden;
}

.reveal.intro-content .action-wrapper::before {
    /* this is the loading bar */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background-color: #202e4a;
    -webkit-animation: cd-loading 0.4s 0.3s backwards;
    -moz-animation: cd-loading 0.4s 0.3s backwards;
    animation: cd-loading 0.4s 0.3s backwards;
}

.reveal.intro-content .action-wrapper .cd-btn {
    display: block;
    opacity: 1;
    max-width: 200px;
    margin: 1em auto 0;
}

@media only screen and (min-width: 768px) {
    .reveal.intro-content .action-wrapper .cd-btn {
        display: inline-block;
        margin: 0 0 0 1em;
    }
}

@-webkit-keyframes cd-reveal-up {
    0% {
        opacity: 1;
        -webkit-transform: translateY(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes cd-reveal-up {
    0% {
        opacity: 1;
        -moz-transform: translateY(100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@keyframes cd-reveal-up {
    0% {
        opacity: 1;
        -webkit-transform: translateY(100%);
        -moz-transform: translateY(100%);
        -ms-transform: translateY(100%);
        -o-transform: translateY(100%);
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes cd-reveal-down {
    0% {
        opacity: 1;
        -webkit-transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes cd-reveal-down {
    0% {
        opacity: 1;
        -moz-transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@keyframes cd-reveal-down {
    0% {
        opacity: 1;
        -webkit-transform: translateY(-100%);
        -moz-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        -o-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes cd-loading {
    0% {
        -webkit-transform: scaleX(0);
    }
    100% {
        -webkit-transform: scaleX(1);
    }
}

@-moz-keyframes cd-loading {
    0% {
        -moz-transform: scaleX(0);
    }
    100% {
        -moz-transform: scaleX(1);
    }
}

@keyframes cd-loading {
    0% {
        -webkit-transform: scaleX(0);
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        transform: scaleX(0);
    }
    100% {
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        transform: scaleX(1);
    }
}


/* --------------------------------

Mask

-------------------------------- */

.mask.intro-content h1 {
    position: relative;
    padding-bottom: 10px;
    /* overwrite default style */
    opacity: 1;
    font-weight: 700;
    /* <h1> text is not visible - it is used only as a container for the ::after element */
    color: transparent;
    overflow: hidden;
}

.mask.intro-content h1::after {
    /* this is the animated text */
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    color: #ffffff;
    -webkit-animation-name: cd-reveal-up;
    -moz-animation-name: cd-reveal-up;
    animation-name: cd-reveal-up;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}

.mask.intro-content h1 span {
    position: relative;
    display: inline-block;
    opacity: 1;
}

.mask.intro-content h1 span::before {
    /* this is the loading bar */
    content: '';
    position: absolute;
    top: calc(100% + 8px);
    left: -1em;
    height: 2px;
    width: calc(100% + 2em);
    background-color: #ffffff;
    -webkit-animation: cd-loading-mask 1s 0.3s both;
    -moz-animation: cd-loading-mask 1s 0.3s both;
    animation: cd-loading-mask 1s 0.3s both;
}

@media only screen and (min-width: 768px) {
    .mask.intro-content h1 {
        padding-bottom: 20px;
    }
    .mask.intro-content h1 span::before {
        top: calc(100% + 18px);
    }
}

.mask.intro-content p {
    position: relative;
    margin: 0;
    padding: 10px 0 0;
    -webkit-animation-name: cd-reveal-down;
    -moz-animation-name: cd-reveal-down;
    animation-name: cd-reveal-down;
}

@media only screen and (min-width: 768px) {
    .mask.intro-content p {
        padding-top: 20px;
    }
}

.mask.intro-content h1::after, .mask.intro-content p {
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.mask.intro-content .action-wrapper {
    overflow: hidden;
}

.mask.intro-content .action-wrapper .cd-btn {
    opacity: 1;
    margin: 0 0 0 1.5em;
}

.mask.intro-content .action-wrapper .cd-btn:first-of-type {
    margin-left: 0;
}

@-webkit-keyframes cd-loading-mask {
    0%, 100% {
        -webkit-transform: scaleX(0);
    }
    40%, 60% {
        -webkit-transform: scaleX(1);
    }
}

@-moz-keyframes cd-loading-mask {
    0%, 100% {
        -moz-transform: scaleX(0);
    }
    40%, 60% {
        -moz-transform: scaleX(1);
    }
}

@keyframes cd-loading-mask {
    0%, 100% {
        -webkit-transform: scaleX(0);
        -moz-transform: scaleX(0);
        -ms-transform: scaleX(0);
        -o-transform: scaleX(0);
        transform: scaleX(0);
    }
    40%, 60% {
        -webkit-transform: scaleX(1);
        -moz-transform: scaleX(1);
        -ms-transform: scaleX(1);
        -o-transform: scaleX(1);
        transform: scaleX(1);
    }
}


/* --------------------------------

Mask 2

-------------------------------- */

.mask-2.intro-content * {
    /* overwrite default style */
    opacity: 1;
}

.mask-2.intro-content .content-wrapper {
    position: relative;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 2em 0;
    overflow: hidden;
}

.mask-2.intro-content .content-wrapper::before {
    /* vertical bar */
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    height: 100%;
    width: 2px;
    background-color: #ffffff;
    -webkit-animation: cd-pulse 1.3s 0.3s both;
    -moz-animation: cd-pulse 1.3s 0.3s both;
    animation: cd-pulse 1.3s 0.3s both;
}

.no-cssanimations .mask-2.intro-content .content-wrapper::before {
    opacity: 0;
}

.mask-2.intro-content .content-wrapper>div {
    /* wrap the entire content */
    position: relative;
    z-index: 1;
}

.mask-2.intro-content .content-wrapper, .mask-2.intro-content .content-wrapper>div {
    -webkit-animation-duration: 0.5s;
    -moz-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-delay: 1.1s;
    -moz-animation-delay: 1.1s;
    animation-delay: 1.1s;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}

.mask-2.intro-content .content-wrapper {
    -webkit-animation-name: cd-mask-wrapper;
    -moz-animation-name: cd-mask-wrapper;
    animation-name: cd-mask-wrapper;
}

.mask-2.intro-content .content-wrapper>div {
    -webkit-animation-name: cd-mask-content;
    -moz-animation-name: cd-mask-content;
    animation-name: cd-mask-content;
}

@-webkit-keyframes cd-mask-wrapper {
    0% {
        -webkit-transform: translateX(50%);
    }
    100% {
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-mask-wrapper {
    0% {
        -moz-transform: translateX(50%);
    }
    100% {
        -moz-transform: translateX(0);
    }
}

@keyframes cd-mask-wrapper {
    0% {
        -webkit-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -ms-transform: translateX(50%);
        -o-transform: translateX(50%);
        transform: translateX(50%);
    }
    100% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes cd-mask-content {
    0% {
        -webkit-transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(0);
    }
}

@-moz-keyframes cd-mask-content {
    0% {
        -moz-transform: translateX(-100%);
    }
    100% {
        -moz-transform: translateX(0);
    }
}

@keyframes cd-mask-content {
    0% {
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
    }
}

@-webkit-keyframes cd-pulse {
    0%, 30.8% {
        opacity: 0;
    }
    15.4%, 46.2%, 61.5%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@-moz-keyframes cd-pulse {
    0%, 30.8% {
        opacity: 0;
    }
    15.4%, 46.2%, 61.5%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes cd-pulse {
    0%, 30.8% {
        opacity: 0;
    }
    15.4%, 46.2%, 61.5%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* --------------------------------

scale

-------------------------------- */

.scale.intro-content * {
    /* overwrite default style */
    opacity: 1;
}

.scale.intro-content {
    /* overwrite default style */
    background-color: transparent;
    /* Force hardware acceleration */
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-animation: cd-scale-in 0.6s 0.3s both;
    -moz-animation: cd-scale-in 0.6s 0.3s both;
    animation: cd-scale-in 0.6s 0.3s both;
}

@-webkit-keyframes cd-scale-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes cd-scale-in {
    0% {
        opacity: 0;
        -moz-transform: scale(3);
    }
    100% {
        opacity: 1;
        -moz-transform: scale(1);
    }
}

@keyframes cd-scale-in {
    0% {
        opacity: 0;
        -webkit-transform: scale(3);
        -moz-transform: scale(3);
        -ms-transform: scale(3);
        -o-transform: scale(3);
        transform: scale(3);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
    }
}


/* --------------------------------

Parallax

-------------------------------- */

.parallax.intro-content * {
    /* overwrite default style */
    opacity: 1;
}

.parallax.intro-content h1 span, .parallax.intro-content p span {
    position: relative;
    display: inline-block;
    padding: .5em 1em;
    /* span text is not visible */
    color: transparent;
}

.parallax.intro-content h1 span::before, .parallax.intro-content h1 span::after, .parallax.intro-content p span::before, .parallax.intro-content p span::after {
    position: absolute;
    left: 0;
    width: 100%;
}

.parallax.intro-content h1 span::before, .parallax.intro-content p span::before {
    /* this is used to create the background colored layer */
    content: '';
    height: 100%;
    top: 0;
    background-color: #202e4a;
}

.parallax.intro-content h1 span::after, .parallax.intro-content p span::after {
    /* this is used to create the text */
    content: attr(data-content);
    top: .5em;
}

.parallax.intro-content h1 {
    font-size: 2.2rem;
}

.parallax.intro-content h1 span::after {
    color: #ffffff;
}

@media only screen and (min-width: 768px) {
    .parallax.intro-content h1 {
        font-size: 5.4rem;
    }
}

.parallax.intro-content p span::after {
    color: #6d7a97;
}

.parallax .cd-btn {
    color: #202e4a;
    background-color: #ffffff;
    margin-top: .6em;
    /* overwrite default style */
    border-radius: 0;
    margin-right: 0;
}

.parallax .cd-btn.main-action {
    background-color: #fb5e58;
    color: #ffffff;
    padding: 1.8em 2.2em;
    margin-top: 0;
}

@media only screen and (min-width: 768px) {
    .parallax .cd-btn.main-action {
        padding: 2em 3em;
    }
}

.parallax.intro-content h1 span::after, .parallax.intro-content h1 span::before, .parallax.intro-content p span::after, .parallax.intro-content p span::before, .parallax.intro-content .cd-btn {
    -webkit-animation-name: cd-slide-up;
    -moz-animation-name: cd-slide-up;
    animation-name: cd-slide-up;
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
}

.parallax.intro-content h1 span::after {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    animation-delay: 0.3s;
}

.parallax.intro-content h1 span::before {
    -webkit-animation-delay: 0.4s;
    -moz-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.parallax.intro-content p span::after {
    -webkit-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.parallax.intro-content p span::before {
    -webkit-animation-delay: 0.6s;
    -moz-animation-delay: 0.6s;
    animation-delay: 0.6s;
}

.parallax.intro-content .cd-btn {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}

.parallax.intro-content .cd-btn.main-action {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

@-webkit-keyframes cd-slide-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30vh);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@-moz-keyframes cd-slide-up {
    0% {
        opacity: 0;
        -moz-transform: translateY(30vh);
    }
    100% {
        opacity: 1;
        -moz-transform: translateY(0);
    }
}

@keyframes cd-slide-up {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30vh);
        -moz-transform: translateY(30vh);
        -ms-transform: translateY(30vh);
        -o-transform: translateY(30vh);
        transform: translateY(30vh);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}


/* --------------------------------

Video

-------------------------------- */

.intro.video {
    display: block;
}

.video.intro-content {
    display: block;
    height: 100%;
    position: relative;
}

.video.intro-content * {
    opacity: 1;
    position: absolute;
    z-index: 10001;
}

.video.intro-content .svg-wrapper {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.video.intro-content svg {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: 0.8;
}

.video.intro-content svg.svg-mask {
    /* this is the svg mask used on desktop version */
    display: none;
}

.video.intro-content p, .video.intro-content .action-wrapper {
    position: absolute;
    z-index: 3;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.video.intro-content p {
    bottom: calc(50% + 80px);
    margin: 0;
    color: #040404;
    min-width: 90%;
}

.video.intro-content .action-wrapper {
    top: calc(50% + 120px);
    min-width: 295px;
}

.video.intro-content .cd-btn {
    background-color: rgba(4, 4, 4, 0.4);
}

.video.intro-content .cd-btn.main-action {
    background-color: #fb5e58;
}

@media only screen and (min-width: 768px) {
    .video.intro-content svg.svg-mask-mobile {
        display: none;
    }
    .video.intro-content svg.svg-mask {
        display: block;
    }
    .video.intro-content p {
        bottom: calc(50% + 40px);
    }
    .video.intro-content .action-wrapper {
        top: calc(50% + 80px);
    }
}

.cd-bg-video-wrapper {
    /* background cover video */
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: url(robin-and-david-albright.gif) no-repeat center center;
    /*   background-size: cover; */
    background-size: 100% auto;
}

.cd-bg-video-wrapper video {
    /* you won't see this element in the html, but it will be injected using js */
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    height: auto;
    width: auto;
}

.cd-bg-video-wrapper::after {
    /* never visible - this is used in jQuery to check the current MQ */
    display: none;
    content: 'mobile';
}

@media only screen and (min-width: 768px) {
    .cd-bg-video-wrapper::after {
        content: 'desktop';
    }
    .cd-bg-video-wrapper {
        background: none;
    }
}

@media only screen and (max-width: 767px) {
    .intro {
        overflow: hidden;
    }
    #fade {
        position: absolute;
        bottom: 12%;
        left: 0;
    }
    ul {
        color: #000;
        width: 100%;
        height: 40px;
        text-align: center;
    }
    ul li {
        list-style: none;
        font-family: arial;
        font-size: 4.125vw;
        line-height: 0.85;
        width: 100%;
    }
    .story-container {
        width: 80%;
        height: auto;
        padding: 5% 5% 20% 5%;
        background: white;
        display: none;
        position: absolute;
        top: 5%;
        left: 50%;
        margin: 0 0 10% -40%;
    }
    .active {
        display: block;
    }
    .rando-container {
        top: 0;
        left: 0;
    }
    .rando {
        top: 10px;
        left: 10px;
    }
    .caption-wrap {
      bottom: 0;
      left: 0;
      width: 100%;
      height: 25%;
    }
    span.eye {
        position: fixed !important;
    }
    .odradek {
        position: absolute;
        bottom: 2%;
        left: 44%;
        z-index: 10;
        width: 10%;
    }
    .contact-container ul {
        height: auto;
        bottom: 6%;
        top: 40px;
        left: 40px;
    }
    .contact-container ul li, .typing {
        width: 100%;
        font-size: 7.125vw;
        line-height: 1.25;
    }
    .tobey-grid {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 50%;
        text-align: left;
        font-size: 3.125vw;
        line-height: 1.125;
        font-weight: normal;
        font-family: Times, serif;
        padding-top: 0;
        padding-right: 40px;
        top: 50%;
        padding-left: 40px;
    }
    .updated {
        bottom: 15px;
        left: 10px;
        color: #dcdcdc;
        -ms-transform: rotate(-90deg);
        -moz-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
        transform: rotate(-90deg);
        -ms-transform-origin: left top 0;
        -moz-transform-origin: left top 0;
        -webkit-transform-origin: left top 0;
        transform-origin: left top 0;
    }
    .rando {
      right: 10px;
      z-index: 1001;
      width: 95%;
      height: auto !important;
    }
    .caption {
      bottom: 60px;
      right: inherit;
      left: 40px;
      max-width: 80%;
    }
    .rando-image {
      bottom: 30px;
      left: 40px;
    }
    .rando-image-close {
      top: inherit;
      bottom: 30px;
      left: 40px;
    }
}
