:root {
  --soft-parchment-triplet: 250, 243, 227;
  --soft-parchment: rgb(var(--soft-parchment-triplet));
  --antique-gold-triplet: 131, 109, 50;
  --antique-gold: rgb(var(--antique-gold-triplet));
  --antique-gold-dark: rgb(80, 58, 0);
}

body {
  background-color: var(--soft-parchment);
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: var(--antique-gold);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h2, h3, h4, h5, h6 {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

main a {
  color: var(--antique-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--antique-gold-triplet), 30%);
  transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

main a:hover, main a:focus {
  color: var(--antique-gold-dark);
  border-bottom-color: var(--antique-gold-dark);
}

a.button {
  display: inline-block;
  padding: 8px 25px;
  background-color: var(--antique-gold);
  color: var(--soft-parchment);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 2px;
  transition: background-color 0.3s ease;
  text-align: center;
}

@media (max-width: 600px) {
  a.button {
    display: block;
    max-width: 300px;
    margin: 0 auto;
  }
}

a.button:hover {
  background-color: var(--antique-gold-dark);
}

a.button:hover, a.button:focus {
  color: var(--soft-parchment);
}

#hero-section {
  background-image: url('./header-background.jpg');
  background-size: cover;
  background-position: 55% bottom;
  background-repeat: no-repeat;
  color: var(--soft-parchment);
  position: relative;
}

#hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#hero-section h1 {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 60px;
  font-weight: normal;
  margin: 0px auto;
}

#hero-section p {
  line-height: 1;
  margin: 8px 0;
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
}

header {
  text-align: center;
  padding: 10px 1rem;
  position: relative;
  z-index: 2;
}

nav {
  background-color: rgba(var(--soft-parchment-triplet), 0.3);
  padding: 0.5rem;
  position: relative;
  z-index: 2;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

nav ul {
  list-style-type: none;
  margin: 5px;
  padding: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li:last-child {
  margin-right: 0;
}

nav ul li a {
  color: var(--soft-parchment);
  text-decoration: none;
}

nav ul li a.current {
  text-decoration: underline;
}

nav ul li a:hover {
  text-decoration: underline;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

footer {
  width: fit-content;
  text-align: center;
  margin: 52px auto;
}

#footer-initials {
  font-family: 'Monsieur La Doulaise', cursive;
  font-size: 60px;
  font-weight: normal;
  letter-spacing: 2px;
}

#footer-wedding-date {
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 3px;
  padding: 20px 18px 0;
  border-top: 1px solid var(--antique-gold);
}
