.popup {
  width: 100%;
  height: 100%;
  background: rgba(44, 43, 48, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.popup__container {
  max-height: 713px;
  height: 100%;
  width: 422px;
  padding: 26px 45px 45px 45px;
  background: #F7F7F5;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}
@media (max-width: 768px) {
  .popup__container {
    max-width: 351px;
    width: calc(100% - 24px);
    max-height: 634px;
    padding: 24px;
    gap: 17px;
  }
}
.popup__close {
  position: absolute;
  top: 25px;
  right: 25px;
}
@media (max-width: 768px) {
  .popup__close {
    top: 24px;
    right: 24px;
  }
}
.popup__logo {
  width: 171px;
  height: 48px;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .popup__logo {
    width: 149px;
    height: 42px;
    margin-bottom: 0;
  }
}
.popup__logo__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.popup__illustration {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .popup__illustration {
    margin-bottom: 7px;
  }
}
.popup__illustration__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.popup__title {
  width: 100%;
  color: #2C2B30;
  text-align: center;
  font-family: "KTF Metro";
  font-size: 28px;
  font-style: normal;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: -1.4px;
}
@media (max-width: 768px) {
  .popup__title {
    font-size: 24px;
    line-height: 24px;
    letter-spacing: -0.96px;
  }
}
.popup__text {
  width: 100%;
  color: rgba(44, 43, 48, 0.7);
  text-align: center;
  line-height: 22px;
  letter-spacing: -0.32px;
  padding-bottom: 10px;
}
@media (max-width: 768px) {
  .popup__text {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: -0.28px;
    padding-bottom: 3px;
  }
}
.popup__image {
  width: 100%;
  height: 276px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  overflow: hidden;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .popup__image {
    height: 252px;
    margin-bottom: 3px;
  }
}
.popup__image__img {
  width: 100%;
  height: 100%;
}
.popup__link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
}
.popup__link__text {
  color: #2C2B30;
  line-height: normal;
  letter-spacing: -0.32px;
  text-transform: uppercase;
  position: relative;
}
@media (max-width: 768px) {
  .popup__link__text {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: -0.24px;
  }
}
.popup__link__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background-color: #2C2B30;
  opacity: 0;
  -webkit-transition: opacity 0.8s ease;
  transition: opacity 0.8s ease;
}
.popup__link__triangles {
  -webkit-transition: all 0.8s ease-in-out;
  transition: all 0.8s ease-in-out;
}
.popup__link__triangles path:nth-child(1) {
  -webkit-transition: -webkit-transform 0.8s ease-in-out;
  transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
}
.popup__link__triangles path:nth-child(2) {
  -webkit-transition: -webkit-transform 0.8s ease-in-out;
  transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
}
.popup__link__triangles path:nth-child(3) {
  -webkit-transition: -webkit-transform 0.8s ease;
  transition: -webkit-transform 0.8s ease;
  transition: transform 0.8s ease;
  transition: transform 0.8s ease, -webkit-transform 0.8s ease;
}
.popup__link:hover .popup__link__text::after {
  opacity: 1;
}
.popup__link:hover .popup__link__triangles {
  width: 50px;
}
.popup__link:hover .popup__link__triangles path:nth-child(1) {
  -webkit-transform: translateX(-6px);
      -ms-transform: translateX(-6px);
          transform: translateX(-6px);
}
.popup__link:hover .popup__link__triangles path:nth-child(2) {
  -webkit-transform: translateX(-2px);
      -ms-transform: translateX(-2px);
          transform: translateX(-2px);
}
.popup__link:hover .popup__link__triangles path:nth-child(3) {
  -webkit-transform: translateX(2px);
      -ms-transform: translateX(2px);
          transform: translateX(2px);
}