header {
  position: fixed;
  inset: 0 0 auto;
  height: 85px;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
  background: #f7f7f7 url("./images/header.png") left center / cover no-repeat;
}

.back-to-top {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  padding-inline: 1rem;
  color: #222;
  text-decoration: none;
}

.back-to-top span {
  padding: 0.25em 0.6em;
  border-radius: 4px;
  background: white;
  font-size: 0.875rem;
}

.back-to-top:hover span,
.back-to-top:focus-visible span {
  text-decoration: underline;
}

.back-to-top:focus-visible {
  outline: 3px solid #007acc;
  outline-offset: -3px;
}

@media (max-width: 768px) {
  header {
    height: 50px;
  }
}
