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

/* Navigation */
.slider__navi {
  position: absolute;
  bottom: 0px;
  right: 20px;
  /* transform: translateY(-50%); */
  z-index: 999;
}

.slider__navi a {
  display: block;
  height: 6px;
  width: 20px;
  margin: 20px 0;
  text-indent: -9999px;
  background: rgba(164, 164, 164, 0.4);
  border: none;
  transition: background 0.3s ease;
}

.slider__navi a.active {
  background: rgba(255,255,255,1);
}

/* Base */
body {
  position: relative;
  font-size: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  min-height: 100vh;
}

/* Main Slide Container */
.flex__container {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  height: 100vh;
  width: 100%;
  z-index: 1;
  transition: opacity 0.8s ease-in-out;
}

.flex__container.flex--active {
  z-index: 2;
}

/* Text Styles */
.text--sub {
  font-size: 12px;
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.text--big {
  font-family: 'Poppins', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 90px;
  margin-left: -8px;
}

.text--normal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 22px;
  margin-top: 25px;
}

.text__background {
  font-family: 'Poppins', sans-serif;
  position: absolute;
  left: 72px;
  bottom: -60px;
  color: rgba(0,0,0,0.05);
  font-size: 170px;
  font-weight: 700;
}

/* Slide Parts */
.flex__item {
  height: 100vh;
  color: #fff;
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s ease-in-out;
  will-change: transform, opacity;
}

.flex__item--left {
  display: flex;
  align-items: center;
  width: 65%;
  transform-origin: left bottom;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.flex__item--right {
  width: 35%;
  transform-origin: right center;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

.flex--preStart .flex__item--left,
.flex--preStart .flex__item--right,
.flex--active .flex__item--left,
.flex--active .flex__item--right {
  opacity: 1;
}

/* Pokémon Theme Colors */
.flex--piplup .flex__item--left { background: #020f2f; }
.flex--pikachu .flex__item--left { background: #000000; }
.flex--blaziken .flex__item--left { background: #020f2f; }
.flex--dialga .flex__item--left { background: #000000; }
.flex--zekrom .flex__item--left { background: #020f2f; }

/* Content + Image */
.flex__content {
  margin-left: 80px;
  width: 75%;
  opacity: 1;
  transform: translate3d(0,0,0);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.8s ease-in-out;
}

/* Animate END (leaving) */
.flex__container.animate--end .flex__item--left {
  transform: scaleY(0);
}

.flex__container.animate--end .flex__item--right {
  transform: scaleX(0);
}

.flex__container.animate--end .flex__content {
  transform: translate3d(0,200%,0);
  opacity: 0;
}


/* Responsive */
@media (max-width: 1200px) {
  .text--big { font-size: 5em; line-height: 1.1em; }
  .text__background { font-size: 120px; }
}

@media (max-width: 768px) {
  .flex__item--left { width: 100%; }
  .flex__item--right { display: none; }
  .text--big { font-size: 3.5em; line-height: 1.1em; }
  .text__background { font-size: 80px; }
}

.sentence {
  display: inline-block;
  white-space: pre;
}

.slider_box_img {
  position: absolute;
  top: 25%;
  left: 600px;
  width: 40%;  
  max-width: 500px;  
  z-index: 5;  
}