html{
  -webkit-box-sizing:border-box;
  box-sizing:border-box
}
*,*::after,*::before{
  -webkit-box-sizing:inherit;
  box-sizing:inherit
}
ul[class],ol[class]{
  padding:0
}
body,h1,h2,h3,h4,h5,h6,p,ul,ol,li,figure,figcaption,blockquote,dl,dd{
  margin:0
}
ul[class]{
  list-style:none
}
img{
  display:block
}
input,button,textarea,select{
  font:inherit
}
a{
  text-decoration:none
}
/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
} */

html,
body {
  height: 100%;
  background: #16181d;
  font-family: sans-serif;
  color: #fff;
  background-image: url(../images/bg.svg);
}

.bg {
  background-image: url(../images/bg.svg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: pulse;
}

.header {
  background: #262a34;
  padding: 10px 16px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

.header__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding-left: 33px;
}

.header__icon {
  width: 36px;
  height: 36px;
  background: #3a3e48;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.header__logo {
  margin-right: 1px;
}

.header__text {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #ffffff;
}
.header__left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.header__btn {
  background: #3a3e48;
  border-radius: 30px;
  padding: 8px;
  cursor: pointer;
}
.main {
  margin-top: 61px;
  padding-left: 12px;
  padding-right: 12px;
}
.main__text {
  font-size: 16px;
  text-align: center;
  padding: 12px;
  /* background: linear-gradient(to right,  #059FDB, #64BAE8);
  border-image: linear-gradient(to right, #059FDB, #64BAE8); */
  background: #189AB4;
  border-radius: 50px;
  animation: pulse 4s infinite;
  margin:6px 6px;
}

.main__cards {
  margin: 0 auto;
  display: flex;
  grid-gap: 6px;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.main__card {
  width: 228px;
  background: #262a34;
  border: 1px solid #31353e;
  border-radius: 8px;
  padding-top: 7px;
  padding-bottom: 8px;
  cursor: pointer;
}

.main__card-img {
  width: 212px;
  height: 212px;
  object-fit: cover;
  margin: 0 auto;
}

.main__card-img img {
  width: 212px;
  height: 212px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto;
}

.main__card-text {
  margin-top: 8px;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #ffffff;
  padding-left: 12px;
  padding-right: 12px;
}

.popup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__price {
  margin-right: 6px;
  font-weight: 600;
}

.popup_active {
  z-index: 100;
  opacity: 1;
}

.popup__inner {
  overflow-y: auto;
  height: 440px;
  padding: 24px 24px;
}

.popup__content {
  position:relative;
  max-width:532px;
  width:100%;
  height:533px;
  background:#1f2128;
  border-radius:20px;
  z-index:11;
  position:relative;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  -webkit-box-orient:vertical;
  -webkit-box-direction:normal;
  -ms-flex-direction:column;
  flex-direction:column
}

.popup__content-top {
  display: flex;
  margin-bottom: 40px;
}

.popup__content-preview {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-right: 16px;
}

.popup__content-preview img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.popup__content-title {
  font-weight: bold;
  font-size: 22px;
  line-height: 29px;
  align-items: center;
  color: #fff;
  margin-bottom: 4px;
  max-width: 310px;
  width: 100%;
}

.popup__content-type {
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid #808191;
  border-radius: 12px;
  width: fit-content;
  padding: 4px 12px;
}

.popup__content-steps {
  margin-bottom: 33px;
}

.popup__content-stepInfo {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center
}

.popup__content-stepNumber {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #fff;
  background: #262a34;
  border: 1px solid #313643;
  border-radius: 50%;
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.popup__content-stepText {
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #fff;
}

.popup__content-stepLine {
  width: 2px;
  height: 30px;
  background: #313643;
  border-radius: 3px;
  margin-left: 20px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.popup__content-desc {
  font-weight: normal;
  font-size: 16px;
  line-height: 19px;
  color: #fff;
  margin-bottom: 28px;
}

.popup__content-btn {
  /* max-width: 484px;
  margin-top: 10px;
  outline: none;
  border: none;
  background: #1670c6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 12px 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: #fff;
  justify-content: center;
  cursor: pointer;
  text-decoration: none; */
  position:absolute;
  max-width:468px;
  bottom:24px;
  left:50%;
  -webkit-transform:translateX(-50%);
  -ms-transform:translateX(-50%);
  transform:translateX(-50%);
  outline:none;
  border:none;
  background:#1670c6;
  border-radius:8px;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align:center;
  -ms-flex-align:center;
  align-items:center;
  width:100%;
  padding:12px 0;
  font-weight:500;
  font-size:18px;
  line-height:26px;
  text-align:center;
  color:#fff;
  -webkit-box-pack:center;
  -ms-flex-pack:center;
  justify-content:center;
  cursor:pointer
}

.popup__content-btn img {
  margin-left: 8px;
  margin-right: 8px;
}

.popup__close {
  position: absolute;
  top: 8px;
  right: 20px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}

.popup__hero {
  height: 180px;
  width: 100%;
  max-width: 468px;
  border-radius: 8px;
  margin-bottom: 24px;
}
.popup__hero img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

@media (min-width: 360px) and (max-width: 1024px) {
  .main__cards {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    max-width: unset;
    justify-content: center;
  }
  .errorPopup__content {
    top: 7px !important;
  }
}

@media (min-width: 360px) {
  .main__card {
    display: flex;
    flex-wrap: wrap;
    max-width: 164px;
    width: 100%;
    height: unset;
  }

  .main__card-img {
    max-width: 148px;
    width: 100%;
    height: 148px;
  }

  .main__card-img img {
    max-width: 148px;
    width: 100%;
    height: 148px;
  }

  .main__card-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 18px;
    letter-spacing: 0.2px;
    color: #ffffff;
  }
}

@media (max-height: 440px) {
  .popup__content {
    height: 380px;
  }

  .popup__inner {
    height: 380px;
  }
}

@media (max-width: 425px) {
  .popup__content-title {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #ffffff;
  }
  .popup__content-type {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #808191;
    padding: 2px 8px;
  }
  .popup__content-stepText {
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #ffffff;
  }
  .popup__content-desc {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
  }
  .popup__content-steps {
    margin-bottom: 16px;
  }
  .popup__content-btn {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
    color: #ffffff;
  }
}

.errorPopup {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -100;
  opacity: 0;
}
.errorPopup__active {
  z-index: 100;
  opacity: 1;
}
.errorPopup__bg {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}
.errorPopup__content {
  position: relative;
  max-width: 343px;
  width: 100%;
  height: 352px;
  background: #1f2128;
  border-radius: 16px;
  z-index: 11;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.errorPopup__img {
  max-width: 238px;
  width: 100%;
  height: 226px;
}
.errorPopup__img img {
  max-width: 238px;
  width: 100%;
  height: 226px;
  object-fit: cover;
}
.errorPopup__title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
  color: #ffffff;
  margin-top: 11px;
}
.errorPopup__text {
  max-width: 271px;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
}

.popup__btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-gap: 8px;
  margin-bottom: 28px;
}
.cancel-btn {
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: #ffffff;
  border: 1px solid #1670c6;
  border-radius: 8px;
  padding: 12px 0;
  width: 130px;
  cursor: pointer;
}

.footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 24px;
  margin-top: 48px;
}

.footer__text {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
}
.footer__link {
  font-weight: 500;
  font-size: 12px;
  line-height: 20px;
  color: #ffffff;
}

.infoBtn {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -100;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.infoBtn_active {
  opacity: 1;
  z-index: 100;
}

.infoBtn__content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  padding: 20px;
  background-color:#1f2128;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  text-align: center;
  z-index: 1;
  padding: 24px 32px;
  margin-right: 12px;
  overflow-y: auto;
}
.infoBtn__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 25px;
  margin-left: 45px;
  
}
.infoBtn__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  color: #fff;
}
.infoBtn__close {
  cursor: pointer;
}
.infoBtn__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  color: #fff;
  margin-bottom: 32px;
}
.infoBtn__btn {
  background: #1670c6;
  border-radius: 8px;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  color: #fff;
  padding-top: 12px;
  padding-bottom: 12px;
  cursor: pointer;
}

.infoBtn__bg {
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
} 

@media (max-width: 560px) {
.header__logo {
    display: none;
}
}
@media (max-width: 1238px) {
  .main__cards {
    max-width: 957px;
    justify-content: center;
  }
}
@media (max-width: 360px) {
  .main__cards {
    display: flex;
    flex-wrap: wrap;
    max-width: 343px;
    justify-content: center;
  }
}

@media (max-width: 381px) {
  .main__cards {
    justify-content: center;
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
    border-color: transparent;
  }
  50% {
    transform: scale(1.05);
    border-color: #00f;
  }
  100% {
    transform: scale(1);
    border-color: transparent;
  }
}

