/* about project */
.about-project__block p {
  max-width: 65%;
}

.about-project__block img {
  max-width: 35%;
  position: absolute;
  right: 0;
  height: auto;
  min-height: 160px;
  max-height: 100%;
  top: 50%;
  transform: translateY(-50%);
}

.about-project__block {
  background-position: center right;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  position: relative;
}

@media (max-width: 767px) {
  .about-project__block p {
    max-width: unset;
  }

  .about-project__block {
    background-position: center bottom;
    margin-bottom: 50px;
    background-size: max(28%, 180px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .about-project__block img {
    position: initial;
    transform: translateY(0);
    max-width: 50%;
  }
}

@media (max-width: 465px) {
  .about-project__block img {
    max-width: 61%;
  }
}

/* accordeon faq */

.block-accordeon__wrap {
  display: flex;
  gap: 16px;
}

@media (max-width: 767px) {
  .block-accordeon__wrap {
    flex-direction: column;
    gap: unset;
  }
}

.block-accordeon__col {
  flex: 1;
}

.block-accordeon__item-main {
  align-items: center;
}

.block-accordeon__item_event {
  padding: 24px;
  background-color: #fff;
  border: none;
  border-radius: 16px;
  height: fit-content;
  margin-bottom: 16px;
}

.block-accordeon__item_event.active {
  box-shadow: 4px 2px 32px rgba(0, 70, 255, 0.25);
}

.block-banner-container_btns {
  margin: 1rem auto;
  display: flex;
  width: fit-content;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* money collected */

.event-collected__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 2rem;
  width: 100%;
  height: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 16px;
  color: white;
}

.event-collected {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 4rem 0;
  text-align: center;
  flex-direction: column;
  flex: 1 0 0%;
}

@media (max-width: 767px) {
  .event-collected {
    background-size: 180%;
  }
}

.event-collected p {
  margin: 0;
}

.event-collected__title {
  font-family: "Futura New Book", sans-serif;
}

.event-collected__amount {
  font-weight: 700;
  font-size: 3rem;
  font-family: 'Khabensky', sans-serif;
}

.event-collected__amount::after {
  content: '';
  margin-left: 12px;
  font-family: 'Futura New Book', sans-serif;
}

.event-collected__desc {
  font-weight: normal;
}

@media (max-width: 767px) {
  .event-collected__wrap {
    flex-direction: column;
  }

  .event-collected {
    padding: 1rem 0;
  }

  .event-collected__amount {
    font-weight: 700;
    font-size: 1.5rem;
    font-family: 'Khabensky', sans-serif;
  }
}

/*

story

*/

.story-container {
  background-color: white;
  padding: 0;
  border-radius: 2rem;
}

.story-container .story-wrap {
  height: auto;
}

.story-slide {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 3rem 7rem;
  align-items: center;
}

.story-slide > div {
  flex: 1 0 0%;
  position: relative;
  width: 100%;
}

.story-right {
  text-align: center;
}

.story-text {
  font-size: 1.25rem;
  font-family: 'Khabensky', sans-serif;
}

.story-name {
  font-family: 'Khabensky', sans-serif;
  font-size: 1rem;
}

.story-text_second {
  color: #869cb9;
}

.story-img {
  width: 100%;
}

.story-left::after {
  content: '';
  margin-right: 1rem;
  display: block;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 0;
  right: 100%;
  background-image: url('./imgs/quote.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.story-next,
.story-prev {
  color: #763f97;
  width: 24px;
  height: 24px;
  padding: 0;
  background: unset;
  transition: 0.2s;
}

.story-next:hover,
.story-prev:hover {
  color: #b47ed4;
  background: unset;
}

.story-prev {
  left: 1.5rem;
}

.story-next {
  right: 1.5rem;
}

.story-pagination .swiper-pagination-bullet {
  background-color: #763f97;
}

.story-pagination .swiper-pagination-bullet-active {
  scale: 1.2;
}

.story-pagination {
  bottom: 18px !important;
}

@media (max-width: 767px) {
  .story-slide {
    flex-direction: column;
    padding: 50px 20px;
  }

  .story-text {
    font-size: 1rem;
  }

  .story-left::after {
    top: -30px;
    left: 0;
    right: unset;
    width: 22px;
    height: 22px;
  }

  .story-next,
  .story-prev {
    top: 46px;
  }

  .story-prev {
    left: unset;
    right: 5rem;
  }
}
