html {scroll-behavior: smooth;}
body {font-family: 'Georgia'; font-size: 1.4vw; line-height: 1.2;}


.page {position: relative; height: 100dvh;}
.pageSwiper {height: 100dvh;}

.section {overflow: hidden;}
.section .fp-overflow > img {height: 100%; object-fit: cover; position: absolute; width: 100%; top: 0;}

.intro {position: absolute; z-index: 1; height: auto; box-sizing: border-box; left: 5%; top: 0; transition: 1s ease;}
#section0 .intro {left: -7.5%;}
.intro article {padding: 2.5vw 4vw; max-width: 60vw; position: relative; width: 100vw;}
.intro article::after {content: ''; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #0003; z-index: -1; filter: blur(10px); border-radius: 200px;}
.sdw {}
.intro article img {margin-bottom: 1.5vw;}
.intro article p, .intro article span {color: #fff; margin-bottom: 1vw;  display: block;}
.intro article p:last-child {margin-bottom: 0;}
.intro article span {font-style: italic;}
.intro article ul li {color: #000; display: block; margin-bottom: 1vw; font-size: 1.3vw; box-sizing: border-box; padding-left: 25px; position: relative;}
.intro article ul li::before {content: ''; display: block; position: absolute; top:18px; left: 0px; transform: translateY(-50%); background: #000; border-radius: 50vw; width: 10px; height: 10px;}
.intro article h3 {color: #fff; font-size: 30px; font-weight: bold; margin: 0 auto 0.5vw;}
.intro article h2 {color: #fff; font-size: 40px; font-weight: bold; margin: 0 auto 0.5vw;}

.active .intro {}
.active + .section .intro {top: 70%;}

.welcome img {max-height: 550px;}

.he-mihi, .tatai-whenua, .inspiration, .te-hei, .te-toa-whenua, .current-state, .key-whenua {top: 3vw}


.slide {position: relative;}

.overlay-video { position: absolute; right: 0; bottom: 0; top: 0; right: 0; width: 100%; height: 100%; background-size: 100% 100%; background-color: black; background-image: background-position: center center; background-size: cover; object-fit: cover; -webkit-backface-visibility: hidden; backface-visibility: hidden;}

.section a {position: absolute; z-index: 1; bottom: 5vw; left: 50%; transform: translateX(-50%); width: 100px; transition: 1s ease;}

.active.section a {bottom: 1vw;}
.active + .section a {bottom:-5vw;}

.fp-arrow {display: none;}

/* .fp-next {width: 100px; background: url('../images/scroll-button.png') no-repeat center/contain; position: absolute; left: 50%; transform: translateX(-50%) rotate(-90deg); bottom: 1vw; margin: 0; right: auto; height: 100px; top: auto;} */

.menu-wrapper {position: fixed; top: 2vw; right: 2vw; z-index: 9; padding: 0 15px 15px;}
.menu-wrapper::after {content: ''; display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #0003; z-index: -1; filter: blur(10px); border-radius: 50px; opacity: 0; transition: 0.5s;}
.menu-button {display: grid; grid-template-columns: 60px 1fr; align-items: center; grid-gap: 10px;}
.menu-button img {width: 100%; height: 100%; object-fit: contain;}
.menu-button span {color: #fff; font-size: 20px;}
.intro.welcome a {color:#fff; width: 500px!important; padding: 0px 215px 10px 0px; font-size: 30px;}
.download-plan { position: relative; text-decoration: none; color: #ffffff;}
.download-plan::after {content: ""; position: absolute; left: 0; bottom: 6px; width: 0; height: 1px; background: currentColor; transition: width 0.3s ease;}
.download-plan:hover::after { width: 45%; }

#menu {max-height: 0px; overflow: hidden; height: auto; transition: 0.3s; margin-top: 10px;}
#menu a {display: block; color: #fff; font-size: 18px; margin-bottom: 5px;padding: 0 10px;}

.menu-wrapper.active::after {opacity: 1;}
.menu-wrapper.active #menu {max-height: 1000px;}

#section1 p {max-width: 750px;}
#section2 p {max-width: 60vw;}
#section3 #slide2 span {display: block; margin-top: 5vw;}
#section3 #slide2 .intro {top: 35%;}
#section4 .intro {left: 1%;}
#section4.active .intro {top: 30%;}
#section5 .intro {left: 50%; transform: translate(-50%,-50%); top:auto}
#section5 .intro p {max-width: 50vw;}
#section6 .intro {left: auto; right: 5%;}
#section6 .intro p {max-width: 37vw;}
#section6 .intro span { font-size: 22px; max-width: 35vw;}
#section7 .intro {left: 1%;}
#section7 .intro p {max-width: 70vw;}
#section8 #slide2 .intro p {max-width: 42vw; font-size: 2vw;}
#section8 #slide2 .intro p:last-child {font-size: 1.4vw;}
#section8 #slide2 .intro span {font-size: 2vw; max-width: 42vw;}
#section7.active .intro {top: 30%;}
#section8.active .intro {top: 20%;}

#section9 .intro {top: 30%;}
#section9 .intro {left: 1%;}
#section9 .intro p {max-width: 48vw;}
#section9 .intro p:first-of-type {max-width: 45vw;}
#section9 .intro p:nth-of-type(2) {margin: 0;}
#section9 .intro {top: 20%; left: 50%; transform: translate(-50%,-50%);}
#section9.active .intro {top: 10%;}
#section9 .intro article {filter: drop-shadow(3px 0 7px #0005);}
#section9 .intro article::after {display: none;}
#section9 .overlay-video {object-fit: contain; background: url('/te-toa-wai/images/slide-9-background.jpg'); backdrop-filter: blur(5px); background-size: 106% 106%; background-position: center;}

#section10 .intro {left: 50%; transform: translate(-50%,-50%); top: 10%}
.active +  #section10 .intro {top: 80%;}
#section10 .intro article {padding: 0 3vw;}
#section10 .intro article img {margin: 0 auto 1.5vw;}
#section10 .intro article p {max-width: 35vw; margin: 0 auto 1.5vw; font-size: 25px;}
#section10 .intro .flex-row  {width: 70vw; display: grid; grid-template-columns: 1fr 1fr;}
#section10 .intro .flex-row article {padding: 0; width: auto; max-width: 34vw;}
#section10 .intro .flex-row article p {font-size: 25px; margin: 0 0 0 30px!important;}
#section10.active .intro {  top: 3vw;transform: translateX(-50%);}
#section11 .intro {transform: none; top: 5vw; width: 100%; left:0}
#section11 .intro article {margin: 0 auto;}
#section11 .intro article img {margin: 0 auto 1.5vw;}
#section11 .intro article p {margin: 0 auto 1.5vw; font-size: 25px; text-align: center;}
#section11 .intro article ul {width: 75vw; margin: 3vw auto 0;}
#section11 .intro article ul li {color: #fff; margin: 3vw 0}
#section11 .intro article ul li:nth-child(2n+2) {margin-left: 10vw;}
#section11 .intro article ul li::before {background: #fff;}
.active +  #section11 .intro {top: 80%;}

#section12 .intro {left: auto; right: 5%;}
#section12 .intro article p {max-width: 55vw;}

#section14 .intro {left: 0;}
#section14.active .intro {top: 5vw; left: 0;}
#section14 .intro article {max-width: 50vw;}
#section14 .intro article::after {display: none;}
#section14 span {color: #000;}

#section14-2 .intro {left: 0;}
#section14-2.active .intro {top: 5vw; left: 0;}
#section14-2 .intro article {background: none; box-shadow: none; max-width: 50vw;}
#section14-2 .intro article::after {display: none;}
#section14-2 span {color: #000;}

#section15 .overlay-video {object-fit: contain; background: #dbdbdb;}
#section15 .intro {left: auto; right: 5vw; top: 3vw;}
#section15 .intro article {background: none; box-shadow: none; width: 50vw}
#section15 .intro article img.words  {max-height:400px; margin-left: 5vw}
#section15 .intro article::after {display: none;}

#section16 .overlay-video {object-fit: contain; background: url('/te-toa-wai/images/slide-20-background.jpg'); backdrop-filter: blur(5px); background-size: 103% 103%; background-position: center;}
#section16 .intro {left: auto; right: 0; top: 1vw;}
#section16 .intro article ul {max-width: 55vw;}
#section16 .intro article::after {display: none;}

#section17 .intro {left: -1%;}
#section17 .intro article ul {max-width: 61vw;}
#section17 .intro article ul ul {margin: 20px 1.8em 25px;}
#section17 .intro article ul ul li {margin-bottom: 10px;}
#section17 .intro article ul li {color: #fff;}
#section17 .intro article ul li::before {background: #fff;}
#section17.active .intro {top: 0;}

#section18 .intro article h3 {margin: 0 auto 0.5vw; max-width: 62vw;}
#section18 .intro article span {margin: 0 auto 1vw; max-width: 62vw;}
#section18 .intro article ul {margin: 0 auto; max-width: 62vw;}
#section18 .intro {top:3vw}

#section18 .intro article ul li,
#section19 .intro article ul li,
#section20 .intro article ul li,
#section21 .intro article ul li {
  color: #fff;
}

#section18 .intro article ul li::before,
#section19 .intro article ul li::before,
#section20 .intro article ul li::before,
#section21 .intro article ul li::before {
  background: #fff;
}

#section22 .overlay-video {background-color: #07090a; object-fit: contain;}


.fp-warning, .fp-watermark {display: none;}


@media screen and (max-width: 900px) {

  #menu a {font-size: 16px;}

  .intro article::after {border-radius: 100px;}
  .intro article {max-width: 80vw; padding: 30px 40px;}
  .intro article p, .intro article span {font-size: 18px; margin-bottom: 15px;}
  .intro article h3 {font-size: 20px;}
  .intro article ul li {font-size: 16px; padding-left: 17px; margin-bottom: 10px;}
  .intro article ul li::before {width: 8px; height: 8px; top: 10px}

  #section5 .intro article::after {background: #0002;}
  #section5 .intro p, #section6 .intro p, #section8 .intro p, #section10 .intro article p {max-width: 80vw;}

  #section6 .intro span {font-size: 18px; max-width: 80vw;}

  #section10 .intro article p {font-size: 18px;}
  #section10 .intro .flex-row article p {font-size: 16px;}
  #section10 .intro .flex-row {width: 80vw; margin-bottom: 10px;}

  #section11 .intro article p {font-size: 18px; margin-bottom: 20px;}

  #section12 .intro article p {max-width: 80vw;}

  #section17 .intro article ul ul {margin: 10px 20px 5px}
  #section17 .intro article ul ul span {margin-bottom: 10px;}

  #section18 .intro, #section19 .intro, #section20 .intro, #section21 .intro {top: 15vw; left: 50%; transform: translateX(-50%);}
  #section18 .intro article h3, #section18 .intro article ul {max-width: 70vw;}

}
