/* =========================
   Custom Fonts
   ========================= */
@font-face {
  font-family: 'BeautyLuxury';
  src: url('../assets/font/beauty_luxury/BeautyLuxury-Regular.otf') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Hijrnotes';
  src: url('../assets/font/hijrnotes/Hijrnotes_PERSONAL_USE_ONLY.ttf') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Allena Signature';
  src: url('../assets/font/allena_signature/Allena Signature.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* =========================
   GLOBAL STYLES
   ========================= */

* {
  border: 0;
  margin: 0;
  box-sizing: border-box;
} 

html {
  forced-color-adjust: none;
  background-color: #ffffff;
  color: #000000;
  visibility: hidden;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #000;
}

body.accessGranted

img {
  max-width: 100%;
  display: block;
}

.animate__animated {
    opacity: 0;
    opacity: 0;
    transition: all 0.8s ease;
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }
.delay-800 { animation-delay: 0.8s; }
.delay-1000 { animation-delay: 1s; }

:root {
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  html, body {
    background-color: #ffffff;
    color: #000000;
  }
}

/* =========================
   ANIMATIONS
   ========================= */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1.2s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================
   Page Intro
   ========================= */

.page-intro {
    position: fixed;
    z-index: 1000;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 1.5s cubic-bezier(0.61, -0.22, 0.38, 1.26);
    display: none;
    background-color: #fff
}

.page-intro video#myVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-intro.show-intro {
  display: block;
}

/* ===== LAYOUT ===== */
.folder-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.folder-container article {
  max-width: 480px;
      position: relative;
    text-align: center;
}

.folder-container .note {
    font-family: 'Allena Signature';
    font-weight: 400;
    margin: 0;
    display: block;
    font-size: 26px;
    color: #fff;
    position: absolute;
    top: 130%;
    bottom: initial;
    width: 100%;
    left: 0;
    padding: 0;
    line-height: 1;
    text-shadow: 1px 1px rgb(122 116 116 / 70%);
}
/* ===== ENVELOPE ===== */
.envelope {
  width: 18.75em;
  height: 11.6em;
  position: relative;
  display: block;
  z-index: 2;
  background-color: #fff3d4;
  box-shadow: 0 0.1em 1em rgba(0, 0, 0, 0.15);
  transition: all 1s cubic-bezier(0.61, -0.22, 0.38, 1.26);
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
}

.envelope label {
  width: 100%;
  height: 100%;
  display: inline-block;
  cursor: pointer;
}

.envelope-logo {
    position: absolute;
    top: 0;
    position: absolute;
    z-index: 10;
    width: 60px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.envelope-logo img {
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}

/* ===== TRIANGLES ===== */
.triangle {
  height: 100%;
  overflow: hidden;
  position: relative;
  display: block;
}

.folder-container input#switch-on {
    -webkit-appearance: none;
}

.triangle::before {
  content: "";
  position: absolute;
  top: -4.8em;
  left: 3.865em;
  width: 11em;
  height: 9.5em;
  border: 1px solid #ad5c42;
  /* background-color: #bd5f40; */
  background-image: url(../img/envelopetexture.png);
  background-repeat:repeat;
  transform: rotate(30deg) skew(-30deg);
  box-shadow: 0 0 1em rgba(0, 0, 0, 0.4);
  background-color: #c6664b;
}

.triangle.cap {
  transition: all 0.6s cubic-bezier(0.61, -0.22, 0.38, 1.26);
  transform-origin: 50% 0%;
  z-index: 3;
}

.triangle.tail {
  transform-origin: 50% 0%;
  transform: rotate(180deg);
  z-index: 2;
}

.triangle.tail::before {
  top: -8.45em;
  left: 2.46em;
  width: 14em;
  height: 14em;
  border-color: #bd5f40;
  transform: rotate(38deg) skew(-15deg);
  box-shadow: -0.1em -0.1em 1em rgba(0, 0, 0, 0.14);
}

/* ===== BAG ===== */
.triangle.bag {
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
}

.triangle.bag::before,
.triangle.bag::after {
  content: "";
  position: absolute;
  top: 0.4em;
  left: -7em;
  width: 13em;
  height: 10.5em;
  border: 1px solid #a15136;
  /* background-color: #a15136; */
  background-image: url(../img/envelopetexture.png);
  transform: rotate(30deg) skew(-31deg);
  box-shadow: 1em 0.1em 1em rgba(0, 0, 0, 0.1);
  background-color: #c6664b;
}

.triangle.bag::after {
  top: -2.15em;
  left: auto;
  right: -10.2em;
  width: 14em;
  height: 15em;
  transform: rotate(33deg) skew(-27deg);
  background-color: #c6664b;
}

/* ===== OVERLAY ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  transform: scale(0);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.49, 1.14);
}

/* ===== TITLE ===== */
.title {
  position: absolute;
  top: 14em;
  width: 100%;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.49, 1.14);
}

.title h2 {
  color: white;
  font-size: 4em;
}

.title label {
  display: block;
  padding: 1.4em;
  color: white;
  border: 1px solid white;
  border-radius: 0.2em;
  cursor: pointer;
}

/* ===== CHECKED STATE ===== */
input.switch-on:checked ~ .overlay,
input.switch-on:checked ~ .title {
  transform: scale(1);
  opacity: 1;
}

input.switch-on:checked + .envelope {
  transform: scale(1.5);
  -webkit-transform: scale(1.5);
  box-shadow: 0 4em 4em rgba(0, 0, 0, 0.14);
}

input.switch-on:checked + .envelope .cap {
  transform: rotateX(180deg);
}

.page-intro.open {
    opacity: 0;
    pointer-events: none;
}

.page-intro.open input.switch-on:checked + .envelope{
  transform: scale(0) translate(-20%, 0);
}

/* ===== ANIMATIONS ===== */
@keyframes waiting {
  0% { margin-top: 0; }
  25% { margin-top: -3.85em; }
  50% { margin-top: 0; }
  100% { margin-top: 0; }
}

/* =========================
   HEADER / HERO SECTION
   ========================= */

header {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.background-img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.background-img .simpleParallax {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.background-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax {
  overflow: hidden;
}

.landingpage {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-wrap {
  position: relative;
  top: -20%;
  padding: 0 15px;
}

.logo-wrap img{
  width: 100%;
}

.date-warp {
  position: absolute;
  bottom: 3%;
  width: 100%;
  text-align: center;
  letter-spacing: 3px;
  font-family: "Red Hat Display", sans-serif;
}

/* =========================
   SECTIONS
   ========================= */

section {
  padding: 0 15px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2.3rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/* =========================
   COUNTDOWN
   ========================= */

section.countdown {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 40px;
  font-weight: 600;
  padding-top: 50px;
}

.cd-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

section.countdown .countdown-title {
    font-family: 'BeautyLuxury';
    text-transform: uppercase;
    background-image: linear-gradient(to right, #ff55bc, #e8ff00);
    font-size: 72px;
    font-weight: 400;
    line-height: 1;
    background-clip: text;
    color: transparent;
    letter-spacing: 0.01em;
}

.countdown-title .countdown-title-wrap {
    display: inline-block;
}

section.countdown .countdown-title .countdown-title-sub{
    font-family: 'Hijrnotes';
    text-transform: lowercase;
    font-weight: 400;
    display: block;
    margin-top: -0.3em;
    font-size: 0.85em;
    background-image: linear-gradient(to right, #9100ff, #ffbd45);
    color: transparent;
    background-clip: text;
    position: relative;
    padding: 0 0 30px;
}

.countdown-title-sub .butterfly_container{
    position: absolute;
    left: 89%;
    bottom: -40%;
    transform: scale(.4) translateZ(0);
    z-index: 10;
}

div.countdown > div {
    display: inline-block;
    position: relative;
    padding: 0;
    width: 62px;
    text-align: center;
    font-size: 38px;
    font-weight: 400;
}

.countdown div span {
    position: absolute;
    display: block;
    left: 50%;
    top: 130%;
    font-size: 0.3em;
    transform: translate(-50%, -50%); 
}

/* =========================
   VENUE
   ========================= */

.venue {
  text-align: center;
  line-height: 1.6;
  padding-top: 35px;
}

.venue p {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
    line-height: 2em;
}

.venue p strong {
    font-family: 'BeautyLuxury';
    font-size: 2.4em;
    font-weight: 400;
}

.venue-art-wrapper img {
    max-width: 520px;
    width: 100%;
}

.venue-art-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

a.view-location-btn {
    background-color: #fdf6eb;
    text-decoration: none;
    color: #000;
    font-family: 'BeautyLuxury';
    text-transform: uppercase;
    padding: 5px;
    display: block;
    max-width: 210px;
    font-size: 24px;
    font-weight: 400;
    margin: 10px auto 0;
    transition: 400ms ease;
}

a.view-location-btn:hover {
    background-color: #c65402;
    color: #fff;
}

/* =========================
   DRESS CODE
   ========================= */

section.dresscode {
  display: flex;
  gap: 50px;
  align-items: center;
  padding: 25px 0;
  margin-bottom: 25px;
}

.dresscode .dresscode-left {
    width: 52%;
    padding: 0 30px;
}

.dresscode .dresscode-colors img.prinsponsor {
    width: 100%;
    border-radius: 5px;
    max-width: 250px;
    display: block;
    margin: 0 auto;
}

.dresscode-colors {
    padding: 15px 0;
}


section.dresscode h2 {
    font-family: 'Hijrnotes';
    text-transform: lowercase;
    font-weight: 500;
    margin: 0;
}

.dresscode-info {
    text-align: center;
    font-weight: 500;
    font-size: 17px;
}

.dresscode-info h3 {
    margin: 0 0 10px;
    font-weight: 400;
    font-size: 1.35em;
}

.guest-color-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    position: relative;
    max-width: 465px;
    margin: 0 auto;
}

.guest-color-wrap img.gues-color-1 {
    width: 100%;
}


.dresscode-note {
    text-align: justify;
    font-size: 0.9em;
    margin-top: 45px;
}

.dresscode-colors .note-wrap {
    font-size: 0.65em;
    font-weight: 500;
    font-style: italic;
}


.dresscode .dresscode-right {
    width: 48%;
}

.dresscode .dresscode-right img {
  width: 100%;
  border-radius: 5px;
}



/* =========================
   TIMELINE
   ========================= */

section.timeline {
  justify-content: space-between;
  margin-top: 40px;
  text-align: center;
  margin-bottom: 100px;
}

section.timeline h2 {
    font-family: 'Hijrnotes';
    text-transform: lowercase;
    font-weight: 500;
    margin: 0;
    text-align: left;
    font-size: 42px;
}


.timeline-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 0;
}

    .timeline-wrapper > div {
        width: 20%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        overflow: inherit;
    }

    .timeline-wrapper img {
        min-height: 230px;
        object-fit: scale-down;
        object-position: center;
        width: 100%;
    }

    .timeline-wrapper p {
        font-family: 'BeautyLuxury';
        text-transform: uppercase;
        font-size: 30px;
        margin: 0;
        text-align: center;
        font-weight: 500;
        letter-spacing: 0.03em;
        color: #000;
    }

    .timeline-wrapper p span {
        display: block;
        font-size: 0.8em;
        padding-top: 10px;
    }

.giftnote-wrap {
    margin-top: 120px;
    text-align: center;
    max-width: 580px;
    margin: 120px auto 0;
    /* text-align: center; */
    font-size: 14px;
}

    .giftnote-wrap img {
        margin: 0 auto;
    }

    .giftnote-wrap span.giftnote {
        font-family: 'Hijrnotes';
        text-transform: lowercase;
        font-weight: 500;
        margin: 0;
        display: block;
        font-size: 26px;
    }


/* =========================
   FAQ
   ========================= */

section.faq {
  margin-top: 50px;
  max-width: 1300px;
}

  .faq-wrapper {
      display: flex;
      align-items: center;
  }

  .faq-wrapper .faq-left {
    width: 37%;
    text-align: left;
    margin-right: 4%;
  }

    .faq-title-wrapper {
      position: relative;
    }


    .faq h2 {
        font-family: 'BeautyLuxury';
        text-transform: uppercase;
        margin: 0;
        text-align: left;
        font-size: 85px;
        font-weight: 400;
        position: relative;
        line-height: 1.2;
    }

    .faq h2:before {
      position: absolute;
      height: 25px;
      width: 25px;
      top: 0;
      left: 0;
      background-image: url(../img/for_animation.png);
    }

    .faq h2:after {
      position: absolute;
      height: 25px;
      width: 25px;
      left: 100%;
      bottom: 0;
      background-image: url(../img/for_animation.png);
    }

.faq-right {
    width: 59%;
}

  .faq-item h3 span {
      font-family: 'Montserrat', sans-serif;
      position: absolute;
      right: 104%;
      top: 0;
      font-size: 0.8em;
  }

  .faq-item p {
      margin: 0;
      font-weight: 400;
  }

  .faq-item:last-child {
      border-bottom: none;
  }

  .faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px  solid #000;
    padding-left: 60px;
  }


  .faq-item h3 {
    font-size: 34px;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
    font-family: 'BeautyLuxury';
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
    margin-bottom: 15px;
  }

/* =========================
   RSVP
   ========================= */

.rsvp {
  text-align: center;
  margin-top: 60px;
}

.rsvp input {
  padding: 12px;
  width: 75%;
  border: 1px solid #cccccc;
  border-radius: 4px;
}

.rsvp .rsvp-form button {
  padding: 12px 25px;
  border: none;
  background: #e6aa9e;
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.rsvp .rsvp-form button:hover {
  background: #d48c82;
}

.rsvp-slideshow canvas {
  width: 100%;
  background-size: cover;
  background-position: center;
}

section.rsvp h2 {
    font-family: 'BeautyLuxury';
    text-transform: uppercase;
    margin: 0;
    text-align: left;
    font-size: 85px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1;
}
  section.rsvp h2 > span {
    position: relative;
    display: inline-block;
  }

  section.rsvp h2 > span em {
    position: absolute;
    height: 50px;
    width: 50px;
    bottom: 10%;
    left: 100%;
    background-image: url(../img/tutiandfury.png);
    background-size: 52px;
    background-size: contain;
    background-repeat: no-repeat;
  }

.rsvp-form {
    max-width: 620px;
    margin: 60px auto 0;
    border: 1px solid #cccccc;
    padding: 25px;
}

.rsvp-form-wrap {
    display: block;
    width: 100%;
}

.rsvp-form-wrap .rsvp-form-row {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rsvp-form-row > label {
    width: 25%;
    font-size: 24px;
    margin: 0;
    font-family: 'BeautyLuxury';
    text-transform: uppercase;
    font-weight: 400;
    position: relative;
}

.rsvp-form-row.attendance-row label {
    margin-bottom: 30px;
    display: block;
    width: 100%;
}

.rsvp-form-wrap .rsvp-form-row.attendance-row {
    display: block;
}

.rsvp-form-wrap .rsvp-form-row.attendance-row {
    display: block;
}

.form-attendance-wrap {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
}

.form-attendance-wrap input {
    /* -webkit-appearance: none; */
    -moz-appearance: none;
    appearance: none;
    width: 44px;
    height: 44px;
    /* margin: 0 12px; */
    /* outline: 12px solid #BDBDBD; */
    /* outline-offset: -12px; */
    cursor: pointer;
    /* -webkit-backface-visibility: hidden; */
    backface-visibility: hidden;
    /* border-radius: 50%; */
    /* transform: rotate(45deg) scale(1); */
    will-change: transform;
    border-radius: 50% 50% 0 50%;
    /* -webkit-animation: active 1s ease forwards; */
    animation: active 1s ease forwards;
    outline-offset: -12px;
    outline: 12px solid rgb(247, 136, 82);
    box-shadow: rgb(247, 136, 82) 0px -25px 0px 0px, rgb(247, 136, 82) -25px 0px 0px 0px;
    outline-color: rgb(247, 136, 82);
    transform: rotate(45deg) scale(1);
    border: 0;
    background-color: rgb(247, 136, 82);
}

.form-attendance-wrap input:checked, 
.form-attendance-wrap input:hover{
      outline: 12px solid #ee4444;
    box-shadow: rgb(238, 68, 68) 0px -25px 0px 0px, rgb(238, 68, 68) -25px 0px 0px 0px;
    outline-color: rgb(238, 68, 68);
    border: 0;
    background-color: #ee4444;
    transition: 400ms ease;
    transform: rotate(45deg) scale(1.3);
}

.form-attendance-wrap .form-attendance span {
    position: absolute;
    top: 31%;
    left: 50%;
    display: block;
    z-index: 10;
    color: #fff;
    font-size: 11px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.form-attendance-wrap .form-attendance {
    position: relative;
    margin: 0 25px;
}

/* =========================
   FOOTER
   ========================= */

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  color: #000;
}

footer h2 {
    font-family: 'Allena Signature';
    font-weight: 400;
    margin: 0;
    display: block;
    font-size: 26px;
    line-height: 1.2;
    color: #000;
    display: inline-block;
    position: relative;
}

footer h2 > span {
    position: relative;
    display: block;
    font-size: 1.1em;
}

footer h2 span.heart {
    position: absolute;
    height: 14px;
    width: 15px;
    background-image: url(../img/heart.png);
    background-size: cover;
    background-position: center;
}

/* =========================
   BUTTERFLY ANIMATION
   ========================= */
@keyframes rotating {
  0% {
    -webkit-transform: rotate3d(0, 0, 0, 0deg);
    -moz-transform: rotate3d(0, 0, 0, 0deg);
    -ms-transform: rotate3d(0, 0, 0, 0deg);
    -o-transform: rotate3d(0, 0, 0, 0deg);
    transform: rotate3d(0, 0, 0, 0deg);
  }
  100% {
    -webkit-transform: rotate3d(0, 1, 0, 720deg);
    -moz-transform: rotate3d(0, 1, 0, 720deg);
    -ms-transform: rotate3d(0, 1, 0, 720deg);
    -o-transform: rotate3d(0, 1, 0, 720deg);
    transform: rotate3d(0, 1, 0, 720deg);
  }
}
@keyframes rotatingY {
  100% {
    -webkit-transform: rotateY(-360deg);
    -moz-transform: rotateY(-360deg);
    -ms-transform: rotateY(-360deg);
    -o-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
}
@keyframes fluttering {
  0%,
  25%,
  50%,
  75%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  10%,
  60% {
    -webkit-transform: translate3d(0, 150px, 0);
    -moz-transform: translate3d(0, 150px, 0);
    -ms-transform: translate3d(0, 150px, 0);
    -o-transform: translate3d(0, 150px, 0);
    transform: translate3d(0, 150px, 0);
  }
  30%,
  80% {
    -webkit-transform: translate3d(0, 50px, 0);
    -moz-transform: translate3d(0, 50px, 0);
    -ms-transform: translate3d(0, 50px, 0);
    -o-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
  }
}
@keyframes left-wing-flap {
  0% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
  }
  50% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, -30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, -30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, -30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, -30deg);
    transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, -30deg);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
    transform: translate3d(0, 0, 0) scaleX(1) rotate3d(0, 1, 0, 30deg);
  }
}
@keyframes right-wing-flap {
  0% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
  }
  50% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, -30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, -30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, -30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, -30deg);
    transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, -30deg);
  }
  100% {
    -webkit-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -moz-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -ms-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    -o-transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
    transform: translate3d(0, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 30deg);
  }
}

.butterfly_container{
  width: 100px;
  height: 100px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.butterfly_container var {
  position: absolute;
  left: 0%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.butterfly_container var.rotate3d {
  -webkit-transform: rotate3d(1, 0.5, 0, 50deg);
  -moz-transform: rotate3d(1, 0.5, 0, 50deg);
  -ms-transform: rotate3d(1, 0.5, 0, 50deg);
  -o-transform: rotate3d(1, 0.5, 0, 50deg);
  transform: rotate3d(1, 0.5, 0, 50deg);
}
.butterfly_container var.translate3d {
  -webkit-animation: fluttering 20s ease-in-out infinite;
  -moz-animation: fluttering 20s ease-in-out infinite;
  -ms-animation: fluttering 20s ease-in-out infinite;
  -o-animation: fluttering 20s ease-in-out infinite;
  animation: fluttering 20s ease-in-out infinite;
}
.butterfly_container figure.butterfly {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-top: -50px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}
.butterfly_container figure.butterfly .wing {
  position: absolute;
  width: 50px;
  height: 100px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-transform: translate3d(0, 0, 0) rotate3d(1, 0.5, 0, 45deg);
  -moz-transform: translate3d(0, 0, 0) rotate3d(1, 0.5, 0, 45deg);
  -ms-transform: translate3d(0, 0, 0) rotate3d(1, 0.5, 0, 45deg);
  -o-transform: translate3d(0, 0, 0) rotate3d(1, 0.5, 0, 45deg);
  transform: translate3d(0, 0, 0) rotate3d(1, 0.5, 0, 45deg);
}
.butterfly_container figure.butterfly .wing.right {
  -webkit-transform-origin: 50px 50px;
  -moz-transform-origin: 50px 50px;
  -ms-transform-origin: 50px 50px;
  -o-transform-origin: 50px 50px;
  transform-origin: 50px 50px;
  -webkit-transform: translate3d(0px, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 45deg);
  -moz-transform: translate3d(0px, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 45deg);
  -ms-transform: translate3d(0px, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 45deg);
  -o-transform: translate3d(0px, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 45deg);
  transform: translate3d(0px, 0, 0) scaleX(-1) rotate3d(0, 1, 0, 45deg);
  -webkit-animation: right-wing-flap 4s ease-in-out infinite;
  -moz-animation: right-wing-flap 4s ease-in-out infinite;
  -ms-animation: right-wing-flap 4s ease-in-out infinite;
  -o-animation: right-wing-flap 4s ease-in-out infinite;
  animation: right-wing-flap 4s ease-in-out infinite;
  filter: FlipH;
  -ms-filter: "FlipH";
}
.butterfly_container figure.butterfly .wing.left {
  -webkit-transform-origin: 50px 50px;
  -moz-transform-origin: 50px 50px;
  -ms-transform-origin: 50px 50px;
  -o-transform-origin: 50px 50px;
  transform-origin: 50px 50px;
  -webkit-animation: left-wing-flap 4s ease-in-out infinite;
  -moz-animation: left-wing-flap 4s ease-in-out infinite;
  -ms-animation: left-wing-flap 4s ease-in-out infinite;
  -o-animation: left-wing-flap 4s ease-in-out infinite;
  animation: left-wing-flap 4s ease-in-out infinite;
}
.butterfly_container figure.butterfly .wing use {
  display: block;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  fill: url(#image);
}

.svg-defs {
  position: absolute;
  height: 0;
  width: 0;
}

/* =========================
   RESPONSIVE (MOBILE)
   ========================= */
   
@media (max-width: 1200px) {
  .faq h2 {
      font-size: 65px;
  }
  .logo-wrap {
      top: -10%;
      max-width: 320px;
  }

  .faq-item h3 {
      font-size: 28px;
  }

  .faq-item p {
      font-size: 14px;
  }

  .faq-item {
      padding-left: 40px;
  }

}

@media (max-width: 992px) {
  section.countdown .countdown-title {
      font-size: 62px;
  }

  section.dresscode {
    gap: 15px;
  }
  .dresscode .dresscode-left {
    padding: 0 15px;
  }

  .venue p {
    font-size: 13px;
  }

  section.dresscode h2 {
    font-size: 30px;
  }
  .dresscode-note {
    font-size: 14px;
    margin-top: 25px;
  }
  .dresscode-info p {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .timeline-wrapper {
    display: block;
  }

  .timeline-wrapper > div {
      display: inline-block;
      width: 25%;
      vertical-align: middle;
  }

  .timeline-wrapper img {
      min-height: auto;
      /* margin-bottom: 10px; */
      max-width: 150px;
      margin: 0 auto 15px;
  }

  .timeline-wrapper p {
      font-size: 22px;
  }

  .faq h2 {
    font-size: 55px;
  }

  .faq-item h3 {
      font-size: 24px;
      margin-bottom: 10px;
  }

  .faq-item {
      padding-bottom: 15px;
  }
  section.rsvp h2 {
    font-size: 65px;
  }
}

@media (max-width: 768px) {
  .faq h2 {
      font-size: 45px;
      text-align: center;
  }

  .faq-item h3 {
      font-size: 24px;
      margin-bottom: 10px;
  }

  .faq-item {
      padding-bottom: 15px;
  }

  section.rsvp h2 {
      font-size: 65px;
  }

  section.dresscode {
      display: flex;
      flex-direction: column-reverse;
      max-width: 320px;
      gap: 0;
      padding:  0 15px;
  }

  .dresscode .dresscode-left {
      padding: 0;
      width: 100%;
  }

  .dresscode .dresscode-right {
      margin-bottom: 25px;
      width: 100%;
  }

  .guest-color-wrap img.gues-color-2 {
      display: none;
  }

    section.countdown .countdown-title {
    font-size: 50px;
  }

  .countdown-title-sub .butterfly_container {
      left: 85%;
      bottom: -54%;
  }

  section.countdown {
      font-size: 21px;
  }

  div.countdown > div {
    width: 48px;
  }

  .venue p {
    font-size: 12px;
  }

  .venue p {
    font-size: 12px;
  }

  .timeline-wrapper > div {
      width: 33%;
      margin: 0;
  }
  .giftnote-wrap {
    margin-top: 30px;
  }

  .faq-wrapper {display: block;max-width: 320px;margin: 0 auto;}

  .faq-wrapper .faq-left {
      width: 100%;
      margin: 0;
  }

  section.faq {
      margin-top: 25px;
  }

  .faq-right {
    width: 100%;
  }

  section.timeline h2 {
    font-size: 42px;
    text-align: center;
  }
  section.timeline {
    margin-top: 25px;
    margin-bottom: 25px;
  }

  .faq-title-wrapper {
    margin-bottom: 25px;
  }

  .envelope {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
  }

  input.switch-on:checked + .envelope {
    transform: scale(1);
    -webkit-transform: scale(1);
    box-shadow: 0 4em 4em rgba(0, 0, 0, 0.14);
    transform-origin: top center;
  }

  .folder-container .note {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  section.countdown {
    padding-top: 30px;
  }

  .rsvp-form-wrap .rsvp-form-row {
      display: block;
      text-align: center;
  }

  .rsvp-form-row > label {
      width: 100%;
      text-align: center;
  }

  .rsvp-form-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .rsvp-form-wrap .rsvp-form-row {
      display: block;
      text-align: center;
  }

  .rsvp-form-row > label {
      width: 100%;
  }

  .rsvp .rsvp-form-row > input {
      width: 100%;
  }

  .rsvp-form-wrap .rsvp-form-row {
      margin-bottom: 8px;
  }
  .timeline-wrapper > div {
    width: 50%;
  }

  div.countdown > div {
    width: 34px;
    font-size: 28px;
  }

  .venue p {
    font-size: 11px;
  }
  .venue p strong {
    font-size: 2em;
  }

  section.dresscode h2 {
    font-size: 28px;
    line-height: 1.5;
    margin-bottom: 25px;
  }
  .dresscode-info p {
    font-size: 14px;
  }

  footer h2 {
    font-size: 20px;
  }

  .envelope {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
  }

  input.switch-on:checked + .envelope {
    transform: scale(.9);
    -webkit-transform: scale(.9);
    box-shadow: 0 4em 4em rgba(0, 0, 0, 0.14);
    transform-origin: top center;
  }
}