﻿:root {
  --title-color: #1C1C1C;
  --title-font: 'Montserrat';
  --title-weight: 900;
  --title-style: normal;

  --color-accent: #EA6496;
  --text-color: #fff;

  --bg: #F8BBB4;

  --wrapper-bg: #fff;
  --wrapper-blur: blur(0);
  --wrapper-margin-top: 0vh;
  --wrapper-padding: 30px;

  --btn-bg: #EA6496;
  --btn-border: none;
  --btn-color: #fff;
}

body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
*{
  box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100%;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: #000;
}

body {
  padding-bottom: 10px;
}

h1, p {
  margin: 0;
}

/*.container */

  .container {
    position: relative;
    padding: 0 15px;
    margin: 0 auto;
  }
  @media (min-width: 360px) {
    html {
      font-size: 14px;
    }
  }
  @media (min-width: 1200px) {
    html {
      font-size: 16px;
    }
    .container {
      max-width: 100%;
    }
  }
  @media (min-width: 1440px) {
    html {
      font-size: 18px;
    }
    .container {
      /*max-width: 1400px;*/
    }
  }
  .content {
    max-width: 100%;
    position: relative;
    min-height: 630px;
  }

.bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.main {
  max-width: 100%;
  height: 50vh;
  margin-top: 160px;
  margin-bottom: -130px;

  object-fit: contain;
}
.main_img {
  width: 100%;
  height: 100%;
}

.main--full {
  margin: -15px;
}

.logo {
  width: 102px;
  height: 102px;
  display: block;
  margin: 0 30px 0 0;
  z-index: 1;
}

/*test*/

  .wrapper {
    width: 100%;
    border-radius: 20px;
    padding: 30px 10px;
    border-radius: 20px;
    background: rgba(60, 60, 60, 0.60);
    
    max-width: 500px;
    margin-right: 30px;
    margin-top: 60px;
  }

  .test {
    padding-top: 45px;
  }

  .header__title {
    margin-bottom: 10px;
    font-family: 'Suez One', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
  }
  .media__title {
    font-family: 'Rubik', sans-serif;
    font-size: 30px;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    color: #fff;
  }

  .header__title img {
    height: 1.5em;
    vertical-align: bottom;
  }

  .header__text,
  .final__text {
    margin-bottom: 10px;

    font-size: 16px;
    line-height: 130%;
    -webkit-transition: 1s;
    transition: 1s;
  }

  .final__text {
    /*width: 70%;*/
    /*margin: 0 auto 20px;*/
    font-weight: bold;
    /*font-size: 1.2rem;*/
  }

  .quest__text {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    
    line-height: 1.5;
  }
.media {
  position: relative;
  max-width: 830px;
}
.media_head {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  border-radius: 20px;
  background: rgba(60, 60, 60, 0.60);
  padding: 10px;
}

/*.btn*/

  .btn {
    min-width: 150px;
    padding: 15px 20px;
    margin: 0 10px;

    /*font-family: var(--title-font);*/
    font-weight: bold;
    font-size: 1rem;
    color: #000;

    border-radius: 4px;
    background: #FFF;
    
    
    border: none;

    cursor: pointer;
  }
.desktop {
  display: block;
}
.mob {
  display: none;
}



@media (max-width: 1200px) {
  .desktop {
    display: none;
  }
  .mob {
    display: block;
  }
  .content {
    flex-direction: column;
    margin: 0px auto 0;
    height: fit-content;
    padding: 0;
  }
  .container {
    padding: 0;
  }


  .bg {
    position: relative;
  }
  .media {
    order: -1;
  }

  .wrapper {
    width: 95%;
    padding: 20px 10px;
    margin: 0 auto 20px;
  }

  .header__title {
    /*font-size: 1.7rem;*/
  }
  .header__title-small {
    font-size: 1.3rem;
  }
  .media__title {
    font-size: 18px;
  }

  .main {
    margin-top: 20vh;
  }
  .bottom_image {
    display: none;
  }
  .logo {
    width: 50px;
    height: 50px;
    margin: 0 10px 0 0;
  }
  .media_head {
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 11;
  }
  .media__title br {
    display: none;
  }
}
@media (max-width: 576px) {
  body:after{
    height: 150px;
  }
  .media__title {
    font-size: 16px;
  }
  .quest__text {
    font-size: 18px;
  }


  .wrapper {
    padding: 20px;
  }

  .main {
    height: auto;
  }

  .header__title {
    margin-bottom: 15px;
    font-size: 24px;
  }

  .header__text,
  .final__text {
    /*line-height: 1.2;*/
    font-size: 14px;
  }
  .final__text {
    width: 100%;
  }

  .btn {
    min-width: 40%;
    padding: 10px 15px;
    margin: 0 10px 10px;
  }

  .btn-final {
    min-width: 90%;
  }
}

/* Slick-dots (Цифры) */

  .slick-dots {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;

    display: block;
    margin: 0 auto;
    padding: 0;

    font-weight: 300;
    font-size: 14px;
    line-height: 1;
    /*font-family: 'Exo 2', sans-serif;*/
  }

  .slick-dots li {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 25px 0 0;

    list-style: none;
    text-align: center;
    line-height: 30px;

    border: 1px solid var(--text-color);
    border-radius: 50%;
    pointer-events: none;
  }

  .slick-dots li:nth-last-child(2) {
    margin-right: 0;
  }

  .slick-dots li:last-child {
    display: none;
  }

  .slick-dots li:not(:nth-last-child(2)):before {
    position: absolute;
    top: 0;
    left: 100%;
    bottom: 0;

    content: "";
    display: inline-block;
    height: 1px;
    width: 16px;
    margin: auto 5px;
    background-color: var(--text-color);
  }

  .slick-dots li button {
    /*width: inherit;
    height: inherit;*/
    padding: 0;

    color: inherit;
    border: none;
    background-color: transparent;
  }

  .slick-dots li.slick-active {
  }

  .slick-dots li.check {
    color: transparent;
    background: url(../img/arrow.png);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center center;
  }

/* End Slick-dots */

.hide {
  min-height: 0;
  height: 0;
  margin: 0;
  opacity: 0;
}

.show {
  height: auto;
  opacity: 1;
}


.footer {
  margin-top: 20px;
  padding-top: 10px;
  font-size: 12px;
  color: #fff;
}
.footer__item {
  list-style: none;
}
.footer button {
  margin: 0 5px;
  color: inherit;
  border: none;
  background: transparent;
  cursor: pointer;
}
.footer p {
  margin: 5px 0;
}

.form,
.form input {
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.autoink{
    position: relative;
    overflow: hidden;
   -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
        display: block;
    width: fit-content;
    margin: 0 auto;
}
.ink{
   position: absolute;
   
   display: block;
   height: 200px;
   width: 250px;
   top: -20px;
   left: -140px;


   background: rgba(255, 255, 255, 1.0);
   border-radius: 100%;
   -webkit-transform: scale(0);
   -moz-transform: scale(0);
   -o-transform: scale(0);
   transform: scale(0);
   z-index: 20;  
}

.animate {
  webkit-animation: ripple 4s linear infinite;
  -moz-animation: ripple 4s linear infinite;
  -ms-animation: ripple 4s linear infinite;
  -o-animation: ripple 4s linear infinite;
  animation: ripple 4s linear infinite;
}

@keyframes ripple {  
20% {     
    opacity: 0;     
    transform: scale(2.5);
    }
100% {     
    opacity: 0;     
    transform: scale(2.5);
    }
}



.rating {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.rating-item {
  width: 39px;
  height: 39px;
  min-width: auto;
  cursor: pointer;
  background-image: url(../img/star.png);
  background-repeat: no-repeat;
  margin: 0 9px 20px;
  background-size: 39px;
  background-color: transparent;
  min-width: auto;
}
.rating-item.active{
  background-image: url(../img/star2.png);
  background-repeat: no-repeat;
  background-size: 39px;
  background-color: transparent;
  min-width: auto;
}


.modal {
  color: #000;
  text-align: left;
}

.white-popup {
  position: relative;
  max-height: 500px;
  overflow-y: scroll;
  width: 95%;
  max-width: 440px;
  margin: 20px auto;
  padding: 30px;

  /*font-size: 18px;*/
  background: rgba(255, 255, 255, 1);
  /*background: #BEC5D8;*/
  /*border: 4px solid #e1182a;*/
  text-align: center;
  border-radius: 20px;
}
.white-popup .h2,
.white-popup .h3 {
  position: relative;
  z-index: 1;

  margin: 0 0 10px;

  color: #000000;
}
#modal-win .h2 {
color: #FE582A;
}
.white-popup .h3 {
  margin: 0 0 15px;
}
.footer__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
}
@media (max-width: 576px) {
  .white-popup {
      padding: 20px;
  }
  .footer__list {
    flex-direction: column;
  }
}