@font-face {
  font-family: "Latin condensed";
  src: url("Latin Condensed.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

:root {
  --jam: #aa2c32;
  --hibiscus: #cc4a38;
  --florence: #3c120c;
  --clotted-cream: #fffcf1;
  --moonlight: #fff6e1;
  --sunshine: #f3c25b;
  --sweet-pea: #518bc8;
  --alaska: #082545;
  --midnight: #0a0805;
}

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

html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

* {
  margin: 0;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

/*Global styles*/
body {
  font-family: "Latin condensed", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-y: scroll;
}

sup {
  font-size: 1.5rem;
  line-height: 1;
}

/*Hero Section*/
.hero {
  height: 100vh;
  background-color: var(--clotted-cream);
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-outline {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  right: 16px;
  border: 1px solid black;
  outline: 2px solid black;
  outline-offset: 4px;
}

.flowers-l {
  height: 220px;
  position: absolute;
  top: 24px;
  left: 24px;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -moz-transform: scaleX(-1);
}

.flowers-r {
  height: 220px;
  position: absolute;
  top: 24px;
  right: 24px;
}

.sh-logo {
  width: 600px;
  height: 544px;
  max-width: 90vw;
  background-image: url(sh.svg);
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.sh-details {
  position: absolute;
  top: 37.5%;
  right: -6%;
  text-align: center;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  line-height: 1.1;
  color: var(--midnight);
}

.save-date {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  line-height: 1.1;
  color: var(--midnight);
}

@media (max-width: 700px) {
  .sh-logo {
    position: unset;
    background-position-y: 24%;
  }

  .sh-details {
    top: 48px;
    right: unset;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }
}

/*Info section*/
.info {
  min-height: 100vh;
  background-color: var(--clotted-cream);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-text {
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  width: 650px;
  max-width: 90vw;
  text-align: center;
  margin-bottom: 20px;
  color: var(--midnight);
}

.info-rsvp-button {
  padding: 12px 32px;
  font-size: clamp(1.75rem, 2vw + 1rem, 2rem);
  color: var(--midnight);
  border: 1px solid var(--midnight);
  text-decoration: none;
  cursor: pointer;
  margin-top: 32px;
  min-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 66px;
}

/*RSVP section*/
.rsvp {
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
}

.rsvp-info {
  background-color: var(--florence);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.rsvp-heading {
  font-size: clamp(2.25rem, 2.5vw + 1rem, 3rem);
  font-weight: 400;
  color: var(--moonlight);
  width: 650px;
  max-width: 90vw;
  margin-bottom: 32px;
  text-align: center;
}

.rsvp-text {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.75rem);
  color: var(--moonlight);
  width: 520px;
  max-width: 90vw;
  margin-bottom: 20px;
  text-align: center;
}

.rsvp-graphic {
  background-color: var(--hibiscus);
  background-image: url(rsvp.svg);
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
  flex: 1;
}

.rsvp-button {
  padding: 12px 32px;
  font-size: clamp(1.75rem, 2vw + 1rem, 2rem);
  color: var(--florence);
  background-color: var(--moonlight);
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 20px;
  min-width: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 66px;
}

.rsvp-button:hover {
}

@media (max-width: 1000px) {
  .rsvp {
    flex-wrap: wrap-reverse;
  }

  .rsvp-graphic {
    background-image: url(rsvp-sm.svg);
    width: 100%;
    height: calc(100vw / 2.5);
    flex: unset;
  }

  .rsvp-info {
    width: 100%;
    min-height: 100vh;
    flex: unset;
  }
}

/*Footer*/
footer {
  height: 100vh;
  background-color: var(--midnight);
  background-image: url(duomo.png);
  background-position: 30%;
  background-repeat: no-repeat;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}

.see-you {
  position: absolute;
  left: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  line-height: 1.1;
  color: var(--sunshine);
}

.in-italy {
  height: 300px;
}
