@import url('https://fonts.googleapis.com/css2?family=Felipa&family=Quintessential&display=swap');

body {
  background-image: url('middle-earth.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  text-align: center;
  letter-spacing: 0.05rem;
  font-family: 'Quintessential', serif;
  margin: 0;
  padding: 1rem 0 2rem;
}

section {
  padding: 3rem;
  width: 800px;
  max-width: 90vw;
  min-height: 60vh;
  margin: 2rem auto 3rem;
  background: rgba(239,230,216,.75);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(239,230,216,.75);
  box-sizing: border-box;
}

section img {
  max-width: 100%;
  height: auto;
  max-height: 550px;
}

h1, h2, h3 {
  color: saddlebrown;
}

h1 {
  font-size: 2rem;
  margin-bottom: .5rem;
}

h2 {
  font-size: 1.75rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  max-width: 800px;
  font-size: 1.5rem;
  padding: .75rem 1.5rem;
  margin: .5rem auto 0;
  background: rgba(239,230,216,.75);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(239,230,216,.75);
  box-sizing: border-box;
}

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

a {
  text-decoration: none;
  color: #106400;
}

a:hover {
  color: saddlebrown;
  text-decoration: underline;
}

hr {
  max-width: 50%;
  border-top: 1px solid #106400;
  border-bottom: 0px
}

article {
  width: 75%;
  border-bottom: 1px solid #106400;
  margin: 1rem auto 2rem;
}
article .name {
  text-align: right;
  font-style: italic;
  font-size: 1.25rem;
}

article .message {
  text-align: left;
}

input, textarea {
  padding: 5px 10px;
  width: 50%;
  font-family: 'Quintessential', serif;
  font-size: 1rem;
}

textarea {
  resize: none;
}

button {
  font-family:'Quintessential', serif;
  font-size: 1.25rem;
}

.monogram {
  margin: 0 auto;
  width: 180px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-template-rows: masonry;
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  background: rgba(239,230,216,.75);
  padding: 0.75rem;
  border-radius: 16px;
}

.gallery-item img {
  object-fit: contain;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.gallery-item figcaption {
  margin-top: 0.5rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  body {
    padding: 0.5rem 0 1.5rem;
    background-attachment: scroll;
  }

  section {
    max-width: 94vw;
    min-height: auto;
    padding: 1.5rem;
    margin: 1rem auto 1.5rem;
    border-radius: 16px;
  }

  .nav {
    max-width: 94vw;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 1.1rem;
    margin: 0.75rem 0;
  }

  section img {
    max-height: none;
    width: 100%;
  }

  .monogram {
    width: 120px;
  }
  input, textarea {
  padding: 10px;
  width: 90%;
  font-family: 'Quintessential', serif;
  font-size: 1.25rem;
}

textarea {
  resize: none;
}

}
