* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #808080;
  color: #111;
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}

.sheet {
  margin-inline: auto;
  background: #fff;
}

.home-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 6vw, 3rem);
  background: #fff;
}

.home {
  width: min(100%, 25rem);
  font-size: 1.125rem;
  text-align: center;
}

.home h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
}

.home address {
  font-size: 1rem;
  font-style: normal;
}

.contact {
  padding-bottom: 1.75rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding-block: 0.45rem;
  border-top: 1px solid #dedede;
}

.topics {
  column-gap: clamp(0.75rem, 5vw, 1.75rem);
}

a {
  color: inherit;
  text-underline-offset: 0.17em;
}

.home a {
  padding-block: 0.4rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.text-page {
  width: min(100%, 36rem);
  min-height: 100vh;
  padding: 2.5rem clamp(1.25rem, 7vw, 3rem);
}

.text-page h1 {
  margin-top: 1.5rem;
}

.text-page section {
  margin-block: 2rem;
}

.text-page figure {
  margin-inline: 0;
}

.text-page img {
  display: block;
  width: 100%;
  height: auto;
}

.text-page figcaption {
  margin-top: 0.35rem;
  font-size: 0.875rem;
}
