@import "ui-kit.css";
@import "ui-blocks.css";
@import "hovers.css";

/* .main */

.main {
  padding-top: 184px;
}

.main .container {
  position: relative;
}

.main img {
  position: absolute;
  right: 0;
  top: -81px;
  z-index: -1;
  width: 46.8%;
}

.main .button {
  display: none;
}

.main {
  margin-bottom: 90px;
}

/* .double-col */

.double-col {
  margin: 180px 0;
}

.double-col__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.double-col__col {
  position: relative;
  width: calc(50% - 20px);
}

.double-col__col.-image-col {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.person-img {
  width: 46.43%;
}

.person-img img {
  width: 100%;
}

.double-col__col a {
  display: block;
  width: fit-content;
}

.double-col__col p:not(:first-child),
.double-col__col a:not(:first-child) {
  margin-top: 34px;
}

.double-col__col a:not(:first-child) + a {
  margin-top: 10px;
}

.double-col.-small-bottom-margin {
  margin-bottom: 90px;
}

.double-col.-small-margin {
  margin: 90px 0;
}

.-medical-before {
  position: relative;
}

.-medical-before:before {
  content: "";
  position: absolute;
  left: 39px;
  top: -3px;
  z-index: -1;

  width: 58px;
  height: 58px;
  background: no-repeat center / contain url("../images/ampoule.png");
}

.-medical-before .text {
  line-height: 48px;
}

.amounition-img-container {
  position: relative;
  right: 0;
  z-index: -1;
  width: 71%;
  top: -31px;
  left: 7%;
}

.amounition-img-container img {
  width: 100%;
}

.flag-title > span {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flag-title > span img {
  width: 42px;
  margin-right: 28px;
}

.double-col .double-col__col .-big-margin-title {
  margin-top: 120px;
}

/* .slider */

.slider-section {
  margin: 120px 0;
}

.slider {
  position: relative;
  width: 100%;
  height: 575px;
  border-radius: 14px;
  overflow: hidden;
  background: #7faedb;
}

.swiper-navigation {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.swiper-navigation div {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  transition: opacity 0.4s;
  cursor: pointer;
}

.swiper-navigation div svg path,
.swiper-navigation div svg circle {
  transition: fill 0.4s, stroke 0.4s;
}

.swiper-navigation div.prev {
  left: 32px;
}

.swiper-navigation div.prev.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.swiper-navigation div.next {
  right: 32px;
}

.swiper-navigation div.next.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0 !important;
  transition: opacity 0.4s;
}

.slider .swiper-slide.swiper-slide-active {
  opacity: 1 !important;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.swiper-pagination {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  left: 0;
  margin-top: 40px;
  height: 4px;
  background: rgba(0, 93, 184, 0.1);
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: rgba(0, 93, 184, 1);
}

/* yellow-section */

.yellow-section__top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.yellow-section__top-row + .latest-section__donate-button  {
  margin-top: 108px;
}

.latest-section__donate-button + .yellow-section__top-row {
  margin-top: 98px;
}

.yellow-section__top-row  + .yellow-section__list {
  margin-top: 55px;
}

.yellow-section__top-col {
  width: calc(50% - 20px);
}

.yellow-section__top-col p:not(:first-child) {
  margin-top: 36px;
}

.yellow-section__list-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 48px 59px;
  border-radius: 14px;
  background: var(--yellow);
}

.yellow-section__list-item-col {
  width: calc(42% - 20px);
}

.yellow-section__list-item-col.text {
  width: calc(58% - 20px);
  color: var(--blue);
}

.yellow-section__list-item-col.text a {
  color: var(--blue);
  transition: opacity 0.4s;
}

.yellow-section__list-item-col.text a strong {
  text-decoration: underline;
}

.yellow-section__list-item:not(:first-child) {
  margin-top: 16px;
}

.yellow-section__list-item-col.text p:not(:last-child) {
  margin-bottom: 32px;
}

.button-section {
  margin: 200px 0;
}

.button-section .container {
  display: flex;
  justify-content: center;
}

.line-with-text {
  display: inline;
  position: relative;
}

.line-with-text svg {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.line-with-text.circle-1 svg {
  left: 50%;
  top: 50%;
  transform: translate(-57%, -51%);
}

.line-with-text.line-1 {
  white-space: nowrap;
}

.line-with-text.line-1 svg {
  left: 0;
  bottom: 0;
  top: auto;
}

.circle-filled svg {
  z-index: -1;
  width: 115%;
  left: -5%;
}

.line-with-text.circle-2 svg {
  width: 170%;
  left: -9%;
  top: -4%;
}

.line-with-text.circle-3 {
  display: block;
  width: fit-content;
}

.line-with-text.circle-3 svg {
  width: 91%;
  left: 8%;
  top: -27%;
  min-width: auto;
  z-index: -1;
}

.line-with-text.line-2 svg {
  width: 100%;
  top: auto;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.line-with-text.circle-4 svg {
  width: 100%;
  top: -83%;
  left: 6%;
  z-index: -1;
}


/* Current purchases */

.current-purchases {
  margin-top: 90px;
}

.current-purchases__title {
  position: relative;
  text-transform: uppercase;
}

.current-purchases__title::after {
  content: attr(data-count);

  position: absolute;
  bottom: 0;
  z-index: -1;

  display: inline-flex;
  justify-content: center;
  align-items: center;

  width: 166px;
  height: 135px;
  margin: 0 0 19px -50px;

  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTY2IiBoZWlnaHQ9IjEzNSIgdmlld0JveD0iMCAwIDE2NiAxMzUiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xNjMuOTI1IDU0Ljc0MTFDMTYwLjM5OCAxMDEuOTE1IDE0Ny4zOTggMTIwLjMxOSA5Ni41MDM0IDEzMC4wODRDNDUuNjA4NSAxMzkuODUgLTAuOTUwNzk3IDEyNy41NTYgMS43NDY2NyA4NS4xMTE1QzQuNDQ0MTQgNDIuNjY2NyA0MC4xNzQxIDE0LjQxNjQgOTEuMDY5IDQuNjUwODdDMTQxLjk2NCAtNS4xMTQ2NCAxNjcuNDUzIDcuNTY2ODkgMTYzLjkyNSA1NC43NDExWiIgc3Ryb2tlPSIjRUZENjBBIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8L3N2Zz4K);

  font-size: 63px;
  color: #363636;
}

.current-purchases__item {
  margin-top: 48px;
}

.purchases-purchases__item-info {
  padding: 60px 60px 44px;
  margin-top: -28px;

  border-radius: 14px;
  background-color: #FFD100;
}

.purchases-purchases__item-info-progress {
  margin-top: 40px;
  border-radius: 7px;
  background-color: #E1B902;
}

.purchases-purchases__item-info-progress div {
  display: flex;
  justify-content: center;
  align-items: center;

  min-width: 7%;
  height: 40px;
  border-radius: 7px;
  background-color: #70E852;

  font-family: "e-Ukraine Head";
}

.purchases-purchases__item-info-price {
  font-family: "e-Ukraine Head";
  text-align: right;
}

.purchases-purchases__item-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 14px;
}

.purchases-purchases__item-info-bottom > p {
  display: block;
  width: 50%;
}

.purchases-purchases__item-info-bottom > p:first-child {
  text-align: left;
}

.current-purchases .swiper-slide {
  position: relative;
}

.current-purchases .swiper-slide::before {
  content: attr(data-text);

  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;

  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  background-position: center;
  background-repeat: no-repeat;
  background-size: 66.8%;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNzg0IiBoZWlnaHQ9IjE5MSIgdmlld0JveD0iMCAwIDc4NCAxOTEiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik03NzcuODg0IDY5LjQzNjFDODAzLjkzMyAxMTYuMTI5IDczMy43MTUgMTYwLjgxIDQ5My4wNTIgMTgxLjgxMUMyNTIuMzg4IDIwMi44MTEgMzYuNjM5NCAxODIuMDM0IDEwLjU5MTEgMTM1LjM0MkMtMTUuNDU3MiA4OC42NDkzIDE1Ny44MjEgMzMuNjkwNiAzOTguNDg1IDEyLjY5MDFDNjM5LjE0OSAtOC4zMTAzNiA3NTEuMjcgMjIuNzQzNSA3NzcuODg0IDY5LjQzNjFaIiBzdHJva2U9IiMwMDVEQjgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIi8+CjxwYXRoIGQ9Ik03NjkuODg0IDYzLjQzNjFDNzk1LjkzMyAxMTAuMTI5IDcyNS43MTUgMTU0LjgxIDQ4NS4wNTIgMTc1LjgxMUMyNDQuMzg4IDE5Ni44MTEgMjguNjM5NCAxNzYuMDM0IDIuNTkxMDkgMTI5LjM0MkMtMjMuNDU3MiA4Mi42NDkzIDE0OS44MjEgMjcuNjkwNiAzOTAuNDg1IDYuNjkwMTFDNjMxLjE0OSAtMTQuMzEwNCA3NDMuMjcgMTYuNzQzNSA3NjkuODg0IDYzLjQzNjFaIiBmaWxsPSIjMDA1REI4Ii8+Cjwvc3ZnPgo=');
  
  color: #FFD100;

  font-family: 'e-Ukraine Head';
  font-style: normal;
  font-weight: 400;
  font-size: 64px;
  line-height: 77px;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.purchases-purchases__item-info-donate {
  display: none;
}

/* Purchases slider */


.purchases-slider .swiper-navigation,
.purchases-slider .swiper-navigation * {
  font-size: unset;
  line-height: unset;
}

.purchases-slider a {
  display: block;
  height: 505px;
  border-radius: 14px;
  overflow: hidden;
}

.purchases-slider a img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Latest purchases section */

.latest-section {
  margin-top: 215px;
}

.latest-section .latest-section__title {
  margin-bottom: 48px;
}

.latest-section .latest-section__title *,
.latest-section .latest-section__title {
  text-transform: uppercase;
}

.latest-section .latest-section__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 48px 40px;
}

.latest-section .latest-section__item {
  position: relative;
  overflow: hidden;
  background-color: #F7F7F7;
  border-radius: 14px;
}

.latest-section .latest-section__item:before {
  content: attr(data-text);
  position: absolute;
  top: 31px;
  right: 24px;
  z-index: 2;

  display: block;
  min-width: 128px;
  min-height: 69px;
  padding: 10px;
  box-sizing: border-box;

  background: no-repeat center / cover url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI4IiBoZWlnaHQ9IjY5IiB2aWV3Qm94PSIwIDAgMTI4IDY5IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMTI0LjkwNiAzMi4zOTE5QzEyNy40MzkgNDYuNjcwMiAxMTQuOTI0IDU4LjY1MDUgNzYuNDM1MyA2MC42MDc2QzM3Ljk0NjQgNjIuNTY0NyA0Ljc2MjY1IDUyLjU5OTUgMi4yMjkzMiAzOC4zMjEzQy0wLjMwNDAwOCAyNC4wNDMgMjguNzM2MiAxMC44NDQ3IDY3LjIyNTEgOC44ODc2M0MxMDUuNzE0IDYuOTMwNTMgMTIyLjI4NCAxOC4xMDM2IDEyNC45MDYgMzIuMzkxOVoiIGZpbGw9IiM3MEU4NTIiLz4KPC9zdmc+Cg==');

  font-family: 'e-Ukraine Head';
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 30px;
  /* identical to box height, or 218% */
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
  
  color: #191919;
}

.latest-section .slider {
  height: 504px;
  z-index: 1;
}

.latest-section .swiper-navigation div.next {
  right: 27px;
}

.latest-section .swiper-navigation div.prev {
  left: 27px;
}

.latest-section .swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
}

.latest-section .latest-section__item-description {
  padding: 41px 27px 60px;
}

.latest-section .latest-section__item-description *,
.latest-section .latest-section__item-description {
  letter-spacing: -0.02em;
 }

.latest-section .latest-section__item-description p:not(:first-child) {
  margin-top: 12px;
}

.latest-section__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 995px;
  z-index: 1;

  margin-left: auto;
  margin-right: auto;

  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  max-width: 100%;
}

.latest-section__button svg {
  display: block;
  width: 100%;
  height: auto;
}

.latest-section__hover-path {
  transition: fill 0.4s;
}

.latest-section__button p {
  position: absolute;
  z-index: 1;

  font-family: "e-Ukraine Head", sans-serif;

  transition: color 0.4s;
}

.latest-section .latest-section__load-button {
  margin-top: 233px;
}

.latest-section .latest-section__load-button p {
  color: var(--blue);
}

.latest-section .latest-section__donate-button {
  margin-top: 175px;
  margin-bottom: 205px;
}


.latest-section__donate-button p {
  text-transform: uppercase;
  color: var(--yellow);
}

.double-col__col a.section-button {
  margin-top: 38px;
}

.section-button {
  position: relative;
}

.section-button p {
  text-transform: uppercase;
  color: var(--yellow);

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  margin-top: 0 !important;
  z-index: 1;

  font-family: "e-Ukraine Head", sans-serif;

  transition: color 0.4s;
}

.section-button svg {
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
}

#copyInput {
/* display: none; */
position: absolute;
opacity: 0;
pointer-events: none;
}


.copied-text {
  position: relative;
  cursor: pointer;
}

.copied-text.-active .copied-text__hover:before {
  content: attr(data-text-for-active);
  color: #46cf24;
}

.copied-text__hover {
  position: absolute;
  display: flex;
  width: fit-content;
  justify-content: center;
  align-items: center;
  background: #fff;
  box-shadow: 0 0 8px rgb(0 0 0 / 20%);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 100%;
  font-weight: 600;
  top: 0;
  left: 50%;
  transform: translate(-50%, -30px);
  transition: opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.copied-text__hover:before {
  content: attr(data-text-for-hover);
  color: #000;
  white-space: nowrap;
}

.copied-text__hover:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%) rotate(45deg);
  width: 9px;
  height: 9px;
  background: #fff;
}



/* Hovers */

@media screen and (hover: hover) {
  .current-purchases .swiper-slide:hover::before {
    opacity: 1;
  }

  .latest-section__load-button:hover p {
    color: var(--yellow);
  }

  .latest-section__load-button:hover .latest-section__hover-path {
    fill: var(--blue);
  }

  .latest-section__donate-button:hover p,
  .section-button:hover p {
    color: var(--blue);
  }

  
  .section-button:hover .latest-section__hover-path {
    fill: var(--yellow);
  }

  .latest-section__donate-button:hover .latest-section__hover-path {
    fill: transparent;
  }

  .copied-text:hover .copied-text__hover {
    opacity: 1;
  }
}

/* Adaptive */

@media screen and (max-width: 1024px) {
  .copied-text.-active .copied-text__hover {
    opacity: 1;
  }

  .copied-text__hover {
    font-size: 14px;
  }

  .copied-text .copied-text__hover:before {
    content: attr(data-text-for-active);
    color: #46cf24;
  }
}

@media screen and (max-width: 760px) {
  .purchases-slider a,
  .purchases-purchases__item-info {
    border-radius: 8px;
  }
}