@font-face {
  font-family: "Rotunda";
  src: url("assets/fonts/Rotunda-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rotunda";
  src: url("assets/fonts/Rotunda-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Rotunda";
  src: url("assets/fonts/Rotunda-Light-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Rotunda";
  src: url("assets/fonts/Rotunda-Medium-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

:root {
  --background: #f1f5f1;
  --text: #362414;
  --invite: #3a2412;
  --scale: 1;
}

* { box-sizing: border-box; }

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--background);
}

body {
  color: var(--text);
  font-family: "Rotunda", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--background);
}

.artboard {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  transform: translate(-50%, -50%) scale(var(--scale));
  transform-origin: center;
  background: var(--background);
}

.content {
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: 2;
  width: 760px;
  font-size: 25px;
  font-weight: 300;
  line-height: 1.08;
}

h1,
h2,
p { margin: 0; }

h1,
h2,
.address,
.social-links a,
.disclaimer {
  font-weight: 500;
}

h1,
h2,
.address { font-size: inherit; line-height: inherit; }

.social-links { margin-top: 34px; }

.bulletin { margin-top: 86px; }
.bulletin h2 { margin-bottom: 34px; }
.bulletin p + p { margin-top: 28px; }

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.photo {
  position: absolute;
  display: block;
  width: 250px;
  height: 333.97px;
  object-fit: cover;
}

.photo-hall {
  top: 150px;
  right: 300px;
}

.photo-church {
  top: 483.97px;
  right: 50px;
}

.invite-placeholder {
  position: absolute;
  top: 370px;
  left: 835px;
  display: grid;
  width: 250px;
  height: 333.97px;
  place-items: center;
  background: var(--invite);
  color: var(--background);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
}

.disclaimer {
  position: absolute;
  bottom: 46px;
  left: 410px;
  width: 1100px;
  font-size: 20px;
  line-height: 1.18;
  text-align: center;
}

@media (max-aspect-ratio: 1/1) {
  .artboard {
    top: 0;
    transform: translateX(-50%) scale(var(--scale));
    transform-origin: top center;
  }
}
