@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

body {
  background: #6AA121;
}

h1 {
  color: black;
}

p {
  color: grey;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fit {
  width: 50%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.inline-item {
  display: inline-block;
}

.my-custom-button {
  display: inline-block;
  padding: 2px 4px;
  background: #4AA02C;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.my-custom-button:hover {
  background: #0052a3;
}

.pagnavigation {
  display: flex;
  gap: 12px;
}

.box {
  background: #fff;        /* white inside the box */
  border: 1.5px solid #333;
  border-radius: 12px;     /* rounded corners */
  padding: 10px;           /* space between the border and the content */
  margin: 10px auto;       /* space between boxes; auto centers them */
  width: 780px;            /* fixed width so the box doesn't stretch across the page */
}

.box h1 {
  margin-bottom: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.box h2 {
  margin-top: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
}

.header-row {
  display: flex;
  gap: 20px;               /* space between the two boxes */
  align-items: stretch;    /* makes both boxes the same height */
  width: 803px;            /* matches .box: 780 width + 20 padding + 3 border */
  margin: 10px auto;       /* centers the row like the other boxes */
}

.header-row .box {
  width: auto;             /* cancels the 780px from .box */
  margin: 0;               /* cancels .box's auto margins inside the row */
}

.logo-box {
  flex: 0 0 auto;          /* only as wide as the image plus padding */
  display: flex;
  align-items: center;     /* centers the image inside its box */
  justify-content: center;
}

.header-text {
  flex: 1;                 /* text box takes the remaining width */
}
