/* Fold 1 Slider */

.fold1 {
  height: 100vh;
  overflow-x: hidden;
  color: white;
  font-size: 2rem;
}

.carousel-slide {
  height: 100%;
  width: 100vw;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slides {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 400vw;
  overflow-x: hidden;
  transition: transform 1.2s cubic-bezier(0.33, 0.13, 0.17, 0.93);
}

.carousel-circles {
  position: absolute;
  bottom: 100px;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-circle {
  margin-left: 40px;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.carousel-circle:first-child {
  margin: 0 !important;
}

.carousel-circle.active {
  background: #fff !important;
  border: 3px solid #fff;
}

.carousel-circle:hover {
  background: rgba(255, 255, 255, 0.5333333333);
}

.arrow {
  width: 50px;
  height: 50px;
  border-left: 5px solid;
  border-bottom: 5px solid;
  border-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.arrow:hover {
  border-color: rgba(255, 255, 255, 0.7333333333);
}

.arrow-left {
  transform: rotate(45deg);
}

.arrow-right {
  transform: rotate(225deg);
}

.carousel-left,
.carousel-right {
  width: 78px;
  height: 78px;
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
}

.carousel-left {
  left: 35px;
}

.carousel-right {
  right: 10px;
}

@media (max-width: 900px) {
  .arrow {
    width: 30px;
    height: 30px;
    border-color: white;
  }

  .carousel-left {
    left: 20px;
  }

  .carousel-right {
    right: 15px;
  }

  .carousel-left,
  .carousel-right {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
  }
}

.carousel-slide-1 {
  background-image: url(../../../../uploads/I4Fold1Background1.jpg);
  background-position: 30% center;
}
.carousel-slide-1-text {
  border-radius: 60px;
  padding: 30px 40px;
  text-align: center;
  margin-bottom: 15vh;
}
.carousel-slide-1-text .line1 {
  font-family: 'Poppins Bold';
  color: #15529a;
  font-size: 4.1rem;
  margin-bottom: 35px;
}
.carousel-slide-1-text .line2 {
  color: #fff;
  font-family: 'Poppins Light';
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-shadow: 4px 4px 15px #000;
  margin-bottom: 10px;
}
.carousel-slide-1-text .line3 {
  color: #F8DA3B;
  font-family: 'Poppins SemiBold';
  font-size: 2.9rem;
  text-shadow: 2px 6px 10px #000a;
  margin-bottom: 13px;
}
.carousel-slide-1-text .line4 {
  color: #fff;
  font-family: 'Poppins Light';
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-shadow: 4px 4px 15px #000;
  margin-bottom: 10px;
}
.carousel-slide-1-text .line5 {
  color: #fff;
  font-family: 'Poppins Light';
  font-size: 2.4rem;
  letter-spacing: 1px;
  text-shadow: 4px 4px 15px #000;
}

@media (max-width: 1300px) {
  .carousel-slide-1-text .line1 {
    font-size: 3.1rem;
  }
  .carousel-slide-1-text .line2 {
    font-size: 1.4rem;
  }
  .carousel-slide-1-text .line3 {
    font-size: 1.9rem;
  }
  .carousel-slide-1-text .line4 {
    font-size: 1.4rem;
  }
  .carousel-slide-1-text .line5 {
    font-size: 1.4rem;
  }
}

@media (max-width: 1000px) {
  .carousel-slide-1-text {
    padding: 0;
    margin-bottom: 10vh;
  }
  .carousel-slide-1-text .line1 {
    font-size: 2.3rem;
    margin-bottom: 150px;
  }
  .carousel-slide-1-text .line2 {
    font-size: 1.4rem;
  }
  .carousel-slide-1-text .line3 {
    font-size: 1.5rem;
  }
  .carousel-slide-1-text .line4 {
    font-size: 1.4rem;
  }
  .carousel-slide-1-text .line5 {
    font-size: 1.4rem;
  }
}

.carousel-slide-2 {
  background-image: url(../../../../uploads/I4Fold1Background2.jpg);
}
.carousel-slide-2-text {
  border-radius: 60px;
  padding: 12px 45px;
  padding-bottom: 30px;
  text-align: center;
  margin-bottom: 35vh;
  margin-left: 5%;
}
.carousel-slide-2-text .line1 {
  color: #fff;
  font-family: 'Poppins';
  font-size: 2.7rem;
  text-shadow: 2px 2px 6px #000;
  margin-bottom: 10px;
}
.carousel-slide-2-text .line2 {
  color: #fff;
  font-family: 'Poppins';
  font-size: 2.7rem;
  text-shadow: 2px 2px 6px #000;
  margin-bottom: 10px;
}
.carousel-slide-2-text .line3 {
  color: #ffe25e;
  font-family: 'Poppins Bold';
  font-size: 3.1rem;
  text-shadow: 4px 4px 10px #000;
}

@media (max-width: 1300px) {
  .carousel-slide-2-text .line1 {
    font-size: 2.2rem;
  }
  .carousel-slide-2-text .line2 {
    font-size: 2.2rem;
  }
  .carousel-slide-2-text .line3 {
    font-size: 2.6rem;
  }
}

@media (max-width: 1000px) {
  .carousel-slide-2-text { 
    padding: 0;
    margin-left: 0;
    margin-bottom: 15vh;
  }
  .carousel-slide-2-text .line1 {
    font-size: 1.9rem;
    margin-bottom: 3px;
  }
  .carousel-slide-2-text .line2 {
    font-size: 1.9rem;
    margin-bottom: 30vh;
  }
  .carousel-slide-2-text .line3 {
    font-size: 2.1rem;
  }
}

.carousel-slide-3 {
  background-image: url(../../../../uploads/I4Fold1Background3.jpg);
  align-items: center;
  background-position: center bottom;
}
.carousel-slide-3-text {
  border-radius: 50px;
  padding: 18px 60px;
  text-align: center;
  font-family: 'Caveat Bold';
  color: #0D2D86;
  text-shadow: 1px 1px 9px #fffa;
  font-size: 5rem;
  margin-bottom: 30vh;
}

@media (max-width: 1300px) {
  .carousel-slide-3-text {
    font-size: 3.5rem;
    margin-bottom: 20vh;
  }
}

@media (max-width: 1000px) {
  .carousel-slide-3-text {
    font-size: 3rem;
    padding: 0 5px;
    margin-bottom: 43vh;
  }
}

.carousel-slide-4 {
  background-image: url(../../../../uploads/I4Fold1Background4.jpg);
  background-position: 50% 30%;
  align-items: center;
}
.carousel-slide-4-text {
  border-radius: 50px;
  padding: 13px 60px;
  text-align: center;
  height: 80%;
  width: 95%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-end;
}
.carousel-slide-4-text .line1 {
  font-family: 'Poppins Light';
  color: #fff;
  text-align: right;
  font-size: 3.8rem;
  align-self: flex-start;
  text-shadow: 2px 2px 6px #000;
}
.carousel-slide-4-text .line2 {
  color: #FFF38A;
  font-family: 'Poppins';
  font-size: 3.8rem;
  text-shadow: 2px 2px 6px #0004, -2px -2px 6px #0004, -2px 2px 6px #0004, 2px -2px 6px #0004;
}
.carousel-slide-4-text .line3 {
  color: #fff;
  font-family: 'Poppins Bold';
  font-size: 5.5rem;
  text-shadow: 2px 2px 12px rgba(255, 235, 147, 0.4);
  text-align: right;
}

@media (max-width: 1300px) {
  .carousel-slide-4-text .line1 {
    font-size: 3.1rem;
  }
  .carousel-slide-4-text .line2 {
    font-size: 3.1rem;
  }
  .carousel-slide-4-text .line3 {
    font-size: 4.8rem;
  }
}

@media (max-width: 1000px) {
  .carousel-slide-4-text {
    padding: 13px 5px;
    height: 75%;
    width: 95%;
    align-items: center;
  }
  .carousel-slide-4-text .line1 {
    font-size: 2rem;
    text-align: center;
  }
  .carousel-slide-4-text .line2 {
    font-size: 2.4rem;
  }
  .carousel-slide-4-text .line3 {
    font-size: 4.5rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .carousel-slide-1 {
    background-image: url(../../../../uploads/I4Fold1Background1-sm.jpg);
  }

  .carousel-slide-2 {
    background-image: url(../../../../uploads/I4Fold1Background2-sm.jpg);
  }

  .carousel-slide-3 {
    background-image: url(../../../../uploads/I4Fold1Background3-sm.jpg);
  }

  .carousel-slide-4 {
    background-image: url(../../../../uploads/I4Fold1Background4-sm.jpg);
  }
}

/* Fold 2 */

.fold2 {
  background-color: #fff;
  height: 100vh;
  justify-content: flex-end;
  align-items: flex-end;
  margin: 0;
  padding: 40px;
  display: flex;
  position: relative;
  flex-flow: column wrap;
  color: #000000;
  font-family: 'Quicksand Light';
  line-height: 136%;
  font-size: 2rem;
  background-size: cover;
  background-position: 75% center;
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
}

.fold2[data-loaded] {
  background-image: url(../../../../uploads/I4Fold2Background.jpg);
}

.fold2 > p {
  max-width: 600px;
  margin-bottom: 50px;
  margin-left: 25px;
}

@media (max-height: 850px) {
  .fold2 {
    font-size: 1.9rem;
  }
}

@media (max-height: 720px) {
  .fold2 {
    font-size: 1.7rem;
  }
}

@media (max-height: 660px) {
  .fold2 {
    font-size: 1.5rem;
  }

  .fold2 > p {
    margin-bottom: 20px;
  }
}

.fold2 a,
.fold4musictext p a {
  color: #ffda85;
  font-family: "Quicksand Medium";
  transition: filter .3s;
  text-decoration: none;
}

.fold2 a:hover,
.fold4musictext p a:hover {
  filter: drop-shadow(0px 0px 7px #ddc6817c) drop-shadow(0px 0px 9px #ddc6817c) drop-shadow(0px 0px 15px #ddc6817c) drop-shadow(0px 0px 20px #ddc6817c);
  text-decoration: underline;
}

@media (max-width: 750px) {
  .fold2 {
    font-size: 1.7rem;
    line-height: 125%;
    text-align: center;
    padding: 10px;
    justify-content: flex-end;
  }

  .fold2[data-loaded] {
    background-image: url(../../../../uploads/I4Fold2Background-sm.jpg);
    background-position: 30% center;
  }

  .fold2 > p {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .fold2 {
    font-size: 1.4rem;
  }
}

/* Fold 3 */

.fold3 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding-top: 20vh;
  position: relative;
}

@media (min-width: 751px) {
  .fold3 {
    align-items: flex-start;
    padding-bottom: 80px;
  }
}

/* Fold 4 */

.folds3-4 {
  background-size: 100vw auto;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: calc(100vw * 33 / 25);
  background-color: #99ab79;
  overflow-x: hidden;
}

.folds3-4[data-loaded] {
  background-image: url(../../../../uploads/folds3-4-desktop.jpg);
}

@media (max-width: 1400px) {
  .folds3-4 {
    min-height: calc(100vw * 36 / 25);
  }

  .folds3-4[data-loaded] {
    background-image: url(../../../../uploads/folds3-4-medium.jpg);
  }
}

.fold4 {
  margin: 0;
  font: 15px/20px Arial, sans-serif;
  color: #000000;
  font-family: 'Quicksand Light';
  line-height: normal;
  font-size: 2rem;
  display: flex;
  flex-flow: column nowrap;
  text-align: center;
}
.fold4musictext {
  margin: 0 auto;
  margin-bottom: 20px;
  display: block;
  color: white;
  text-shadow: 0 0 6px #000;
  max-width: 1000px;
  width: 80%;
}
.fold4musicvideogrid {
  display: flex;
  justify-content: space-around;
}
.fold4musicvideogriditem img {
  display: block;
}
.fold4musicvideogriditem h3 {
  display: block;
}
.fold4musicvideogriditem {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}
.video1-title,
.video2-title {
  text-align: center;
  line-height: 140%;
  margin: 0;
  padding: 10px;
  width: var(--w);
  padding-top: 25px;
  padding-bottom: 20px;
  background-color: #0009;
  border-radius: 0 0 20px 20px;
  font-size: 1.8rem;
  font-family: 'Poppins Medium';
}
.fold4 a {
  color: white;
  text-decoration: none;
}
.fold4 a:hover {
  text-decoration: underline;
}
@media only screen and (max-width: 880px) {
  .fold4musicvideogrid {
    flex-flow: column;
  }
  .fold4musicvideogrid div:nth-child(3) {
    margin-bottom: 30px;
  }
  .fold4musicvideogrid img {
    max-width: 100%;
  }
  .fold4musictext {
    width: auto;
    margin: 0 15px;
  }
}

@media (max-width: 750px) {
  .fold4 {
    margin-top: 120px;
  }
}

.video-facade,
.fold4 iframe,
.fold6 iframe {
  width: var(--w);
  height: calc(var(--w) / 16 * 9);
}

.fold4,
.fold6 {
  --w: 40vw;
}

@media (max-width: 880px) {
  .fold4 {
    --w: 100vw;
  }

  .fold6 {
    --w: calc(94vw - 30px);
  }

  /*
  100vw includes the scrollbar, unlike 100%
  we have to manually set the widths to 100% or otherwise the videos will overflow and cause a horizontal scroll
  can't use 100% in the --w assignment because --w is used to set the height too.
  */
  .fold4 .video-facade,
  .fold4 iframe,
  .fold6 .video-facade,
  .fold6 iframe {
    width: 100%;
  }

  .video1-title,
  .video2-title {
    width: 100%;
    border-radius: 0;
    font-size: 1.4rem;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  .fold4musicvideogrid {
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .folds3-4 {
    background-size: 100vw auto;
    background-position: center top;
    background-color: #7e9169;
    background-repeat: no-repeat;
    min-height: calc(100vw * 1426 / 950);
    display: flex;
    flex-flow: column;
    justify-content: space-between;
  }

  .folds3-4[data-loaded] {
    background-image: url(../../../../uploads/folds3-4-medium-1.jpg);
  }

  .folds3-4 + .mobile-sheep {
    height: calc(100vw / 950 * 505);
    background-size: 100vw auto;
    background-position: center top;
    background-color: #7e9169;
  }

  .folds3-4[data-loaded] + .mobile-sheep {
    background-image: url(../../../../uploads/folds3-4-medium-2.jpg);
  }
}

/* Fold 5 */

.fold5 {
  height: 100vh;
  background-size: cover;
  background-position: 25% center;
  background-color: #15529a;
}

.fold5[data-loaded] {
  background-image: url(../../../../uploads/I4Fold5Background.jpg);
}

@media (max-width: 700px) {
  .fold5[data-loaded] {
    background-image: url(../../../../uploads/I4Fold5Background-sm.jpg);
  }
}

/* Fold 6 */

.fold6 {
  background-color: #fff;
  align-items: center;
  margin: 0;
  font: 15px/20px Arial, sans-serif;
  color: #000000;
  font-family: 'Quicksand Light';
  line-height: 120%;
  font-size: 1.6rem;
  background-size: cover;
  background-position: top center;
  position: relative;
  padding: 3vw;
  padding-top: 120px;
  padding-bottom: 15px;
}
.fold6[data-loaded] {
  background-image: url(../../../../uploads/fold6-desktop-bg.jpg);
}
.fold6::after {
  /* grapes */
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: 12vw, 7vw, 7vw, 8vw;
  background-position: -2vw -1vw, 13vw 0vw, 75vw -1vw, 47vw 2vw;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  pointer-events: none;
}
.fold6[data-loaded]::after {
  background-image: url(../../../../uploads/fold6-grapes.png),
    url(../../../../uploads/fold6-grapes.png),
    url(../../../../uploads/fold6-grapes.png),
    url(../../../../uploads/fold6-grapes.png);
}
.fold6grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fold6griditem h3 {
  display: block;
}
.fold6griditem p {
  display: block;
  margin: 0;
}
.fold6grid img {
  width: 100%;
}
.fold6griditem {
  margin: auto;
  padding: 25px;
  padding-top: 0;
}
#f6i1 {
  grid-row: 1;
  grid-column: 1;
}
.f6gi1 {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
}
#f6i2 {
  grid-row: 2;
  grid-column: 2;
  justify-self: end;
}
.f6gi2 {
  grid-row: 2;
  grid-column: 1;
}
.fold6griditem h3 {
  margin-top: 0 !important;
  line-height: 120%;
  text-align: center;
}
.fold6titledesc {
  margin: 15px;
  background: #fff9;
  padding: 50px;
  border-radius: 40px;
  position: relative;
}
@media (min-width: 881px) {
  .fold6titledesc::after {
    content: '';
    position: absolute;
    border: solid transparent;
    border-left-color: #fff9;
    border-width: 35px 0 35px 55px;
    left: 100%;
    width: 0;
    height: 0;
    top: calc(50% - 35px);
  }
  .f6gi1 .fold6titledesc::after {
    border-left-color: transparent;
    border-width: 35px 55px 35px 0;
    border-right-color: #fff9;
    left: unset;
    right: 100%;
  }
}
.f6cta {
  text-decoration: none;
  color: white;
  display: block;
  margin: auto;
  width: max-content;
  padding: 10px 15px;
  border-radius: 15px;
  background: linear-gradient(to bottom, #1d87d5, #15529a);
  border: 0 solid;
  box-shadow: 0 5px #103e73, inset 0 0 20px rgba(255, 255, 255, 0);
  outline: 0px solid;
  outline-color: rgba(255, 255, 255, .5);
  outline-offset: 0px;
  text-shadow: none;
}
.f6cta:hover {
  box-shadow: 0 3px #103e73, inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
  outline: 1px solid;
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  text-shadow: 1px 1px 2px #427388;
  transform: translateY(2px);
  transition: all 1250ms cubic-bezier(0.19, 1, 0.22, 1);
}
.f6cta:active {
  transition: none;
  box-shadow: 0 1px #103e73, inset 0 0 20px rgba(255, 255, 255, .5), 0 0 20px rgba(255, 255, 255, .2);
  transform: translateY(4px);
}
.fold6title {
  font-size: 2rem;
  font-family: 'Poppins Medium';
  color: #0060d2 !important;
  text-decoration: none;
}
.fold6title:hover {
  text-decoration: underline;
}
#f6i2,
#f6i1 {
  text-align: center;
  padding: 40px;
  padding-top: 0;
}
@media (max-width: 880px) {
  .fold6[data-loaded] {
    font-size: 1.15rem;
    padding-top: 30vw;
    background-image: url(../../../../uploads/fold6-mobile-bg.jpg);
  }
  .fold6[data-loaded]::after {
    /* grapes */
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../../../../uploads/fold6-mobile-fg.png);
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
  }
  .fold6title {
    font-size: 1.6rem;
  }
  .fold6grid {
    display: block;
  }
  .fold6griditem {
    padding: 0;
  }
  #f6i2,
  #f6i1 {
    padding: 15px;
  }
}

@media (max-width: 1200px) {
  .modal {
    display: none;
  }
}
@media (min-width: 1200px) {
  /* The Modal (background) */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 5px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
  }

  /* Modal Content */
  .modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 95%;
  }

  /* The Close Button */
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }

  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
}

.hover-shadow {
  transition: box-shadow 0.3s;
  cursor: zoom-in;
}

.hover-shadow.pointer {
  cursor: pointer;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Vimeo video facades */

.video-facade {
  background-size: cover;
  background-position: center center;
  background-color: #000;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-facade > div {
  padding: 10px 40px;
  border-radius: 10px;
  background: #15529ab0;
  box-shadow: 1px 1px 9px #000a;
}

.video-facade:hover > div {
  background: #15529ae0;
}

.video-facade > div > svg {
  width: 30px;
  margin-bottom: -5px;
  fill: white;
}
