html {
  overflow-y: scroll;
}

body {
  margin: 0;
  background-color: rgb(250,250,210);
}

.flexcontainer {
  display: flex;
  background-color: rgb(255,236,139);
}

.flexsection {
  flex: 1 1 0;
  padding: 5px;
  border: 1px solid #000000;
  text-align: center;
}

.flexsection-empty {
  min-height: 1.8rem;
}

.banner-container {
  width: 100%;
}

.banner-container img {
  display: block;
  width: 100%;
  height: auto;
}

.nav_top_enabled {
  font-family: sans-serif;
  font-size: 1em;
  font-weight: bold;
  color: #000000;
  margin-top: 0;
  margin-bottom: 0.1em;
  text-align: left;
  padding: 2px 0;
}

.nav_top_enabled a {
  color: #000000;
  text-decoration: none;
}

.nav_top_enabled a:hover,
.nav_top_enabled a:focus {
  text-decoration: underline;
}

nav .nav_top_enabled + .nav_top_enabled {
  border-top: 1px solid rgba(0, 0, 0, .75);
}

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

.content {
  text-align: left;
  margin: 30px;
  max-width: 980px;
  background-color: rgb(250,250,210);
}

p,
li,
td,
th,
h4,
h5 {
  font-family: sans-serif;
  color: #000000;
  font-size: 1.1em;
}

h1 {
  font-family: sans-serif;
  color: #0000C0;
  font-size: x-large;
}

h2 {
  font-family: sans-serif;
  color: #0000C0;
  font-size: large;
}

h3 {
  font-family: sans-serif;
  color: #3764D9;
}

a {
  color: inherit;
  font-weight: bold;
}

.intro-text {
  max-width: 760px;
}

.quote {
  margin-left: 0;
  font-family: sans-serif;
  color: #0000C0;
  font-size: 1.35rem;
  font-weight: bold;
  line-height: 1.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 26px;
  align-items: start;
  margin-top: 24px;
}

.gallery-item {
  margin: 0;
}

.gallery-item img {
  display: block;
  border: 1px solid rgba(0, 0, 0, .25);
}

.art-gallery {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.books {
  margin: 0;
  padding: 0;
}

.books dt,
.books dd {
  margin: 0;
}

.books .row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.books .row:last-child {
  border-bottom: 0;
}

.books img {
  width: 92px;
  height: auto;
  display: block;
  border-radius: 6px;
}

.books h2 {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.books p {
  margin: 0 0 8px;
}

.books .meta {
  margin: 0 0 8px;
  font-size: 0.92rem;
  color: #555;
}

.contact-card {
  text-align: center;
}

.contact-card > img {
  max-width: 420px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .2);
}

.site-footer {
  margin-top: 70px;
  padding: 32px 24px;
  background-color: #4a2f2a;
  border-top: 4px solid #b56a4f;
  color: #f3e6dc;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.22);
  width: 100%;
  box-sizing: border-box;
}

.site-footer .footer-block {
  min-width: 220px;
}

.site-footer h3 {
  margin: 0 0 14px 0;
  font-family: sans-serif;
  font-size: 1.05rem;
  color: #fff4ee;
  border-bottom: 1px solid rgba(243, 230, 220, 0.25);
  padding-bottom: 6px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin: 8px 0;
  color: #f3e6dc;
  font-size: 1.1em;
}

.site-footer a {
  color: #f3e6dc;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #ffcfb8;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .flexcontainer,
  .site-footer {
    flex-direction: column;
  }

  .content {
    margin: 24px 18px;
  }

  .site-footer {
    gap: 28px;
    text-align: center;
    padding: 28px 20px;
  }
}

@media (max-width: 520px) {
  .books .row {
    grid-template-columns: 1fr;
  }

  .books img {
    width: 140px;
  }
}
