/* ============================================
  Base Styles
  ============================================ */

:root {
  --container-padding: 115px;
  --collor-pink: #ff0074;
  --collor-green: #5ef92b;
  --collor-yellow: #f3ff06;
  --collor-orange: #ffb600;
  --collor-cyan: #39fbfd;
  --text-shadow-white: 0.03em -0.03em #39fbfd, 0.06em -0.06em #0002fb,
    -0.04em 0.03em #fefe05, -0.06em 0.06em #ff0074 !important;
}

.container {
  margin: 0 auto;
  box-sizing: content-box;
  max-width: calc(1430px + 2 * var(--container-padding));
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.grid {
  display: grid;
}

/* ============================================
  Header Main
  ============================================ */

.header-main .container {
  margin: 0 auto;
  box-sizing: content-box;
  max-width: calc(1335px + 2 * var(--container-padding));
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

body.scroll-down.is-scrolled .header-main {
  transform: translateY(-100%);
}

.page-container header.header-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  transition: transform 0.3s;
  will-change: transform;
}

header.header-main.fixed {
  -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.88);
}

.page-container header.header-main .grid {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 118px;
  padding-right: 23px;
}

.page-container header.header-main .grid .logo-filter-wrap .filter-wrap button {
  border: 0 !important;
  background-color: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  color: #414141;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  font-weight: 300;
  font-size: 17px;
}

.page-container header.header-main .grid .logo-filter-wrap .filter-wrap button.active,
.page-container header.header-main .grid .logo-filter-wrap .filter-wrap button:hover {
  color: #000;
}

.page-container header.header-main .grid .logo-filter-wrap .filter-wrap button.active {
  pointer-events: none;
  font-weight: 700;
}

.page-container header.header-main .grid .logo-filter-wrap .filter-wrap button[data-portfolio="artworks"] {
  color: #531b93;
  font-weight: 700;
}

.page-container header.header-main .grid .bg-menu-close {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  pointer-events: none;
}

.page-container header.header-main .grid .bg-menu-close.active {
  opacity: 1;
  pointer-events: auto;
}

.page-container header.header-main .grid .menu-wrap {
  pointer-events: auto;
  justify-self: self-end;
}

.page-container header.header-main .grid .menu-wrap button.menu {
  display: block;
  border: 0;
  padding: 5px 25px;
  width: 57px;
  height: 43px;
  position: relative;
  background-color: transparent;
  right: -30px;
  top: -3px;
}

.page-container header.header-main .grid .menu-wrap button.menu.active {
  opacity: 0;
  pointer-events: none;
}

.page-container header.header-main .grid .menu-wrap button.menu span {
  display: block;
  position: absolute;
  height: 7px;
  background-color: #000;
  left: 25px;
  right: 25px;
}

.page-container header.header-main .grid .menu-wrap button.menu span:nth-child(1) {
  top: 5px;
}

.page-container header.header-main .grid .menu-wrap button.menu span:nth-child(2) {
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.page-container header.header-main .grid .menu-wrap button.menu span:nth-child(3) {
  bottom: 5px;
}

.is-about header.header-main,
.is-contacts header.header-main {
  background-color: rgba(255, 255, 255, 0);
}

.vr-header .header-main .grid {
  display: flex;
  justify-content: space-between;
  height: clamp(60px, 12.378vw - 19.8px, 237px);
}

.vr-header header.header-main .grid .menu-wrap button.menu {
  top: clamp(28px, 3.497vw + 14.962px, 78px);
}

.vr-header .header-main.fixed {
  background-color: transparent !important;
}

.vr-header .header.header-main.fixed {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.header-main .logo-wrap img.logo-unsubscribe {
  display: none;
  height: 60px;
  top: 18px;
  left: 61px;
  width: auto;
  position: absolute;
}

.header-main .logo-wrap img.logo-unsubscribe.active {
  display: block;
}

/* ============================================
  Logo Wrap
  ============================================ */

.logo-wrap {
  position: relative;
}

.logo-wrap img {
  margin-top: 10px;
  height: clamp(102px, 4.406vw + 65.698px, 165px);
  width: auto;
}

.logo-wrap picture {
  display: none;
}

.logo-wrap picture.active {
  display: inline;
}

.logo-wrap .logo-img {
  position: absolute;
  width: auto;
}

.logo-wrap .logo-bubble {
  height: 61px;
  top: 17px;
  left: 55px;
}

.logo-wrap .logo-stairs {
  height: 89px;
  top: 10px;
  left: 54px;
}

.logo-wrap .logo-clouds {
  height: 79px;
  top: 9px;
  left: 11px;
}

/* ============================================
  Matter Element
  ============================================ */

.dm-matter-elem {
  pointer-events: none;
  white-space: nowrap;
}

/* ============================================
  Hero Section
  ============================================ */

.hero-logo__icon {
  z-index: 10;
  top: 6rem;
}

.hero__content {
  padding-bottom: 20.125rem;
}

.hero-container__menu {
  display: flex;
  position: relative;
  justify-content: end;
  align-items: center;
  position: absolute;
  right: 100px;
  top: 10rem;
  z-index: 10;
}

.hero-container__menu button.menu {
  display: block;
  border: 0;
  padding: 5px 25px;
  width: 57px;
  height: 43px;
  position: relative;
  background-color: transparent;
}

.hero-container__menu button.menu.active {
  opacity: 0;
  pointer-events: none;
}

.hero-container__menu button.menu span {
  display: block;
  position: absolute;
  height: 7px;
  background-color: #000;
  left: 25px;
  right: 25px;
}

.hero-container__menu button.menu span:nth-child(1) {
  top: 5px;
}

.hero-container__menu button.menu span:nth-child(2) {
  top: 50%;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.hero-container__menu button.menu span:nth-child(3) {
  bottom: 5px;
}

.hero-container__menu button.menu {
  width: calc(57px + (61 - 57) * (100vw - 992px) / (1920 - 992));
  height: calc(43px + (62 - 43) * (100vw - 992px) / (1920 - 992));
}

.hero-container__menu button.menu span {
  height: calc(7px + (11 - 7) * (100vw - 992px) / (1920 - 992));
}

/* ============================================
  Language Switcher
  ============================================ */

.menu-wrap {
  position: relative;
}

.lng-switcher {
  position: absolute;
  right: 45px;
  top: 15px;
  font-weight: 700;
  font-size: 25px;
}

.language-switcher {
  display: flex;
  line-height: 1;
}

.current-lang {
  color: #5ef92b;
}

.current-lang a:hover {
  color: #5ef92b !important;
}

.language-switcher li:first-child {
  border-right: 4px solid #000;
  margin-right: 7px;
  padding-right: 7px;
}

.lng-switcher-menu {
  position: absolute;
  right: 95px;
  top: 11vh;
}

.lng-switcher-menu a {
  font-size: 25px;
  font-weight: 700;
}

.lng-switcher-menu ul {
  font-size: 25px !important;
}

.lng-switcher-menu .language-switcher {
  display: flex;
  line-height: 1 !important;
}

.lng-switcher-menu .current-lang a:hover {
  color: #5ef92b !important;
}

.lng-switcher-menu .current-lang a {
  color: #5ef92b !important;
}

.lng-switcher-menu .language-switcher li:first-child {
  border-right: 4px solid #fff;
  margin-right: 7px;
  padding-right: 7px;
}

.vr-header .lng-switcher {
  top: 93px;
}

/* ============================================
  Menu Items & Hover Effects
  ============================================ */

.menu-items .orange:hover {
  color: var(--collor-orange);
}

.menu-items .yellow:hover {
  color: var(--collor-yellow);
}

.menu-items .green:hover {
  color: var(--collor-green);
}

.menu-items .cyan:hover {
  color: var(--collor-cyan);
}

.menu-items .pink:hover {
  color: var(--collor-pink);
}

.menu-items .color3d:hover {
  color: #fff;
  font-weight: 600;
  text-shadow: var(--text-shadow-white);
}

.menu-items .rainbow {
  position: relative;
}

#get-in-touch:hover * {
  color: var(--collor-pink);
}

/* ============================================
  Portfolio Slider
  ============================================ */

.portfolio__slider {
  border: none !important;
}

.portfolio__slider::after {
  background-color: transparent !important;
}

.portfolio__slider .swiper-slide::after {
  background-color: transparent !important;
}

/* ============================================
  Media Queries - Desktop (1921px+)
  ============================================ */

@media only screen and (min-width: 1921px) {
  .logo-wrap .logo-bubble {
    height: 116px;
    top: 31px;
    left: 105px;
  }

  .logo-wrap .logo-stairs {
    height: 169px;
    top: 19px;
    left: 104px;
  }

  .logo-wrap .logo-clouds {
    height: 150px;
    top: 17px;
    left: 21px;
  }

  .logo-wrap {
    left: -20px;
  }

  .page-container header.header-main .grid {
    grid-template-rows: 234px;
  }

  .page-container header.header-main .grid .menu-wrap button.menu {
    width: 61px;
    height: 62px;
  }

  .page-container header.header-main .grid .menu-wrap button.menu span {
    height: 11px;
  }

  .header-main .logo-wrap img.logo-unsubscribe {
    height: 130px;
    top: 31px;
    left: 115px;
    width: auto;
    position: absolute;
  }
}

/* ============================================
  Media Queries - Desktop (993px - 1920px)
  ============================================ */

@media only screen and (min-width: 993px) {
  .logo-wrap .logo-bubble {
    height: calc(61px + (116 - 61) * (100vw - 993px) / (1920 - 993));
    top: calc(17px + (31 - 17) * (100vw - 993px) / (1920 - 993));
    left: calc(55px + (105 - 55) * (100vw - 993px) / (1920 - 993));
  }

  .logo-wrap .logo-stairs {
    height: calc(89px + (169 - 89) * (100vw - 993px) / (1920 - 993));
    top: calc(10px + (19 - 10) * (100vw - 993px) / (1920 - 993));
    left: calc(54px + (104 - 54) * (100vw - 993px) / (1920 - 993));
  }

  .logo-wrap .logo-clouds {
    height: calc(79px + (150 - 79) * (100vw - 993px) / (1920 - 993));
    top: calc(9px + (17 - 9) * (100vw - 993px) / (1920 - 993));
    left: calc(11px + (21 - 11) * (100vw - 993px) / (1920 - 993));
  }

  .page-container header.header-main .grid {
    grid-template-rows: calc(118px + (234 - 118) * (100vw - 992px) / (1920 - 992));
    padding-left: 0;
    padding-right: 0;
  }

  .page-container header.header-main .grid .menu-wrap button.menu {
    width: calc(57px + (61 - 57) * (100vw - 992px) / (1920 - 992));
    height: calc(43px + (62 - 43) * (100vw - 992px) / (1920 - 992));
  }

  .page-container header.header-main .grid .menu-wrap button.menu span {
    height: calc(7px + (11 - 7) * (100vw - 992px) / (1920 - 992));
  }

  .is-contacts .page-container header.header-main .grid {
    grid-template-rows: clamp(50px, 2.797vw + 39.65px, 90px);
    padding-left: 0;
    padding-right: 0;
  }

  .header-main .logo-wrap img.logo-unsubscribe {
    height: calc(61px + (130 - 61) * (100vw - 993px) / (1920 - 993));
    top: calc(13px + (31 - 17) * (100vw - 993px) / (1920 - 993));
    left: calc(55px + (115 - 55) * (100vw - 993px) / (1920 - 993));
  }
}

@media only screen and (max-width: 1920px) {
  .page-container header.header-main .grid .logo-filter-wrap .filter-wrap button {
    font-size: calc(0.05208319727891156vw * 17);
  }
}

@media screen and (max-width: 1600px) {
  .vr-header .lng-switcher {
    top: clamp(40px, 3.706vw + 26.286px, 93px);
  }
}

/* ============================================
  Media Queries - Tablet (max-width: 1155px)
  ============================================ */

@media screen and (max-width: 1155px) {
  :root {
    --container-padding: 35px;
  }
}

@media screen and (max-width: 1140px) {
  .lng-switcher {
    top: 7px;
    right: 30px;
  }
}

@media screen and (max-width: 990px) {
  .hero-container__menu button.menu {
    width: calc(57px + (61 - 57) * (100vw - 992px) / (1920 - 992));
    height: calc(43px + (62 - 43) * (100vw - 992px) / (1920 - 992));
  }

  .hero-container__menu button.menu span {
    height: calc(7px + (11 - 7) * (100vw - 992px) / (1920 - 992));
  }
}

@media only screen and (max-width: 992px) {
  .page-container header.header-main .grid .logo-filter-wrap .filter-wrap button {
    font-size: 13px;
  }
}

/* ============================================
  Media Queries - Mobile (max-width: 768px)
  ============================================ */

@media screen and (max-width: 768px) {
  .lng-switcher {
    font-weight: normal;
    font-size: 20px;
    right: 30px;
  }

  .language-switcher li:first-child {
    border-right: 2px solid #000;
    margin-right: 5px;
    padding-right: 5px;
  }

  .lng-switcher-menu {
    font-weight: normal;
    right: 76px;
    top: 50px;
  }

  .lng-switcher-menu a {
    font-size: 20px !important;
  }

  .lng-switcher-menu ul {
    font-size: 20px !important;
  }

  .lng-switcher-menu .language-switcher li:first-child {
    border-right: 2px solid #fff;
    padding-right: 5px;
  }

  .hero-container__menu {
    margin-left: 20px;
    right: 20px;
    top: 3rem;
  }

  .hero-container__menu button.menu {
    right: 20px;
  }

  :root {
    --container-padding: 15px;
  }
}

@media (max-width: 767.98px) {
  .hero-logo__icon {
    top: 2.6875rem;
  }

  .hero__content {
    padding-top: 12.75rem;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero-logo {
    top: 9.6875rem;
  }
}

/* ============================================
  Media Queries - Small Mobile (max-width: 540px)
  ============================================ */

@media screen and (max-width: 540px) {
  .hero-container__menu {
    margin-left: 10px;
    right: 0px;
    top: 3rem;
  }

  .hero-container__menu button.menu {
    right: 10px;
  }
}

/* ============================================
  Media Queries - Extra Small Mobile (max-width: 500px)
  ============================================ */

@media screen and (max-width: 500px) {
  .page-container header.header-main .grid .menu-wrap button.menu span {
    width: 4px;
    height: 4px;
  }

  .page-container header.header-main .grid .menu-wrap button.menu span:nth-child(1) {
    top: 11px;
  }

  .page-container header.header-main .grid .menu-wrap button.menu span:nth-child(3) {
    bottom: 12px;
  }

  .contacts-p header.header-main .grid .menu-wrap button.menu,
  .coockies-p .page-container header.header-main .grid .menu-wrap button.menu {
    display: block;
    border: 0;
    padding: 0px;
    width: 4px;
    height: 20px;
    position: relative;
    background-color: transparent;
    right: 0px;
    left: auto;
    top: auto;
    bottom: -41px;
  }

  .contacts-p header.header-main .grid,
  .coockies-p .page-container header.header-main .grid {
    padding-right: 0;
  }

  .contacts-p header.header-main .grid .menu-wrap button.menu span,
  .coockies-p .page-container header.header-main .grid .menu-wrap button.menu span {
    width: 4px;
    height: 4px;
    left: 0;
    right: auto;
  }

  .contacts-p header.header-main .grid .menu-wrap button.menu span:nth-child(1),
  .coockies-p .page-container header.header-main .grid .menu-wrap button.menu span:nth-child(1) {
    top: 0;
    bottom: auto;
  }

  .contacts-p header.header-main .grid .menu-wrap button.menu span:nth-child(3),
  .coockies-p .page-container header.header-main .grid .menu-wrap button.menu span:nth-child(3) {
    bottom: 0;
    top: auto;
  }

  .contacts-p header.header-main .grid,
  .coockies-p .page-container header.header-main .grid {
    display: flex;
    justify-content: space-between;
    height: 60px;
  }
}

/* ============================================
  Media Queries - Extra Small Mobile (max-width: 450px)
  ============================================ */

@media screen and (max-width: 450px) {
  .lng-switcher-menu {
    font-weight: normal;
    right: 47px;
    top: 54px;
  }

  .lng-switcher-menu a {
    font-size: 20px !important;
  }

  .lng-switcher-menu ul {
    font-size: 20px !important;
  }

  .lng-switcher-menu .language-switcher li:first-child {
    border-right: 2px solid #fff;
    margin-right: 5px;
    padding-right: 5px;
  }
}
