html {
  background: #4a2431 image-set(url('/images/bg@1x.jpg') 1x, url('/images/bg@2x.jpg') 2x) no-repeat fixed left top / cover;

  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, .33);
  font-family: "PT Serif", serif;
  line-height: 1.4;
  text-align: right;
  font-size: 14px;

  @media (min-width: 768px) {
    font-size: 16px;
  }
}

body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  backdrop-filter: blur(2px);

  @media (min-width: 768px) {
    padding: 30px;
    backdrop-filter: none;
  }
}

a {
  color: #fff;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  img {
    border-radius: 50%;
    width: 90px;
    margin-left: 20px;

    @media (min-width: 768px) {
      margin-top: 0;
      margin-left: 30px;
      width: auto;
    }
  }

  h1 {
    position: relative;
    top: -5px;
    margin: 0;
    font-weight: normal;
    line-height: 1.1;

    @media (min-width: 768px) {
      line-height: inherit;
    }
  }
}

dl {
  margin: 70px 0 60px;

  dt {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 5px;
  }

  dd {
    margin: 0 0 10px;

    &:last-child {
      margin-bottom: 0;
    }
  }
}

#testimonials {
  position: relative;
  display: grid;

  .item {
    position: relative;
    z-index: -1;
    grid-area: 1 / 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: flex-end;
    align-items: center;

    &.active {
      z-index: 1;
      opacity: 1;
    }

    blockquote {
      margin: 0 0 15px;
    }

    p {
      margin: 7px 0;
    }

    .author img {
      margin-left: 5px;
    }
  }

  .switches {
    display: flex;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;

    li {
      min-width: 30px;
      margin-left: 5px;
      padding: 5px 0;
      text-align: center;
      background: rgba(255, 255, 255, .25);
      cursor: pointer;

      &.active {
        cursor: default;
        background: transparent;
      }
    }
  }
}
