/* HOME HERO CONTENT */
.home-hero-content {
  background-size: cover;
  height: 100vh;
  position: relative;

  -webkit-clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 0% 100%);
}

#heroVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: 10;
}

.home-hero-texts {
  min-height: 100vh;
  position: relative;
  z-index: 50;
  background-image: url("../img/hero_man_bg_full.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
}

.home-hero-texts h1 {
  font-size: 82px;
  line-height: 60px;
  font-weight: 900;
  margin-bottom:25px;
}

.home-hero-texts h1 + p {

}

.hero-move-next {
  display: inline-block;
}

/* Typewriter Text */
.typewriter {
  margin-bottom: 40px;
}

.typewriter h2 {
  font-size: 1.875rem;
  font-weight: 400;
  color: #E1E2E9;
  line-height: 1.467;
  text-shadow: 0 0 15.48px rgba(73, 17, 1, 0.66);
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 3px solid #FFFFFF; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  margin: 0 auto; /* Gives that scrolling effect as the typing happens */
  /*letter-spacing: .15em; !* Adjust as needed *!*/
  animation:
    typing 3.5s steps(40, end),
    blink-caret .75s step-end infinite;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #ffffff; }
}


/* Main top fix */
.home-main-top {
  margin-top: -125px;
  position: relative;
  overflow: hidden;
  height: 140px;
  padding-top: 65px;
  z-index: 60;
}

.home-main-top-grad-bar {
  background:  #24272e;
  height: 140px;
  position: relative;
  width: 100%;
  transform: rotate(-4deg);
  -webkit-backface-visibility: hidden;
  padding: 1px;
  right: -10px;
}

.home-main-top-grad-bar:before {
  content: '';
  display: block;
  width: 100%;
  height: 20px;
  position: absolute;
  background: linear-gradient(to right, #fbad18, #ef726d);
}

.home-main-top-bg-bar {
  background: #24272e;
  position: absolute;
  top: 78px;
  z-index: 50;
  width: 110%;
  height: 100px;
  transform: rotate(-3deg);
  right: -5px;
}

/* HOME ABOUT CONTENT */
.home-main-content {
  background: url("../img/ox_home_main_bg.webp") no-repeat left top;
  position: relative;
  z-index: 70;
  margin-top: -23px;
}

.home-about-content {
  padding: 70px 63px;
}

.home-about-content h3 {
  font-size: 10.5vw;
  line-height: 0.8;
  font-weight: 700;
  margin-bottom: 0;
}

.home-about-info {
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #e1e2e9;
  max-width: 700px;
  margin-bottom: 165px;
}

.home-about-info p {
  margin-bottom: 28px;
}

/* HOME SERVICES CONTENT */
.home-services-text-bg {
  position: relative;
}

.home-services-text-bg h3 {
  font-size: 10.2vw;
  line-height: 150px;
  font-weight: 700;
  color: #626773;
  text-align: center;
}

.home-services-info {
  position: absolute;
  background-color: #24272e;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  padding: 13px 10px;
}

.home-services-info p {
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.3;
  text-align: center;
  color: #e1e2e9;
  max-width: 800px;
  margin: 0 auto;
}

.home-services-title {}

.home-services-title h3 {
  font-size: 10.2vw;
  line-height: 150px;
  font-weight: 700;
  text-align: center;
}

/* SERVICES LIST */
.home-services-list {
  padding-top: 78px;
}

.home-services-list ul {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
}

.home-services-list li {
  flex-basis: 25%;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 15px;
}

.hs-item-content {
  text-align: center;
  max-width: 385px;
  margin: 0 auto;
  min-height: 335px;
}

.hs-item-icon {
  background: linear-gradient(to right, #fbad18, #ef726d);
  width: 133px;
  height: 133px;
  padding: 2px;
  border-radius: 133px;
  margin: 0 auto;
}

.hs-item-icon span {
  background: #24272e;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 131px;
  width: 100%;
  height: 129px;
}

.hs-item-content h4 {
  font-size: 1.5rem;
  color: #E1E2E9;
  font-weight: bold;
  line-height: 1.083;
  margin-top: 18px;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 15px;
}

.hs-item-content h4:after {
  content: '';
  width: 63px;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  background-image: linear-gradient( 0deg, rgb(251,173,24) 0%, rgb(239,114,109) 100%);
  background-image: -moz-linear-gradient( 0deg, rgb(251,173,24) 0%, rgb(239,114,109) 100%);
  background-image: -webkit-linear-gradient( 0deg, rgb(251,173,24) 0%, rgb(239,114,109) 100%);
  background-image: -ms-linear-gradient( 0deg, rgb(251,173,24) 0%, rgb(239,114,109) 100%);
}

.hs-item-content p {
  font-size: 1rem;
  color: #808796;
  line-height: 1.625;
  margin-bottom: 0;
}

/* Bounce on hover */
.animated {
  -webkit-animation-duration: .8s;
  animation-duration: .8s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}
@-webkit-keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
  }

  25% {
    -webkit-transform: translateY(-10px);
  }

  50% {
    -webkit-transform: translateY(0);
  }

  75% {
    -webkit-transform: translateY(-10px);
  }
}
@keyframes bounce {
  0%, 100% {
    -webkit-transform: translateY(0);
  }

  25% {
    -webkit-transform: translateY(-10px);
  }

  50% {
    -webkit-transform: translateY(0);
  }

  75% {
    -webkit-transform: translateY(-10px);
  }
}

.hs-item-content:hover .bounce {
  -webkit-animation-name: bounce;
  animation-name: bounce;
}

/* RESPONSIVE */
@media screen and (max-width: 1500px){

  .home-main-top {
    margin-top: -110px;
  }

  .home-main-top-bg-bar {
    top: 75px;
  }

  .home-main-content {
    margin-top: -40px;
  }

  .home-services-info p {
    font-size: 1rem;
  }

}

@media screen and (max-width: 1300px){

  .home-hero-texts h1 {
    font-size: 4.375rem;
  }

  .typewriter h2 {
    font-size: 1.625rem;
  }

  .home-main-content {
    margin-top: -42px;
  }

  .home-about-info {
    margin-bottom: 115px;
  }

  .home-services-info {
    padding: 10px;
  }

  .home-services-list {
    padding-top: 58px;
  }

  .hs-item-content h4 {
    font-size: 1.25rem;
  }

  .hs-item-icon {
    width: 120px;
    height: 120px;
    border-radius: 120px;
  }

  .hs-item-icon span {
    height: 116px;
    border-radius: 116px;
  }

}

@media screen and (max-width: 1200px) {

  .home-hero-texts h1 {
    font-size: 3.875rem;
    line-height: 1.2;
    margin-bottom: 5px;
  }

  .typewriter {
    margin-bottom: 30px;
  }

  .typewriter h2 {
    font-size: 1.5rem;
  }

  .home-main-content {
    margin-top: -47px;
  }

  .home-about-info {
    font-size: 1.125rem;
    margin-bottom: 85px;
  }

  .home-services-info {
    padding: 8px 10px;
  }

  .home-services-info p {
    font-size: 0.875rem;
  }

  .home-services-list {
    padding-top: 28px;
  }

  .hs-item-content h4 {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 1100px) {

  .home-main-top {
    margin-top: -100px;
  }

  .home-services-info p {
    font-size: 0.8125rem;
  }

}

@media screen and (max-width: 991px) {

  .home-main-top {
    margin-top: -92px;
  }

  .home-hero-texts h1 {
    font-size: 2.8125rem;
    margin-bottom: 10px;
  }

  .typewriter h2 {
    font-size: 1.25rem;
  }

  .home-main-top-bg-bar {
    top: 72px;
  }

  .home-main-content {
    margin-top: -56px;
  }

  .home-hero-texts {
    background: none;
  }

  .home-about-content h3 {
    margin-bottom: 25px;
  }

  .home-about-info {
    margin-bottom: 20px;
  }

  .home-services-title h3 {
    line-height: 0.8;
  }

  .home-services-info p {
    font-size: 1rem;
  }

  .home-services-text-bg h3 {
    display: none;
  }

  .home-services-info {
    position: static;
    top: 0;
    transform: none;
    max-width: 600px;
    margin: 30px auto 10px;
  }

  .home-services-list li {
    flex-basis: 50%;
  }

}

@media screen and (max-width: 767px) {

  .home-hero-texts {
    padding-top: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .home-hero-texts h1 {
    font-size: 2.1875rem;
    text-align: center;
  }

  .typewriter {
    margin-bottom: 20px;
  }

  .typewriter h2 {
    font-size: 1rem;
  }

  .home-hero-content {
    background-image: url("../img/ox_hero_mobile_bg.webp");
    background-repeat: no-repeat;
    background-position: center;
  }

  #heroVideo {
    display: none;
  }

  .home-main-top {
    margin-top: -82px;
  }

  .home-main-top-bg-bar {
    top: 70px;
  }

  .home-main-content {
    margin-top: -62px;
  }

  .home-about-content {
    padding: 45px 30px;
  }

  .home-services-info {
    background: none;
  }

  .home-services-info p {
    font-size: 0.9375rem;
  }
}

@media screen and (max-width: 600px) {

  .home-about-info {
    font-size: 1rem;
    line-height: 1.5;
  }

  .home-about-info p {
    margin-bottom: 20px;
  }

  .home-services-info {
    margin: 20px auto 0;
  }

  .typewriter h2 {
    white-space: normal;
    animation: none;
    border-right: none;
    text-align: center;
  }
}

@media screen and (max-width: 500px) {

  .home-services-list li {
    flex-basis: 100%;
  }

  .hs-item-content {
    min-height: 300px;
  }

}

@media screen and (max-width: 479px) {

  .home-main-content {
    margin-top: -68px;
  }

  .home-hero-texts h1 {
    font-size: 2rem;
  }

}