@charset "utf-8";

:root {
  --light-color: 255, 255, 255;
  --dark-color: 43, 43, 43;
  --primary-color: 201, 164, 128;
  --lightgray-color: 232, 232, 232;
  --anim: 0.4s ease;
}

body {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  line-height: 165%;
  min-height: 100vh;
  color: rgb(var(--dark-color));
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.list-reset {
  padding: 0;
  margin: 0;
  list-style: none;
}

.title {
  font-size: 42px;
  margin-bottom: 45px;
}

.title--light {
  color: rgb(var(--light-color));
}

.btn-reset {
  margin: 0;
  padding: 0;
  border-color: transparent;
  background-color: transparent;
}

.button {
  display: inline-block;
  text-decoration: none;
  background-color: transparent;
  color: rgb(var(--primary-color));
  text-transform: uppercase;
  border: 2px solid currentColor;
  font-weight: 500;
  padding: 12px 60px;
  transition: color var(--anim);
}

.button--small {
  font-size: 16px;
  padding: 6px 30px;
}

.button:hover {
  color: rgb(var(--dark-color), 0.7);
}

.button--dark {
  color: rgb(var(--dark-color));
}

.button--h-light:hover {
  color: rgb(var(--light-color));
}

.dark-bg {
  color: rgb(var(--light-color));
  background-color: rgb(var(--dark-color));
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 32px;
  gap: 5px;
  height: 24px;
}

.burger::after,
.burger::before {
  content: "";
}

.burger__line,
.burger::after,
.burger::before {
  width: 100%;
  height: 2px;
  background-color: rgb(var(--light-color));
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(var(--dark-color), 1);
  box-shadow: 0px 1px 3px rgb(0 0 0 / 0%);
  padding: 8px 0;
  z-index: 333;
}

.header__container {
  max-width: 100%;
  padding: 0 40px;
}

.header__logo {
  width: 35px;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: flex-end;
}

.menu {
  margin-left: 200px;
}

.menu__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.header a {
  font-size: 14px;
  text-decoration: none;
  color: rgb(var(--light-color));
  transition: color var(--anim);
}

.header a:hover {
  color: rgb(var(--primary-color));
}

.socials__item {
  display: block;
}

.socials {
  display: flex;
  gap: 4px;
}

.hero {
  margin-bottom: 64px;
  padding: 64px 0;
  min-height: 100vh;
  background: rgb(var(--dark-color));
  color: rgb(var(--light-color));
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
    content: '';
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    position: absolute;
    background-color: rgb(var(--dark-color),0.7);
    display: block;
}

.hero .container {
    position: relative;
    text-align: center;
}

.hero__title {
  margin-bottom: 32px;
}

.hero__text {
  max-width: 744px;
  margin: 0 auto 64px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
}

.company-name {
  font-size: 24px;
  font-weight: 600;
}

.company-name span {
  color: rgb(var(--primary-color));
}

.hero__slider .swiper-wrapper,
.examples__slider .swiper-wrapper {
  align-items: center;
}

.hero__slider,
.examples__slider,
.youtube__slider{
  position: relative;
  overflow: hidden;
}

.hero__slide,
.examples__slide {
  opacity: 0.5;
  transition: opacity var(--anim);
}

.hero__slide.swiper-slide-active,
.examples__slide.swiper-slide-active {
  opacity: 1;
}

.hero__slider-buttons,
.examples__slider-buttons {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 222;
  max-width: 660px;
  width: 100%;
}

.hero__slider-buttons > *,
.examples__slider-buttons > * {
  background-color: rgb(var(--lightgray-color));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: rgb(var(--dark-color));
}

.hero__slider-buttons > *::after,
.examples__slider-buttons > *::after {
  font-size: 16px;
}

.advantages__item {
    padding: 24px;
    box-shadow: 0 0 16px 0 rgb(var(--dark-color), 0.1);
    height: 100%;
}

.advantages__item-caption {
  font-size: 24px;
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
  width: fit-content;
}

.advantages__item-caption::after {
  content: "";
  height: 2px;
  width: 70%;
  margin-top: 14px;
  background-color: rgb(var(--primary-color));
}

.advantages__text {
  margin-bottom: 64px;
}

.advantages__item-descr {
  font-size: 14px;
  line-height: 1.55;
}

.advantages__list {
  margin-bottom: 64px;
}

.advantages {
  margin-bottom: 128px;
}

.examples {
  position: relative;
  margin-bottom: 128px;
}

.examples::before {
  content: "design by Nathalie Assaf";
  font-weight: 300;
  position: absolute;
  bottom: 60px;
  left: 40px;
  color: rgb(var(--light-color));
}

.examples__list {
  /* display: flex; */
  /* flex-wrap: wrap; */
  overflow: hidden;
  
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
}
@media(max-width:980px){
    .examples__list{
        grid-template-columns:1fr 1fr;
    }
}
@media(max-width:580px){
    .examples__list{
        grid-template-columns:1fr;
    }
}

.examples__item {
  padding: 40px;
  position: relative;
  display: flex;
  min-height: 600px;
  align-items: center;
  justify-content: center;
  color: rgb(var(--light-color));
  text-align: center;
  background-repeat: no-repeat;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: background-size var(--anim);
  /* flex: 1 0 auto; */
  /* width: 30%; */
}

.examples__list--two>.examples__item {
    /* width: 50%; */
}

.examples__item-title {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 30px;
}

.examples__item-descr {
  font-size: 16px;
  margin-bottom: 40px;
  line-height: 1.55;
}

.examples__list .swiper-slide-active .examples__item,.examples__item:hover {
}

.examples__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 222;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.4s ease;
}

.examples__list .swiper-slide-active .examples__item::before,.examples__item:hover::before {
  background-color: rgb(var(--dark-color), 0.9);
}

.examples__item-inner {
  position: relative;
  z-index: 222;
  opacity: 0;
  transition: opacity var(--anim);
}

.examples__list .swiper-slide-active .examples__item-inner,.examples__item:hover .examples__item-inner {
  opacity: 1;
}

.steps {
  margin-bottom: 128px;
}

.steps__title {
  margin-bottom: 48px;
}

.steps__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 48px;
}

.steps__item {
  position: relative;
  flex: 0 0 auto;
  width: 30%;
  text-align: center;
}

.steps__item-icon {
  width: 60px;
  margin: 0 auto;
}

.steps__item-icon svg {
  fill: currentColor;
  color: inherit;
}

.steps__item-icon {
  color: rgb(var(--primary-color));
  margin-bottom: 24px;
}

.steps__item-caption {
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 16px;
}

.steps__item-descr {
  font-size: 16px;
  line-height: 1.55;
}

.steps__item::before {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg role='img' width='60' stroke='%232b2b2b' fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 18.7'%3E%3Cpath class='st0' d='M4.2 9.4h32.1'%3E%3C/path%3E%3Cpath class='st1' d='M31.3 13.4l5-4-5-4'%3E%3C/path%3E%3C/svg%3E");
  width: 60px;
  height: 24px;
  top: 20px;
  display: block;
  position: absolute;
  left: 100%;
}

.steps__item:last-of-type::before,
.steps__item:nth-child(3)::before {
  content: unset;
}

.examples__slider {
  margin-bottom: 128px;
}

.team {
  margin-bottom: 128px;
}

.team__item-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.team__item-image {flex:  0 0 auto;width: 200px;}

.team__item-name {
  font-size: 28px;
  margin-bottom: 8px;
}

.team__item-position {
  font-size: 14px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.team__item-position::after {
  content: "";
  width: 60px;
  height: 2px;
  background-color: rgb(var(--primary-color));
  margin-top: 24px;
}

.team__item-descr {
  font-size: 14px;
  line-height: 1.55;
}

.team__item {
    display: flex;
    box-shadow: 0 0 16px rgb(var(--dark-color), 0.1);
    width: 100%;
}

.team__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.team__item-text {
    padding: 24px;
}

.info-block {
  margin-bottom: 128px;
}

.info-block__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 80px;
  font-size: 28px;
  line-height: 1.55;
  border: 2px solid rgb(var(--primary-color));
}

.reviews {
  margin-bottom: 128px;
}

.reviews__item {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reviews__item-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.reviews__item-image {
  margin-bottom: 20px;
}

.reviews__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews__item-caption {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 20px;
}

.reviews__item-content {
  margin-bottom: 20px;
  font-size: 18px;
}

.reviews__item-buttons {
  margin-top: auto;
}

.guarantee {
  padding: 128px 0;
  margin-bottom: 128px;
  overflow: hidden;
}

.guarantee__container {
  max-width: 1200px;
}

.guarantee__item-caption {
  font-size: 32px;
  line-height: 1.17;
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.guarantee__item-caption::after {
  content: "";
  background-color: rgb(var(--primary-color));
  height: 2px;
  width: 100%;
  margin-top: 16px;
}

.guarantee__item-descr {
  font-size: 20px;
}

.feedback {
  margin-bottom: 128px;
}

.feedback__container {
  max-width: 850px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.form__input {
  border: none;
  border-bottom: 2px solid rgb(var(--dark-color));
  padding: 13px 0;
  font-size: 16px;
}

.form__input--light {
    border-color: currentColor;
    background-color: transparent;
    color: rgb(var(--light-color), 1);
    transition: color var(--anim);
}

.form__input--light::placeholder {
    color: rgb(var(--light-color));
}

.form__input--light:hover {
    color: rgb(var(--primary-color));
}

.form .button {
  align-self: center;
}

.form__privacy {
  align-self: center;
  line-height: 1.55;
  font-size: 14px;
  text-align: center;
  max-width: 760px;
}

.form__privacy--light {
    color: rgb(var(--light-color));
}

.form__privacy a {
  text-decoration: none;
  color: rgb(var(--primary-color));
}

.socials-block {
  margin-bottom: 128px;
}

.socials-block__text {
  margin-bottom: 64px;
}

.socials-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.socials-block__image a {
  display: block;
  height: 414px;
}

.footer {
    overflow: hidden;
  margin-top: auto;
  background-color: rgb(var(--dark-color));
}

.footer__container {
  max-width: 100%;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: rgb(var(--light-color));
  font-size: 18px;
  margin-bottom: 16px;
}

.footer a {
  text-decoration: none;
  color: rgb(var(--primary-color));
  font-weight: 300;
}

.footer__form {
    padding: 44px;
    border: 1px solid rgb(var(--light-color));
    max-width: 540px;
    margin: 0 auto;
}

.footer .privacy {
  display: block;
  font-size: 14px;
  margin-bottom: 24px;
}

.footer__right {
  padding: 64px 0;
  padding-left: 64px;
}

.about-page__slider-image img {
  width: 100%;
  height: 52vh;
  object-fit: cover;
}

.about-page__slider {
  overflow: hidden;
  position: relative;
}

.about-page__compare {
  max-width: 850px;
  margin: 0 auto;
}

.about-page__compare-item {
  display: flex;
}

.about-page__compare-icon {
  flex: 0 0 auto;
  width: 64px;
  margin-right: 24px;
}

.about-page__compare-caption {
  font-size: 24px;
  font-weight: 600;
}

.about-page__compare-item:not(:last-of-type) {
  margin-bottom: 48px;
}

.about-page__compare-descr {
  font-size: 20px;
  font-weight: 300;
}

.about-page__slider .swiper-button-prev,
.about-page__slider .swiper-button-next {
  color: rgb(var(--dark-color));
  font-size: 32px;
}

.about-page__slider .swiper-button-prev::after,
.about-page__slider .swiper-button-next::after {
  font-size: inherit;
}

.modal-dialog {
    max-width: 800px;
}

.modal-dialog iframe {
    width:100%;
}


.pushy {
  position: fixed;
  width: 300px;
  height: 100%;
  top: 0;
  z-index: 9999;
  background: #191918;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* enables momentum scrolling in iOS overflow elements */
}

.pushy a {
  display: block;
  color: #b3b3b1;
  padding: 15px 30px;
  text-decoration: none;
}

.pushy a:hover {
  color: #FFF;
}

.pushy ul:first-child {
  margin-top: 10px;
}

.pushy.pushy-left {
  left: 0;
}

.pushy.pushy-right {
  right: 0;
}

.pushy-content {
  visibility: hidden;
}

/* Menu Movement */
.pushy-left {
  -webkit-transform: translate3d(-300px, 0, 0);
  -ms-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}

.pushy-open-left #container,
.pushy-open-left .push {
  -webkit-transform: translate3d(200px, 0, 0);
  -ms-transform: translate3d(200px, 0, 0);
  transform: translate3d(200px, 0, 0);
}

.pushy-right {
  -webkit-transform: translate3d(200px, 0, 0);
  -ms-transform: translate3d(200px, 0, 0);
  transform: translate3d(200px, 0, 0);
}

.pushy-open-right #container,
.pushy-open-right .push {
  -webkit-transform: translate3d(-300px, 0, 0);
  -ms-transform: translate3d(-300px, 0, 0);
  transform: translate3d(-300px, 0, 0);
}

.pushy-open-left .pushy,
.pushy-open-right .pushy {
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.pushy-open-left .pushy-content,
.pushy-open-right .pushy-content {
  visibility: visible;
}

/* Menu Transitions */
#container,
.pushy,
.push {
  transition: transform 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

.pushy-content {
  transition: visibility 0.2s cubic-bezier(0.16, 0.68, 0.43, 0.99);
}

/* Site Overlay */
.site-overlay {
  display: none;
}

.pushy-open-left .site-overlay,
.pushy-open-right .site-overlay {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-animation: fade 500ms;
  animation: fade 500ms;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Submenu Appearance */
.pushy-submenu {
  /* Submenu Buttons */
  /* Submenu Icon */
}

.pushy-submenu > ul {
  padding-left: 15px;
  transition: max-height 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.pushy-submenu > ul .pushy-link {
  transition: opacity 0.2s ease-in-out;
}

.pushy-submenu button {
  width: 100%;
  color: #b3b3b1;
  padding: 15px 30px;
  text-align: left;
  background: transparent;
  border: 0;
}

.pushy-submenu button:hover {
  color: #FFF;
}

.pushy-submenu > a,
.pushy-submenu > button {
  position: relative;
}

.pushy-submenu > a::after,
.pushy-submenu > button::after {
  content: '';
  display: block;
  height: 11px;
  width: 8px;
  position: absolute;
  top: 50%;
  right: 15px;
  background: url("../img/arrow.svg") no-repeat;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: transform 0.2s;
}

/* Submenu Movement */
.pushy-submenu-closed > ul {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.pushy-submenu-closed .pushy-link {
  opacity: 0;
}

.pushy-submenu-open {
  /* Submenu Icon */
}

.pushy-submenu-open > ul {
  max-height: 1000px;
  visibility: visible;
}

.pushy-submenu-open .pushy-link {
  opacity: 1;
}

.pushy-submenu-open > a::after,
.pushy-submenu-open > button::after {
  -webkit-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

.pushy__socials a {
    padding: 0;
}

.pushy__socials {
    padding: 15px 30px;
    justify-content: center;
}

.notice {
    text-align: center;
}

.map {
    display: flex;
}

.breadcrumb {
    margin: 0;
    font-size: 16px;
    margin-top: 16px;
}

.breadcrumb a {
    color: rgb(var(--primary-color));
}

.hero .breadcrumb {
    color: rgb(var(--light-color));
}

.hero .breadcrumb-item.active {
    color: rgb(var(--light-color));
}

.hero .breadcrumb-item::before {
    color: rgb(var(--light-color));
}

.pushy-content>form {
    padding: 30px 28px;
}

.grecaptcha-badge {
    display: none!important;
}

.up-link {
    position: fixed;
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--dark-color));
    padding: 12px;
    box-shadow: 0 0 2px 0px rgb(var(--light-color));
    z-index: 50;
}

.up-link svg {
    width: 100%;
    height: 100%;
    color: rgb(var(--light-color));
    fill: currentColor;
}

.examples__slider .glightbox {
    display: flex;
    margin: 0 auto;
    width: fit-content;
}

@media (max-width: 1399px) {
  .examples__item,
  .examples__list--two>.examples__item {
      /* width: 49%; */
  }
}

@media (max-width: 1199px) {
  .steps__item::before {
    content: unset;
  }

  .examples__item {
    background-size: cover;
  }

  .menu {
    margin-left: 0;
  }
}

@media (max-width: 991px) {
  .burger {
    display: flex;
  }
  .steps__item {
    width: 45%;
  }
  .footer__form {
    padding: 24px;
  }
  .examples__item,
  .examples__list--two>.examples__item {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 18px;
  }

  .button {
    font-size: 16px;
  }

  .steps__item {
    width: 100%;
  }

  .title {
    font-size: 32px;
    margin-bottom: 45px;
  }
  .examples__item,
  .examples__list--two>.examples__item {
    width: 100%;
    padding: 20px;
    min-height: 480px;
  }

  .about-page__compare-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-page__compare-icon {
    margin-right: 0;
    margin-bottom: 16px;
  }

  .about-page__compare-caption {
    margin-bottom: 4px;
    font-size: 18px;
  }

  .about-page__compare-descr {
    font-size: 14px;
  }
  
  .team__item {
    flex-direction: column;
}
  
  .team__item-image {
    width: 100%;
    }
    .footer .title {
    text-align: center;
}

.footer__socials {
    justify-content: center;
}
.footer__contacts {
    align-items: center;
    text-align: center;
}
.footer .privacy {
    text-align: center;
}
.footer__form {
    margin-bottom: 32px;
}
}

@media (max-width: 575px) {
  .title {
    font-size: 24px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .examples__item-title {
    font-size: 18px;
  }

  .examples__item-descr {
    font-size: 12px;
  }

  .button {
    font-size: 12px;
  }

  .info-block__inner {
    padding: 30px 10px;
    text-align: center;
    font-size: 16px;
  }

  .footer__right {
    padding-left: 0;
  }
}

.iframe-lazy {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 56.25%;
}

.iframe-lazy iframe,
.iframe-lazy object,
.iframe-lazy embed,
.iframe-lazy-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.iframe-lazy-link__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
}

.iframe-lazy-link__button svg {
    width: 100%;
    height: auto;
}

.iframe-lazy-link img {
    object-fit: cover;
}

.iframe-lazy-api {
    display: block;
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    user-select: none; 
}

.iframe-lazy-link-api img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

.iframe-lazy-link-api .iframe-lazy-link__button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92px;
    z-index: 20;
}

.iframe-lazy-link-api .iframe-lazy-link__button svg {
    width: 100%;
    height: auto;
}

.iframe-lazy-link-api img {
    object-fit: cover;
}

.iframe-lazy-api iframe.player-youtube-api {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.iframe-lazy-api.stopped iframe.player-youtube-api {
    z-index: 5;
}

.iframe-lazy-api.player-inited img{
    opacity: 0;
    height: calc(100% - 60px);
}

.iframe-lazy-api.player-inited .iframe-lazy-link__button {
    display: none;
}

.iframe-lazy-api.player-inited:after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: end;
    padding-bottom: 15px;
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
    height: calc(100% - 60px);
}

.popup-youtube{
    display: none; 
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1000;
    display: none;
}
.popup-youtube-flex{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-youtube-overlay{
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1000;
}
.popup-youtube-container{
    height: 530px;
    width: 1000px;
    position: relative;
    z-index: 1010;
    padding: 0px 15px;
}
.popup-youtube-close{
    width: 40px;
    height: 40px;
    right: -60px;
    top: -60px;
    position: absolute;
    opacity: 0.75;
    transition: 150ms;
    cursor: pointer;
}
.popup-youtube-close:hover{
    opacity: 1;
}
.popup-youtube-video{
    
}
#popup-youtube{
    width: 100%;
    max-width: 1000px;
    height: 530px;
    margin: 0px auto;
    display: block;
}

.body-popup-open{
    overflow: hidden;
}

@media (max-width: 1100px) {
    
    .popup-youtube-close{
        right: 15px;    
    }
    
}

.lang {
    position: relative;
}
.lang__cur {
    border: 1px solid #fff;
    width: 32px;
    color: #fff;
    text-align: center;
    cursor: pointer;
}
.drop-lang {
    position: absolute;
    left: 0;
    top: 100%;
    width: 32px;
    z-index: 999;
    background: #2b2b2b;
    border: 1px solid #fff;
    padding: 6px;
    display:none;
}

/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-align-top .mfp-container:before {
    display: none;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto;
}

.mfp-ajax-cur {
    cursor: progress;
}

.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #CCC;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}

.mfp-preloader a {
    color: #CCC;
}

.mfp-preloader a:hover {
    color: #FFF;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close-old {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

.mfp-close-old:hover,
.mfp-close-old:focus {
    opacity: 1;
}

.mfp-close-old:active {
    top: 1px;
}

.mfp-close-btn-in .mfp-close-old {
    color: #333;
}

.mfp-image-holder .mfp-close-old,
.mfp-iframe-holder .mfp-close-old {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

button.mfp-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(33, 33, 33, 0.4);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0nMjQnIGhlaWdodD0nMjInIHZpZXdCb3g9JzAgMCAyNCAyMicgZmlsbD0nbm9uZScgeG1sbnM9J2h0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnJz48ZyBjbGlwLXBhdGg9J3VybCgjY2xpcDBfMTk1N18yOTY5NyknPjxwYXRoIGQ9J00zLjUxNTYyIDIuNUwyMC40ODYyIDE5LjQ3MDYnIHN0cm9rZT0nd2hpdGUnIHN0cm9rZS13aWR0aD0nMS40JyBzdHJva2UtbGluZWNhcD0nc3F1YXJlJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PHBhdGggZD0nTTMuNTE1NjIgMTkuNUwyMC40ODYyIDIuNTI5NDQnIHN0cm9rZT0nd2hpdGUnIHN0cm9rZS13aWR0aD0nMS40JyBzdHJva2UtbGluZWNhcD0nc3F1YXJlJyBzdHJva2UtbGluZWpvaW49J3JvdW5kJy8+PC9nPjxkZWZzPjxjbGlwUGF0aCBpZD0nY2xpcDBfMTk1N18yOTY5Nyc+PHJlY3Qgd2lkdGg9JzI0JyBoZWlnaHQ9JzIyJyBmaWxsPSd3aGl0ZScvPjwvY2xpcFBhdGg+PC9kZWZzPjwvc3ZnPgo=);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    z-index: 99;
    font-size: 0;
    transition: .3s ease;

    &:hover {
        transform: scale(1.05);
    }
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

.mfp-arrow:active {
    margin-top: -54px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    opacity: 1;
}

.mfp-arrow:before,
.mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent;
}

.mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px;
}

.mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F;
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F;
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px;
}

.mfp-iframe-holder .mfp-close {
    top: -40px;
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* The shadow behind the image */
.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@media screen and (max-width: 800px) and (orientation: landscape),
screen and (max-height: 300px) {

    /**
       * Remove all paddings around the image on small screen
       */
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0;
    }

    .mfp-img-mobile img.mfp-img {
        padding: 0;
    }

    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}


.vk-video-frame{
    display: block;
    width: 100%;
    position: relative;
    padding-top: 56.25%;
    user-select: none;
}
.vk-video-frame img{
    position:absolute;
    width:100%;
    height:100%;
    left:0;
    top:0;
    object-fit:cover;
    z-index:1;
}
.vk-video-frame::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0, 0.5);
    z-index:2;
}
.vk-video-frame::after{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    z-index:3;
    transform: translate(-50%, -50%);
    border: 15px solid transparent;
    border-left: 25px solid #fff;
    transition:.3s ease;
}
.vk-video-frame:hover:after{
    transform: translate(-50%, -50%) scale(1.1);
}

@media(max-width:768px){
     .mfp-iframe-scaler{
        padding-top:70vh;
    }   
}

.tg-social___item{
    position:relative;
    display:block;
    text-decoration:none;
    color:inherit;
    height:400px;
    overflow:hidden;
}
.tg-social___item::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background-color: rgba(0,0,0,0.5);
    z-index:2;
    opacity:0;
    transition:.3s ease;
}
.tg-social___item::after{
    content:'';
    position:absolute;
    left:50%;
    top:50%;
    width:90%;
    height:90%;
    translate:-50% -50%;
    border:3px solid #fff;
    z-index:3;
    opacity:0;
    transition:.3s ease;
    
    background-image: url("data:image/svg+xml,%3Csvg width='30px' height='30px' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M50 100c27.614 0 50-22.386 50-50S77.614 0 50 0 0 22.386 0 50s22.386 50 50 50Zm21.977-68.056c.386-4.38-4.24-2.576-4.24-2.576-3.415 1.414-6.937 2.85-10.497 4.302-11.04 4.503-22.444 9.155-32.159 13.734-5.268 1.932-2.184 3.864-2.184 3.864l8.351 2.577c3.855 1.16 5.91-.129 5.91-.129l17.988-12.238c6.424-4.38 4.882-.773 3.34.773l-13.49 12.882c-2.056 1.804-1.028 3.35-.129 4.123 2.55 2.249 8.82 6.364 11.557 8.16.712.467 1.185.778 1.292.858.642.515 4.111 2.834 6.424 2.319 2.313-.516 2.57-3.479 2.57-3.479l3.083-20.226c.462-3.511.993-6.886 1.417-9.582.4-2.546.705-4.485.767-5.362Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}
.tg-social___item img{
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:1;
    transition:.3s ease;
}

.tg-social___item:hover::after, .tg-social___item:hover::before{
    opacity:1;
}
.tg-social___item:hover img{
    scale:1.1;
}
