: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: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-align: center;
  background: #000000;
}

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 {
  display: flex;
  max-width: 100%;
  position: relative;
  height: 100vh;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 0 0;
}

.bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: hue-rotate(280deg);
}

.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 {
  position: relative;
  width: 100%;
  border-radius: 20px;
  padding: 30px 10px;
  background: rgb(93, 137, 187);

  max-width: 500px;
  margin-right: 30px;
  margin-top: 60px;
}

.test {
  padding-top: 45px;
}

.header__title {
  margin-bottom: 10px;
  font-family: "PT Serif", serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  filter: invert(1);
}
.media__title {
  font-size: 30px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff000;
}

.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 {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: #005ec7;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 10px;
}

/*.btn*/

.btn,
.btn-final {
  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;
  filter: invert(1);

  border: none;

  cursor: pointer;
}

.btn-final {
  display: block;
  text-decoration: none;
}
.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 {
    display: none;
  }
  .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 (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;*/
  }
  .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;
  filter: invert(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(../images/check.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: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.footer a {
  margin: 0 5px;
  color: inherit;
}
.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);
}
.ink {
  position: absolute;

  display: block;
  height: 200px;
  width: 250px;
  top: 0px;
  left: 0px;

  background: rgba(255, 255, 255, 1);
  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(../images/star.png);
  background-repeat: no-repeat;
  margin: 0 9px 20px;
  background-size: 39px;
  background-color: transparent;
}
.rating-item.active {
  background-image: url(../images/star2.png);
  background-repeat: no-repeat;
  background-size: 39px;
  background-color: transparent;
  min-width: auto;
}

.footer {
  color: #fff;
  background-color: #000;
  position: fixed;
  z-index: 1000;
  bottom: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
}

.popup {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;

  display: none;
  align-items: center;
  margin: auto;
  padding: 25px;
  width: 100%;
  height: 100%;

  font-family: "PT Serif", serif;
  font-weight: 600;
  color: #ffffff;
  font-size: 22px;

  background: rgb(93, 137, 187);
  border-radius: 20px;
  transition: opacity 0.5s ease;
}
.popup.active {
  display: flex;
}
