/**
 * Fonts
 */

/* Custom emoji font-family to standardize appearance across platforms */
@font-face {
  font-family: "color-emoji";
  src: local("Apple Color Emoji"),
  local("Twemoji Mozilla"),
  local("Segoe UI Emoji"),
  local("Segoe UI Symbol"),
  local("Noto Color Emoji"),
  local("EmojiOne Color"),
  local("Android Emoji");
}

/**
 * Reset
 */

body,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
p,
pre,
dl,
dd,
ol,
ul,
figure,
img,
hr,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif, color-emoji;
}

a, a:hover, a:focus, a:active, a:visited {
  text-decoration: none;
  color: inherit;
}

button, input {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
}

input:focus {
  outline:0;
}

/**
 * Landing page
 */

body {
  position: relative;
  background: #000;
}

/**
 * Scenes (videos)
 */

.clear__scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100vh;

  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;

  color: #fff;
}

.clear__video {
  position: absolute;
  top: 37.6%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease-in-out;
  cursor: pointer;
}

/* Hide video while still loading it, its final size will be set once loaded */
/* This fixes some issues on Safari iOS */
.clear__video video {
  width: 0px;
  height: 0px;

  /* Do not go higher! This must be the minimum radius possible so that the \
    video doesnt go past the iPhone actual bezel  */
  border-radius: 15px;
}

.clear__frame {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;

  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

.clear__scene--01 .clear__frame {
  background-image: url("./../images/scene-frame-01.png");
}

.clear__scene--02 .clear__frame {
  background-image: url("./../images/scene-frame-02.png");
}

.clear__scene--03 .clear__frame {
  background-image: url("./../images/scene-frame-03.png");
}

.clear__scene--04 .clear__frame {
  background-image: url("./../images/scene-frame-04.png");
}

.clear__scene--05 .clear__frame {
  background-image: url("./../images/scene-frame-05.png");
}

.clear__scene--06 .clear__frame {
  background-image: url("./../images/scene-frame-06.png");
  height: 100vh;
}


/**
 * Scenes (content)
 */

.clear__scene-content {
  position: absolute;
  top: 72%;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.clear__scene-content h1,
.clear__scene-content h2 {
  max-width: 455px;
  font-weight: 600;
}

.clear__scene-content h1 {
  font-size: 42px;
  line-height: 40px;
}

.clear__scene-content h2 {
  font-size: 36px;
  line-height: 34px;
}

.clear__scene-content p {
  max-width: 320px;
  margin-top: 12px;
  font-size: 23px;
  font-weight: 300;
  line-height: 26px;
}

.clear__scene--01 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-01.jpg");
}

.clear__scene--01 .clear__scene-content {
  top: 71%;
  max-width: 315px;
}

.clear__scene--02 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-02.jpg");
}

.clear__scene--03 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-03.jpg");
}

.clear__scene--04 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-04.jpg");
}

.clear__scene--05 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-05.jpg");
}

.clear__scene--05 .clear__scene-content h2 {
  max-width: 330px;
}

.clear__scene--06 {
  /* 2560x1481 */
  background-image: url("./../images/scene-tile-06.jpg");
  background-size: auto 100vh;
  background-position: center top, center bottom;
}

.clear__scene--end {
  /* 2560x700 */
  background-image: url("./../images/scene-tile-end.jpg");
  height: 47.26vh;
}

.clear__store {
  margin-top: -25px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clear__store-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear__store-icon:active {
  margin-top: 1px;
}

.clear__store-icon:active + .clear__store-button {
  margin-top: 49px;
}

.clear__store-icon-image {
  width: 245px;
  height: 245px;
}

.clear__store-button {
  margin-top: 50px;
  cursor: pointer;
}

.clear__store-button:active {
  margin-top: 51px;
}

.clear__store-button-image {
  width: 350px;
}

.clear__footer {
  position: absolute;
  bottom: 25px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.clear__footer-item {
  cursor: default;
  font-size: 17px;
  margin-right: 30px;

  user-select: none;
  -webkit-user-select: none;
}

.clear__footer-item-label {
  display: inline-block;
  position: relative;
}

.clear__footer-item-label::after {
  content: "";
  display: block;
  width: 100%;
  margin-top: 2px;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.clear__footer-item-label:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.clear__footer-item:last-of-type {
  margin-right: 0 !important;
}

/**
 * Media queries
 */

@media screen and (max-width: 1200px) {
  /* Nothing there */
}

@media screen and (max-width: 1024px) {
  /* Nothing there */
}

@media screen and (max-width: 768px) {
  /* Nothing there */
}

@media screen and (max-width: 640px) {
  .clear__footer-item {
    font-size: 16px;
    margin-right: 25px;
  }
}

@media screen and (max-width: 480px) {
  .clear__store-button-image {
    width: 310px;
  }

  .clear__footer-item {
    font-size: 15px;
    margin-right: 20px;
  }
}

@media screen and (max-width: 350px) {
  .clear__scene-content h1 {
    font-size: 38px;
  }

  .clear__scene-content h2 {
    font-size: 34px;
  }

  .clear__scene-content p {
    max-width: 280px;
    font-size: 20px;
  }

  .clear__scene--05 .clear__scene-content h2 {
    max-width: 280px;
  }

  .clear__footer-item {
    font-size: 14px;
    margin-right: 15px;
  }
}

@media screen and (max-height: 1200px) {
  /* Nothing there */
}

@media screen and (max-height: 1024px) {
  /* Nothing there */
}

@media screen and (max-height: 960px) {
  .clear__store {
    margin-top: 0px;
  }

  .clear__store-icon-image {
    width: 225px;
    height: 225px;
  }

  .clear__store-icon:active + .clear__store-button {
    margin-top: 29px;
  }

  .clear__store-button {
    margin-top: 30px;
  }

  .clear__store-button:active {
    margin-top: 31px;
  }

  .clear__footer-item {
    font-size: 16px;
  }
}

@media screen and (max-height: 768px) {
  .clear__store {
    margin-top: -15px;
  }

  .clear__store-icon-image {
    width: 190px;
    height: 190px;
  }

  .clear__store-icon:active + .clear__store-button {
    margin-top: 14px;
  }

  .clear__store-button {
    margin-top: 15px;
  }

  .clear__store-button:active {
    margin-top: 16px;
  }

  .clear__store-button:active {
    margin-top: 21px;
  }

  .clear__footer-item {
    font-size: 16px;
  }
}

@media screen and (max-height: 640px) {
  .clear__store-icon-image {
    width: 175px;
    height: 175px;
  }

  .clear__footer-item {
    font-size: 15px;
  }
}

@media screen and (max-height: 560px) {
  .clear__footer-item {
    font-size: 14px;
  }
}

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

}

@media screen and (max-height: 350px) {
  /* Nothing there */
}

.clear__privacy {
  background: rgb(255,255,255);
  position: absolute;
  max-width: 450px;
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
  padding: 30px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.clear__privacy h2 {
  margin: 20px;
}

.clear__privacy p {
  margin: 20px;
}

@media screen and (max-width: 640px) {
  .clear__privacy {
    width: 90%;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    top: 0;
    border-radius: 12px;
  }
}

.clear__scene-content p.fineprint {
  font-size: 12px;
  line-height: 15px;
}