body {
  background-color: #f0e1ce;
  color: #2f2823;
  font-size: 18px;
  text-shadow: 1px 1px 1px white;
}

a {
  color: #2f2823;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
a:hover {
  color: #cba866;
  text-decoration: none;
  border-color: #cba866;
}

.uk-grid-divider > :not(.uk-first-column)::before,
hr {
  border-color: #cba866;
}

h1, h2, h3, .uk-h3, h4, h5, h6, .uk-heading-medium {
  font-family: "Georgia", serif;
  color: rgb(181.9580487805, 140.3336585366, 61.8419512195);
  line-height: 1;
}
h1 em, h2 em, h3 em, .uk-h3 em, h4 em, h5 em, h6 em, .uk-heading-medium em {
  display: block;
  font-style: normal;
  font-size: 2em;
  line-height: 1.5;
  color: #cba866;
}

.invitation-page #primary {
  position: relative;
  z-index: 4;
  background: #f0e1ce;
}

.date-time em {
  display: block;
}

#main {
  position: relative;
}

#main article .section {
  border-radius: 8px;
  background-image: linear-gradient(160deg, rgba(255, 252, 245, 0.8) 0%, rgba(245, 238, 225, 0.75) 60%, rgba(235, 225, 210, 0.7) 100%), var(--paper-texture);
  background-size: 100% 100%, cover;
  background-blend-mode: normal, multiply;
  border: 1px solid rgba(200, 185, 160, 0.4);
  -webkit-box-shadow: 0 1px 2px rgba(160, 140, 110, 0.12), 0 4px 16px rgba(140, 120, 90, 0.1), 0 12px 40px rgba(120, 100, 70, 0.08), inset 0 0 60px rgba(200, 185, 160, 0.5);
          box-shadow: 0 1px 2px rgba(160, 140, 110, 0.12), 0 4px 16px rgba(140, 120, 90, 0.1), 0 12px 40px rgba(120, 100, 70, 0.08), inset 0 0 60px rgba(200, 185, 160, 0.5);
}

.uk-button {
  text-shadow: none;
  border-radius: 50px;
  text-transform: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.uk-button.uk-button-secondary {
  background-color: #2f2823;
}
.uk-button.uk-button-secondary:hover {
  background-color: rgb(23.6146341463, 20.0975609756, 17.5853658537);
  color: #fff;
}

:root {
  --paper-texture: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iNTA4bW0iCiAgIGhlaWdodD0iMjg1Ljc1bW0iCiAgIHZpZXdCb3g9IjAgMCA1MDggMjg1Ljc1IgogICB2ZXJzaW9uPSIxLjEiCiAgIGlkPSJzdmcxIgogICB4bWw6c3BhY2U9InByZXNlcnZlIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxkZWZzCiAgICAgaWQ9ImRlZnMxIj48ZmlsdGVyCiAgICAgICBzdHlsZT0iY29sb3ItaW50ZXJwb2xhdGlvbi1maWx0ZXJzOnNSR0IiCiAgICAgICBpZD0iZmlsdGVyMTAxIgogICAgICAgeD0iMCIKICAgICAgIHk9IjAiCiAgICAgICB3aWR0aD0iMSIKICAgICAgIGhlaWdodD0iMSI+PGZlVHVyYnVsZW5jZQogICAgICAgICBpZD0iZmVUdXJidWxlbmNlMTAxIgogICAgICAgICBiYXNlRnJlcXVlbmN5PSIwLjAyMDAwMDAwMDAwMDAwMDAxMSIKICAgICAgICAgbnVtT2N0YXZlcz0iOSIKICAgICAgICAgc2VlZD0iMTAiCiAgICAgICAgIHR5cGU9ImZyYWN0YWxOb2lzZSIgLz48ZmVEaWZmdXNlTGlnaHRpbmcKICAgICAgICAgaWQ9ImZlRGlmZnVzZUxpZ2h0aW5nMTAxIgogICAgICAgICBzdXJmYWNlU2NhbGU9IjIuMDQ5OTk5OTUiCiAgICAgICAgIGRpZmZ1c2VDb25zdGFudD0iMSI+PGZlRGlzdGFudExpZ2h0CiAgICAgICAgICAgaWQ9ImZlRGlzdGFudExpZ2h0MTAzIgogICAgICAgICAgIGF6aW11dGg9Ijc1IgogICAgICAgICAgIGVsZXZhdGlvbj0iNTAiIC8+PC9mZURpZmZ1c2VMaWdodGluZz48L2ZpbHRlcj48L2RlZnM+PGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNTU0KSI+PHJlY3QKICAgICAgIHN0eWxlPSJvcGFjaXR5OjE7ZmlsbDojN2I0OTM4O2ZpbGwtb3BhY2l0eToxO3N0cm9rZS13aWR0aDoyLjY0NTgzO2ZpbHRlcjp1cmwoI2ZpbHRlcjEwMSkiCiAgICAgICBpZD0icmVjdDEwMSIKICAgICAgIHdpZHRoPSI1MDgiCiAgICAgICBoZWlnaHQ9IjI4NS43NSIKICAgICAgIHg9IjE1NTQiCiAgICAgICB5PSItNC45NzM3OTkyZS0xNCIgLz48L2c+PC9zdmc+Cg==) ;
}

.hero {
  position: relative;
  min-height: 80svh;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16), transparent 34%), -webkit-gradient(linear, left top, left bottom, from(rgba(30, 20, 10, 0.08)), color-stop(48%, rgba(30, 20, 10, 0.18)), to(rgba(30, 20, 10, 0.48)));
  background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.16), transparent 34%), linear-gradient(to bottom, rgba(30, 20, 10, 0.08) 0%, rgba(30, 20, 10, 0.18) 48%, rgba(30, 20, 10, 0.48) 100%);
}

.hero__animation {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: -ms-grid;
  display: grid;
  place-items: end center;
  padding-top: clamp(1.5rem, 4vw, 4rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
  padding-bottom: 0;
  padding-left: clamp(1.5rem, 4vw, 4rem);
}

.envelope-invitation {
  --envelope-width: clamp(300px, 46vw, 560px);
  --envelope-height: calc(var(--envelope-width) * 0.62);
  --scene-height: calc(var(--envelope-height) + clamp(170px, 24vw, 310px));
  --card-pocket-width: var(--envelope-height);
  --card-pocket-height: var(--envelope-width);
  --card-pocket-bottom: calc(var(--envelope-height) * -0.08);
  --card-lift: calc(var(--envelope-height) * -0.86);
  --card-final-height: calc(var(--scene-height) * 0.95);
  --card-final-width: calc(var(--card-final-height) * 0.62);
  --card-final-y: 0px;
  position: relative;
  width: var(--envelope-width);
  height: var(--scene-height);
  display: -ms-grid;
  display: grid;
  place-items: end center;
  -webkit-perspective: 1400px;
          perspective: 1400px;
  opacity: 0;
  -webkit-animation: sceneIn 0.7s ease 0.1s forwards;
          animation: sceneIn 0.7s ease 0.1s forwards;
}

.envelope-invitation__shadow {
  position: absolute;
  bottom: clamp(6px, 1vw, 14px);
  left: 50%;
  width: 72%;
  height: 34px;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(24, 18, 14, 0.28);
  -webkit-filter: blur(18px);
          filter: blur(18px);
  opacity: 0;
  -webkit-animation: envelopeShadowIn 0.9s ease 0.25s forwards;
          animation: envelopeShadowIn 0.9s ease 0.25s forwards;
}

.envelope-invitation__envelope {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: var(--envelope-width);
  height: var(--envelope-height);
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  z-index: 4;
  -webkit-filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.24));
          filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.24));
}

.envelope-invitation__back,
.envelope-invitation__front,
.envelope-invitation__flap {
  position: absolute;
  inset: 0;
}

.envelope-invitation__back {
  z-index: 1;
  overflow: hidden;
  border-radius: 6px;
  background: -webkit-gradient(linear, left top, left bottom, from(#fffaf1), color-stop(56%, #f7efe3), to(#efe1cb));
  background: linear-gradient(180deg, #fffaf1 0%, #f7efe3 56%, #efe1cb 100%);
  border: 1px solid rgba(203, 168, 102, 0.38);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -10px 18px rgba(126, 94, 48, 0.08);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -10px 18px rgba(126, 94, 48, 0.08);
}
.envelope-invitation__back::before {
  content: "";
  position: absolute;
  inset: 3%;
  border-radius: 3px;
  background: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(203, 168, 102, 0.05) 5px, rgba(203, 168, 102, 0.05) 6px), -webkit-gradient(linear, left top, left bottom, from(rgba(203, 168, 102, 0.06)), to(rgba(203, 168, 102, 0.02)));
  background: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(203, 168, 102, 0.05) 5px, rgba(203, 168, 102, 0.05) 6px), linear-gradient(180deg, rgba(203, 168, 102, 0.06) 0%, rgba(203, 168, 102, 0.02) 100%);
  border: 1px solid rgba(203, 168, 102, 0.12);
  pointer-events: none;
}
.envelope-invitation__back::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(203, 168, 102, 0.08) 0 49.7%, transparent 50%), linear-gradient(225deg, rgba(203, 168, 102, 0.08) 0 49.7%, transparent 50%), linear-gradient(315deg, rgba(203, 168, 102, 0.05) 0 49.7%, transparent 50%), linear-gradient(45deg, rgba(203, 168, 102, 0.05) 0 49.7%, transparent 50%);
  pointer-events: none;
}

.envelope-invitation__flap {
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
}

.envelope-invitation__flap--back {
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 50% 50%);
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.45)), color-stop(34%, transparent)), -webkit-gradient(linear, left top, left bottom, from(#fbf4e8), to(#eadcc6));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 34%), linear-gradient(180deg, #fbf4e8 0%, #eadcc6 100%);
  border-bottom: 1px solid rgba(203, 168, 102, 0.15);
  -webkit-box-shadow: inset 0 -8px 12px rgba(120, 87, 39, 0.06);
          box-shadow: inset 0 -8px 12px rgba(120, 87, 39, 0.06);
}

.envelope-invitation__flap--top {
  z-index: 7;
  clip-path: polygon(-4% 0, 104% 0, 50% 62%);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, transparent 34%), linear-gradient(180deg, rgba(112, 82, 41, 0.08) 0%, transparent 72%), linear-gradient(170deg, #fbf3e6 0%, #e8d7bf 100%);
  border-top: 1px solid rgba(203, 168, 102, 0.45);
  -webkit-transform-origin: top center;
          transform-origin: top center;
  will-change: transform;
  -webkit-animation: envelopeTopFlapOpen 0.95s cubic-bezier(0.77, 0, 0.18, 1) 0.55s forwards;
          animation: envelopeTopFlapOpen 0.95s cubic-bezier(0.77, 0, 0.18, 1) 0.55s forwards;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -10px 14px rgba(126, 94, 48, 0.08);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -10px 14px rgba(126, 94, 48, 0.08);
}
.envelope-invitation__flap--top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(203, 168, 102, 0.25);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.envelope-invitation__front {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow: hidden;
  border-radius: 0 0 8px 8px;
  clip-path: polygon(0% 0%, 50% 58%, 100% 0%, 100% 100%, 0% 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(#fff4e4), color-stop(72%, #ead7ba), to(#ddc39b));
  background: linear-gradient(180deg, #fff4e4 0%, #ead7ba 72%, #ddc39b 100%);
  border-right: 1px solid rgba(203, 168, 102, 0.36);
  border-bottom: 1px solid rgba(203, 168, 102, 0.46);
  border-left: 1px solid rgba(203, 168, 102, 0.36);
  -webkit-box-shadow: inset 0 14px 22px rgba(96, 62, 22, 0.12), inset 0 -10px 20px rgba(126, 85, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px rgba(60, 39, 18, 0.16);
          box-shadow: inset 0 14px 22px rgba(96, 62, 22, 0.12), inset 0 -10px 20px rgba(126, 85, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 10px 26px rgba(60, 39, 18, 0.16);
  /*
   * Side triangular folds
   */
}
.envelope-invitation__front::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(34deg, rgba(246, 232, 207, 0.98) 0%, rgba(238, 218, 184, 0.96) 49.4%, transparent 50%), linear-gradient(-34deg, rgba(232, 203, 156, 0.88) 0%, rgba(214, 177, 116, 0.54) 49.4%, transparent 50%), linear-gradient(180deg, rgba(83, 52, 18, 0.18) 0%, rgba(83, 52, 18, 0.08) 12%, transparent 30%);
}
.envelope-invitation__front {
  /*
   * Creases, lip shadow and central depth
   */
}
.envelope-invitation__front::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(76, 46, 14, 0.2) 0, rgba(76, 46, 14, 0.12) 8px, transparent 22px), linear-gradient(34deg, transparent 0%, transparent 49.2%, rgba(255, 255, 255, 0.35) 49.7%, rgba(203, 168, 102, 0.28) 50.2%, transparent 50.8%), linear-gradient(-34deg, transparent 0%, transparent 49.2%, rgba(203, 168, 102, 0.32) 49.7%, rgba(255, 255, 255, 0.22) 50.2%, transparent 50.8%), linear-gradient(to bottom, transparent 0%, transparent 56%, rgba(118, 79, 28, 0.18) 56%, rgba(118, 79, 28, 0.36) 100%), radial-gradient(ellipse at 50% 105%, rgba(118, 79, 28, 0.22) 0%, rgba(118, 79, 28, 0.08) 38%, transparent 72%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 1px 46%, 100% 100%;
  background-position: top left, top left, top left, 50% 100%, bottom center;
  background-repeat: no-repeat;
}

.envelope-invitation__card {
  position: absolute;
  bottom: var(--card-pocket-bottom);
  left: 50%;
  z-index: 3;
  width: var(--card-pocket-width);
  height: var(--card-pocket-height);
  margin: 0;
  -webkit-transform: translate3d(-50%, 14%, 0) rotate(90deg);
          transform: translate3d(-50%, 14%, 0) rotate(90deg);
  -webkit-transform-origin: center center;
          transform-origin: center center;
  opacity: 1;
  will-change: transform, opacity;
  -webkit-animation: invitationSlideOut 1.95s ease-out 1.6s forwards;
          animation: invitationSlideOut 1.95s ease-out 1.6s forwards;
}

.envelope-invitation__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  background: transparent;
  -webkit-box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34), 0 4px 14px rgba(0, 0, 0, 0.16);
          box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34), 0 4px 14px rgba(0, 0, 0, 0.16);
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@-webkit-keyframes sceneIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes sceneIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes envelopeShadowIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(0.7);
            transform: translateX(-50%) scaleX(0.7);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
}
@keyframes envelopeShadowIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-50%) scaleX(0.7);
            transform: translateX(-50%) scaleX(0.7);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(-50%) scaleX(1);
            transform: translateX(-50%) scaleX(1);
  }
}
@-webkit-keyframes envelopeTopFlapOpen {
  0% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    z-index: 7;
  }
  55% {
    z-index: 7;
  }
  100% {
    -webkit-transform: rotateX(-178deg);
            transform: rotateX(-178deg);
    z-index: 2;
  }
}
@keyframes envelopeTopFlapOpen {
  0% {
    -webkit-transform: rotateX(0deg);
            transform: rotateX(0deg);
    z-index: 7;
  }
  55% {
    z-index: 7;
  }
  100% {
    -webkit-transform: rotateX(-178deg);
            transform: rotateX(-178deg);
    z-index: 2;
  }
}
@-webkit-keyframes invitationSlideOut {
  0% {
    opacity: 0;
    z-index: 3;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, 14%, 0) rotate(90deg);
            transform: translate3d(-50%, 14%, 0) rotate(90deg);
  }
  10% {
    opacity: 1;
    z-index: 3;
  }
  46% {
    opacity: 1;
    z-index: 3;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
  }
  47% {
    opacity: 1;
    z-index: 8;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
  }
  78% {
    opacity: 1;
    z-index: 8;
    width: calc(var(--card-pocket-width) + (var(--card-final-width) - var(--card-pocket-width)) * 0.38);
    height: calc(var(--card-pocket-height) + (var(--card-final-height) - var(--card-pocket-height)) * 0.38);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.94), 0) rotate(10deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.94), 0) rotate(10deg);
  }
  92% {
    opacity: 1;
    z-index: 8;
    width: calc(var(--card-pocket-width) + (var(--card-final-width) - var(--card-pocket-width)) * 0.82);
    height: calc(var(--card-pocket-height) + (var(--card-final-height) - var(--card-pocket-height)) * 0.82);
    -webkit-transform: translate3d(-50%, calc(var(--card-final-y) * 0.82 + var(--card-lift) * 0.18), 0) rotate(1.5deg);
            transform: translate3d(-50%, calc(var(--card-final-y) * 0.82 + var(--card-lift) * 0.18), 0) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    z-index: 8;
    width: var(--card-final-width);
    height: var(--card-final-height);
    -webkit-transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
            transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
  }
}
@keyframes invitationSlideOut {
  0% {
    opacity: 0;
    z-index: 3;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, 14%, 0) rotate(90deg);
            transform: translate3d(-50%, 14%, 0) rotate(90deg);
  }
  10% {
    opacity: 1;
    z-index: 3;
  }
  46% {
    opacity: 1;
    z-index: 3;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
  }
  47% {
    opacity: 1;
    z-index: 8;
    width: var(--card-pocket-width);
    height: var(--card-pocket-height);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.52), 0) rotate(90deg);
  }
  78% {
    opacity: 1;
    z-index: 8;
    width: calc(var(--card-pocket-width) + (var(--card-final-width) - var(--card-pocket-width)) * 0.38);
    height: calc(var(--card-pocket-height) + (var(--card-final-height) - var(--card-pocket-height)) * 0.38);
    -webkit-transform: translate3d(-50%, calc(var(--card-lift) * 0.94), 0) rotate(10deg);
            transform: translate3d(-50%, calc(var(--card-lift) * 0.94), 0) rotate(10deg);
  }
  92% {
    opacity: 1;
    z-index: 8;
    width: calc(var(--card-pocket-width) + (var(--card-final-width) - var(--card-pocket-width)) * 0.82);
    height: calc(var(--card-pocket-height) + (var(--card-final-height) - var(--card-pocket-height)) * 0.82);
    -webkit-transform: translate3d(-50%, calc(var(--card-final-y) * 0.82 + var(--card-lift) * 0.18), 0) rotate(1.5deg);
            transform: translate3d(-50%, calc(var(--card-final-y) * 0.82 + var(--card-lift) * 0.18), 0) rotate(1.5deg);
  }
  100% {
    opacity: 1;
    z-index: 8;
    width: var(--card-final-width);
    height: var(--card-final-height);
    -webkit-transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
            transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
  }
}
@media (max-width: 1199px) {
  .envelope-invitation {
    --envelope-width: clamp(300px, 62vw, 520px);
    --card-lift: calc(var(--envelope-height) * -0.94);
  }
}
@media (max-width: 767px) {
  .hero {
    background-position: center center;
  }
  .hero__animation {
    padding-inline: 1rem;
  }
  .envelope-invitation {
    --envelope-width: min(88vw, 370px);
    --card-lift: calc(var(--envelope-height) * -1.08);
    height: calc(var(--envelope-height) + 360px);
  }
}
@media (max-width: 420px) {
  .envelope-invitation {
    --envelope-width: min(90vw, 330px);
    --card-lift: calc(var(--envelope-height) * -1.16);
  }
}
@media (prefers-reduced-motion: reduce) {
  .envelope-invitation,
  .envelope-invitation__shadow,
  .envelope-invitation__flap--top,
  .envelope-invitation__card,
  .envelope-invitation__image {
    -webkit-animation: none;
            animation: none;
  }
  .envelope-invitation,
  .envelope-invitation__shadow {
    opacity: 1;
  }
  .envelope-invitation__flap--top {
    -webkit-transform: rotateX(-178deg);
            transform: rotateX(-178deg);
    z-index: 2;
  }
  .envelope-invitation__card {
    opacity: 1;
    z-index: 8;
    width: var(--card-final-width);
    height: var(--card-final-height);
    -webkit-transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
            transform: translate3d(-50%, var(--card-final-y), 0) rotate(0deg);
  }
}