* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

/* Main */

body {
  overflow: hidden;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  font-family: "Montserrat", sans-serif;
}

/* Navigation */

.navigation {
  position: fixed;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
}

.navigation-bg {
  position: fixed;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
  width: 100%;
  height: 96px;
  background: rgb(232, 229, 220);
}

.navigation-left {
  width: 60px;
  height: 60px;
  margin: 18px 0 0 64px;
}

.navigation-left-small {
  width: 60px;
  height: 60px;
  margin: 18px 0 0 64px;
}

/* Slider wrapper*/
.css-slider-wrapper {
  display: block;
  background: #fff;
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

/* Slider */
.slider {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 1;
  z-index: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  -webkit-transition: -webkit-transform 5400ms;
  transition: -webkit-transform 5400ms, transform 1600ms;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* Slides Background Color */

.slide-1 {
  background-image: url("../media/banners/warpspeed-banner-home-background-desktop.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

.slider.slide-1 .phones-image {
  display: block;
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 36%;
}

@media only screen and (max-width: 1024px) {
  .slider.slide-1 .phones-image {
    top: 40%;
    left: 50%;
    width: 52%;
  }
}

@media screen and (max-height: 768px) {
  .slider .short-screen-text h3 {
    font-size: 12.5px;
  }
}

@media only screen and (max-width: 628px) {
  .slide-1 {
    background-image: url("../media/banners/warpspeed-banner-home-background-mob.jpg");
  }

  .slider.slide-1 .phones-image {
    top: 34%;
    left: 50%;
    width: 76%;
  }
}

.slide-2 {
  background-image: url("../media/banners/the-startup-story-background.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

@media only screen and (max-width: 768px) {
  .slide-2 {
    background-image: url("../media/banners/the-startup-story-background-mob.jpg");
  }
}

.slide-3 {
  background-image: url("../media/banners/automomous-flight.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

@media only screen and (max-width: 768px) {
  .slide-3 {
    background-image: url("../media/banners/automomous-flight-mobile.jpg");
  }
}

.slide-4 {
  background-image: url("../media/banners/flix-premiere.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

@media only screen and (max-width: 768px) {
  .slide-4 {
    background-image: url("../media/banners/flix-premiere-mobile.jpg");
    background-position: 50% 50%;
  }
}

.slide-5 {
  background-image: url("../media/banners/entrepreneur-seminar.jpg");
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: none;
}

@media only screen and (max-width: 768px) {
  .slide-5 {
    background-image: url("../media/banners/entrepreneur-seminar-mobile.jpg");
    background-position: 50% 50%;
  }
}

.slide-6 {
  background-image: url("../media/banners/parcel-fly.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

.slide-7 {
  background-image: url("../media/banners/bot-objects-banner.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

@media only screen and (max-width: 628px) {
  .slide-7 {
    background-image: url("../media/banners/botobjects-banner-mob.jpg");
  }
}

.slide-8 {
  background-image: url("../media/banners/youtube-account-banner.png");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: none;
}

#slide-8-title {
  font-size: 56px;
}

@media only screen and (max-width: 768px) {
  .slide-8 {
    background-image: url("../media/banners/youtube-account-banner-mob.png");
    background-position: 50% 50%;
  }

  #slide-8-title {
    font-size: 34px;
  }
}

.slider {
  display: flex;
  justify-content: flex-start;
}

.slider-content {
  position: fixed;
  left: 64px;
  bottom: 42px;
  width: 40%;
}

/* Slider Inner Slide Effect */
.slider h2 {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
  font-size: 55px;
  padding: 0;
  line-height: 75px;
}

.slider h3 {
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  margin: 0 0 20px 0;
  font-weight: 400;
  font-size: 22px;
  padding: 0;
  line-height: 28px;
}

.slider > img {
  position: absolute;
  right: 64px;
  bottom: 64px;
  height: auto;
}

.slider a {
  cursor: pointer;
}

/* Slider Pagger */
.slider-pagination {
  position: absolute;
  top: 45%;
  width: 15px;
  right: 32px;
  z-index: 1000;
  text-align: center;
}

.slider-pagination label {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  background: #fff;
  margin: 5px 0;
  cursor: pointer;
}

/* Buttons */

[class^="hvr-"] {
  margin: 0.4em;
  padding: 1em;
  background: #fca02f;
  text-decoration: none;
  color: #042d41;
  /* Prevent highlight colour when element is tapped */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

  /* Smooth fonts */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  border-radius: 30px;
  cursor: pointer;
}

@media only screen and (min-height: 812px) and (max-width: 767px) {
  [class^="hvr-"] {
    margin: 0 0.4em 0 0;
    padding: 0.8em;
  }
}

/* Wobble Horizontal */
@-webkit-keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }

  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }

  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }

  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }

  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.hvr-wobble-horizontal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

.hvr-wobble-horizontal:hover,
.hvr-wobble-horizontal:focus,
.hvr-wobble-horizontal:active {
  -webkit-animation-name: hvr-wobble-horizontal;
  animation-name: hvr-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

/* Footer */

footer {
  display: block;
  text-align: center;
  width: 100%;
  color: #aeacad;
  padding-bottom: 20px;
}

#copyright {
  font-size: 15px;
  font-weight: 300;
}

.social-icons a {
  display: inline-block;
  cursor: pointer;
  margin: 20px 5px;
  text-align: center;
  color: #fca02f;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #000;
}

.links-body {
  background: #e8e5dc;
  overflow: scroll;
  padding-top: 85px;
}

.links-navigation {
  background: #e8e5dc;
  margin-top: -85px;
  height: 85px;
}

.links-titles {
  text-align: center;
  width: 80%;
  margin: 32px auto;
}

.links-titles h1 {
  color: #000000;
  font-size: 22px;
  margin-bottom: 12px;
}

.links-titles h2 {
  color: #000000;
  font-size: 16px;
  margin-bottom: 12px;
}

.links-footer {
  display: block;
  text-align: center;
  width: 100%;
  position: absolute;
  bottom: 32px;
  color: #aeacad;
}

.links-row {
  padding: 0 32px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.link-item {
  text-align: center;
  padding: 15px;
  margin: 15px 0;
  height: 300px;
  width: 100%;
}

@media only screen and (min-width: 768px) {
  .navigation-bg {
    background: none;
  }

  .links-row {
    max-width: 1200px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .link-item {
    width: 48%;
  }
}

@media only screen and (min-width: 1024px) {
  .links-titles {
    margin-top: 96px;
  }

  .link-item {
    width: 30%;
  }
}

.link-item-image {
  height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.link-item-image img {
  width: 100%;
  height: auto;
  max-width: 215px;
  margin-bottom: 15px;
}

.link-item-content a {
  color: inherit;
}

.flix {
  background: #000000;
  color: #ffffff;
}

.es {
  background: #ffffff;
  color: #767776;
}

.af {
  background: #2e2d2c;
  color: #ffffff;
}

.mw {
  background: #3b3435;
  color: #ffffff;
}

.pf {
  background: #ffffff;
  color: #767776;
}

.yt {
  background: #ffffff;
  color: #767776;
}

/*@media only screen and (min-width: 1024px) {*/
/*  .pf {*/
/*    order: 5*/
/*  }*/
/*}*/

.wikipedia {
  background: #e9e9e9;
  color: #767776;
}

.link-item-content {
  font-weight: 200;
}

#html5-watermark {
  display: none !important;
}

/* Responsive */
@media only screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .navigation-left-small {
    width: 60px;
    height: 60px;
    margin: 0 0 0 5px;
  }

  .slider h2 {
    font-size: 30px;
    line-height: inherit;
  }

  .slider h3 {
    font-size: 20px;
  }

  .slider-content {
    padding: 0 0 0 5%;
    width: 90%;
    left: 0;
  }

  .navigation {
    padding: 0 2%;
  }

  .navigation-left {
    margin: 18px 0 0 3%;
    width: 60px;
    height: 60px;
  }

  .number-pagination {
    right: 2%;
  }

  .slider-pagination {
    right: 5%;
  }

  /* .slider>img {
    display: none;
  } */

  .owl-carousel .owl-item img {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .slider-content {
    bottom: 100px;
  }
}

@media only screen and (min-height: 812px) and (max-width: 767px) {
  .slide-3 {
    background-image: url("../media/banners/automomous-flight-mobile-x.jpg");
    background-position: 50% 0%;
  }

  .slide-4 {
    background-image: url("../media/banners/flix-premiere-mobile-x.jpg");
    background-position: 50% 0%;
  }

  .slide-5 {
    background-image: url("../media/banners/entrepreneur-seminar-mobile-x.jpg");
    background-position: 50% 0%;
  }

  .slider-content {
    bottom: 140px;
  }
}

/* Intro Video Page */

.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.introVideoPoster {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 100%;
  margin: auto;
}

.introVideoPlaying {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

#videoLoading {
  display: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  z-index: 1;
}

#overlayContainer {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 2s;
}

.overlayBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.enterButton {
  font-size: 1em;
  font-weight: 600;
  text-align: center;
  padding: 20px;
  background-color: rgba(252, 160, 47, 0.6);
  color: white;
  cursor: pointer;

  > a {
    text-decoration: none;
    color: white;
  }
}

.dontShowMeCheckbox {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

#skipIntroCheckbox {
  display: none;
}

#skipIntroCheckbox + label {
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
}

#skipIntroCheckbox + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 3px;
}

#skipIntroCheckbox:checked + label::after {
  content: "\2713";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #fff;
}

.volume {
  position: absolute;
  font-size: 24px;
  padding: 8px;
  color: #fff;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

#more {
  display: inline;
}

#dots,
#readMore {
  display: none;
}

@media only screen and (max-width: 768px) {
  #more {
    display: none;
  }

  #dots,
  #readMore {
    display: inline;
  }
}

/* Interview Blocks Allocation */

#interview-block-shown-md {
  display: block;
}

#interview-block-shown-above-md {
  display: none;
}

@media only screen and (min-width: 901px) {
  #interview-block-shown-md {
    display: none;
  }

  #interview-block-shown-above-md {
    display: block;
  }
}

/* Slide Text Content Shadow */

.content-shadow {
  text-shadow: #000 1px 0 10px;
}

/* Title and Subtitle Box */

.title-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.yt-channel-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#yt-logo {
  position: relative;
  width: 160px;
  height: auto;
  margin-bottom: 42px;
  margin-right: 12em;
}

@media only screen and (max-width: 768px) {
  .yt-channel-box {
    align-items: start;
  }

  #yt-logo {
    display: block;
    position: relative;
    width: 64px;
    height: auto;
    align-self: flex-start;
    margin-bottom: 12px;
  }
}
