:root {
  --font-serif: "EB Garamond", serif;
  --font-sans-serif: sans-serif;
  --font-mono: monospace;

  --color-bg-01: #f0e3d0;
  --color-bg-02: #f0e3d0;

  --color-fg-01: #535330;
  --color-fg-02: #a3a15e;

  --color-border-01: #535330;
  --color-border-02: #a3a15e;

  --color-hl-01: #f29d4e;
  --color-hl-02: #97849d;

  --border-radius: 8px;
  --border: 1px solid var(--color-border-01);

  --spacing-01: 8px;
  --spacing-q: calc(var(--spacing-01) * 0.25);
  --spacing-h: calc(var(--spacing-01) * 0.5);
  --spacing-02: calc(var(--spacing-01) * 2);
  --spacing-03: calc(var(--spacing-01) * 3);
  --spacing-04: calc(var(--spacing-01) * 4);
}

@media (width >= 670px) {
  [data-hide-desktop] {
    display: none !important;
  }
}

@media (width <= 671px) {
  [data-hide-mobile] {
    display: none !important;
  }
}

/* @media (prefers-color-scheme: dark) { */
/*   :root { */
/*     --color-bg-01: #000; */
/*     --color-bg-02: #181818; */
/**/
/*     --color-fg-01: #ebebeb; */
/*     --color-fg-02: #fff; */
/**/
/*     --color-border-01: #444; */
/*     --color-border-02: #333; */
/*   } */
/* } */

.hidden {
  display: none;
}

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

* {
  margin: 0;
}

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

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
  max-width: 51ch;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.1;
  text-wrap: balance;
  font-size: 1em;
}

h1 {
  max-width: 20ch;
}

h2,
h3 {
  max-width: 28ch;
}

a {
  cursor: pointer;
  color: currentColor;
  text-decoration-color: currentColor;
  text-decoration-style: dotted;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--color-hl-01);
}

article > * {
  max-width: 50ch;
}

blockquote {
  max-width: 50ch;
}

body,
html {
  font-optical-sizing: auto;
  padding: 0;
  margin: 0;
  color: var(--color-fg-01);
  background-color: var(--color-bg-01);
}

body {
  font-size: 1.5em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-serif);
  min-height: 100svh;
  display: flex;
  flex-flow: column;
  gap: var(--spacing-04);
}

section {
  width: 100%;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-02);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space, 1rem);
  justify-content: flex-start;
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stack > * {
  margin-block: 0;
}

.stack > * + * {
  margin-block-start: var(--space, 1.5rem);
}

#site-main {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#site-header .logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
}

.bg-green {
  background-color: var(--color-fg-02);
}

.bg-purple {
  color: var(--color-bg-01);
  background-color: var(--color-hl-02);
}

.wrapper {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  gap: var(--spacing-01);
}

#info {
  position: relative;
}

#info > article {
  justify-content: center;
  align-items: center;
  padding-bottom: 20%;
}

#info > article p {
  font-weight: bold;
  max-width: 50ch;
  text-align: center;
}

#info > article footer {
  align-items: flex-start;
  justify-content: space-between;
}

#info > article footer div {
  --space: var(--spacing-q);
}

#info > article footer div:first-child {
  text-align: left;
}

#info > article footer div:last-child {
  text-align: right;
}

#info .info-deco {
  position: absolute;
  bottom: 0;
  pointer-events: none;
}

#horario ul {
  width: 100%;
  list-style: none;
  padding: 0;
}

#horario li {
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
}

#horario li time {
  flex: 1 1 auto;
  max-width: 80px;
  min-width: 40px;
}

#horario li img {
  width: 100%;
  height: auto;
}

#horario li span {
  min-width: 200px;
  text-align: center;
}

#dresscode {
  color: var(--color-bg-01);
  background-image: url("purple-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat no-repeat;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 50px;
}

.dresscode-header img {
  height: 30px;
  width: auto;
}

#dresscode p {
  text-align: center;
}

.dresscode-deco {
  position: absolute;
  bottom: 50%;
  right: 50%;
  object-fit: cover;
  width: 100%;
  max-width: 1400px;
  transform: translate(50%, 50%);
  pointer-events: none;
}

.orange-divider {
  height: 50px;
  width: 100%;
  display: block;
  background-image: url("orange-divider.png");
  background-repeat: repeat-x;
  background-size: auto 50px;
  margin-top: var(--spacing-02);
  margin-bottom: var(--spacing-02);
}

.hospedaje-deco {
  height: 50px;
  width: 100%;
  display: block;
  background-image: url("border-clouds-top.png");
  background-repeat: repeat-x;
  background-size: auto 50px;
  transform: translateY(34px);
}

#hospedaje {
  padding-top: 30px;
  padding-bottom: 0px;
}

#hospedaje-info {
  display: flex;
  flex-flow: column;
  padding-top: 50px;
}

.hospedaje-options {
  width: 100%;
  justify-content: space-between;
}

.hospedaje-options article ul {
  padding: 0;
  list-style: none;
}

.hospedaje-options article:first-child {
  text-align: left;
}

.hospedaje-options article:last-child {
  text-align: right;
}

.discount-code {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
}

.discount-code > img {
  width: 80%;
}

.discount-code > span {
  color: var(--color-fg-01);
  text-align: center;
  padding: 20px 40px;
  background-image: url("discount-code-bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position-y: 0px;
}

#regalos {
  padding-bottom: 50px;
}

.gift-info {
  text-align: center;
}

.gift-list-container {
  width: 100%;
  display: flex;
  flex-flow: row;
  align-items: flex-end;
  justify-content: space-between;
}

.gift-list {
  padding: 0;
  list-style: none;
  width: 100%;
  flex: 1 1 auto;
}

.gift-list img {
  max-height: 40px;
  width: auto;
}

.rsvp {
  max-width: 180px;
  flex: 0 0 auto;
}

@media (width <= 671px) {
  #info > article {
    padding-bottom: 0;
  }

  #info > article footer {
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }

  #info > article footer div:first-child,
  #info > article footer div:last-child {
    text-align: center;
  }

  .hospedaje-options {
    align-items: center;
    justify-content: center;
  }

  .hospedaje-options article:first-child,
  .hospedaje-options article:last-child {
    text-align: center;
  }

  .gift-list-container {
    flex-flow: column;
    align-items: center;
    gap: var(--spacing-04);
  }

  .gift-list {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
  }
}
