:root {
  --power2Easing: cubic-bezier(0.87, 0, 0.13, 1);
  --outCubicEasing: cubic-bezier(0.33, 1, 0.68, 1);
  --height-value: 600px;
  --max-height: 824px;
  --max-width: 428px;
  --min-width: 320px;
  --min-height: 505px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}
/* :::: this is to address iphone SE / 5 cropping issue :::: */
@media screen and (min-width: 350px) and (max-width: 413px) and (max-height: calc(100vw*2)) {
  :root {
      --height-value: calc(100vw * 1.58);
  }
}

@media screen and (max-width: 374px) { 
  :root { 
      --height-value: calc(100vw * 1.58);
  }
}
body {
  margin: 0;
  padding: 0;
  height: var(--height-value);
	width: 100%;
	min-height: var(--min-height);
	max-height: var(--max-height);
}
*,
*:before,
*:after {
  box-sizing: border-box;
  font-family: inherit;
}
#app {
  font-family: var(--default-font);
  width: 100%;
  max-width: 1125px;
  margin: 0 auto;
  height: var(--height-value);
  position: relative;
  overflow: hidden;
}
.imgContainer {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 100%;
  z-index: 1;
}
#grid {
  display: grid;
  grid-template-rows: 1fr;
  height: 100%;
  background-color: gray;
  background-size: cover;
  pointer-events: none;
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.img {
  position: absolute;
  object-fit: cover;
  -o-object-fit: cover;
  object-position: 50% 55%;
  -o-object-position: 50% 55%;
  display: block;
  width: 1125px;
  height: 100%;
  pointer-events: none;
}
.img-mobile {
  display: none;
}
.imgColumn {
  overflow: hidden;
  position: absolute;
  height: 100%;
  width: 100%;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
}
.has-dividers .imgColumn:after {
  content: "";
  display: block;
  position: absolute;
  height: 60%;
  width: 1px;
  bottom: 25%;
}
.imgColumn-info {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  position: absolute;
  height: calc(100% - 110px);
  bottom: 110px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  text-align: center;
  line-height: 1;
  opacity: 1;
  transition: opacity 0.25s var(--power2Easing) 0.8s,
    height 0.25s var(--power2Easing);
  z-index: 4;
  padding: 0 10px;
  text-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}
.has-dividers .imgColumn:not(:first-of-type) .imgColumn-info:before {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: #fff;
  left: 0;
  bottom: 0;
  opacity: 1;
  transition: all 0.25s var(--power2Easing);
}
.imgColumn-expandedInfo {
  position: absolute;
  color: #fff;
  bottom: 0;
  left: 50%;
  height: 100%;
  width: 75%;
  max-width: 750px;
  text-align: center;
  padding-top: 60px;
  padding-bottom: 145px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%);
  transition: all 0.3s var(--power2Easing);
  z-index: 4;
}
.imgColumn-headline {
  font-size: 24px;
  font-weight: 700;
  transform: translateY(10px);
  transition: transform 0.2s var(--power2Easing);
  width: 75%;
  margin-bottom: 5px;
}
.imgColumn-copy {
  font-size: 18px;
  margin-bottom: 40px;
}
#app.is-right-aligned .imgColumn-expandedInfo {
  text-align: left;
  align-items: flex-start;
  justify-content: center;
  width: 50%;
  max-width: 420px;
  padding-right: 60px;
  margin-right: 40px;
  transform: translate(0);
}
.imgsContainer {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.button {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--power2Easing);
}
.buttonIcon {
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.7));
}
.closeButton,
.prevButton,
.nextButton {
  position: absolute;
  width: 44px;
  height: 44px;
  z-index: 10;
  cursor: pointer;
}
.closeButton {
  bottom: 120px;
  left: 40px;
}
.prevButton,
.nextButton {
  top: 42%;
  transform: translateY(-42%);
}
.prevButton {
  left: 45px;
}
.nextButton {
  right: 45px;
}
#navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 142px;
  left: 50%;
  transform: translate(-50%);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--power2Easing);
}
.navigationDot {
  width: 6px;
  height: 6px;
  background-color: var(--navigationDotsColor);
  margin: 0 4px;
  border-radius: 50%;
  opacity: 0.4;
  transition: opacity 0.3s ease-in-out 0.5s;
}
.navigationDot.is-active {
  opacity: 1;
}
.sponsorLogo {
  margin-left: 40px;
  max-width: 140px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sponsorLogo > img {
  width: 100%;
}
.sponsorCta {
  position: absolute;
  z-index: 15;
  height: 110px;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.sponsorButton {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--letterboxTextColor);
  overflow: hidden;
  text-decoration: none;
  padding: 12px 32px;
  margin-right: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  position: relative;
  transition: color 0.3s var(--power2Easing), border 0.3s var(--power2Easing);
}
.sponsorButton:before {
  position: absolute;
  content: "";
  display: block;
  z-index: -1;
  background-color: #fff;
  width: 100%;
  height: 110%;
  top: 0;
  left: 0;
  transform: scaleX(0.6);
  opacity: 0;
  transition: all 0.3s var(--power2Easing);
}
.sponsorButton:hover {
  color: #000;
}
.sponsorButton:hover:before {
  transform: scale(1);
  opacity: 1;
}
#instructions {
  display: none;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: absolute;
  text-align: center;
  bottom: 135px;
  left: 50%;
  transform: translate(-50%);
  z-index: 5;
  color: var(--instructionsTextColor);
  pointer-events: none;
  transition: opacity 0.3s var(--power2Easing) 1s,
    visibility 0.3s var(--power2Easing) 1s;
  width: 100%;
}
#mainSubheader {
  font-family: "Inter Semi Bold", sans-serif;
  font-size: 20px;
  display: block;
  text-decoration: none;
  position: absolute;
  color: var(--letterboxTextColor);
  z-index: 20;
  pointer-events: none;
  bottom: 55px;
  left: 50%;
  width: calc(60% - 40px);
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
  transform: translate(-50%, 50%);
  line-height: 1.1;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--power2Easing) 1s,
    visibility 0.3s var(--power2Easing) 1s;
}
.imgColumn-topGradient,
.imgColumn-bottomGradient {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: 3;
  pointer-events: none;
}
.imgColumn-topGradient {
  height: 50%;
  top: 0;
  opacity: 0;
}
.imgColumn-bottomGradient {
  height: 50%;
  bottom: 0;
}
#app.is-expanded .imgContainer {
  pointer-events: none;
}
#app.is-expanded .imgColumn-info {
  opacity: 0;
  visibility: hidden;
}
#app.is-transitioning #instructions {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s;
}
#app.is-expanded #navigation {
  opacity: 1;
}
#app.is-expanded .imgColumn.is-active .imgColumn-expandedInfo {
  visibility: visible;
  opacity: 1;
  transition-duration: 0.6s;
}
#app.is-expanded .imgColumn.is-active .imgColumn-headline {
  transform: translateY(0);
  transition-duration: 0.4s;
}
#app.is-expanded .imgColumn.is-active.is-previous .imgColumn-expandedInfo,
#app.is-expanded .imgColumn.is-active.is-next .imgColumn-expandedInfo {
  visibility: hidden;
  opacity: 0;
  transition-duration: 0.5s;
}
.imgColumn.is-previous,
.imgColumn.is-previous .img {
  left: auto !important;
  right: 0;
}
.imgColumn.is-previous:after {
  left: 0;
  background-color: #fff;
}
.imgColumn.is-next:after {
  right: 0;
  background-color: #fff;
}
.imgColumn.is-active .imgColumn-info,
.has-dividers .imgColumn.is-active + .imgColumn .imgColumn-info:before {
  opacity: 0;
  transition: opacity 0.25s var(--power2Easing),
    height 0.25s var(--power2Easing);
}
.imgColumn.is-active .img {
  scale: 1 !important;
  transition-duration: 0.1s;
}
.imgColumn .img {
  transition: scale 0.3s var(--outCubicEasing);
}
.button.is-visible {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 900px) {
  #mainSubheader.is-hidden {
    opacity: 0;
    visibility: hidden;
    transition-delay: 0s;
  }
  .imgColumn-headline,
  .imgColumn-info,
  #mainSubheader {
    font-size: 20px;
  }
  .imgColumn-copy {
    font-size: 15px;
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 800px) {
  .imgColumn:first-of-type .imgColumn-info,
  .imgColumn:last-of-type .imgColumn-info {
    padding: 0 20px;
  }
  .img {
    object-position: 50% 35%;
    -o-object-position: 50% 35%;
  }
  .prevButton {
    left: 10px;
    top: 45%;
    transform: translateY(-45%);
  }
  .nextButton {
    right: 10px;
    top: 45%;
    transform: translateY(-45%);
  }
  .closeButton {
    left: 20px;
  }
  #instructions {
    bottom: 135px;
  }
  .imgColumn-expandedInfo {
    padding-bottom: 125px;
  }
}

@media screen and (max-width: 768px) {
  .sponsorLogo {
    margin-left: 24px;
  }
  .sponsorButton {
    margin-right: 24px;
  }
  .nextButton {
    right: 24px;
  }
  .prevButton {
    left: 24px;
  }
  .imgColumn-info {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .bottomText {
    position: absolute;
    bottom: 95px;
    width: 100%;
    left: 50%;
    transform: translate(-50%);
    z-index: 10;
    pointer-events: none;
  }
  #mainSubheader,
  #instructions {
    position: static;
    transform: none;
  }
  #mainSubheader {
    margin: 0 auto;
    width: 100%;
  }
  #instructions {
    display: block;
    margin-bottom: 20px;
  }
  .sponsorCta {
    height: 75px;
  }
  #navigation {
    bottom: 100px;
  }
  .closeButton {
    bottom: 80px;
  }
  .sponsorLogo {
    margin-left: 0;
  }
}
@media screen and (max-width: 700px) {
  .imgColumn-info > span {
    white-space: nowrap;
    transform: rotate(90deg);
  }
}
@media screen and (max-width: 600px) {
  .imgColumn:first-of-type .imgColumn-info,
  .imgColumn:last-of-type .imgColumn-info {
    padding: 0 10px;
  }
  .imgColumn-info {
    display: none;
  }
  .imgColumn-expandedInfo {
    width: 80%;
  }
  #mainSubheader {
    width: 100%;
  }
  #instructions {
    text-align: center;
  }
  .sponsorButton {
    padding: 12px 24px;
    width: auto;
    height: auto;
    margin-right: 15px;
  }
  .sponsorCta {
    padding: 0 15px;
  }
  .sponsorLogo {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sponsorLogo > img {
    height: auto;
    width: 100%;
    max-width: 125px;
  }
  #app.is-right-aligned .imgColumn-expandedInfo {
    width: 75%;
    align-items: center;
    text-align: center;
    justify-content: flex-end;
    max-width: 100%;
    transform: translate(-50%);
  }
  .img-mobile {
    transform-origin: 50% 50% !important;
    object-position: 50% 50%;
    -o-object-position: 50% 50%;
    display: block;
  }
  .img-desktop {
    display: none;
  }
  #app.is-right-aligned .imgColumn-expandedInfo {
    padding-right: 0;
    padding-bottom: 115px;
  }
  .prevButton {
    left: 16px;
  }
  .nextButton {
    right: 16px;
  }
  .closeButton {
    left: 12px;
  }
}
/* .is-transitioning .imgColumn-topGradient {
  background: linear-gradient(
    205deg,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  opacity: 1 !important;
  height: 100%;
  transition: opacity 0.5s ease-in-out;
} */

/* Zoom */

.is-right-aligned.is-transitioning .imgColumn-bottomGradient {
  /* background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  height: 100%; */
  /* opacity: 0; */
  /* transition: opacity 0.5s linear; */
}
