body {
  color: rgb(51, 51, 51);
  background-color: rgba(225, 225, 225, 0.75);
}

.header {
  background: linear-gradient(to right, rgba(224, 182, 69, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%);

  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);

  .header-title {
    font-size: 20px;
    font-weight: 700;
  }

  .header-account {
    svg {
      width: 20px;
      height: 20px;
    }
  }

  .header-menu {
    gap: calc(var(--spacing) * 4);
  }

  @media (max-width: 700px) {
    .header-title {
      font-size: 3vw;
    }

    > div {
      flex-direction: column;
    }

    .header-menu {
      display: none;
      text-align: center;
      flex-direction: column;

      &.active {
        display: flex;
      }
    }
  }

  @media (min-width: 700px) {
    .drawer-menu {
      display: none;
    }
    .header-menu {
      display: flex;
    }
  }
}

.content {
  line-height: 2;
  padding-left: 1rem;
  padding-right: 1rem;

  .topic {
    background-color: white;
    padding-top: 20px;
    padding-bottom: 20px;

    .editable-content {
      padding-left: 1rem;
      padding-right: 1rem;
    }

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  }
  .topic:last-child {
    margin-bottom: 80px;
  }
  .topic-file {
    color: rgb(87, 87, 87);

    li {
      margin: 0.5rem;
      a {
        color: rgb(33, 111, 219);
        svg {
          color: #6a7282;
        }
      }
    }
  }

  .faq {
    .topic {
      box-shadow: none;
    }

    .topic:nth-child(n + 2):nth-child(-n + 3) {
      position: relative;
    }

    .topic:nth-child(n + 2):nth-child(-n + 3)::after {
      content: '';
      position: absolute;
      bottom: -1rem;
      left: 0;
      right: 0;
      height: 1rem;
      background-color: white;
    }

    .topic:nth-child(n + 6):nth-child(-n + 10) {
      position: relative;
    }

    .topic:nth-child(n + 6):nth-child(-n + 10)::after {
      content: '';
      position: absolute;
      bottom: -1rem;
      left: 0;
      right: 0;
      height: 1rem;
      background-color: white;
    }

    .topic:nth-child(n + 12):nth-child(-n + 14) {
      position: relative;
    }

    .topic:nth-child(n + 12):nth-child(-n + 14)::after {
      content: '';
      position: absolute;
      bottom: -1rem;
      left: 0;
      right: 0;
      height: 1rem;
      background-color: white;
    }

    .topic:nth-child(n + 16):nth-child(-n + 18) {
      position: relative;
    }

    .topic:nth-child(n + 16):nth-child(-n + 18)::after {
      content: '';
      position: absolute;
      bottom: -1rem;
      left: 0;
      right: 0;
      height: 1rem;
      background-color: white;
    }
  }

  @media (min-width: 1024px) {
    .topic {
      .editable-content {
        padding-left: 120px;
        padding-right: 120px;
      }
    }

    .topic-file {
      padding-left: 120px;
      padding-right: 120px;
    }
  }
}

.spinner {
  bottom: 0;
  height: 175px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 175px;

  .dot {
    bottom: 0;
    height: 100%;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 87.5px;
  }

  .dot::before {
    border-radius: 100%;
    content: '';
    height: 87.5px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: scale(0);
    width: 87.5px;
  }

  .dot:nth-child(7n + 1) {
    transform: rotate(45deg);
  }

  .dot:nth-child(7n + 1)::before {
    animation: 0.8s linear 0.1s normal none infinite running load;
    background: #00ff80 none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 2) {
    transform: rotate(90deg);
  }

  .dot:nth-child(7n + 2)::before {
    animation: 0.8s linear 0.2s normal none infinite running load;
    background: #00ffea none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 3) {
    transform: rotate(135deg);
  }

  .dot:nth-child(7n + 3)::before {
    animation: 0.8s linear 0.3s normal none infinite running load;
    background: #00aaff none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 4) {
    transform: rotate(180deg);
  }

  .dot:nth-child(7n + 4)::before {
    animation: 0.8s linear 0.4s normal none infinite running load;
    background: #0040ff none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 5) {
    transform: rotate(225deg);
  }

  .dot:nth-child(7n + 5)::before {
    animation: 0.8s linear 0.5s normal none infinite running load;
    background: #2a00ff none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 6) {
    transform: rotate(270deg);
  }

  .dot:nth-child(7n + 6)::before {
    animation: 0.8s linear 0.6s normal none infinite running load;
    background: #9500ff none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 7) {
    transform: rotate(315deg);
  }

  .dot:nth-child(7n + 7)::before {
    animation: 0.8s linear 0.7s normal none infinite running load;
    background: magenta none repeat scroll 0 0;
  }

  .dot:nth-child(7n + 8) {
    transform: rotate(360deg);
  }

  .dot:nth-child(7n + 8)::before {
    animation: 0.8s linear 0.8s normal none infinite running load;
    background: #ff0095 none repeat scroll 0 0;
  }

  .loading {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    bottom: -40px;
    height: 20px;
    left: 0;
    position: absolute;
    right: 0;
    width: 180px;
  }
  .spinner-message {
    text-align: center;
  }
}

@keyframes load {
  100% {
    opacity: 0;
    transform: scale(1);
  }
}
