@charset "utf-8";

*, ::after, ::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility !important;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: none;
}

body {
  font-size: 16px;
  background-size: auto 100%;
  touch-action: auto;
}
a {
  text-decoration: none;
}
a,
svg,
button {
  -webkit-transition: all .5s ease-out;
  -moz-transition: all .5s ease-out;
  -ms-transition: all .5s ease-out;
  -o-transition: all .5s ease-out;
  transition: all .5s ease-out;
}

main {
  width: 320px;
  height: 480px;
  border: solid 1px #d1d3d2;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: #e31e2b url(../img/bg.png) no-repeat;
}
.banner_go {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
main.main.go .banner_go {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.gallery{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5.2em
}
.gallery__stream {
  width: 200px;
  height: 165px;
}
.gallery__item {
  position: absolute;
  width: 50%;
  height: 165px;
  transition: .5s all ease;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 5px;
}
.gallery__item:nth-child(1) {
  left: 0;
  transform: translateX(-100%) scale(.7);
  opacity: .5;
}
.gallery__item:nth-child(2) {
  left: 0;
  transform: translateX(-50%) scale(.7);
  opacity: .5;
}
.gallery__item:nth-child(3) {
  left: 50%;
  transform: translateX(-50%) scale(1);
  opacity: 1;
}
.gallery__item:nth-child(4) {
  left: 100%;
  transform: translateX(-50%) scale(.7);
  opacity: .5;
}
.gallery__item:nth-child(n+5) {
  left: 100%;
  transform: scale(.7);
  opacity: .5;
}

.gallery__prev,
.gallery__next {
  width: 45px;
  height: 45px;
  background: url(../img/arrow-right.png) no-repeat;
  background-size: contain;
  z-index: 999;
}
.gallery__prev {
  transform: rotateY(180deg);
}
.gallery__next {
  position: relative;
}

.bg-1, .bg-4 {
  background-image: url(../img/bike.png);
}
.bg-2, .bg-5 {
  background-image: url(../img/phone.png);
}
.bg-3, .bg-6 {
  background-image: url(../img/car.png);
}

.cursor{
  position: absolute;
  width: 29px;
  height: 39px;
  top: 50%;
  right: -10%;
  margin: 0;
  background: url(../img/cursor.png) no-repeat top ;
   animation: bounce 1s infinite alternate;
  -webkit-animation: bounce 1s infinite alternate;
   transition: opacity .5s;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -ms-transition: opacity .5s;
  -o-transition: opacity .5s;
}
@keyframes bounce {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-15px) translateX(-5px);
  }
}
@-webkit-keyframes bounce {
  from {
    transform: translateY(0px) translateX(0px);
  }
  to {
    transform: translateY(-15px) translateX(-5px);
  }
}
