.prev,
.next {
  position: fixed;
  top: 50%;
  width: 56px;
  height: 130px;
  margin-top: -75px;
  background: #000000;
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-transform: uppercase;
  font-size: 14px;
  padding-top: 40px;
  text-align: center;
  z-index: 199;
}
.button {
  height: 160px;
  width: 130px;
  border: 2px solid #f6f8f9;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  margin-left: -70px;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 3 !important;
  transition: all 0.5s ease;
}
.button:hover {
  background-color: #f6f8f9;
}

.button:after {
  content: "";
  background-image: url(/assets/images/arrow-bottom.png);
  width: 8px;
  height: 23px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -4px;
  margin-top: -11.5px;
  transition: all 0.5s ease;
}
.button:hover:after {
  background-position: center bottom;
}
.prev:hover .realisation,
.next:hover .realisation {
  -webkit-transform: rotateY(0);
  transform: rotateY(0);
}

.prev.next .realisation,
.next.next .realisation {
  right: 56px;
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}

.prev.prev .realisation,
.next.prev .realisation {
  left: 56px;
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
}

.prev .realisation,
.next .realisation {
  position: absolute;
  top: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: rotateY(-90deg);
  transform: rotateY(-90deg);
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.prev:hover,
.next:hover {
  background: #ffffff;
  color: #000000;
}

.prev span,
.next span {
  display: block;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

#header {
  background: #000000;
  background-image: url(../assets/realisation/head_img.jpg);
  background-size: cover;
  height: 100vh;
  max-height: 100vh;
  min-height: initial;
  position: relative;
}

#header .menu {
  z-index: 111;
}

#header .text {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  text-align: center;
}

#header .text h1 {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-size: 72px;
  color: #ffffff;
  line-height: 82px;
  margin-bottom: 48px;
}

#header .text h2 {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-size: 72px;
  color: #ffffff;
  line-height: 82px;
  margin-bottom: 48px;
}

#header .text h3 {
  font-family: "industry", sans-serif;
  font-weight: 900;
  font-size: 72px;
  line-height: 72px;
  color: #ffffff;
}

#overview .container:after {
  clear: both;
  display: table;
  float: none;
  content: "";
}

#overview .left,
#overview .right {
  float: left;
}

#overview .left {
  width: 46%;
}

#overview .left h1 {
  font-family: Lato, sans-serif;
  font-size: 52px;
  color: #000000;
  line-height: 62px;
  font-weight: 100;
  padding-top: 94px;
  margin-bottom: 57px;
}

#overview .left h2 {
  font-family: Lato, sans-serif;
  font-size: 52px;
  color: #000000;
  line-height: 62px;
  font-weight: 100;
  padding-top: 94px;
  margin-bottom: 57px;
}

#overview .left p {
  font-family: Lato, sans-serif;
  font-size: 21px;
  line-height: 27px;
  color: #000000;
  font-weight: 300;
}

#overview .left ul {
  list-style: none;
  margin-top: 64px;
  margin-left: 11px;
}

#overview .left ul li {
  display: inline-block;
  margin-right: 55px;
}

#overview .left ul li svg {
  width: 36px;
}

#overview .left ul li svg path {
  fill: #000;
}

#overview .right {
  width: 20%;
  padding-top: 280px;
  margin-left: 161px;
}

#overview .right p {
  font-family: industry;
  font-weight: bold;
  color: #bbbbbb;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 22px;
}

#overview .right p strong {
  font-weight: bold;
  color: #000000;
  display: block;
  margin-bottom: 10px;
}

#overview .right a {
  font-size: 14px;
  color: #bbbbbb;
  text-decoration: none;
  display: inline-block;
  margin-top: 26px;
  letter-spacing: 1.5px;
}

#macs {
  height: 1000px;
  position: relative;
}

#macs .mac_1 {
  left: 0;
  top: 16.6%;
  max-width: 76%;
  z-index: 2;
}

#macs .mac_2 {
  right: 0;
  top: 6%;
  max-width: 63%;
  width: 100%;
  z-index: 1;
}

#macs img {
  position: absolute;
}

#slides {
  position: relative;
}

#slides .container {
  position: relative;
}

#slides > * {
  z-index: 20;
}

#slides h2 {
  text-align: center;
  font-family: Lato, sans-serif;
  font-weight: 100;
  color: #000000;
  font-size: 72px;
  line-height: 82px;
  margin-bottom: 183px;
}

#slides .owl-item {
  opacity: 0.3;
  -webkit-transition: all 0.3;
  transition: all 0.3;
}

#slides .owl-item.active.center {
  opacity: 1;
}

#slides .owl-item:hover {
  opacity: 0.6;
}

#slides img {
  max-width: 100%;
  display: block;
}

#slides .owl-controls {
  text-align: center;
}

#slides .owl-dots {
  text-align: center;
  border-radius: 20px;
  background: #ffffff;
  -webkit-box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.14);
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.14);
  display: inline-block;
  padding: 6px 16px;
}

#slides .owl-dots .owl-dot {
  display: inline-block;
}

#slides .owl-dots .owl-dot.active span,
#slides .owl-dots .owl-dot:hover span {
  opacity: 1;
}

#slides .owl-dots .owl-dot span {
  display: block;
  height: 10px;
  width: 10px;
  opacity: 0.3;
  margin: 0 4px;
  border: 2px solid #000000;
  border-radius: 50%;
}

.browser-window {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  -webkit-box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 10px 35px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 50px;
}

.browser-window .browser-header {
  height: 61px;
  background: #f7f7f7;
  padding: 24px 18px;
}

.browser-window .browser-header span.button {
  cursor: pointer;
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #c6c6c6;
  margin: 0 3px;
}

.browser-window .browser-header span.button:hover {
  background: #ff6e67;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2),
    0 0 1px rgba(0, 0, 0, 0.3) inset, 0 -2px 5px rgba(0, 0, 0, 0.15) inset;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 -2px 5px rgba(0, 0, 0, 0.15) inset;
}

.browser-window .browser-header span.button + .button:hover {
  background: #fbc054;
}

.browser-window .browser-header span.button + .button + .button:hover {
  background: #9fd471;
}

.ip-ipad {
  margin: 0 auto;
  margin-top: 102px;
  display: block;
  z-index: 19;
  position: relative;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

section#references {
  margin-top: -127px;
  background: transparent;
}

.mac-3 {
  position: relative;
  z-index: 111;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  margin-top: 120px;
  max-width: 90%;
}

section#design {
  position: relative;
  padding-bottom: 222px;
}

section#design .floating {
  z-index: -9;
  position: absolute;
  left: -19px;
  max-width: 72%;
  bottom: 0;
}

section#design h2 {
  font-family: "industry", sans-serif;
  font-weight: 900;
  font-size: 72px;
  color: #000000;
  line-height: 72px;
  text-align: right;
  padding-top: 214px;
}

footer.black {
  background: #000000;
}

footer.black p {
  color: #ffffff;
  opacity: 1;
}

footer.black svg polygon,
footer.black svg path {
  fill: #fff;
}

section#header .menu {
  position: fixed;
}

.first-screen video {
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
}

.first-screen:after {
  content: " ";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: -99;
  background: rgba(0, 0, 0, 0.58);
  top: 0;
  left: 0;
}

#skos2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f6f8f9;
  -webkit-transform: skew(0, -25deg);
  transform: skew(0, -25deg);
  z-index: 5;
  top: 0;
}

#skos3 {
  height: 0;
  position: absolute;
  width: 100%;
  background: #f6f8f9;
  -webkit-transform: skew(0, -25deg);
  transform: skew(0, -25deg);
  z-index: 5;
  top: 0;
  -webkit-transform-origin: left;
  transform-origin: left;
}

#skos1 {
  z-index: 3;
  position: absolute;
  width: 100%;
  height: 200%;
  background: #fff;
  -webkit-transform: skew(0, -25deg);
  transform: skew(0, -25deg);
}

@media (max-width: 768px) {
  body {
    background: inherit;
  }
  .ip-ipad {
    padding: 0 20px;
  }
  #header .text h1 {
    font-size: 49px;
    color: #ffffff;
    line-height: 59px;
    margin-bottom: 21px;
  }
  #header .text h2 {
    font-size: 49px;
    color: #ffffff;
    line-height: 59px;
    margin-bottom: 21px;
  }
  #header .text h3 {
    font-size: 49px;
  }
  #overview .left,
  #overview .right {
    float: none;
    width: 100%;
  }
  #overview .right {
    margin-left: 0;
    padding-top: 50px;
  }
  #macs {
    height: 680px;
  }
  #slides .realisation-slider {
    padding: 0 20px;
  }
  section#design h2 {
    text-align: center;
    font-size: 49px;
    padding-top: 154px;
  }
  section#design .floating {
    max-width: 100%;
    left: 0;
    right: 0;
  }
}

@media (max-width: 380px) {
  #slides h2 {
    font-size: 42px;
    line-height: 56px;
    margin-bottom: 40px;
  }
  #macs {
    height: 410px;
  }
  #header .text h2 {
    padding: 0 50px;
    font-size: 37px;
    line-height: 44px;
  }
  #header .text h3 {
    padding: 0 50px;
    font-size: 37px;
    line-height: 44px;
    display: none;
  }
  #overview .left h2 {
    padding-top: 0;
  }
  #overview .left ul li {
    margin-right: 30px;
  }
  section#design h2 {
    font-size: 44px;
    padding-top: 103px;
  }
}

@media (max-width: 500px) {
  .prev,
  .next {
    display: none;
  }
}

@media (max-width: 800px) and (min-width: 767px) {
  #overview .left {
    text-align: center;
  }

  #overview .left,
  #overview .right {
    padding: 0 80px;
  }

  .mac-3 {
    max-width: 70%;
  }
  section#references h3 {
    font-size: 41px;
    line-height: 59px;
    margin-top: 64px;
    padding: 0 50px;
  }
  section#design h2 {
    margin-bottom: 100px;
  }
  section#design h2 {
  }
}

.page-speed__title {
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
}

.page-speed {
  display: flex;
  flex-wrap: wrap;
}

.page-speed__element {
  width: 30%;
}

.page-speed__element__percent {
  font-size: 35px;
}
.page-speed__element__name {
  font-weight: 300;
}
.scroll-section {
  text-align: center;
  z-index: 17;
  position: relative;
  margin-top: 102px;
}
.scroll__animation {
  position: relative;
  margin: 0 10px;
}
.scroll__animation__area {
  position: absolute;
  overflow: hidden;
  border-radius: 3px;
}
.scroll__animation--iphone {
  max-width: 243px;
  margin-right: -180px;
  z-index: 1;
}

.scroll__animation--iphone .scroll__animation__area {
  width: 216px;
  height: 387px;
  left: 12px;
  top: 47px;
}

.scroll__animation__area img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.scroll__animation__screen {
  width: 100%;
}

.scroll__animation--macair {
  width: 980px;
}
.scroll__animation--macair .scroll__animation__area {
  width: 740px;
  height: 490px;
  left: 120px;
  top: 20px;
}

.scroll__animation--tablet .scroll__animation__area {
  width: 672px;
  height: 506px;
  left: 228px;
  top: 41px;
}

.scroll-section {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

@media (max-width: 767px) {
  .scroll__animation--macair {
    max-width: 330px;
  }
  .scroll__animation--macair .scroll__animation__area {
    height: 161px;
    left: 49px;
    right: 49px;
    width: 260px;
    width: calc(100% - 96px);
    height: 130px;
  }
  .scroll__animation--iphone {
    display: none;
  }
}

.realisation__text-featured {
  font-weight: 400;
  font-size: 24px;
}
