/*!
Project: Waterson Smith
Author: Jonathan Bean
Author URI: http://www.verkeer.co
Description: Description
Version: 1.0.0
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Abstracts
# Base
# Vendors
# Components
# Layout
# Pages

/*--------------------------------------------------------------
# Astracts
--------------------------------------------------------------*/
/* Responisve Breakpoints */
/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

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

@font-face {
  font-family: 'scto_grotesk_amedium';
  src: url("fonts/sctogroteska-medium-webfont.woff2") format("woff2"), url("fonts/sctogroteska-medium-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'scto_grotesk_aregular';
  src: url("fonts/sctogroteska-regular-webfont.woff2") format("woff2"), url("fonts/sctogroteska-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'scto_grotesk_aregular', Helvetica, Arial, sans-serif;
  font-style: normal;
}

p {
  font-size: 16px;
  font-size: 1rem;
  padding: 0 0 20px 0;
  line-height: 1.4em;
  margin: 0px 0 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-weight: normal;
  font-family: 'scto_grotesk_amedium';
  text-transform: uppercase;
}

h1 {
  font-size: 36.8px;
  font-size: 2.3rem;
  line-height: 1.05em;
}

h2 {
  font-size: 17.6px;
  font-size: 1.1rem;
  line-height: 1.1em;
  margin: 0 0 7px 0;
}

h4 {
  font-size: 11.2px;
  font-size: 0.7rem;
  line-height: 1.1em;
  margin: 0 0 8px 0;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
body {
  position: relative;
}

:root {
  --app-height: 100%;
}

.page {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.page::before {
  position: absolute;
  left: 0;
  top: 0;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 22222;
  mix-blend-mode: multiply;
  opacity: 0.25;
  background-image: url("assets/1k_Dissolve_Noise_Texture.png");
  background-size: 250px;
}

.page.ski-lodge {
  position: relative;
}

.page.ski-lodge .main {
  width: 100%;
  position: relative;
}

.page.ski-lodge .main.day {
  color: #0052bc !important;
}

.page.ski-lodge .main.night {
  color: #0a050a !important;
}

.page.ski-lodge .main .top-scene {
  height: var(--app-height);
  width: 100%;
  background: #0062cc;
  background: -webkit-linear-gradient(270deg, #0062cc 0%, #63afe0 100%);
  background: linear-gradient(180deg, #0062cc 0%, #63afe0 100%);
  position: relative;
}

.page.ski-lodge .main .top-scene .cable-chalet {
  position: relative;
  z-index: 2;
}

.page.ski-lodge .main .top-scene .cable-chalet .car {
  width: 30%;
  position: absolute;
  top: 48%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.page.ski-lodge .main .top-scene .cable-chalet .car .runner-top {
  position: absolute;
  width: 44%;
  top: 0;
  left: 29%;
  -webkit-transform: translateY(-71%);
          transform: translateY(-71%);
}

.page.ski-lodge .main .top-scene .cable-chalet .car .runner-top img {
  display: block;
  width: 100%;
}

.page.ski-lodge .main .top-scene .cable-chalet .car .runner-back {
  position: absolute;
  width: 44%;
  top: 0;
  left: 29%;
  -webkit-transform: translateY(-71%);
          transform: translateY(-71%);
  z-index: -1;
}

.page.ski-lodge .main .top-scene .cable-chalet .car .runner-back img {
  display: block;
  width: 100%;
}

.page.ski-lodge .main .top-scene .cable-chalet .car img.swing {
  -webkit-transform-origin: center top;
          transform-origin: center top;
  -webkit-animation: swing ease-in-out 1s infinite alternate;
          animation: swing ease-in-out 1s infinite alternate;
}

.page.ski-lodge .main .top-scene .cable-chalet img {
  display: block;
}

.page.ski-lodge .main .top-scene .mountains {
  position: absolute;
  bottom: 70px;
  left: 0;
  width: 100%;
}

.page.ski-lodge .main .top-scene .mountains img {
  display: block;
}

.page.ski-lodge .main .bottom {
  background: #f5f5f5;
  padding: 0 20px 100px 20px;
  position: relative;
  margin: -71px 0 0 0;
}

.page.ski-lodge .main .bottom .info {
  text-align: center;
  margin: -60px 0 0 0;
  z-index: 22222;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
  visibility: visible;
}

.page.ski-lodge .main .bottom .info .times {
  text-align: left;
  max-width: 320px;
  margin: 0 auto;
}

.page.ski-lodge .main .bottom .info a {
  color: inherit;
  font-family: 'scto_grotesk_amedium';
  z-index: 333333333;
  position: relative;
}

.page.ski-lodge .main .bottom .hero {
  text-align: center;
  -webkit-transform: translateY(-150%);
          transform: translateY(-150%);
  max-width: 360px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
}

.page.ski-lodge .main .bottom .hero .scroll {
  width: 100%;
  position: absolute;
  bottom: -50px;
  left: 0%;
  text-align: center;
}

.page.ski-lodge .main .bottom .hero .scroll img {
  display: block;
  width: 20px;
  margin: 0 auto;
  -webkit-animation: bounce2 2s ease infinite;
          animation: bounce2 2s ease infinite;
}

.page.ski-lodge .main .bottom .hero img {
  display: block;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.page.ski-lodge .main.day.hide .info {
  opacity: 0;
  visibility: hidden;
}

.page.ski-lodge .main.night {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
}

.page.ski-lodge .main.night .info {
  opacity: 0;
  visibility: hidden;
}

.page.ski-lodge .main.night.show {
  opacity: 1;
}

.page.ski-lodge .main.night.show .info {
  opacity: 1;
  visibility: visible;
}

.page.ski-lodge .main.night .top-scene {
  background: #0a050a;
  background: -webkit-linear-gradient(270deg, #0a050a 0%, #490958 100%);
  background: linear-gradient(180deg, #0a050a 0%, #490958 100%);
}

.page.ski-lodge .main.night .bottom {
  background: #d5c9da;
}

@-webkit-keyframes bounce2 {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  60% {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
  }
}

@keyframes bounce2 {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  40% {
    -webkit-transform: translateY(-6px);
            transform: translateY(-6px);
  }
  60% {
    -webkit-transform: translateY(-3px);
            transform: translateY(-3px);
  }
}

svg.noise {
  display: none;
}

#noiseFilter {
  width: 100% !important;
}

#noiseFilter feTurbulence {
  width: 100%;
  height: 100%;
}

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

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

.toggle-wrap {
  cursor: pointer;
  position: fixed;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  z-index: 2222222222;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 0;
  display: none;
}

.toggle-wrap .label {
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  width: 40vw;
}

.toggle-wrap .label h2 {
  margin: 0;
  font-size: 1em;
}

.toggle-wrap .label.left {
  left: -12px;
  text-align: right;
  -webkit-transform: translate(-100%, -50%);
          transform: translate(-100%, -50%);
}

.toggle-wrap .label.left h2 {
  color: #0052bc;
}

.toggle-wrap .label.right {
  right: -12px;
  -webkit-transform: translate(100%, -50%);
          transform: translate(100%, -50%);
}

.toggle-wrap .label.right h2 {
  color: #490958;
}

.toggle-wrap .label img {
  max-height: 30px;
  display: block;
  width: 100%;
}

/* if backdrop support: very transparent and blurred */
@supports (-webkit-backdrop-filter: blur(7px)) or (backdrop-filter: blur(7px)) {
  .toggle-wrap {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.3);
  }
}

.toggle {
  color: white;
  width: 74px;
  height: 40px;
  margin: 0 auto;
  background: black;
  border-radius: 222px;
  background: #0062cc;
  background: -webkit-linear-gradient(270deg, #0062cc 0%, #63afe0 100%);
  background: linear-gradient(180deg, #0062cc 0%, #63afe0 100%);
  position: relative;
}

.toggle.night-active {
  background: -webkit-linear-gradient(270deg, #0a050a 0%, #490958 100%);
  background: linear-gradient(180deg, #0a050a 0%, #490958 100%);
}

.toggle.night-active .toggle-inner::after {
  left: calc(50% + 0px);
}

.toggle .toggle-inner {
  width: 100%;
  padding: 15px 30px;
}

.toggle .toggle-inner::after {
  -webkit-transition: all 0.3s;
          transition: all 0.3s;
  content: '';
  width: calc(50% - 3px);
  position: absolute;
  top: 3px;
  left: 3px;
  background: #eeeeee;
  background: -webkit-linear-gradient(270deg, #eeeeee 0%, #b8b8b8 100%);
  background: linear-gradient(180deg, #eeeeee 0%, #b8b8b8 100%);
  height: calc(100% - 6px);
  border-radius: 222px;
  border-bottom: 1px solid #888888;
}

canvas {
  display: block;
}

#tsparticles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 22222;
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  display: none;
}

.desktop {
  position: relative;
  display: block;
  background: #232323;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: white;
  z-index: 2222222222222222;
}

.desktop .inner {
  padding: 30px;
  width: 100%;
  text-align: center;
}

.desktop .inner .qr {
  max-width: 200px;
  margin: 20px auto 0 auto;
}

.desktop .inner .qr img {
  width: 100%;
  display: block;
}

.mobile {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  overflow: hidden;
}

@media (max-width: 800px) {
  body {
    overflow: auto;
  }
  .toggle-wrap {
    display: block;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
    position: relative;
    height: auto;
  }
}
