@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond&display=swap');

/* CSS RESET
---------------------------------------------- */
* {
  -moz-box-sizing: border-box; 
  -ms-box-sizing: border-box; 
  box-sizing: border-box; 
}
html, body {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  word-break: break-word;
}
body * {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
h1, h2, h3, h4, h5 {
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-weight: normal;
  font-size: inherit
}
a {
  text-decoration: none;
  color: inherit;
  outline: none;
}
a:hover {
  outline: none;
}
a, *:focus, *:active {
  outline: 0;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  text-decoration: none;
}
a:focus-visible{
  outline: 2px solid var(--second-color);
  outline-offset: 3px;
}
a:focus-visible {
  background: none;
}
p {
  margin-block-start: 0rem;
  margin-block-end: 0rem;
  margin-bottom: 1em;
}
p:last-of-type {
  margin-bottom: 0rem;
}
p a {
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: lightgrey;
  transition: all .4s ease;
}
p a:hover {
  text-decoration-color: transparent;
}
figure {
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
}
button {
  background: transparent;
  box-shadow: 0px 0px 0px transparent;
  border: 0px solid transparent;
  text-shadow: 0px 0px 0px transparent;
  padding: 0;
  font-family: inherit;
  color: inherit
}
button:active {
  outline: none;
  border: none;
}
button:focus {
  outline: 0;
}
ol li:not(:last-of-type) {
  margin-bottom: 0rem;
}
ol, ul{
  display: block;
  list-style-type: none;
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 0px;
}
li.unstyled-list-item {
  display: block;
  text-align: -webkit-match-parent;
}
dd {
  margin-inline-start: 0px;
}
*:focus{
  outline: none;
}
input {
  border-radius: 0;
}
textarea, input[type=text], input[type=button], input[type="submit"], input[type="email"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-border-radius: 0;
  -moz--border-radius: 0;
  font-weight: inherit;
  font-family: inherit;
  border-width: 0px;
  border-style: initial;
  border-color: initial;
  border-image: initial;
  border: none;
  width: 100%;
  padding: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-block-start: 0em;
  padding-inline-start: 0em;
  padding-inline-end: 0em;
  padding-block-end: 0em;
  min-inline-size: min-content;
}

/* VARIABLES
---------------------------------------------- */
:root {
  /* Colors */
  --white:            #FFFFFF;
  --black:            #000000; 
  --yellow:           #FFE600;
  --vh:;
  --primary-font:        Arial, Helvetica, sans-serif;
  --secondary-font:      'Cormorant Garamond', serif;
  --font-size:           16px;

  /* Base */
  font-size:             var(--font-size);
  font-family:           var(--primary-font);
}
body {
  -webkit-font-smoothing: antialiased;
  background-color: var(--white);
  color: var(--black);
}
html {
  scroll-behavior: smooth;
}
/* DESKTOP VARIABLES
---------------------------------------------- */
@media screen and (max-width: 820px) {
  :root {
  }
}
/* GLOBAL
---------------------------------------------- */
::selection {
  background: var(--blue);
}
::-moz-selection {
  background: var(--blue);
}
.visually-hidden {
  position:absolute !important;
  overflow:hidden;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  border:0;
  clip:rect(0 0 0 0);
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important
}
.hidden-on-mobile {
  display: block;
}
.hidden-on-desktop {
  display: none;
}
.center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.text-align-center {
  text-align: center;
}
img {
  width: 100%;
  height: auto;
  display: block;
}
.uppercase {
  text-transform: uppercase;
}

/* animations ------------------*/

@-webkit-keyframes dots {
  0% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(0);}
  80% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(0.9);
    opacity: 1;}
  100% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0;}
}

@keyframes dots {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0);}
  80% {
    transform: translate3d(-50%, -50%, 0) scale(0.9);
    opacity: 1;}
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0;}
}

@-webkit-keyframes dot-1 {
  0% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(0);}
  90% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(0.9);
    opacity: 1;}
  100% {
    -webkit-transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0;}
}

@keyframes dot-1 {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0);}
  90% {
    transform: translate3d(-50%, -50%, 0) scale(0.9);
    opacity: 1;}
  100% {
    transform: translate3d(-50%, -50%, 0) scale(1);
    opacity: 0;}
}


/* SITE WIDE
---------------------------------------------- */

.hidden-on-desktop {
  display: none;
}

/* CAROUSEL
---------------------------------------------- */
.carousel {
  z-index: 2;
  pointer-events: none!important;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
  opacity: 0
}
/*.carousel.is-hidden {
  opacity: 0
}*/
.carousel-cell {
  width: 100vw;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: end;
  justify-content: center;
  pointer-events: none!important;
  /* transition: opacity 0s; */
}
.carousel-cell.start {
  align-items: end;
}
.carousel-cell.start > div {
  max-width: 630px;
  padding: 70px 40px;
  font-size: 26px;
  -webkit-text-stroke: .18px var(--black);
  color: var(--yellow);
  text-align: center;
}
.carousel-cell .carousel-cell-text {
  max-width: 630px;
  padding: 70px 40px;
}
.carousel-cell .question {
  font-size: 32px;
  -webkit-text-stroke: .3px var(--black);
  color: var(--white);
  text-align: center;
}
.carousel-cell .chapter-title {
  font-size: 22px;
  -webkit-text-stroke: .18px var(--black);
  color: var(--yellow);
  text-align: center;
  margin-top: 30px;
}

/* modal ------------------*/
#modal-open {
  display: block;
  position: fixed;
  width: 20px;
  padding: 30px;
  text-align: center;
  left: 50%;
  margin-top: 20px;
  margin-left: -45px;
  z-index: 3;
}
#modal-overlay {
  display:none;
  width: 100%;
  justify-content: center;
  position: absolute;
  top: 0;
  z-index: 4;
}
#modal-overlay.modal-open {
  display: flex;
}
.modal-container {
  max-width: 900px;
  padding: 0 75px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 12%, rgba(255, 255, 255, 0.92) 88%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 12%, rgba(255, 255, 255, 1) 88%, rgba(255, 255, 255, 0) 100%);
  /* filter: blur(41px); */
}
.modal-close-container {
  display: block;
  position: fixed;
  width: 20px;
  padding: 30px;
  text-align: center;
  left: 50%;
  margin-top: 20px;
  margin-left: -45px;
  z-index: 5;
}
.modal-contents {
  font-family: var(--secondary-font);
  text-align: center;
  line-height: 26.28px;
  padding: 70px 75px 50px 75px;
  font-size: 1.125rem;
  max-width: 750px
}
.modal-contents p {
  margin-bottom: 1.25em;
}
h1 {
  margin: 40px 0 1rem 0;
}
.button {
  font-size: 32px;
  -webkit-text-stroke: .2px var(--black);
  color: var(--yellow);
  text-align: center;
  cursor: pointer;
}
::selection {
  background: WhiteSmoke;
  color: #000;
  text-shadow: none;
}
.wrapper {
  height: 100vh;
  width: 100%;
  z-index: 1;
  overflow: hidden;
  position: fixed;
  top: 0;
  cursor: pointer;
}
.wrapper.filter {
  -webkit-filter: saturate(0) contrast(5);
  filter: drop-shadow(16px 16px 20px red) invert(75%) blur(10px);
}
.dot {
  -webkit-animation-name: dots;
  -webkit-animation-duration: 30000ms;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease-out;
  animation-name: dots;
  animation-duration: 30000ms;
  animation-iteration-count: infinite;
  animation-timing-function: ease-out;
  display: block;
  background: #ffffff;
  width: 100vw;
  height: 100vw;
  position: fixed;
  border-radius: 50%;
  filter: blur(60px) saturate(10);
  -webkit-filter: blur(60px) saturate(10);
  mix-blend-mode: exclusion;
  transition: width 5s ease, height 5s ease;
  will-change: transform, opacity;
}
.first-dot {
  top: 464px;
  left: 576px;
  background: repeating-radial-gradient(closest-side, purple, white, lightblue), url('../noise.svg');
  -webkit-animation-name: dot-1;
  animation-name: dot-1;
  animation-delay: -15s;
}
.second-dot {
  animation-delay: -3s;
  top: 194px;
  left: 691px;
  background: repeating-radial-gradient(closest-side, black, red, black, red, white, black, blue, purple), url('../noise.svg');
}
.third-dot {
  top: 479px;
  left: 389px;
  background-color: lightblue;
  background: repeating-radial-gradient(closest-side, salmon, orange, #f69d3c), url('../noise.svg');
}

@media screen and (min-width: 800px) {
  .carousel-cell {
    opacity: 0!important;
  }
  .carousel-cell:not(.is-selected) {
    animation: fadeOut 3.5s;
  }
  .carousel-cell.is-selected {
    z-index: 99;
    opacity: 1 !important;
    animation: fadeIn 1.50s;
  }
  @keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 0; }
  }
  @keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }
}


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

  .carousel-cell:not(.is-selected) {
    animation: fadeOut 0s;
  }
  .carousel-cell.is-selected {
    animation: fadeIn 1s;
  }
  @keyframes fadeIn {
    0% { opacity: 0; }
    50% { opacity: 0; }
    100% { opacity: 1; }
  }
  @keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
  }
  .carousel-cell.start > div {
    font-size: 26px;
    padding: 40px 40px;
  }
  .carousel-cell .carousel-cell-text {
    padding: 40px 20px;
  }
  .carousel-cell .question {
    font-size: 28px;
  }
  .dot {
    -webkit-animation-duration: 20000ms;
    animation-duration: 20000ms;
  }
  .first-dot {
    top: 20vh;
    left: 20vw;
    animation-delay: -10s;
  }
  .second-dot {
    top: 50vh;
    left: 80vw;
  }
  .third-dot {
    top: 68vh;
    left: 25vw;
  }
  /* modal ------------------*/
  .modal-container {
    padding: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%, rgba(255, 255, 255, 0) 100%);
  }
  .modal-contents {
    padding: 70px 30px 30px 30px;
  } 
}