@import url(fontawesome-all.min.css);
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,600,700,300i,600i,700i|Raleway:600,800");

@font-face {
  font-family: "TAN - WAVERLY";
  src: url("./fonts/waverly-webfont.woff2") format("woff2"),
    url("./fonts/waverly-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fig Grotesk";
  src: url("./fonts/FigGrotesk-Book.woff2") format("woff2"),
    url("./fonts/FigGrotesk-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fig Grotesk";
  src: url("./fonts/FigGrotesk-Light.woff2") format("woff2"),
    url("./fonts/FigGrotesk-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fig Grotesk";
  src: url("./fonts/FigGrotesk-Medium.woff2") format("woff2"),
    url("./fonts/FigGrotesk-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.body {
  display: flex;
  margin: 0;
  font-family: "Fig Grotesk", "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background-color: #f1f1f1;
  color: #4a594d;
  font-size: 18px;
  flex-direction: column;
  padding-bottom: 50px;
}

.waverly {
  font-family: "TAN - WAVERLY", sans-serif;
}

.description {
  width: 80%;
}

@media (min-width: 800px) {
  .body {
    flex-direction: row;
  }

  .description {
    width: 70%;
  }
}

.image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (min-width: 500px) {
  .image img {
    height: 350px;
  }
}

.hero-image-mobile {
  object-position: center;
}

.hero-image-desktop {
  object-position: bottom;
  display: none;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}

.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-left: 25px;
  margin-right: 25px;
  box-sizing: border-box;
}

h1 {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 300;
  font-size: 2rem;
}

@media (min-width: 500px) {
  h1 {
    margin-top: 25px;
  }
}

.date {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 10px 0;
}

hr {
  width: 30%;
  border: 0;
  height: 1px;
  background: #ccc;
  margin: 20px auto;
}

.rsvp-button {
  border: 0px;
  background-color: #cbdeb1;
  color: #4a594d;
  height: 50px;
  width: 150px;
  border-radius: 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 500ms ease-in-out;
  margin: 20px 0;
  margin-top: 30px;
  font-weight: 500;
}

.rsvp-button:hover {
  background-color: #b4c49d;
}

header {
  margin-top: 25px;
  margin-bottom: 50px;
}

nav {
  display: flex;
  flex-direction: row;
  column-gap: 25px;
  row-gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 5px;
}

.nav-button {
  border: 0;
  border-bottom: 3px solid #b4c49d;
  font-weight: 500;
  font-size: 16px;
  padding: 0;
  font-family: "Fig Grotesk", "Montserrat", sans-serif;
  background-color: transparent;
  color: #4a594d;
  text-decoration: none;
  transition: all 500ms ease-in-out;
}

.nav-button:hover {
  cursor: pointer;
  color: #b4c49d;
}

@media (min-width: 500px) {
  nav {
    column-gap: 20px;
  }

  .nav-button {
    font-size: 18px;
  }
}

a {
  color: #4a594d;
}

.hidden {
  display: none;
}

.text-left {
  text-align: left;
  width: 100%;
}

h3 {
  width: 100%;
  margin-bottom: 0;
}

.rsvp-text {
  font-size: 14px;
  margin-bottom: 10px;
  margin-top: 0;
}

@media (min-width: 800px) {
  .body {
    padding-bottom: 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  .image {
    width: 40%;
    position: fixed;
    top: 0;
    right: 40%;
    left: 0;
  }

  .content {
    width: 60%;
    position: relative;
    right: 0;
    left: 40%;
    margin-bottom: 100px;
  }

  .image img {
    width: 100%;
    padding: 0;
    height: 100vh;
  }

  .hero-image-desktop {
    display: block;
  }

  .hero-image-mobile {
    display: none;
  }

  .text {
    margin-left: 50px;
    margin-right: 50px;
  }
}

@media (min-width: 1200px) {
  .text {
    width: 65%;
  }
}
