:root {
  --gray: #3a3a3a;
  --green: #42703e;
}
/* font declaration -------------------------------------------------------- */
@font-face {
  font-family: 'Nexa Regular';
  src: url('../assets/fonts/Nexa-Regular-Italic.woff2') format('woff2'),
      url('../assets/fonts/Nexa-Regular-Italic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nexa XBold';
  src: url('../assets/fonts/Nexa-XBold-Italic.woff2') format('woff2'),
      url('../assets/fonts/Nexa-XBold-Italic.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* animation class --------------------------------------------------------- */
[data-hidden],
.hidden {
  visibility: hidden;
}
/* useful for img caching -------------------------------------------------- */
.no-display {
  display: none;
}
/* reset ------------------------------------------------------------------- */
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;

  /* background-color: #6d388d; */
  background-color: #6c378b;
  color: white;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-style: normal;
  font-weight: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
    "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
img {
  display: block;
  backface-visibility: hidden;
  flex-shrink: 0; /* IE fix */

  max-width: 100%;
  height: auto;

  /* max-height: 100%; */
  /* width: auto; */
}
button {
  display: block;
  margin: 0;
  overflow: visible;
  background-color: transparent;
  border: none;
  padding: 0;
  border-radius: 4px;
  color: inherit;
  font-family: inherit;
  font-size: 100%;
  font-weight: normal;
}
small {
  font-size: smaller;
}
em {
  font-weight: 700;
}
video {
  max-width: 100%;
}
/* layout ------------------------------------------------------------------ */


.wrapper {
  /* position: fixed; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* iPhone 7 fix */
}
.wrapper-side {
  width: 100%;
  height: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.flex-v {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.flex-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.full {
  width: 100%;
  height: 100%;
}
.pos-c {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.pos-cx {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.pos-a {
  position: absolute;
  top: 0;
  left: 0;
}
.pos-full {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.faux-top {
  height: 250px;
  width: 1000px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.faux-side {
  height: 100%;
  width: 400px;
  position: absolute;
  top: 0;
}
.faux-side.left {
  left: 0;
}
.faux-side.right {
  right: 0;
}
/* .video-container {
  height: 100%;
  width: auto;
}
.video-container.width {
  height: auto;
  width: 100%;
}
.video-container-side {
  width: 100%;
  max-width: 400px;
} */

[jp-controls] {
  height: 100%;
}
#body_expanded {
  background-color: transparent;
  opacity: 0;
  overflow: hidden;
}
#body_expanded.fade-in {
  transition: opacity 0.3s;
  opacity: 1;
}

#body_top #vast-container {
  height:100%;
  width:45%;
}

#body_right #vast-container, #body_left #vast-container {
  visibility: hidden;
  width: 100%;
  max-width: 400px;
}




.bg {
  background-size: cover;
  background-position: center;
}
.bg-img {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  object-position: center;
}
.pulse {
  animation: pulse 4.2s infinite;
}
.cta {
  letter-spacing: 0.5px;
  margin-left: auto;
  margin-right: auto;
  will-change: transform;
  transition: transform 0.3s ease-out;
  transform: scale(1);
  max-width: 240px;
  min-width: 100px;
  width: 66%;
}
.cta:hover {
  transform: scale(1.08) !important;
}
/* custom ------------------------------------------------------------------ */
/* start here */
/* --------------------------------- TOP------------------------------------ */
#body_top .visual-top-container{
  width: 55%;
  height: 100%;
  
}
#body_top .visual-top{
  width: 45%;
}
.video-top-wrapper{
  width: 45%;
  height: 100%;
  justify-content: flex-end;
}
/* --------------------------------- LEFT ---------------------------------- */
#body_left .wrapper{
  padding-bottom: 5vh;
}
#body_left .wrapper > *{
  width: 100%;
}
#body_left .visual-top-container,
#body_right .visual-top-container{
  height: 20vh;
  width: 70%;
  align-items: center;
  justify-content: flex-start;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: 1em;
}


#body_right .visual-top-container{
  margin-top: 0em;
}
#body_left .visual-top{
  width: 20vh;
}
.logo-container{
  height: 8vh;
  width: 70% !important;
  background-position:center;
  background-size: contain;
  background-repeat: no-repeat;
  max-width: 220px;
}

.copy-container{
  position: relative;
  height: 15vh;
  text-align: center;
}
.copy-wrapper{
  width: 100%;
}
h1{
  font-size: 1.5em;
  font-family: 'Nexa XBold';
  line-height: 1.2em;
}
p{
  font-size: 1.5em;
  font-family: 'Nexa Regular';
}
p span{
  font-size: 1em;
  font-family: 'Nexa XBold';
}
.visual-side-container{
  height: 30%;
  width: 85% !important;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
 
}

.cta-container{
  height: 10vh;
}
/* --------------------------------- RIGHT ---------------------------------- */
#body_right .wrapper{
  padding-bottom: 5vh;
}
#body_right .wrapper > *{
  width: 100%;
}
.video-wrapper-side{
  position: relative;
  width: 100%;
  height: 20%;
}
#body_right .visual-side-container{
  position: relative;
}
#carousel{
  height: 100%;
  width: auto;
}
.jp-carousel-arrownav-holder-left, .jp-carousel-arrownav-holder-right{
  display: none;
}
.visual-number{
  position: absolute;
  width: 50vh;
  max-width: 130%;
}
/* media queries ----------------------------------------------------------- */
/*@media (max-width: 1000px) {}*/
@media (max-width: 550px) {
  h1{
    font-size: 2em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  p{
    font-size: 2em;
    font-family: 'Nexa Regular';
  }
  p span{
    font-size: 1em;
    font-family: 'Nexa XBold';
  }
  #body_right h1 {
    font-size: 1.5em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  .video-wrapper-side {
    position: relative;
    width: 100%;
    height: 28%;
  }
}
@media (max-width: 300px) {
  h1{
    font-size: 1.5em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  p{
    font-size: 1.5em;
    font-family: 'Nexa Regular';
  }
  p span{
    font-size: 1em;
    font-family: 'Nexa XBold';
  }
  #body_right h1 {
    font-size: 1.2em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  .video-wrapper-side {
    height: 20%;
  }
}
@media (max-width: 200px) {
  h1{
    font-size: 1em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  p{
    font-size: 1em;
    font-family: 'Nexa Regular';
  }
  p span{
    font-size: 1em;
    font-family: 'Nexa XBold';
  }
  #body_right h1 {
    font-size: 0.8em;
    font-family: 'Nexa XBold';
    line-height: 1.2em;
  }
  .video-wrapper-side {
    height: 20%;
  }
}


@media (max-height: 991px) {
  .video-container-side {
    max-width: 300px;
  }

  #body_right #vast-container, #body_left #vast-container {
    max-width: 300px;
  }
}

@media (max-height: 810px) {
  .video-container-side {
    max-width: 270px;
  }

  #body_right #vast-container, #body_left #vast-container {
    max-width: 270px;
  }
}

@media (max-height: 721px) {
  .video-container-side {
    max-width: 200px;
  }

  #body_right #vast-container, #body_left #vast-container {
    max-width: 200px;
  }
}