::-webkit-scrollbar { width: 0; }

body {
  --white: #FAF4F2;
  --green: #3D4E3C;

  background-color: var(--white);
  color: var(--green);
  font-family: 'Cormorant Infant', 'Inter',system-ui;
  font-optical-sizing: auto;
  font-style: normal;
  margin: 0;
  overscroll-behavior: none;
  overscroll-behavior-block: none;
  overflow-x: hidden;
  padding: 0;
}

@media (min-width: 961px) {
  body {
    --button-font: 400 16pt/18pt "Inter";
    --text-font: 400 20pt/22pt "Inter";
    --small-text-font: 400 14pt/16pt "Inter";
    --cormorant-180-font: 400 180pt "Cormorant Infant";
    --cormorant-116-font: 400 116pt "Cormorant Infant";
    --cormorant-96-font: 400 80pt "Cormorant Infant";
  }
  .desktop-only { display: flex; }
  .mobile-only { display: none; }
}

@media (max-width: 960px) {
  body {
    --button-font: 400 12pt/14pt "Inter";
    --text-font: 400 16pt/18pt "Inter";
    --small-text-font: 400 12pt/14pt "Inter";
    --cormorant-180-font: 400 96pt "Cormorant Infant";
    /* --cormorant-116-font: 400 64pt "Cormorant Infant"; */
    --cormorant-116-font: 400 56pt "Cormorant Infant";
    --cormorant-96-font: 400 48pt "Cormorant Infant";
  }
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
}

.green { color: var(--green); }
.white { color: var(--white); }

.text { font: var(--text-font); letter-spacing: 2px; }
.small-text { font: var(--small-text-font); letter-spacing: 2px; }
.font-180 { font: var(--cormorant-180-font); }
.font-96 { font: var(--cormorant-96-font); }
.font-116 { font: var(--cormorant-116-font); margin: 40px 0; }
@media (max-width: 960px) { .font-116 { margin: 0; } }

.button {
  background-color: var(--green);
  color: var(--white);
  cursor: pointer;
  font: var(--button-font);
  letter-spacing: 2px;
  padding: 18px 28px;
  text-decoration: none;
  width: max-content;
}
.button:hover:not(.disabled) { opacity: 0.9; }
.button.disabled { cursor: default; }
.button.light { background-color: var(--white); color: var(--green); }
.button.outlined { background-color: var(--green); border: 1px solid var(--white); color: var(--white); }

.hidden {
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}

.container {
  height: 100svh;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  width: 100vw;
}

.section {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100svh;
  justify-content: center;
  line-break: auto;
  position: relative;
  scroll-snap-align: start;
  text-align: center;
  width: 100%;
}

.section.hero {
  background-image: url(./archivos/img-1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

@media (max-width: 960px) {
  .section.hero .text {
    font-size: 20pt;
    line-height: 22pt;
  }
  .section.hero .font-180 {
    font-size: 128pt;
    line-height: 130pt;
  }
}

.section.datetime {
  height: max-content;
  padding: 130px 0;
}

@media (max-width: 960px) {
  .section.datetime { gap: 40px; }
}

.section.location {
  background-color: var(--green);
  height: max-content;
  padding: 180px 0;
  position: relative;
}

.section.location *:not(.location-img) {
  z-index: 1;
}

.section.location .location-img {
  opacity: .9;
  position: absolute;
  width: auto;
  z-index: 0;
}

.section.location .location-right {
  height: 52%;
  right: 0;
  top: 0;
}

.section.location .location-left {
  bottom: 0;
  height: 65%;
  left: 0;
}

@media (min-width: 961px) and (max-width: 1320px) {
  .section.location .location-right { height: 42% }
  .section.location .location-left { height: 55% }
}

@media (max-width: 960px) {
  .section.location { gap: 30px; padding: 0; }
  .section.location .location-img { position: static; }
  .section.location .location-right { margin-left: auto; height: auto; width: 90%; }
  .section.location .location-left { margin: -45px auto 0 0; height: auto; width: 90%; }
}

.section.dresscode {
  background-image: url(./archivos/img-4.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: max-content;
  padding: 110px 0;
}

@media (max-width: 960px) {
  .section.dresscode { gap: 40px; height: 100svh; padding: 0; }
  .section.dresscode .font-116 { font-size: 56pt; }
}

.section.details {
  background-color: var(--green);
  height: max-content;
  justify-content: flex-start;
  min-height: 100svh;
  padding-bottom: 200px;
  position: relative;
}

.section.details .font-96 {
  max-width: 1200px;
  margin: 200px 0 40px;
}

@media (max-width: 1320px) {
  .section.details {
    --text-font: 400 16pt/18pt "Inter";
    --small-text-font: 400 12pt/14pt "Inter";
    --cormorant-180-font: 400 96pt "Cormorant Infant";
    --cormorant-116-font: 400 64pt "Cormorant Infant";
    --cormorant-96-font: 400 48pt "Cormorant Infant";
    padding-bottom: 0;
  }
  .section.details .font-96 {
    max-width: 80svw;
    margin-bottom: 30px;
  }
  .details .details-actions {
    align-items: center;
    flex-direction: column;
    gap: 10px !important;
  }
}

@media (max-width: 960px) {
  .section.details {
    height: unset;
    min-height: 100vh;
  }
  .section.details .font-96 {
    margin-top: 250px;
    max-width: 100%;
  }
  .section.details .details-img {
    width: 55% !important;
  }
  .section.details .details-left {
    align-self: flex-start;
    margin-top: -50px;
    position: relative !important;
  }
  .details .rsvp-options:not(.hidden) {
    height: 180px !important;
  }
  .details .present-options:not(.hidden) {
    height: 270px !important;
    padding: 20px 0;
  }
  .details .details-actions .actions-container {
    max-width: 90svw !important;
    min-width: 90svw !important;
    width: 90svw !important;
  }
  .details .details-actions .actions-container .present-options .aliases {
    flex-direction: column;
    gap: 10px !important;
  }
  .details .details-actions .actions-container .present-options .small-text {
    max-width: 100% !important;
  }
}

.section.details *:not(.details-img) {
  z-index: 1;
}

.section.details .details-img {
  height: auto;
  opacity: .9;
  position: absolute;
  width: 25%;
  z-index: 0;
}

.section.details .details-right {
  right: 0;
  top: 0;
}

.section.details .details-left {
  bottom: 0;
  left: 0;
}

.details .details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.details .details-actions .actions-container {
  align-items: center;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background-color 0.5s ease-out;
  max-width: 420px;
  min-width: 420px;
  width: 420px;
}

.details .details-actions .actions-container.expanded:first-of-type {
  background-color: var(--white);
}

.details .details-actions .actions-container.expanded .button {
  align-self: center;
  width: max-content;
}

.details .details-actions .actions-container.expanded .button#rsvp {
  margin-bottom: 20px;
  min-width: min-content;
  padding-left: 24px;
  padding-right: 24px;
  width: min-content;
}

.details .details-actions .actions-container .small-text {
  font-weight: 400;
}
.details .details-actions .actions-container .rsvp-options .small-text {
  font-size: 16px;
}
.details .details-actions .actions-container .present-options .small-text {
  font-size: 14px;
  max-width: 80%;
}
.details .details-actions .actions-container .present-options .text:last-of-type {
  margin-top: 6px;
}

.details .details-actions .actions-container .present-options .aliases {
  display: flex;
  gap: 20px;
  margin: 10px 0;
}

.details .rsvp-options .text {
  margin-bottom: 10px;
}

.details .rsvp-options,
.details .present-options {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 180px;
  margin-bottom: 10px;
  max-width: 100%;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.details .present-options {
  margin-bottom: 0;
  height: 260px;
  justify-content: center;
}

.details .present-options:not(.hidden) {
  padding: 10px;
}

.details .present-options .aliases .button {
  font-size: 16px;
  padding: 10px;
}

.details .rsvp-options .checkbox-wrapper {
  font-size: 18px;
  margin-left: 10px;
  text-align: start;
  min-width: 180px;
}
