
/* When this reaches the top of viewport, .swop18-entry-main will become fixed. */
.swop18-entry {
  position: relative;
  z-index: 1;
}

/* --- Triggers --- */

/* Triggers are used as scene activators. */
/* They also control the total height of the whole entry section. */
.swop18-entry-triggers {
  position: relative;
  z-index: 2;
}

.swop18-entry-triggers span {
  display: block;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swop18-entry-triggers .entry-trigger-6 {
  display: none;
}

/* Each scene lasts for 2 full viewport height scrolls. */
.swop18-entry-js .swop18-entry-triggers span {
  height: 200vh;
}

/* And this last dummy trigger which is there to keep 5th scene on screen for */
/* extra 1 viewport height which would normally be the moment when the */
/* next scene is sliding in, covering scene 5. */
.swop18-entry-js .swop18-entry-triggers .entry-trigger-6 {
  display: block;
  height: 100vh;
}

/* --- Scenes And Controls Wrapper --- */

.swop18-entry-main {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

/* This will be changed to absolute position when js is on. */
/* This becomes fixed position once .swop18-entry reaches the top of viewport. */
.swop18-entry-stick {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swop18-entry-js .swop18-entry-stick {
  position: absolute;
  height: 100vh;
}

/* --- Controls --- */

.swop18-entry-controls {
  display: none;
  position: absolute;
  right: 24px;
  top: 10px;
  z-index: 2;
}

.swop18-entry-js .swop18-entry-controls {
  display: block;
}

.swop18-entry-controls button {
  float: right;
  padding: 10px 0 10px 16px;
  color: #fff;
  font-size: 14px;
  line-height: 14px;
  text-transform: uppercase;
  outline: none;
  /* Reset */
  border: 0;
}

.swop18-entry-controls button:focus,
.swop18-entry-controls button:hover {
  color: #fff;
  outline: none;
  text-decoration: none;
}

button.swop18-entry-skip {
  padding-left: 20px;
  background: url(images/icon-skip.svg) 0 center no-repeat;
  background-size: auto 11px;
}

/* --- Scenes --- */

.swop18-entry-scenes {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* This will be changed to absolute position when js is on. */
/* Each scene is absolute positioned so we can slide it etc. */
.swop18-entry-scene {
  position: relative;
  width: 100%;
  /* 1/5 of 100% because there are 6 scenes. */
  height: 16.6666%;
  overflow: hidden;
}

.swop18-entry-js .swop18-entry-scene {
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
}

.swop18-entry-content {
  display: table;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 5;
}

.swop18-entry-content-inner {
  display: table-cell;
  height: 100%;
  vertical-align: middle;
  padding: 0 30px;
}

.swop18-entry-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: center center no-repeat;
  background-size: cover;
  z-index: 3;
  overflow: hidden;
}

.swop18-entry-bg .swop18-credit {
  right: 10px;
  bottom: 10px;
}

.swop18-entry-tint {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #060a1b;
  z-index: 4;
  overflow: hidden;
  opacity: 1;
}

/* --- Scenes Core Individual Styles --- */

/* Scene with title. */
.swop18-entry-scene.scene-1 {
  z-index: 1;
  background: #060a1b;
}

.swop18-entry-downarrow {
  width: 36px;
  height: 48px;
  background: url(images/arrow.svg) 0 0 no-repeat;
  background-size: 36px 36px;
  position: absolute;
  bottom: 24px;
  left: 50%;
  margin-left: -18px;
}

/* Image with copy scenes (2-5). */
.swop18-entry-scene.scene-2 {
  z-index: 2;
}

.swop18-entry-scene.scene-3 {
  z-index: 3;
}

.swop18-entry-scene.scene-4 {
  z-index: 4;
}

.swop18-entry-scene.scene-5 {
  z-index: 5;
}

.scene-2 .swop18-entry-bg {
  background-image: url(images/entry-1-m.jpg);
}

.scene-3 .swop18-entry-bg {
  background-image: url(images/entry-2-m.jpg);
}

.scene-4 .swop18-entry-bg {
  background-image: url(images/entry-3-m.jpg);
}

.scene-5 .swop18-entry-bg {
  background-image: url(images/entry-4-m.jpg);
}

/* --- Animation Styles --- */

/* This is responsible for placing current scene in viewport. */
.swop18-entry-js .swop18-entry-scene {
  left: 100%;
}

.swop18-entry-js .swop18-entry-scene.swop18-animated,
.swop18-entry-js .swop18-entry-scene.scene-1 {
  left: 0;
}

/* --- Scenes 1 Contents --- */

h2.swop18-entry-title {
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.swop18-entry-title-1 {
  display: block;
  font-size: 22px;
  line-height: 1em;
  color: #f7941d;
  letter-spacing: 1px;
}

.swop18-entry-title-2 {
  display: block;
  font-size: 48px;
  line-height: 1em;
  color: #fff;
  letter-spacing: 2px;
  padding: 6px 0 9px;
}

p.swop18-entry-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  color: #484d6b;
  text-align: center;
  letter-spacing: 1px;
}

.swop18-entry-sharelinks {
  padding-top: 14px;
  width: 140px;
  margin: 0 auto;
}

.swop18 .swop18-entry-sharelinks a {
  color: #484d6b;
}

.swop18 .swop18-entry-sharelinks a:hover {
  color: #fff;
}

@media all and (min-width: 768px) {
  .swop18-entry-downarrow {
    width: 48px;
    height: 48px;
    background-size: 48px 48px;
    margin-left: -24px;
  }
  
  .swop18-entry-title-1 {
    display: block;
    font-size: 38px;
    line-height: 1em;
    letter-spacing: 2px;
  }

  .swop18-entry-title-2 {
    font-size: 84px;
    line-height: 1em;
    letter-spacing: 4px;
    padding: 0 0 14px 0;
  }

  p.swop18-entry-subtitle {
    font-size: 21px;
    line-height: 28px;
  }

  .swop18-entry-sharelinks {
    padding-top: 24px;
    width: 180px;
  }

  .swop18 .swop18-entry-sharelinks a {
    width: 36px;
    height: 36px;
    font-size: 36px;
    line-height: 36px;
  }
}

@media all and (min-width: 800px) {
  .scene-2 .swop18-entry-bg {
    background-image: url(images/entry-1.jpg);
  }

  .scene-3 .swop18-entry-bg {
    background-image: url(images/entry-2.jpg);
  }

  .scene-4 .swop18-entry-bg {
    background-image: url(images/entry-3.jpg);
  }

  .scene-5 .swop18-entry-bg {
    background-image: url(images/entry-4.jpg);
  }
}

@media all and (min-width: 1000px) {
  .swop18-entry-title-1 {
    font-size: 55px;
    line-height: 1em;
    letter-spacing: 3px;
  }

  .swop18-entry-title-2 {
    font-size: 120px;
    line-height: 1em;
    letter-spacing: 6px;
    padding: 0 0 14px 0;
  }

  p.swop18-entry-subtitle {
    font-size: 24px;
    line-height: 30px;
    letter-spacing: 1px;
  }
}

/* --- Scenes 2-5 Contents --- */

p.swop18-entry-copy {
  margin: 0 auto;
  max-width: 900px;
  font-size: 27px;
  line-height: 36px;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}

@media all and (min-width: 768px) {
  p.swop18-entry-copy {
    font-size: 31px;
    line-height: 41px;
  }
}

@media all and (min-width: 1000px) {
  p.swop18-entry-copy {
    font-size: 36px;
    line-height: 48px;
  }
}
