:root {
  accent-color: #5F428F;
  --border-radius-md: 8px;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #525252;
  max-width: 100%;
  font-family: "Cormorant", "Hoefler Text", "Times New Roman", Times, serif;
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 300;
  font-variant-numeric: lining-nums;
}
h1, h2, h3 {
  font-family: "Playfair Display", "Cormorant", "Hoefler Text", "Times New Roman", Times, serif;
}
h1 {
  color: #5F428F;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1.2;
}
h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}
h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}
a {
  color: #525252;
}
::selection {
  background-color: #F5D6A3;
}

ul {
  padding-left: 1.5rem;
  list-style-type: circle;
}

strong {
  font-weight: 500;
}

label {
  font-weight: 500;
}

summary {
  cursor: pointer;
}

form {
  position: relative;
}
input, textarea {
  font-family: "Cormorant", "Hoefler Text", "Times New Roman", Times, serif;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  border: 1px solid #898989;
  min-height: 2rem;
  padding: 0.25rem 0.5rem;
  margin: 0.5rem 0;
}

.small {
  font-size: 1rem;
}

.submit-button {
  font-family: "Cormorant", "Hoefler Text", "Times New Roman", Times, serif;
  background-color: #5F428F;
  border: 1px solid transparent;
  border-radius: var(--border-radius-md);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  padding: 8px 12px;
}
.link-button {
  font-family: "Cormorant", "Hoefler Text", "Times New Roman", Times, serif;
  box-sizing: border-box;
  border: 1px solid transparent;
  display: inline-block;
  border-radius: 5px;
  padding: 0.5em 1em;
  text-decoration: none;
  font-weight: 500;
  color: white;
  background: #5F428F;
  margin-top: 1em;
}
.link-button:hover {
  background: #452D6C;
}
.stacked-form {
  display: flex;
  flex-direction: column;
}
.loading-spinner {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
}
.loading-spinner-img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}
.flash-message {
  padding: 0.25em 0.5em;
  border-radius: 3px;
}
.message-success {
  border: 1px solid #067551;
  background-color: #ECF9F5;
}
.message-error {
  border: 1px solid #930B0D;
  background-color: #FAEAEA;
}
.field-error {
  background-color: #FAEAEA;
}
.rsvps-table {
  box-sizing: border-box;
  width: 100%;
  border-collapse: collapse;
}
.rsvps-table th {
  border-bottom: 1px solid black;
  text-align: left;
}
.rsvps-table td {
  border-bottom: 1px solid dimgrey;
}

/* Utility CSS */
.text-center {
  text-align: center;
}
.mb-0 {
  margin-bottom: 0;
}
.mt-0 {
  margin-top: 0;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.mt-24 {
  margin-top: 6rem;
}
.hidden {
  display: none;
}
.small-caps {
  font-variant-caps: all-small-caps;
}
