@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/CinzelDecorative-Regular.woff2') format('woff2'),
         url('../fonts/CinzelDecorative-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff url('../images/background.webp');
  background-blend-mode: multiply;
}

body {
  margin: 0;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  padding: 1rem;
  text-align: center;
  width: 100%;
  background-color: rgba(230, 210, 176, 0.75);
  border: 4px solid #222;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  flex-direction: row;
}

.logo {
  width: 140px;
  height: 140px;
  border: 4px solid #000;
  border-radius: 50%;
}

.site-title {
  font-size: 3.6rem;
  margin: 0;
  font-family: 'Cinzel', serif;
}

.site-subtitle {
  font-size: 1.5rem;
  margin: 0;
}

.title-group {
  display: flex;
  flex-direction: column;
}

.footer-text {
  font-size: 1.2rem;
  text-align: center;
  margin: 1rem auto;
  background-color: #ffffff;
  width: 100%;
  border: 4px solid #222;
}

section {
  width: 50%;
  margin: 5vh auto;
  padding: 2rem;
  border: 4px solid #222;
  border-radius: 5px;
  background-color: rgba(230, 210, 176, 0.75);
  line-height: 1.6;
}

section h1,
#contact-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px #d4c4a8;
}

section h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

#contact-section {
  margin-top: auto;
  padding: 1rem;
  text-align: center;
}

#contact-section form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 2rem auto;
  padding: 1rem;
}

form input,
form textarea,
form button,
button {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
}

button {
  background-color: #714604;
  color: white;
}

button:hover {
  background-color: #ae9145;
}

@media (max-width: 768px) {
  .site-title {
    font-size: 2.4rem;
    text-align: center;
  }

  .site-subtitle {
    font-size: 1.2rem;
    text-align: center;
  }

  section {
    padding: 1rem;
    margin: 2vh auto;
    width: 100%;
  }

  section h1 {
    font-size: 1.5rem;
  }

  section p,
  section ul {
    text-align: left;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    width: 100px;
    height: 100px;
  }
}
