@import url("https://fonts.googleapis.com/css?family=Raleway:200,300,400,500,600,700,800");
::-moz-selection {
  background: #ffc001;
  color: #fff;
}
::selection {
  background: #ffc001;
  color: #fff;
}

* {
  font-family: 'Raleway', sans-serif;
  text-rendering: optimizeLegibility;
}

html, body {
  height: 100%;
  width: 100%;
}

html {
  font-size: 16px;
}

body {
  background: #ebebeb;
}

.container {
  height: 100%;
  width: 100%;
  display: grid;
  grid: "box1 box2 box2 box2 box2" 1fr "nav nav nav nav nav" 60px "nr nxt detail detail detail" auto / auto 80px 1fr 60px 60px;
  overflow-x: hidden;
}
.container .box1 {
  grid-area: box1;
  background: #fff;
  grid-row: 1 / span 2;
  background: url("../img/background.jpg?ixlib=rb-0.3.5&s=7fc5fb9bc96aae0d6dfc36bb4839e758&auto=format&fit=crop&w=1950&q=80");
  background-position: left 50% bottom 0;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 250ms ease;
  grid-column: 1 / 2;
  z-index: 1;
  width: 100%;
}
.container .box2 {
  grid-area: box2;
  grid-row: 1 / span 2;
  background: url("../img/istockphoto-1004841850-640x640.jpg?ixlib=rb-0.3.5&s=62d4e7944eba2faf698cfe21fca587ad&auto=format&fit=crop&w=1950&q=80");
  background-repeat: no-repeat;
  background-position: right -10px bottom 0;
  background-size: cover;
  transition: all 250ms ease;
  position: relative;
  padding: 2rem 5rem;
}
.container .box2:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: -100%;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  background: rgba(255, 0, 0, 0.4);
  transition: all 250ms ease;
  background: url("../img/splash-bg.jpg?ixlib=rb-0.3.5&s=ed912959103a88f63574bf37c6da9cb5&auto=format&fit=crop&w=1833&q=80");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.container .box2.shift:after {
  -webkit-transform: translateX(-5%);
          transform: translateX(-5%);
}
.container .box2 h1 {
  margin-bottom: 4rem;
}
.container .box2 p {
  width: 20%;
  line-height: 1.68em;
}
.container .box2 .play-btn {
  position: absolute;
  bottom: 6rem;
  left: 6rem;
  background: #fff;
  width: 60px;
  height: 60px;
  text-align: center;
  border-radius: 50%;
  display: block;
  z-index: 0;
  transition: all 250ms ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.container .box2 .play-btn:before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.4);
  -webkit-transform: scale(1.5);
          transform: scale(1.5);
  z-index: -1;
  transition: all 250ms ease;
}
.container .box2 .play-btn:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  background: #fff;
  z-index: -1;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.08);
  transition: all 250ms ease;
}
.container .box2 .play-btn:hover {
  cursor: pointer;
}
.container .box2 .play-btn:hover i {
  color: #ffc001;
}
.container .box2 .play-btn:hover:before {
  -webkit-transform: scale(1.7);
          transform: scale(1.7);
}
.container .box2 .play-btn:hover:after {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.container .box2 .play-btn i {
  line-height: 60px;
  opacity: .87;
}
.container nav {
  grid-area: nav;
  display: grid;
  grid: "nav pre next" 1fr / 1fr 60px 60px;
  z-index: 2;
}
.container nav > div {
  text-align: center;
  background: #fff;
  transition: all 250ms ease;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.container nav > div i {
  line-height: 60px;
}
.container nav > div:hover {
  background: #ffc001;
  cursor: pointer;
}
.container nav .pre {
  grid-area: pre;
}
.container nav .pre:hover {
  padding-right: .5rem;
}
.container nav .next {
  grid-area: next;
}
.container nav .next:hover {
  padding-left: .5rem;
}
.container .nr {
  grid-area: nr;
  background: #fff;
  display: flex;
  flex-direction: columns;
}
.container .nr .cont {
  padding: 2rem;
  position: relative;
}
.container .nr .cont:nth-child(2) {
  padding: 4rem;
}
.container .nr .cont h3 {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}
.container .nr .cont span {
  font-size: 4rem;
  font-weight: 500;
  letter-spacing: -5px;
}
.container .nr .cont .bar {
  position: absolute;
  margin: auto;
  width: 90%;
  height: 4px;
  background: #b5b5b5;
  right: 0;
  top: 3rem;
  bottom: 0;
}
.container .nr .cont .bar .progress {
  height: 100%;
  width: 25%;
  background: #1c1c1c;
  -webkit-animation: progress 1s linear;
          animation: progress 1s linear;
  -webkit-animation-delay: .5s;
          animation-delay: .5s;
}
.container .nxt {
  grid-area: nxt;
  background: #ffc001;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.container .nxt .wrap {
  width: 80px;
  height: 0px;
}
.container .nxt .wrap span {
  font-weight: 700;
  display: block;
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
  -webkit-transform-origin: 0 0;
          transform-origin: 0 0;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  line-height: 80px;
  white-space: nowrap;
  text-transform: uppercase;
  text-align: center;
}
.container .detail {
  grid-area: detail;
  background: #1c1c1c;
  color: #fff;
  padding: 1.4rem 5rem 2.5rem;
}
.container .detail h4 {
  font-weight: 500;
  font-size: 1.6rem;
}
.container .detail .details {
  display: flex;
  flex-direction: columns;
}
.container .detail .details ul {
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.container .detail .details ul li {
  line-height: 1.68em;
  opacity: .8;
}
.container .detail .details ul li.heading {
  margin-bottom: 1rem;
  opacity: .4;
}

@-webkit-keyframes progress {
  from {
    width: 0;
  }
  to {
    width: 25%;
  }
}

@keyframes progress {
  from {
    width: 0;
  }
  to {
    width: 25%;
  }
}
