.back-to-top,
.back-to-top:link,
.back-to-top:visited,
.back-to-top:hover,
.back-to-top:focus {
  color: #fff;
}

.back-to-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #fffaf2;
  border-radius: 50%;
  background: #167f86;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(18, 54, 74, 0.25);
}

.back-to-top span {
  color: #fff;
}

.back-to-top:focus {
  outline: 3px solid #d07c42;
  outline-offset: 3px;
}
