.faq {
  position: relative;
  padding: 178px 0;
  background-color: #fff;
}

.faq__title {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.faq__subtitle {
  font-family: 'Bebas-Neue-bold';
  position: absolute;
  font-size: 220px;
  line-height: 20px;
  color: #F0F1F3;
  z-index: 1;
}

.faq__content {
  margin: 0 auto;
  max-width: 900px;
}

.faq__item {
  width: 100%;
  color: #1D1C1C;
  font-size: 20px;
  border: 1px solid #F0F1F3;
  cursor: pointer;
  margin-bottom: 12px;
}

.faq__question {
  height: 88px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq__question.active .faq__close .faq__close-img {
  transform: rotate(60deg);
}

.faq__close {
  width: 20px;
  height: 20px;
}

.faq__close-img {
  width: 100%;
  transition: transform .2s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.faq__question.active .faq__close-img {
  animation: rotateWithOvershoot 0.9s forwards;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.1s ease;
}

.faq__answer-text {
  padding: 20px;
  color: #929599;
}

@keyframes rotateWithOvershoot {
  0% {
    transform: rotate(0deg);
  }

  60% {
    transform: rotate(70deg);
  }

  80% {
    transform: rotate(25deg);
  }

  100% {
    transform: rotate(45deg);
  }
}

.faq__question:not(.active) .faq__close-img {
  animation: hitRotateBack 0.9s forwards;
}

@keyframes hitRotateBack {
  0% {
    transform: rotate(45deg);
  }

  50% {
    transform: rotate(-30deg);
  }

  70% {
    transform: rotate(20deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@media (max-width:1500px) {
  .faq__subtitle {
    font-size: 120px;
  }
}

@media (max-width:1200px) {
  .faq {
    padding: 64px 0;
  }
}

@media (max-width:1023px) {
  .faq__subtitle {
    display: none;
  }
}

@media (max-width:768px) {
  .faq__title {
    margin-bottom: 24px;
  }
}
