@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap);
/* general */
html {
  height: 100%;
  position: relative;
  overflow-x: hidden;
}
body {
  position: relative;
  height: 100%;
  color: #000;
  background-color: #fff;
  font-size: 16px;
  line-height: 118.75%;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}
.container {
  max-width: 454px;
  width: 100%;
  margin: 0 auto;
  padding: 0 27px;
  position: relative;
  z-index: 9;
}
/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preloader img {
  max-width: 220px;
  width: 100%;
  -webkit-animation: scale 1.75s linear;
  animation: scale 1.75s linear;
}
@keyframes scale {
  0% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}
.btn {
  cursor: pointer;
  position: relative;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #9360F7;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  width: 100%;
  min-height: 51px;
  border-radius: 10px;
  border: none;
  padding: 5px 16px;
  outline: 0;
  margin: 0 auto 10px;
}
.btn.active {
  background-color: #722ff5;
  color: #fff;
}
.step-buttons {
  margin-top: 15px;
}
.buttons-col-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
  width: calc(100% + 10px);
}
.buttons-col-2 .btn {
  margin-left: 5px;
  margin-right: 5px;
  width: calc(50% - 10px);
}
.step-buttons .btn:only-child {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}
@media (min-width: 768px) {
  .step-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-left: -5px;
    margin-right: -5px;
    width: calc(100% + 10px);
  }
  .step-buttons .btn {
    margin-left: 5px;
    margin-right: 5px;
    width: calc(50% - 10px);
  }
}
/* Header */
.block-header {
  padding-top: 10px;
}
.header-logo {
  margin: 0 auto;
  max-width: 320px;
}
/* Content */
.top-bar {
  margin: 10px -7px 0;
  width: calc(100% + 14px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar .likes,
.top-bar .matches {
  background-color: #E7E6E9;
  border-radius: 20px;
  cursor: default;
  min-height: 40px;
  position: relative;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  width: calc(100% - 14px);
  border: none;
  padding: 10px 16px;
  outline: 0;
  margin: 0 7px;
}
.top-bar .likes img {
  flex-shrink: 0;
  margin-right: 5px;
  width: 21px;
}
.top-bar .matches img {
  flex-shrink: 0;
  margin-right: 5px;
  width: 20px;
}
.top-bar .badge {
  border-radius: 10px;
  border: 2px solid #fff;
  background-color: #F43D44;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  display: block;
  position: absolute;
  right: 0;
  top: -7px;
  padding: 2px 6px 3px;
}
.top-bar .likes .badge {
  right: -10px;
}
.block-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.block-layout__main {
  position: relative;
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
}
/* Carousel */
.carousel-wrap {
  margin: 0 auto;
  max-width: 454px;
  width: 100%;
}
.carousel {
  /* padding: 0 27px; */
}
.slick-track {
  /* display: flex !important; */
}
.slick-slide {
  /* height: inherit !important; */
}
.carousel .slick-list {
  /* padding: 17px 0; */
}
.carousel .item {
  padding: 17px 0;
  /* padding: 0 27px; */
  /* width: 100%; */
}
.carousel .item-content {
  background-color: #fff;
  box-shadow: 0px 7px 10px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  margin: 0 27px;
}
.carousel .image img {
  border-radius: 10px 10px 0 0;
}
.carousel .info {
  padding: 19px 15px 16px;
  position: relative;
}
.carousel .name {
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.carousel .buttons {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -35px;
  right: 10px;
}
.carousel .dislike,
.carousel .like {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 7px;
  height: 60px;
  width: 60px;
  box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.20);
  padding: 0;
  overflow: hidden;
  text-indent: -100px;
}
.carousel .dislike {
  background-image: url(../images/icon-dislike.svg);
  background-size: 22px auto;
}
.carousel .like {
  background-color: #9560FD;
  background-image: url(../images/icon-like.svg);
  background-size: 36px auto;
  background-position: center top 17px;
}
/* Step */
.step-content {
  flex-grow: 1;
  /* display: flex;
  align-items: center;
  justify-content: center; */
  padding-bottom: 30px;
}
.step {
  position: relative;
  z-index: 99;
  display: none;
  background: #ffffff;
  border-radius: 30px 30px 12px 12px;
  /* padding: 12px; */
  -webkit-animation: fade-in-bottom 0.4s linear .2s forwards;
  animation: fade-in-bottom 0.4s linear .2s forwards;
  opacity: 0;
}
.step.active {
  display: block;
}
@-webkit-keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fade-in-bottom {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.step-final {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.step-final .btn {
  background-color: #000;
  color: #fff;
}
.step-header {
  /* padding: 16px; */
  text-align: center;
}
.step-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 130%;
  margin-bottom: 4px;
}
/* Form */
.form-step {
  display: none;
  align-items: center;
}
.form-step.active {
  display: flex;
}
.form__row {
  width: 100%;
}
.form__input {
  font-family: 'Inter', sans-serif;
  width: 100%;
  display: block;
  outline: 0;
  z-index: 2;
  position: relative;
  height: 40px;
  padding: 5px 17px;
  border-radius: 50px;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
  background: none;
  border: 1px solid #ffffff;
}
.form__input::-webkit-input-placeholder {
  color: #ffffff;
  font-weight: 400;
}
.form__input::-moz-placeholder {
  color: #ffffff;
  font-weight: 400;
}
.form__input:-ms-input-placeholder {
  color: #ffffff;
  font-weight: 400;
}
.form__input::-ms-input-placeholder {
  color: #ffffff;
  font-weight: 400;
}
.form__input::placeholder {
  color: #ffffff;
  font-weight: 400;
}
.form__send-btn {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 24px;
  width: 24px;
  height: 24px;
  margin-left: 16px;
}
.form__like {
  content: '';
  background-image: url(../images/like.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.form__like.active {
  background-image: url(../images/like-active.png);
}
.stories-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  cursor: pointer;
  z-index: 9;
}
.prev--btn {
  left: 0;
}
.prev--btn.off {
  pointer-events: none;
}
.next--btn {
  right: 0;
}
.next--btn.off {
  pointer-events: none;
}
@media (max-width: 768px) {
  .step-title__big {
    font-size: 26px;
  }
  .block-header__text {
    font-size: 12px;
  }
  #topBar {
    order: 1;
  }
  .carousel-wrap {
    order: 2;
    padding-bottom: 20px;
  }
  .step-content {
    padding-top: 25px;
    padding-bottom: 10px;
  }
}
i {
  position: absolute;
  display: block;
  left: 50%;
  top: 0;
  width: 3px;
  height: 8px;
  background: red;
  opacity: 0;
}
@-webkit-keyframes bang {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
@keyframes bang {
  from {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}
.popup-block {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}
.popup-block--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #252526;
  border-radius: 5px;
  padding: 5px 20px;
  font-size: 14px;
}
/* Animate */
.pulsate-fwd {
  -webkit-animation: pulsate-fwd 0.5s linear both;
  animation: pulsate-fwd 0.5s linear both;
  opacity: 1;
}
@-webkit-keyframes pulsate-fwd {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pulsate-fwd {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
