@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: #f2e1da;
}

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 */
  /* width: 90%;          /* stretches with the page */
  /*max-width: 1200px;   /* but doesn't get absurdly wide on big monitors */
}

.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 */
  /*background: #fff url('images/header-bg.svg') center /cover no-repeat;*/
  background: #fff url('images/header-bg_static.svg') center / contain no-repeat;

}

.en-1 {
  font-size: 1.4rem;
}
.en {
  width: 7rem;
  font-size: 1.4rem;
}
.fr {
  font-style: italic;
  color: #555;
  font-size: 1.4rem;
}
.swatch {
  display: inline-block;
  width: 2em;
  height: 2em;
  border-radius: 4px;
  border: 1px solid #999;
  vertical-align: middle;
  margin-right: 0.5em;
}
.swatch.chicken {
  background: url("images/chicken.png") center / contain no-repeat;
  image-rendering: pixelated; /* keeps the pixels sharp instead of blurry */
}
.speak { cursor: pointer; }
.word-row {
  display: grid;
  grid-template-columns: 2rem 10rem 1fr; /* swatch | English | French */
  align-items: center;
  gap: 1rem;
}

.word-row-class {
  display: grid;
  grid-template-columns: 2rem 1fr  1fr; /* swatch | English | French */
  align-items: center;
  gap: 1rem;
}

.word-row-class .en {
  width: auto;   /* fill the whole grid column instead of 7rem */
}

.swatch.empty {
  visibility: hidden;
}

.slash {
  margin: 0 0.25rem;
  color: #888;
}

.col-head {
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: underline;
}
.section-title {
  margin-bottom: 0.5rem;
}
.home-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
/* Pixel drawings: keep the edges crisp instead of blurry when scaled */
.pixel {
   display: block;
   width: 48px;
   height: 48px;
   object-fit: contain;
   image-rendering: pixelated;
}
.pixel {
   display: block;
   width: 48px;
   height: 48px;
   object-fit: contain;
   image-rendering: pixelated;
}
.notes {
   font-size: 1rem;
   margin-left: 4rem;
}
.notes ul {
  margin-top: 0;
}
footer {
  padding: 0 11.5px;
  margin: 10px auto;
  width: 780px;            /* fixed width so the box doesn't stretch across the page */
}
