.sans-serif {
  font-family: "Libre Baskerville", serif;
  font-family: "Source Sans Pro", sans-serif;
}
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
#video-container {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 120vw;
  height: 120vh;
  background: url("../small-poster.jpg") no-repeat center center;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
}
#bg-video {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  transform: translate(0, 0);
  max-width: 110%;
  max-height: 110%;
}
.menu {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 105px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 70px;
}
.menu li {
  margin: 0 10px;
  padding: 0 5px;
}
.menu li {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s;
  position: relative;
}
.menu li.active {
  background-color: rgba(0, 0, 0, 0.5);
}
.menu li img {
  width: 80px;
  height: 80px;
}
.menu li p {
  text-align: center;
  color: #fff;
  margin-top: 0px;
  position: absolute;
  top: 82px;
  font-family: "Source Sans Pro", sans-serif;
}
.menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.menu a:hover {
  color: #ffcc00;
}
.progressbar {
  content: "";
  display: block;
  height: 1px;
  left: 0px;
  bottom: 0px;
  background-color: #fff;
  width: 100%;
  position: absolute;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  /* transition: transform 0.05s ease-in-out;*/
}
li:hover {
  cursor: pointer;
}
.counterHelper {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #000;
}
.fa {
  position: relative;
}
.fa:before {
  font-size: 44px;
  color: #fff;
  z-index: 99999;
}
.skip-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  right: 20px;
  flex-direction: column;
  justify-content: center;
}
.skip-left {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  left: 20px;
  flex-direction: column;
  justify-content: center;
}
.play_pause {
  position: fixed;
  bottom: 30px;
  transform: translateY(-50%);
  display: flex;
  right: 30px;
  flex-direction: column;
  justify-content: center;
}
.fa:hover {
  cursor: pointer;
}
.trigger-point.active.paused {
  animation-play-state: paused !important;
}
.menu.fade-out,
.menu {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.2s ease-out, transform 0.6s ease-out;
}
.menu.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease-out, transform 0.6s ease-out;
}
.arrow.fade-out,
.arrow {
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.arrow.fade-in {
  opacity: 1;
  transition: opacity 0.2s ease-out;
}
h2 {
  font-family: "Libre Baskerville", serif;
}
.text-content .trigger-point h2 {
  display: inline;
  float: left;
  /*width:auto !important;*/
}
.text-content .text-content {
  opacity: 1 !important;
  right: 35px;
  top: -50px;
  display: block;
  max-width: 500px;
  position: absolute;
  background-color: #fff;
  padding: 30px 50px;
  color: #373737;
  height: auto !important;
}
.leftarrow {
  position: absolute;
  top: 53px;
  left: -10px;
  content: "";
  width: 0;
  height: 0;
  border-right: solid 10px #ffffff;
  border-bottom: solid 10px transparent;
  border-top: solid 10px transparent;
}
.prehead {
  font-family: "Libre Baskerville", serif;
  font-style: italic;
  font-size: 16px;
  letter-spacing: 5px;
  color: #373737;
  display: block;
  clear: both;
  margin-top: 5px;
}
h3.head {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: #373737;
  display: block;
  clear: both;
  margin-bottom: 10px;
  margin-top: 15px;
}
.text-content p {
  font-size: 18px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  padding-top: 0px;
  color: #373737;
  display: block;
  clear: both;
  padding-right: 60px;
}
.rightarr {
  display: block;
  float: left;
  clear: both;
}
.text-content * {
  display: block !important;
  clear: both !important;
  height: auto !important;
  width: auto !important;
  position: relative !important;
}
.rightarr:before {
  color: #009fff;
  font-size: 25px;
}
.rightarr:hover {
  cursor: pointer;
}
.text-content .leftarrow {
  position: absolute !important;
}
.trigger-point {
  height: auto;
  overflow: visible !important;
  position: relative;
}
.text-content {
  width: 500px !important;
  background-color: #fff !important;
  padding: 50px !important;
  position: absolute !important;
  top: -50px;
  left: 214px;
  height: auto !important;
}
.trigger-point h2 {
  position: absolute;
  left: -167px;
  width: auto;
  display: inline;
  width: 360px;
  text-align: right;
  display: block;
  padding-right: 40px;
}
.activeh2 {
  height: 300px;
}
#video-container {
  min-height: 680px !important;
}
.hide {
  display: none !important;
}
.video {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu {
  bottom: 60px;
}
/* Media query for screens below 992px */
@media (max-width: 992px) {
  .menu {
    bottom: 0px;
  }
}
@media screen and (max-width: 767px) {
  * {
    max-width: 100vw;
  }
  .menu.fade-in {
    width: 300px;
  }
  .menu {
    position: absolute;
    bottom: 5px;
    left: 0px;
    float: left;
    height: 100px;
    width: 300px;
    overflow-x: hidden;
    height: 133px;
    padding: 0px;
    margin: 0px;
  }
  .menu::-webkit-scrollbar {
    display: none;
    /* For Chrome, Safari, and Opera */
  }
  .menu_ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  .video-container {
    translate: none !important;
  }
  #video-container {
    left: 0px !important;
    bottom: 0px !important;
    transform: none !important;
  }
  /*.menu_ul li {
    flex: 0 0 auto; 
    width: 200px; 
  
    margin-right: 10px;
    background-color: #f0f0f0;
    padding: 10px;
    text-align: center;
  }*/
  /*.swiper-container {
  
  }*/
  .swiper-slide {
    background-size: cover;
    background-position: 50%;
    min-height: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 0px;
    padding: 0px;
  }
  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .trigger-point h2 {
    text-align: left;
  }
  .text-content {
    width: 286px !important;
    bottom: 25px;
    left: -208px;
    top: auto;
    padding: 25px 35px !important;
  }
  .text-content h3.head {
    margin-top: 5px;
    letter-spacing: 0.946px;
    font-size: 22px;
  }
  .text-content .leftarrow {
    top: auto;
    bottom: -15px;
    left: 60px;
    transform: rotate(-90deg);
  }
  .text-content p {
    padding-right: 0px;
    font-size: 16px;
    color: #373737;
    line-height: 24px;
    font-weight: 400;
  }
  .skip-left,
  .skip-right {
    display: none !important;
  }
  .video-overlay,
  .video-overlay.passive {
    display: none;
  }
  .video-overlay.active {
    display: block;
  }
  .menu ul {
    margin-bottom: 0px;
  }
  .menu li p {
    margin-top: 0px;
    top: 90px;
    word-break: break-word;
  }
  .swiper-slide {
    min-height: auto;
  }
  .menu li {
    padding: 0px;
    margin: 0px;
  }
  .swiper {
    width: 100%;
    height: 100%;
  }
  .menu li img {
    width: 60px;
    height: 80px;
  }
  .trigger-point.active .text-content {
    display: none !important;
  }
}
.skip-right:before,
.skip-left:before {
  position: relative;
  top: -12px;
}
@media (min-width: 1024px) and (max-width: 1300px) {
  .play_pause {
    bottom: 18px;
  }
  i.fa:before {
    font-size: 38px !important;
  }
  .menu {
    bottom: 40px;
  }
  .menu_ul li img {
    width: 60px !important;
    height: 60px !important;
  }
  .menu_ul li p {
    font-size: 14px;
    top: 68px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .text-content.active {
    width: 300px !important;
  }
  .play_pause {
    bottom: 14px;
  }
  i.fa:before {
    font-size: 32px !important;
  }
  .menu {
    bottom: 20px;
  }
  .menu_ul li img {
    width: 40px !important;
    height: 40px !important;
  }
  .menu_ul li p {
    font-size: 11px;
    top: 48px;
  }
}
