/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
  Author's custom styles
  ========================================================================== */

main {
    width: 100%;
    height: 100vh;
    display: block;
    position: relative;
    overflow: hidden;
}

.indoor {
    width: 55%;
    height: 100%;
    display: inline-block;
    position: relative;
    float: left;
    background-repeat: repeat;
    z-index: 4;
    -webkit-transform: translate3d(-5%, 0, 0);
    -moz-transform: translate3d(-5%, 0, 0);
    -ms-transform: translate3d(-5%, 0, 0);
    -o-transform: translate3d(-5%, 0, 0);
    transform: translate3d(-5%, 0, 0);
}
.indoor, .outdoor {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
/*.indoor:hover {*/
    /*-webkit-transform: translate3d(0, 0, 0);*/
    /*-moz-transform: translate3d(0, 0, 0);*/
    /*-ms-transform: translate3d(0, 0, 0);*/
    /*-o-transform: translate3d(0, 0, 0);*/
    /*transform: translate3d(0, 0, 0);*/
    /*width: 60%;*/
/*}*/

/*.indoor:hover + .outdoor {*/
    /*margin-left: -10% !important;*/
    /*width: 50% !important;*/
/*}*/

/*.outdoor:hover {*/
    /*width: 64%;*/
    /*-webkit-transform: translate3d(0, 0, 0);*/
    /*-moz-transform: translate3d(0, 0, 0);*/
    /*-ms-transform: translate3d(0, 0, 0);*/
    /*-o-transform: translate3d(0, 0, 0);*/
    /*transform: translate3d(0, 0, 0);*/
/*}*/
/*.outdoor:hover + .indoor {*/
    /*width: ;*/
/*}*/


.indoor__container__background {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0px;
    -webkit-clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0%, 91% 100%, 0% 100%);
    background:  #c4180d; /* Old browsers */
    background:  -moz-linear-gradient(top, #c4180d 0%, #c4180d 43%, #6d1202 100%); /* FF3.6-15 */
    background:  -webkit-linear-gradient(top, #c4180d 0%, #c4180d 43%, #6d1202 100%); /* Chrome10-25,Safari5.1-6 */
    background:  linear-gradient(to bottom, #c4180d 0%, #c4180d 43%, #6d1202 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}
.indoor__container__background__inner {
    position:fixed;
    background:url("../img/bg-pattern-main-red.png");
    -webkit-animation:100s scroll infinite linear;
    -moz-animation:100s scroll infinite linear;
    -o-animation:100s scroll infinite linear;
    -ms-animation:100s scroll infinite linear;
    animation:100s scroll infinite linear;
    top:0;
    left:0;
    width:100%;
    height:100%;
}


.indoor__inner {
    padding: 12.5rem 0 0 0;
    width: 100%;
    height: calc(100vh - 12.5rem);
    text-align: center;
    max-width: 70rem;
    position: relative;
    margin: 0 auto;
}

.indoor__inner__bg {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 3;
    top: 2rem;

    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.indoor__logo {
    margin: 0 auto;
    display: block;
    z-index: 9;
    position: relative;
    width: 34.375rem;
    height: 18.75rem;
    top: -3rem;

}

.indoor__magic-number-9 {
    position: absolute;
    top: 8rem;
    right: 14rem;
    z-index: 9;
    width: 13.75rem;
    height: 7.5625rem;
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -o-user-select: none;
}

.indoor__inner__content-container {
    z-index: 6;
    position: relative;
    display: block;
    top: -5.6rem;
}

.indoor__inner__content {
    background: url("../img/bg-pattern-red.jpg");
    position: relative;
    width: 28.125rem;
    margin: 0 auto;
    top: -2rem;
    padding-top: 5rem;
    min-height: 14.0625rem;
}

.indoor__inner__content__enter-website,
.indoor__inner__content__enter-website:link,
.indoor__inner__content__enter-website:visited {
    font-family: 'bignoodletitlingregular';
    font-size: 4.5rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    text-shadow: -1px 5px 5px rgba(75, 22, 0, .63);
    display: block;
    padding-top: 1rem;
}

.indoor__inner__content__enter-website:active,
.indoor__inner__content__enter-website.active,
.indoor__inner__content__enter-website:focus,
.indoor__inner__content__enter-website:hover {
    text-decoration: none;

}

.indoor__inner__content__date {
    font-family: 'bignoodletitlingregular';

    position: absolute;
    left: 0;
    right: 0;
    bottom: 1rem;
    width: 31rem;
    margin: 0 auto;
    -webkit-box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    -moz-box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    height: 4.5rem;
    line-height: 4.5rem;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d52916+0,901e03+100 */
    background-image: url("../img/bg-button-date.jpg");
    background-size: cover;
    color: #ffffff;;
    font-size: 3.7675rem;
    text-transform: uppercase;
}

.indoor__inner__location {
    font-family: 'bignoodletitlingregular';
    position: absolute;
    z-index: 6;
    display: inline-block;
    width: 31rem;
    margin: 0 auto;
    bottom: 1rem;
    text-align: center;
    left: 0;
    right: 0;
    -webkit-box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    -moz-box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    box-shadow: -2px 8px 12px 1px rgba(75, 22, 0, .63);
    height: 4.5rem;
    line-height: 4.5rem;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#d52916+0,901e03+100 */
    background-image: url("../img/bg-button-mecc.jpg");
    background-size: cover;
    color: #ffffff;;
    font-size: 3.7675rem;
    text-transform: uppercase;

}

.outdoor {
    margin-left: -11%;
    width: 54%;
    height: 100%;
    display: inline-block;
    position: relative;
    background-color: green;
    float: left;
    background: url(../img/bg-outdoor.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    -webkit-transform: translate3d(5%, 0, 0);
    -moz-transform: translate3d(5%, 0, 0);
    -ms-transform: translate3d(5%, 0, 0);
    -o-transform: translate3d(5%, 0, 0);
    transform: translate3d(5%, 0, 0);

}

.outdoor-container {
    padding: 12.5rem 0 0 0;
    width: 100%;
    height: calc(100vh - 12.5rem);
    text-align: center;
    max-width: 70rem;
    position: relative;
    margin: 0 auto;
    display: block;
}

.outdoor__inner__content-container {
    z-index: 6;
    position: relative;
    display: block;
    top: -14.6rem;
}

.outdoor__logo__container {
    perspective: 25px;
    margin: 0 auto;
    display: block;
    z-index: 9;
    position: relative;
    width: 38rem;
    height: 23.375rem;
    top: -6rem;
}

.outdoor__logo {
    width: 100%;
    height: 100%;
    background-image: url("../img/outdoor-logo.png");
    background-size: cover;
    transition: transform 0.5s;
    -webkit-transition: transform 0.5s;
    -moz-transition: transform 0.5s;
    -o-transition: transform 0.5s;
    perspective: 35px;

}

.outdoor__logo__crazy {
    background-image: url(../img/outdoor-trip-to-lazyland.png);
    background-size: cover;
    width: 18.8125rem;
    height: 2.75rem;
    position: absolute;
    display: block;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: auto;
}

.outdoor__content {
    position: relative;
    width: 28.125rem;
    margin: 0 auto;
    padding-top: 8rem;
    min-height: 13.0625rem;
    background: #410a3e;
    background: -moz-linear-gradient(-45deg, #410a3e 1%, #410a3e 1%, #61135f 99%, #61135f 100%, #61135f 100%, #61135f 101%);
    background: -webkit-linear-gradient(-45deg, #410a3e 1%, #410a3e 1%, #61135f 99%, #61135f 100%, #61135f 100%, #61135f 101%);
    background: linear-gradient(135deg, #410a3e 1%, #410a3e 1%, #61135f 99%, #61135f 100%, #61135f 100%, #61135f 101%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#410a3e', endColorstr='#61135f', GradientType=1);
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.outdoor__content__date {
    font-family: 'bignoodletitlingregular';
    position: relative;
    left: 0;
    right: 0;
    bottom: 3rem;
    width: 31rem;
    margin: 0 auto;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    height: 4.5rem;
    line-height: 4.5rem;
    background-size: cover;
    color: #ffffff;;
    font-size: 3.7675rem;
    text-transform: uppercase;
    background: #277c95; /* Old browsers */
    background: -moz-linear-gradient(top, #277c95 0%, #114c62 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #277c95 0%, #114c62 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #277c95 0%, #114c62 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#277c95', endColorstr='#114c62', GradientType=0); /* IE6-9 */
}

.outdoor__content__date:before {
    content: '';
    display: block;
    position: absolute;
    left: -1rem;
    top: -0.4rem;
    background-image: url("../img/outdoor-volt.png");
    -webkit-background-size: cover;
    background-size: cover;
    width: 4.28125rem;
    height: 1.65625rem;
    -webkit-animation-name: shake;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 5s;
}

.outdoor__content__date:after {
    content: '';
    display: block;
    position: absolute;
    right: -2rem;
    top: -1rem;
    background-image: url("../img/outdoor-volt.png");
    -webkit-background-size: cover;
    background-size: cover;
    width: 8.5625rem;
    height: 3.3125rem;
    -webkit-animation-name: shake;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 5s;
    /*-webkit-transform: rotate(-180deg);*/
    /*-moz-transform: rotate(-180deg);*/
    /*-ms-transform: rotate(-180deg);*/
    /*-o-transform: rotate(-180deg);*/
    /*transform: rotate(-180deg);*/
}

.outdoor__content__enter-website {
    font-family: 'bignoodletitlingregular';
    font-size: 4.5rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    text-shadow: -1px 5px 5px rgba(75, 22, 0, .63);
    z-index: 999;
    padding-top: 1rem;
    display: block;
}

.outdoor__location {
    font-family: 'bignoodletitlingregular';
    position: absolute;
    z-index: 6;
    display: inline-block;
    width: 31rem;
    margin: 0 auto;
    bottom: 1rem;
    text-align: center;
    left: 0;
    right: 0;

    height: 4.5rem;
    line-height: 4.5rem;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    background: #277c95; /* Old browsers */
    background: -moz-linear-gradient(top, #277c95 0%, #114c62 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #277c95 0%, #114c62 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #277c95 0%, #114c62 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#277c95', endColorstr='#114c62', GradientType=0); /* IE6-9 */
    color: #ffffff;
    font-size: 3.7675rem;
    text-transform: uppercase;
}


/* ==========================================================================
  Helper classes
  ========================================================================== */
@-moz-keyframes spin {
    100% {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes shake {
    2.5%, 22.5% {
        transform: translate3d(-1px, 0, 0);
    }

    5%, 20% {
        transform: translate3d(2px, 0, 0);
    }

    7.5%, 12.5%, 17.5% {
        transform: translate3d(-4px, 0, 0);
    }

    10%, 15% {
        transform: translate3d(4px, 0, 0);
    }
    50%, 100% {
        transform: translate3d(0, 0, 0);
    }
}

@-webkit-keyframes scroll{
    100%{
        background-position:0px -3000px;
    }
}

@-moz-keyframes scroll{
    100%{
        background-position:0px -3000px;
    }
}

@-o-keyframes scroll{
    100%{
        background-position:0px -3000px;
    }
}

@-ms-keyframes scroll{
    100%{
        background-position:0px -3000px;
    }
}

@keyframes scroll{
    100%{
        background-position:0px -3000px;
    }
}

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
    visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


