html, body {
  scroll-behavior: smooth;
}

.question {
  width: 100%;
  position: relative;
}

.question * {
  box-sizing: border-box;
}

.question .title {
  /* max-width: 1000px;
  width: 54%;
  margin: auto; */
  max-width: 1000px;
  width: 75%;
  margin-left: 23%;
  text-align: center;
}

.question__categories {
  width: 23%;
  position: fixed;
  left: 0;
  top: 130px;
}

.question__categories ul {
  list-style: none;
  width: 80%;
  margin: auto;
}

.question__categories ul li {
  border-bottom: 1px dashed rgb(212, 212, 212);
}

.question__categories a {
  font-size: 20px;
  padding: 20px 0 20px 5px;
  color: #333;
  display: block;
}

.question__list-container {
  /* max-width: 1000px;
  width: 54%;
  margin: auto; */
  max-width: 1000px;
  width: 75%;
  margin-left: 23%;
}

.question__list-container h3 {
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(212, 212, 212);
}

.question__list {
  width: 100%;
  margin-top: 40px;
  list-style: none;
}

.question__list-item {
  border: 1px solid rgb(212, 212, 212);
  padding: 2% 3%;
  border-radius: 10px;
  margin-bottom: 40px;
  max-height: 80px;
  overflow: hidden;
  cursor: pointer;
  transition: all 300ms ease;
}

.question__list-item.toggled {
  max-height: 500px;
}

.question__q-container {
  width: 100%;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.question__q-container b {
  margin-left: 20px;
}

.question__toggle {
  width: 24.5px;
  height: 24.5px;
  border-radius: 50%;
  border: 1px solid rgb(149, 149, 149);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: flex-end;
  margin-left: auto;
  position: relative;
}

.question__toggle .line {
  width: 16px;
  height: 2px;
  border-radius: 5px;
  background-color: rgb(149, 149, 149);
}

.question__list-item p {
  padding-left: calc(3% + 20px);
  padding-top: 20px;
}

.question__toggle .line {
  position: absolute;
  left: 50%;
  right: auto;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: all 300ms ease;
}

.question__toggle .line:last-of-type {
  transform: rotate(90deg) translateY(8px) translateX(-1px);
}

.toggled .line:last-of-type {
  transform: translateX(-50%) translateY(-50%);
}

@media screen and (max-width: 767px) {
  .question .title {
    font-size: 24px;
    margin: 0 auto;
    padding-top: 30px;
  }

  .question__categories {
    width: 100%;
    position: static;
  }

  .question__categories ul {
    width: 90%;
  }

  .question__list-container {
    width: 100%;
    padding: 4% 5%;
    margin-left: 0;
  }

  .question__list-item {
    max-height: 70px;
  }

  .question__q-container b {
    width: 60%;
    font-weight: 700;
  }

  .question__list-item p {
    padding: 0 3%;
    padding-top: 20px;
  }
}