body {
  margin: 0;
  background-color: #f1eae0;
  color: #000;
  text-align: center;
}

.root {
  padding: 64px 0;
  display: grid;
  gap: 62px;
  width: 600px;
  margin: 0 auto;
}

@media (max-width: 632px) {
  .root {
    box-sizing: border-box;
    width: 100%;
    padding: 64px 16px;
  }
}

.caption {
  margin: 0;
  font-family: 'Noto Serif Display', serif;
  font-size: 14px;
  letter-spacing: 1.25px;
  opacity: 0.6;
}

.headline {
  margin: 0 0 32px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  opacity: 0.87;
}

.title {
  margin: 0 0 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  opacity: 0.87;
}

.title-2 {
  margin: 0 0 24px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  opacity: 0.87;
}

.text {
  margin: 0;
  font-family: 'Noto Serif Display', serif;
  font-size: 16px;
  opacity: 0.87;
}

.button {
  all: unset;
  font-family: 'Noto Serif Display', serif;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  border: 1px solid #c5c5c5;
  border-radius: 9999px;
  padding: 8px 12px;
  color: rgba(0, 0, 0, 0.87);
  cursor: pointer;
  transition: border-color 250ms;
}

.button-icon {
  display: block;
}

.button-icon svg {
  display: block;
  height: 16px;
}

.button:hover {
  border-color: #2c2c2c;
}

.hero {
  display: grid;
}

.hero .caption {
  margin-bottom: 8px;
}

.hero video {
  width: 100%;
  border-radius: 16px;
}

.hero .amp {
  font-style: italic;
}

.wedding-day .caption {
  margin-bottom: 8px;
}

.place img {
  margin: 24px 0;
  width: 100%;
  border-radius: 16px;
}

.place :is(ul, li) {
  all: unset;
}

.place ul {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.day-plan {
  isolation: isolate;
  display: grid;
}

.day-plan > .title + .caption {
  margin-bottom: 24px;
}

.day-plan :is(ul, li) {
  all: unset;
}

.day-plan ul {
  justify-self: center;
  text-align: start;
}

.day-plan li {
  display: flex;
}

.day-plan .description {
  padding: 0 16px;
}

.day-plan .description {
  border-left: 1px solid #c5c5c5;
}

.day-plan .description-title {
  display: block;
  font-weight: 600;
}

.day-plan .time {
  position: relative;
  display: flex;
  padding-right: 16px;
  align-items: center;
  z-index: 1;
}

.day-plan .time::after {
  content: '';
  position: absolute;
  right: 0;
  width: 6px;
  height: 6px;
  background-color: #2c2c2c;
  border-radius: 3px;
  transform: translate(3.5px);
}

.day-plan li + li :is(.time, .description) {
  padding-top: 48px;
}

.dress-code > .text {
  margin-top: 16px;
}

.dress-code .sex-name {
  font-style: italic;
}

.dress-code .caption {
  margin: 48px 0 24px 0;
}

.dress-code .pinterest {
  margin: 24px 0;
  background-color: #E60023;
  color: #fff;
  border-color: #E60023 !important;
}

.dress-code .examples {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.dress-code .examples img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 632px) {
  .dress-code .examples {
    flex-direction: column;
  }

  .dress-code .examples img {
    aspect-ratio: 1 / 2;
    height: 500px;
  }
}

.details .small-request {
  margin-top: 48px;
}

.details .confirmation {
  font-style: italic;
  margin-top: 48px;
}

.with-love {
  font-size: 32px;
}

.with-love .heart {
  font-size: 18px;
  margin-top: 8px;
}
