/* ------------------------------------------------*/
/* BASE STYLES */
/* ------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz@6..96&family=Sawarabi+Gothic&family=Secular+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap');

html {
  /* font-family: 'Libre Baskerville', serif; */
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  /* height: 100%; */
}

body {
    overflow-x: hidden !important;
    background-color: #ffffff;
    color: #616161;
    /* min-height: 100vh; */
}

.body-background {
    /* background-image: url('../images/bg_portrait6.jpg'); */
    /* background-size: 250% auto; */
    /* background-position-x: 60%; */

    background-image: url('../images/bg_tall2.png');
    background-size: 115% auto;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    /* font-size: 100%; */
    vertical-align: baseline;
}

.fullheight {
    position: relative;
    height: 100%;
}

/* ------------------------------------------------*/
/* ANIMATIONS */
/* ------------------------------------------------*/

/* CSS */
.button-6 {
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: .25rem;
  box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
  box-sizing: border-box;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  display: inline-flex;
  font-family: system-ui,-apple-system,system-ui,"Monsterrat",Helvetica,Arial,sans-serif;
  font-size: 16px;
  font-weight: 600;
  justify-content: center;
  line-height: 1.25;
  margin: 0;
  min-height: 3rem;
  padding: calc(.875rem - 1px) calc(1.5rem - 1px);
  position: relative;
  text-decoration: none;
  transition: all 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  width: auto;
}

.button-6:hover,
.button-6:focus {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
  color: rgba(0, 0, 0, 0.65);
}

.button-6:hover {
  transform: translateY(-1px);
}

.button-6:active {
  background-color: #F0F0F1;
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: rgba(0, 0, 0, 0.06) 0 2px 4px;
  color: rgba(0, 0, 0, 0.65);
  transform: translateY(0);
}

@-webkit-keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @-moz-keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @-webkit-keyframes fadeInLeft {
    from {
      opacity: 0;
      -webkit-transform: translate3d(-50px, 0, 0);
              transform: translate3d(-50px, 0, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
              transform: none;
    }
  }
  @-moz-keyframes fadeInLeft {
    from {
      opacity: 0;
      -moz-transform: translate3d(-50px, 0, 0);
           transform: translate3d(-50px, 0, 0);
    }
    to {
      opacity: 1;
      -moz-transform: none;
           transform: none;
    }
  }
  @keyframes fadeInLeft {
    from {
      opacity: 0;
      -webkit-transform: translate3d(-50px, 0, 0);
         -moz-transform: translate3d(-50px, 0, 0);
              transform: translate3d(-50px, 0, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
         -moz-transform: none;
              transform: none;
    }
  }
  @-webkit-keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100px, 0, 0);
              transform: translate3d(100px, 0, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
              transform: none;
    }
  }
  @-moz-keyframes fadeInRight {
    from {
      opacity: 0;
      -moz-transform: translate3d(100px, 0, 0);
           transform: translate3d(100px, 0, 0);
    }
    to {
      opacity: 1;
      -moz-transform: none;
           transform: none;
    }
  }
  @keyframes fadeInRight {
    from {
      opacity: 0;
      -webkit-transform: translate3d(100px, 0, 0);
         -moz-transform: translate3d(100px, 0, 0);
              transform: translate3d(100px, 0, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
         -moz-transform: none;
              transform: none;
    }
  }
  @-webkit-keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100px, 0);
              transform: translate3d(0, 100px, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
              transform: none;
    }
  }
  @-moz-keyframes fadeInUp {
    from {
      opacity: 0;
      -moz-transform: translate3d(0, 100px, 0);
           transform: translate3d(0, 100px, 0);
    }
    to {
      opacity: 1;
      -moz-transform: none;
           transform: none;
    }
  }
  @keyframes fadeInUp {
    from {
      opacity: 0;
      -webkit-transform: translate3d(0, 100px, 0);
         -moz-transform: translate3d(0, 100px, 0);
              transform: translate3d(0, 100px, 0);
    }
    to {
      opacity: 1;
      -webkit-transform: none;
         -moz-transform: none;
              transform: none;
    }
  }
  @keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100px, 0);
            -moz-transform: translate3d(0, -100px, 0);
                transform: translate3d(0, -100px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
            -moz-transform: none;
                transform: none;
    }
  }
  @-webkit-keyframes fadeInDown {
    from {
        opacity: 0;
        -webkit-transform: translate3d(0, -100px, 0);
            -moz-transform: translate3d(0, -100px, 0);
                transform: translate3d(0, -100px, 0);
    }
    to {
        opacity: 1;
        -webkit-transform: none;
            -moz-transform: none;
                transform: none;
    }
  }

  @keyframes zoomOut {
    from {
        filter:blur(13px);
        -webkit-filter:blur(13px);
        -webkit-backdrop-filter: blur(13px);
        backdrop-filter: blur(13px);
        transform: scale(1.15);
        opacity:0;
    
    }
    to {
        -webkit-filter:blur(0px);
        filter:blur(0px);
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
        transform: scale(1);
        opacity:1;
    }
  }
  @-webkit-keyframes zoomOut {
    from {
        filter:blur(13px);
        -webkit-filter:blur(13px);
        -webkit-backdrop-filter: blur(13px);
        backdrop-filter: blur(13px);
        transform: scale(1.15);
        opacity:0;
    
    }
    to {
        -webkit-filter:blur(0px);
        filter:blur(0px);
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
        transform: scale(1);
        opacity:1;
    }
  }

  @keyframes zoomIn {
    from {
        filter:blur(25px);
        -webkit-filter:blur(25px);
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
        transform: scale(0.75);
        opacity:0;
    
    }
    to {
        -webkit-filter:blur(0px);
        filter:blur(0px);
        -webkit-backdrop-filter: blur(0px);
        backdrop-filter: blur(0px);
        transform: scale(1);
        opacity:1;
    }
  }

  @-webkit-keyframes ani {
    from {
     -webkit-mask-position: 100% 0;
     mask-position: 100% 0;
    }
   
    to {
     -webkit-mask-position: 0 0;
     mask-position: 0 0;
    }
   }
   
   @keyframes ani {
    from {
     -webkit-mask-position: 100% 0;
     mask-position: 100% 0;
    }
   
    to {
     -webkit-mask-position: 0 0;
     mask-position: 0 0;
    }
   }
  
  
/* ------------------------------------------------*/
/* GRID LAYOUT */
/* ------------------------------------------------
*/
  
.container-fluid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: -moz-calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: -moz-calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}
  
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    margin-top: -moz-calc(-1 * var(--bs-gutter-y));
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: -moz-calc(-0.5 * var(--bs-gutter-x));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: -moz-calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.column {
  display: flex;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  flex-direction: column;
  flex-direction: -webkit-column;
}

.fp-responsive .home .row {
    flex-direction: column-reverse;
    flex-direction: -webkit-column-reverse;
}

.fp-responsive .wedding-schedule .row {
  flex-direction: column-reverse;
  flex-direction: -webkit-column-reverse;
}

/* .wedding-schedule .column {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.2);
} */
  
.row > * {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: -moz-calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: -moz-calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.section.wedding-schedule {
  padding-top: 3%;
  padding-bottom: 3%;
  padding-left: 5%;
  padding-right: 5%;
}

.wedding-schedule .image-container {
  padding: 1.5% 3.5% 1.5% 3.5%;
}

.fp-responsive .wedding-schedule .text-container {
  padding-top: 5%;
}
.fp-responsive .wedding-schedule .image-container {
  padding-top: 0%;
}

.p-0 {
    padding: 0 !important;
}

.g-0 {
    --bs-gutter-x: 0;
}


/* MY OWN STYLES */

.loader {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
       -moz-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.text-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.7;
  font-weight: bolder;
  /* color: black; */
}

.tile {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    -moz-background-size: cover;
    background-size: cover;
    height: 100%;
    width: 100%;
    opacity: 0;
}

.image-1 {
    background-image: url('../images/IMG_0214-Enhanced-SR-Edit-square.png');
    /* opacity: 1; */
    /* animation: 0.8s ease-in-out 1 both fadeInLeft; */
    /* animation: 0.9s ease-out 1 both zoomOut; */
}

.image-2.z-0 {
    /* background-image: url('../images/bg_flowers.png'); */
    /* background-image: url('../images/bg_1.jpg'); */
    position: absolute;
    z-index: 0;
    /* animation: 1.1s ease-in-out 0.4s both fadeIn; */
}

.image-2.z-1 {
    background-image: url('../images/patricia_and_alex.png');
    /* background-color: rgba(255, 255, 255, 0.5); */
    position: absolute;
    z-index: 1;
    /* animation: 0.6s ease-in-out 0.8s both fadeInDown; */
}

.image-2.z-2 {
    background-image: url('../images/date.png');
    z-index: 2;
    /* animation: 0.6s ease-in-out 1.0s both fadeInUp; */
}

.image-3 {
    background-image: url('../images/watercolor.png');
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
}

.image-4 {
    background-image: url('../images/IMG_0774-Edit-Enhanced-SR.jpg');
}

.image-church {
    background-image: url('../images/church_edit.jpg');
}

.image-mauka {
    background-image: url('../images/mauka_modern-1.jpg');
}

.image-frame {
  border-radius: 15px;
  /* border: 1px solid #000000; */
  /* box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.35); */
  opacity: 1;

}

.image-reveal {
  mask-image: url('../images/nature-sprite.png');
  -webkit-mask-image: url('../images/nature-sprite.png');
  -webkit-mask-size: 2300% 100%;
  mask-size: 1800% 100%;
  }

/* ANIMATION HANDLING */

/* .page-loaded .played {
    opacity: 1;
} */

.page-loaded .in-view.image-1{
    -webkit-animation: 0.9s ease-out 0.1s both zoomOut;
    animation: 0.9s ease-out 0.1s both zoomOut;
}

.page-loaded .in-view.image-2.z-1{
  /* filter: drop-shadow(0 .5rem 1rem gray); */
    -webkit-animation: 0.6s ease-in-out 0.6s both fadeInDown;
    animation: 0.6s ease-in-out 0.6s both fadeInDown;

}

.page-loaded .in-view.image-2.z-2{
  /* filter: drop-shadow(0 .5rem 1rem gray); */
    -webkit-animation: 0.6s ease-in-out 0.8s both fadeInUp;
    animation: 0.6s ease-in-out 0.8s both fadeInUp;
}

.page-loaded .in-view.image-reveal {
  opacity: 1;
  animation: ani 0.9s steps(22) forwards;
  -webkit-animation: ani 0.9s steps(22) forwards;
}

.page-loaded .in-view.image-4{
    animation: 0.8s ease-in-out 0.3s both fadeIn;
}

.arrow-down {
    opacity: 0;
    position: absolute;
    bottom: 7.5%;
    left: 47.7%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid rgba(0, 0, 0, 0.576); /* Adjust the color as needed */
}

.page-loaded .in-view.arrow-down{
    animation: bounce 1.35s 1.3s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(20px);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.container {
    width: 100%;
    position: absolute;
}

.z-0 {
  z-index: 0;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

.z-3 {
  z-index: 3;
}

.z-4 {
  z-index: 4;
}

.text {
  vertical-align: baseline;
  background: none;
  background-color: transparent;
  text-justify: center;
  text-align: center;
  font-size: 1.35rem;
  /* text-transform: uppercase; */
  /* font-weight: 300; */
  opacity: 0;
  padding: 5% 5% 5% 5%;
}



.page-loaded .in-view.text {
  animation: 0.8s ease-in-out 0.1s both fadeIn;
}

.wedding-schedule .row {
  opacity: 0;
}

.page-loaded .wedding-schedule .in-view.row {
  -webkit-animation: 0.8s ease-in-out 0.1s both fadeIn;
  animation: 0.8s ease-in-out 0.1s both fadeIn;
}

@media (min-width: 1025px) {
    .w-40 {
        width: 40%;
    }

    .w-60 {
        width: 60%;
    }
    
    .w-50 {
        width: 50%;
    }

    .body-background {
      background-size: cover;
      background-image: url('../images/bg_wide2.png');
    }
}

@media (max-width: 1024px) {
    .tile.image-1 {
        height: 800px;
    }

    .tile.image-2 {
        height: 95vh;
    }

    .tile.image-3 {
        height: 720px;
    }

    .tile.image-4 {
        height: 800px;
    }

    .tile.image-church {
        height: 500px;
    }

    .tile.image-mauka {
        height: 500px;
    }
}

@media (max-width: 840px) {
    .tile.image-1 {
        height: 720px;
    }

    .tile.image-2 {
        height: 95vh;
    }

    .tile.image-3 {
        height: 720px;
    }

    .tile.image-4 {
        height: 720px;
    }

    .tile.image-church {
        height: 480px;
    }

    .tile.image-mauka {
        height: 480px;
    }
}

@media (max-width: 640px) {
    .tile.image-1 {
        height: 640px;
    }

    .tile.image-2 {
        height: 94vh;
    }

    .tile.image-3 {
        height: 720px;
    }

    .tile.image-4 {
        height: 680px;
    }

    .tile.image-church {
        height: 480px;
    }

    .tile.image-mauka {
        height: 480px;
    }

    .text {
        /* font-size: 1.4rem; */
        font-size: 21px;
    }
    .text p {
        padding-left: 1%;
        padding-right: 1%;
    }
}
