/* Fold 1 Slider */

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

@media (max-width: 600px) {
  .fold1 {
    height: 75vh;
  }
}

.fold1 .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%);
}

@media (max-width: 600px) {
  .carousel-circles {
    bottom: calc(60px + 25vh);
  }
}

.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: 700px) {
  .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(1px 1px 8px rgba(0,0,0,.6));
  }
}

@media (max-width: 600px) {
  .carousel-left,
  .carousel-right {
    top: 33vh;
  }
}

.carousel-slide-1-text {
  background-color: rgba(255, 255, 255, 0.5137254902);
  border-radius: 60px;
  padding: 30px 40px;
  text-align: center;
  margin-bottom: 34vh;
}
.carousel-slide-1-text .line1 {
  font-family: "Quicksand SemiBold";
  color: #f8c301;
  font-size: 3rem;
  margin-bottom: 15px;
}
.carousel-slide-1-text .line2 {
  color: #15529a;
  font-family: "Quicksand Light";
  font-size: 1.7rem;
}
.carousel-slide-1-text .line3 {
  color: #15529a;
  font-family: "Poppins SemiBold";
  font-size: 1.6rem;
}
.carousel-slide-1-text .line4 {
  color: #15529a;
  font-family: "Quicksand Light";
  font-size: 1.7rem;
}

.carousel-slide-2-text {
  background-color: #81c83660;
  border-radius: 60px;
  padding: 12px 45px;
  padding-bottom: 30px;
  text-align: center;
  margin-bottom: 20vh;
}
.carousel-slide-2-text .line1 {
  font-family: "Quicksand Light";
  color: #fff;
  font-size: 2.3rem;
  margin-bottom: 5px;
}
.carousel-slide-2-text .line2 {
  color: #fff;
  font-family: "Poppins SemiBold";
  font-size: 2.3rem;
}
.carousel-slide-2-text .line3 {
  color: #fff;
  font-family: "Quicksand Light";
  font-size: 2.3rem;
}

.carousel-slide:nth-child(3) {
  align-items: flex-start;
  background-position: center bottom;
}
.carousel-slide-3-text {
  background-color: #30668b9e;
  border-radius: 50px;
  padding: 18px 60px;
  text-align: center;
  margin-top: 16vh;
}
.carousel-slide-3-text .line1 {
  font-family: "Quicksand Light";
  color: #fff;
  font-size: 3rem;
  margin-bottom: 5px;
}
.carousel-slide-3-text .line2 {
  color: #fff;
  font-family: "Poppins SemiBold";
  font-size: 3rem;
}
.carousel-slide-3-text .line3 {
  color: #fff;
  font-family: "Quicksand Light";
  font-size: 3rem;
}

.carousel-slide:nth-child(4) {
  background-position: 50% 30%;
  justify-content: flex-end;
}
.carousel-slide-4-text {
  background-color: #d4e0506d;
  border-radius: 50px;
  padding: 13px 60px;
  text-align: center;
  margin-right: 10vw;
  margin-bottom: 30vh;
}
@media (max-width: 1300px) {
  .carousel-slide:nth-child(4) {
    justify-content: center;
  }
  .carousel-slide-4-text {
    margin-right: 0;
  }
}
.carousel-slide-4-text .line1 {
  font-family: "Quicksand Light";
  color: #15529a;
  font-size: 3.2rem;
  margin-bottom: 5px;
}
.carousel-slide-4-text .line2 {
  color: #15529a;
  font-family: "Quicksand Light";
  font-size: 3.2rem;
}
.carousel-slide-4-text .line3 {
  color: #15529a;
  font-family: "Poppins SemiBold";
  font-size: 3.2rem;
}

@media (max-width: 600px) {
  .carousel-slide-1-text .line1 {
    font-size: 1.8rem;
  }
  .carousel-slide-1-text .line2 {
    font-size: 1.02rem;
  }
  .carousel-slide-1-text .line3 {
    font-size: 0.96rem;
  }
  .carousel-slide-1-text .line4 {
    font-size: 1.02rem;
  }
  .carousel-slide-1-text {
    border-radius: 0;
    padding: 20px 25px;
    width: 100%;
    margin-bottom: 20vh;
  }
}
@media (max-width: 970px) {
  .carousel-slide-2-text {
    border-radius: 0;
    padding: 20px 25px;
    width: 100%;
    margin-bottom: 10vh;
    margin-top: 0;
  }
  .carousel-slide-2-text > * {
    font-size: 1.65rem !important;
  }

  .carousel-slide:nth-child(3) {
    align-items: center;
  }
  .carousel-slide-3-text {
    border-radius: 0;
    padding: 20px 25px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 10vh;
  }
  .carousel-slide-3-text > * {
    font-size: 1.725rem !important;
  }

  .carousel-slide-4-text {
    border-radius: 0;
    padding: 20px 25px;
    width: 100%;
    margin-bottom: 10vh;
    margin-top: 0;
    margin-right: 0 !important;
  }
  .carousel-slide-4-text > * {
    font-size: 1.725rem !important;
  }
}

/* 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 > 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 {
  color: #ffda85;
}

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

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

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

/* Fold 3 */

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

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

/* 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;
}

.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: 60px;
  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;
  }
}

@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 {
  background-color: #15529a;
  align-items: center;
  margin: 0;
  font: 15px/20px Arial, sans-serif;
  display: flex;
  position: relative;
  color: #000000;
  font-family: "Quicksand Light";
  line-height: 100%;
  font-size: 2rem;
  max-width: 100%;
}
.fold5 img {
  width: 100%;
}
/* #Fold5Video {
  right: 0;
  bottom: 0;
  max-height: 100%;
  max-width: 100%;
} */

/* 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, 46vw 8vw;
  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;
}
.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);
  box-shadow: 0 5px #103e73;
}
.f6cta:active {
  box-shadow: 0 3px #103e73;
  transform: translateY(2px);
}
.fold6title {
  font-size: 2rem;
  font-family: "Poppins Medium";
  color: #0060d2 !important;
  text-decoration: none;
}
#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;
  }
}

.fold6 .fold6feature1 {
  display: block;
  position: relative;
  width: 90%;
  padding: 50px;
  margin: 20px;
}
.fold6feature1 img {
  float: left;
  margin: 25px;
}

.fold6 .fold6feature2 {
  display: block;
  position: relative;
  width: 90%;
  padding: 50px;
  margin: 20px;
}
.fold6feature2 img {
  float: right;
  margin: 25px;
}

@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;
}

.fold4musictext p a { color: #FFDA85; text-decoration: underline; }
