/* Reset */
* {
  box-sizing: border-box;
}

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: inherit;
  vertical-align: baseline;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}

/* Fonts */
@font-face {
  font-family: garamond;
  src: url(/fonts/EBGaramond-VariableFont_wght.ttf);
}

/* Fonts */
@font-face {
  font-family: "Open Sans";
  src: url(/fonts/OpenSans-VariableFont_wdth,wght.ttf);
}

/* Styles */

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: "Open Sans", Arial, sans-serif;
}

h1 {
  font-size: 5rem;
  margin-bottom: 3rem;
  font-family: garamond, serif;
}

h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

a:hover {
  color: rgb(191, 191, 191);
}

.full-page {
  min-height: 100vh;
  padding: 4rem 0;
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

.landing {
  background-image: url("/images/landing-background.jpg");
  background-size: cover;
  background-position: top right;
}

.main-heading {
  margin-top: -5rem;
  margin-bottom: 5rem;
}

.overlay {
  position: relative;
  height: 100%;
  background: rgba(30, 30, 30, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  color: white;
}

.overlay-white {
  background: rgba(128, 128, 128, 0.4)
}

.overlay-white, .overlay-white a {
    color: black;
}

.wedding-date {
  border-top: 3px solid #000;
  border-bottom: 3px solid #000;
  font-weight: 400;
  letter-spacing: 5px;
  padding: 0.5rem 0;
  margin-bottom: 4rem;
}

.rsvp {
  background-image: url("/images/rsvp-background.jpg");
  background-size: cover;
  background-position: center;
}

.rsvp-form {
  width: 100%;
  max-width: 600px;
}

@media only screen and (max-width: 800px) {
  h1 {
    font-size: 4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 1.2rem;
  }
}

.small {
    font-size: 50%;
}