@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css");
.fadeInDown {
  transform: translate3d(0, -20px, 0);
}

.fadeInUp {
  transform: translate3d(0, 20px, 0);
}

.fadeInRight {
  transform: translate3d(20px, 0, 0);
}

.fadeInLeft {
  transform: translate3d(-20px, 0, 0);
}

[data-anime] {
  opacity: 0;
}

.anime {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.8s, opacity 0.8s;
}

@font-face {
  font-family: "Eyesome Script";
  src: url("../assets/fonts/Eyesome-Script.woff2") format("woff2"), url("../assets/fonts/Eyesome-Script.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #fff;
  color: #35611a;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

section {
  padding: 96px 0;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 0 5%;
}

@media (max-width: 960px) {
  .container {
    max-width: 800px;
  }
}
@media (max-width: 576px) {
  .container {
    max-width: 500px;
  }
}
.footer {
  padding: 48px 2% 96px 0;
  display: flex;
  justify-content: center;
}
.footer img {
  max-width: 15rem;
}

.navbar {
  margin: 0 24px;
  padding: 24px 0;
}
.navbar__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.navbar__toggle {
  display: none;
  color: #35611a;
  font-size: 2rem;
}
.navbar__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.navbar__menu a {
  color: #35611a;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-size: 0.75rem;
  transition: opacity 0.3s ease;
}
.navbar__menu a:hover {
  opacity: 0.6;
}

@media (max-width: 640px) {
  .navbar {
    padding: 16px 0;
  }
  .navbar__wrapper {
    justify-content: flex-end;
  }
  .navbar__toggle {
    display: block;
  }
  .navbar__menu {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    z-index: 9999;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 24px;
    padding: 32px 24px;
    border: 1px solid #ebebeb;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .navbar__menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.page-frame {
  position: relative;
  margin: 0 24px 24px;
  min-height: calc(100vh - 48px);
}
.page-frame::before, .page-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-frame::before {
  border: 2px solid rgba(158, 185, 141, 0.35);
  z-index: -2;
}
.page-frame::after {
  inset: 6px;
  border: 2px solid rgba(158, 185, 141, 0.35);
  z-index: -2;
}

.corner {
  position: absolute;
  height: 20vh;
  background-color: #fff;
  z-index: 1;
}

.corner.top-right {
  top: -2vh;
  right: -1vw;
  z-index: -1;
}

.corner.bottom-left {
  bottom: -2vh;
  left: -1vw;
  z-index: -1;
}

.hero {
  padding-top: 10rem;
  position: relative;
  z-index: 5;
}
.hero__content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  isolation: isolate;
}
.hero__text::before {
  content: "";
  position: absolute;
  width: min(60vw, 400px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fefbf6;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero__text h1 {
  font-family: "Eyesome Script", cursive;
  font-size: 5rem;
  font-weight: 400;
  line-height: 1;
  position: relative;
  z-index: 2;
}
.hero__text h1 span {
  display: block;
  font-size: 4rem;
  margin: 16px 0;
}
.hero__text p {
  margin-top: 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
}
.hero__floral {
  position: absolute;
}
.hero__floral--left {
  left: 15%;
}
.hero__floral--right {
  right: 12%;
  bottom: -18%;
}

.intro__content {
  max-width: 640px;
  text-align: center;
  text-wrap: pretty;
}
.intro__content p {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 24px;
}

.countdown__wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: 64px;
}
.countdown__content {
  text-align: center;
}
.countdown__content h2 {
  font-family: "Eyesome Script", cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 24px;
}
.countdown__content #days, .countdown__content #hours, .countdown__content #minutes, .countdown__content #seconds {
  color: #9eb98d;
}
.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.countdown__grid div {
  display: flex;
  flex-direction: column;
}
.countdown__grid span {
  font-size: 3rem;
  font-weight: 600;
}
.countdown__grid small {
  font-size: 1rem;
}

.ceremony__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.ceremony__content h2 {
  font-family: "Eyesome Script", cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-align: center;
}
.ceremony__content ul {
  display: flex;
  flex-direction: column;
  gap: 36px;
  line-height: 1.3;
}
.ceremony__content li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.ceremony__content i {
  color: #9eb98d;
  font-size: 1.4rem;
}
.ceremony__content span {
  display: block;
  color: #35611a;
}
.ceremony__content .instructions {
  font-size: 0.8rem;
  margin-top: 1rem;
  text-wrap: balance;
  max-width: 500px;
}
.ceremony__content .btn-waze {
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid #9eb98d;
  transition: 0.4s;
}
.ceremony__content .btn-waze:hover {
  opacity: 0.5;
}
.ceremony__content img {
  height: 150px;
  background-color: #fefbf6;
  border: 1px solid #9eb98d;
  border-radius: 8px;
}
.ceremony__image img {
  height: 40vh;
}

.rsvp__wrapper {
  text-align: center;
}
.rsvp h2 {
  font-family: "Eyesome Script", cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 40px;
}
.rsvp form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 500px;
  margin: auto;
}
.rsvp .text {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid #9eb98d;
  padding: 12px 0;
  color: #35611a;
  transition: border-color 0.3s ease;
}
.rsvp .text::placeholder {
  color: #9eb98d;
}
.rsvp .text:focus {
  border-color: #35611a;
}
.rsvp .rsvp-radio {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.rsvp .radio-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.rsvp .radio-group input {
  accent-color: #35611a;
  margin-right: 8px;
}
.rsvp .radio-group p {
  margin-bottom: 16px;
}
.rsvp button {
  align-self: center;
  background: #35611a;
  color: #fff;
  padding: 16px 80px;
  border-radius: 999px;
  transition: opacity 0.3s ease;
}
.rsvp button:hover {
  opacity: 0.85;
}

.gifts__wrapper {
  text-align: center;
}
.gifts h2 {
  font-family: "Eyesome Script", cursive;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 52px;
}
.gifts a {
  color: #9eb98d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.gifts a span {
  border-bottom: 1px solid #9eb98d;
  transition: opacity 0.3s ease;
  font-weight: 600;
  padding-bottom: 2px;
}
.gifts a:hover {
  opacity: 0.7;
}
.gifts a i {
  font-size: 1.5rem;
}

@media (max-width: 900px) {
  .countdown__wrapper,
  .ceremony__wrapper {
    grid-template-columns: 1fr;
  }
  .countdown__content {
    order: -1;
  }
  .hero__floral--left {
    left: -4%;
    height: 40vh;
  }
  .hero__floral--right {
    right: -8%;
    height: 40vh;
  }
  .ceremony__image {
    max-width: 320px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  section {
    padding: 72px 0;
  }
  .hero__text h1 {
    font-size: 2.8rem;
  }
  .hero::before {
    top: 25%;
    right: 18%;
  }
  .countdown__grid {
    gap: 16px;
  }
  .countdown__grid span {
    font-size: 2.2rem;
  }
  .ceremony h2,
  .rsvp h2,
  .gifts h2,
  .countdown h2 {
    font-size: 2.4rem;
  }
}
