
body {
  text-transform: lowercase;
}

#myVideo, #myVideo2 {
  position: absolute;
  right: 0;
  bottom: 0;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black; /* in case the video doesn't fit the whole page*/
  background-position: center center;
  background-size: contain;
  object-fit: cover; /*cover video background */
  z-index:3;
}

#section1 .layer{
  position: sticky;
  z-index: 4;
  width: 100%;
  -webkit-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.button-slide {
  background: rgba(0, 0, 0, .2);
  padding: 15px 35px;
  border: 1px solid #fff;
  color: #fff;
  margin-top: 1rem;
  font-size: 1rem;
}
.button-slide:hover {
  background: #fff;
  color: #000;
}

/* slides */
.section h1 {
  font-size: 4rem;
  line-height: 4.3rem;
  color: #fff;
  text-align: center;
}
.section h1 span {
  color: var(--red);
}
#fullpage .background h1 {
  background: #fff;
  display: table;
  margin: auto;
  padding: .5rem 1rem;
  color: #000;
  width: auto;
}

#fullpage .background h1.dark {
  background:rgba(0, 0, 0, .9);
  display: table;
  margin: auto;
  padding: .5rem 1rem;
  color: #fff;
  width: auto;
}

.section .background h4 {
  margin-top: 1rem !important;
  padding: .5rem 1rem;
  display: table;
  margin: auto;
  background: rgba(0, 0, 0, .7);
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -1px;
  color: #fff;
  text-align: center;
}


/* slider nav */
.fp-slidesNav {
  text-align: center;
  bottom: 5% !important;
}
#fp-nav ul li a span,
.fp-slidesNav ul li a span {
    background: var(--red);
}


/* slide who we are */
.whoweare {
  text-align: center !important;
  color: #fff;
  font-size: 2rem;
  line-height: 2.5rem;
}
h1 span.dash {
  color: #fff;
  border-bottom: 12px solid var(--red);
}
.whoweare h3 {
  font-size: 5rem;
  color: var(--red);
}

.whoweare p span {
  color: var(--red);
}
.whoweare h1 {
  margin-bottom: 3rem;
}

/* titles */
.title h2 {
  margin-bottom: 3rem;
  font-size: 5rem;
  letter-spacing: -1px;
  line-height: 5.5rem;
  font-weight: 200;
  position: relative;
}
.title span:before {
  content: " ";
  background: var(--red);
  height: 15px;
  position: absolute;
  bottom: -5px;
  width: 150px;
  left: 50%;
}

/* cases */
.cases {
  padding: 8rem 0;
}
.cases .title {
  margin-bottom: 2rem;
}
.case-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.img-case-wrapper {
  width: 100%;
  height: 100%;
  transition: all 1s;
  position: relative;
  background-size: cover !important;
}
.img-case-wrapper:hover {
  -ms-transform: scale(1.2); /* IE 9 */
  -webkit-transform: scale(1.2); /* Safari 3-8 */
  transform: scale(1.2); 
}
#section3 .cases .txt-wrapper {
  margin-left: 10px;
  margin-top: -10px;
}
#section3 .cases .txt-wrapper p {
  color: var(--red);
  font-size: 1.2rem;
}
#section3 .cases h3 {
  font-size: 4rem;
  line-height: 4.5rem;
  margin-top: 0px;
  margin-bottom: 0;
}

#section3 .cases h3:before {
  content: "";
  display: block;
  width: 120px;
  height: 25px;
  background: var(--red);
  left: 0;
  top: -5px;
  position: relative;
  z-index: 2000;
}

.logos-wrapper .cell {
  width: 100px;
  height: 100px;
}

.client-logos {
  padding: 1.25rem;
  max-height: 130px;
}

/* Small only */
@media screen and (max-width: 39.9375em) {
  .client-logos {
    padding: 10px 5px;
    max-height: 55px;
  }
  #clients-bg {
    background: url('../img/clients-mobile.png') no-repeat center center;
  }
  
  .section h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }
  .cases {
    padding: 5rem 0;
  }
  .clients {
    padding: 5rem 0;
  }
  .whoweare {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
  .txt-wrapper h3 {
    font-size: 2.5rem !important;
    line-height: 3rem !important;
  }
  .title h2 {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  .title span:before {
    content: " ";
    background: var(--red);
    height: 20px;
    position: absolute;
    bottom: -15px;
    width: 100px;
    left: 50%;
  }

  h1 span.dash {
    border-bottom: 8px solid var(--red);
  }
  footer span.dash {
    border-bottom: 8px solid #fff;
  }
  #section3 .cases h3:before {
    height: 15px;
    top: -5px;
  }
  .title span:before {
    height: 12px;
    bottom: -8px;
    width: 80px;
  }
    
}
.fp-controlArrow {
  opacity: 0;
}

.slider-arrow-right, .slider-arrow-left {
  height: 20px;
  width: 10.54px;
  margin-top: -17px;
  cursor: pointer;
}
.slider-arrow-right {
  margin-left: 5px;
}
.slider-arrow-left {
  margin-right: 5px;
} 


/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
  #clients-bg {
    background: url('../img/clients-tablet.png') no-repeat center center;
  }
}

/* Large and up */
@media screen and (min-width: 64em) {
  #clients-bg {
    background: url('../img/clients-desktop.png') no-repeat center center;
  }
}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}
