/* 
Theme Name: Magic Scissors
Author: Natallia Holova
Description: Dedicated to the film "The Magic Scissors"
*/
@font-face {
  font-family: "WiGuru";
  src: url("/wp-content/themes/nazhnichki/assets/fonts/WiGuru/wiguru.woff2") format("woff2"), url("../fonts/WiGuru/wiguru.woff") format("woff");
}

/* noto-sans-regular - cyrillic-ext_latin */
@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 300;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_300.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 300;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_300_italic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_400.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 400;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_400_italic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 500;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_500.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 500;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_500_italic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 600;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_600.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 600;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_600_italic.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: 700;
  src: url("/wp-content/themes/nazhnichki/assets/fonts/NotoSans/Noto_sans_700_italic.woff2") format("woff2");
}

* {
  box-sizing: border-box;
}

body,
.body {
  margin: 0;
  font-family: "Noto Sans", "Arial", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: white;
  background-color: #857A71;
}

.body--page-404 {
  background-color: black;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  word-wrap: break-word !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

.title {
  margin: 0 auto 15px;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
}

h4 {
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
  line-height: 1.4;
  text-align: justify;

}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

figcaption {
  text-align: justify;
}

svg {
  width: 100%;
  height: 100%;
}

.center {
  width: 50.1%;
  margin: 0 auto;
}

main {
  margin-bottom: 40px;
}

.first-letter::first-letter {
  font-size: 26px;
  font-weight: 700;
}

.krehc {
  position: relative;
  display: inline-block;
  background-image: url(assets/img/krehc_white.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.krehc--h1 {
  width: 44px;
  height: 8.2vw;
}

.krehc--h2 {
  top: 7px;
  width: 20px;
  height: 48px;
  margin: -14px -15px 0 2px;
}

.krehc--h3 {
  top: 5px;
  width: 15px;
  height: 40px;
  margin-right: -11px;
  margin-left: 1px;
}

.krehc--subtitle-in-header {
  width: 1.5vw;
  height: 3.9vw;
}

#wpfront-scroll-top-container {
  width: 50px;
  height: 50px;
  border: 2px solid white;
  border-radius: 10px;
  background-color: transparent;
  overflow: hidden;
}

#wpfront-scroll-top-container>img {
  height: 75% !important;
  margin: 0 auto;
  transform: translateY(6px);
}

@keyframes moveArrowUp {
  35% {
    transform: translate(0, -140%);
  }

  51% {
    transform: translate(-100px, -140%);
  }

  52% {
    transform: translate(-100px, 200%);
  }

  53% {
    transform: translate(0, 200%);
  }

  100% {
    transform: translate(0, 6px);
  }
}

.music-preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* padding-top: 30px; */
  font-size: 18px;
  font-weight: 500;

  transform: rotateY(180deg);
  backface-visibility: hidden;
}

.music-preloader::after {
  content: '';
  position: absolute;
  top: 140px;
  left: 50%;
  width: 120px;
  height: 120px;
  background: #857A71 url(assets/img/stave.svg) no-repeat center center;
  background-size: contain;
  animation-name: rotation;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.music-preloader p {
  text-align: center;
  opacity: 1;
  animation-name: flick;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.music-preloader::after {
  content: '';
  position: absolute;
  top: 140px;
  left: 50%;
  width: 120px;
  height: 120px;
  background: url(assets/img/stave.svg) no-repeat center center;
  background-size: contain;
  animation-name: rotation;
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes rotation {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes flick {
  from {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.splider .splide--main {
  margin-bottom: 5px;
}

.splider .splide__track--nav>.splide__list>.splide__slide.is-active {
  border: 4px solid white;
}

.link {
  display: inline-block;
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.link--arrow {
  display: inline;
  font-weight: 700;
  cursor: pointer;
}

.link--arrow::after {
  position: relative;
  left: 4px;
  content: "";
  display: inline-block;
  width: 30px;
  height: 12px;
  background-image: url(assets/img/arrow-right.svg);
  background-repeat: no-repeat;
  background-position: 0 50%;
  background-size: contain;
  transition: left 0.25s ease-in-out;
}

.link--button {
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1vw;
  border-radius: 5px;
  box-shadow: inset 0 0 0 0 white;
  transition: box-shadow 0.25s ease-in-out;
}

.logos__wrapper {
  width: 135px;
}

.social {
  position: relative;
}

.social__wrapper {
  position: relative;
  width: 135px;
  height: 135px;
  background: url(assets/img/filmstripsvg.svg) no-repeat right center;
  background-size: contain;
}

.social__wrapper.hovered {
  animation: wheelRotate 1s linear 0s infinite;
}

.social__wrapper.hovered .social__icon {
  animation: iconlRotate 1s linear 0s infinite;
}

.social__wrapper.clicked {
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.social__wrapper.clicked .social__icon {
  animation-fill-mode: forwards;
  animation-play-state: paused;
}

.social__icon {
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: center center;
  transition: transform 0.25s ease-in-out;
}

.social__icon--yt {
  top: calc(50% - 16px);
  left: calc(50% - 16px);
  background-image: url(assets/img/yt.svg);
}

@keyframes wheelRotate {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes iconRotate {
  to {
    transform: rotate(360deg);
  }
}

.disclaimer {
  font-weight: 700;
}

.disclaimer__wrapper {
  height: 130px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  overflow: hidden;
}

.disclaimer__text {
  position: relative;
  top: 135px;
  left: 0;
  width: 100%;
  height: 100%;
  line-height: 1.6;
  -moz-text-align-last: center;
  text-align-last: center;
  text-align: justify;
}

.disclaimer__text.intersected {
  animation: translateText 5s linear 1s forwards;
}

@keyframes translateText {
  to {
    top: 10px;
  }
}

.header {
  height: 100svh;
  padding-top: 15svh;
  padding-bottom: 57px;
}

.header--english .header__title {
  letter-spacing: 0.64vw;
}

.header--english .header__description {
  letter-spacing: 0.31vw;
}

.header--english .krehc--h1 {
  margin-right: -30px;
}

.header--english .krehc--subtitle-in-header {
  top: 8px;
  margin-right: -15px;
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header__title-wrapper {
  display: block;
}

.header__title {
  position: relative;
  left: 5px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 1svh;
  font-family: "WiGuru", "Arial", sans-serif;
  text-shadow: 4px 5px 15px black;
  font-size: 6.3vw;
  line-height: 1.1;
  letter-spacing: 0.42vw;
  text-transform: uppercase;
}

.header__title .krehc {
  top: 5px;
}

.header__description {
  margin-bottom: 4svh;
  font-size: 2.7vw;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.16vw;
  text-shadow: 4px 5px 15px black;
}

.header__description+.wp-block-image {
  margin-bottom: 4svh;
}

.header__bottom-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__link-to-main-domain {
  font-size: 24px;
}

.header__arrow-down {
  position: relative;
  top: -46px;
  width: 70px;
  height: 42px;
  margin: 0 auto;
  background-image: url(assets/img/arrow-down.svg), url(assets/img/arrow-down.svg);
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 0 15px;
  background-size: contain;
  animation: bouncingArrowDown 2s cubic-bezier(0.73, 0.16, 0.25, 0.83) infinite alternate;
}

@keyframes bouncingArrowDown {
  to {
    top: -26px;
  }
}

.languages {
  display: flex;
}

.languages__item>a {
  font-size: 24px;
}

.languages__item:first-child {
  padding-right: 8px;
}

.main-nav {
  width: 100%;
  background-color: #857A71;
  box-shadow: 0 -2px 35px 3px white;
}

.main-nav__burger {
  display: none;
}

.main-nav__menu {
  display: flex;
  flex-wrap: wrap;
}

.main-nav__item {
  position: relative;
  width: 25%;
}

.main-nav__item:first-child>a:first-child::before {
  display: block;
}

.main-nav__item:last-child>a:last-child::after {
  display: none;
}

.main-nav__item:nth-child(2)>a {
  font-weight: 300;
}

.main-nav__item>a {
  position: relative;
  width: 100%;
  padding: 8px 15px 10px;
  font-size: 1.7vw;
  font-weight: 500;
  color: inherit;
}

.main-nav__item>a::before {
  display: none;
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: 15px;
  width: 20px;
  height: 10px;
  background: url(assets/img/triangle.svg) no-repeat;
  background-size: contain;
  transition: transform 0.25s ease-in-out;
}

.main-nav__item>a::after {
  content: "";
  position: absolute;
  top: calc((100% - 40px) / 2);
  right: 0;
  width: 2px;
  height: 40px;
  background-color: white;
}

.main-nav__submenu {
  position: absolute;
  top: 100%;
  z-index: 1;
  width: 100%;
  max-height: 0;
  background-color: #aeacab;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
}

.main-nav__submenu-item:last-child>a {
  border-bottom: none;
}

.main-nav__submenu-item>a {
  width: 100%;
  padding: 10px 15px;
  font-weight: 500;
  border-bottom: 2px solid white;
}

.main-nav__item.current-menu-item>a,
.main-nav__item.current-menu-ancestor>a,
.main-nav__submenu-item.current-menu-item>a {
  background-color: #35302D;
}

.footer {
  position: relative;
  display: flex;
  padding: 0 30px 30px;
}

.footer__item--center {
  width: 420px;
  margin: 0 auto;
}

.film {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.film__support-link {
  margin: 0 auto 15px;
  text-align: center;
}

.film .wp-block-embed__wrapper {
  margin-bottom: 15px;
  aspect-ratio: 16 / 9;
}

.film .wp-block-embed__wrapper iframe {
  width: 100%;
  height: 100%;
}

.music__carousel-wrapper {
  margin-bottom: 30px;
}

.music__list {
  width: 600px;
  height: 80px;
  margin: 0 auto;
}

.music__melody-title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55% !important;
  height: 70px !important;
  font-size: 25px;
  font-weight: 700;
  box-shadow: inset 0px 0px 5px 5px #fff;
  background-color: #857A71;
  border-radius: 5px;
  cursor: pointer;
  opacity: 1 !important;
  transition: box-shadow 0.25s ease-in-out;
}

.music__melody-title.active {
  box-shadow: inset 1px 2px 13px 9px #fff;
}

.music__melody-wrapper {
  position: relative;
  min-height: 450px;
  transform-style: preserve-3d;
  transition: transform .4s ease-in-out;
  transform: rotateY(-180deg)
}

.music__melody-wrapper.hide {
  transform: rotateY(0);
}

.music__video .wp-block-embed__wrapper {
  width: 300px;
  height: auto;
  aspect-ratio: 16 / 9;
}

.music__video .wp-block-embed__wrapper iframe {
  width: 100%;
  height: 100%;
}

.music__melody-passport {
  padding-top: 20px;
  backface-visibility: hidden;
  background-color: #857a71
}

.music__melody-passport i {
  display: block;
  margin-bottom: 10px
}

.music__melody-passport iframe {
  width: 300px;
  height: auto;
  aspect-ratio: 16/9
}

.music__melody-passport .link {
  font-weight: 700;
}

.backstage {
  position: relative;
  z-index: 2;
  /* padding: 50px 0 0; */
  letter-spacing: 0.4px;
}

.backstage__toggle {
  display: flex;
  margin-bottom: 70px;
}

.backstage__toggle li {
  flex-basis: 0;
  flex-grow: 1;
  border-left: 4px solid white;
  border-bottom: 4px solid white;
  border-bottom-left-radius: 10px;
}

.backstage__toggle a {
  display: block;
  padding: 10px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.backstage__toggle a:hover,
.backstage__toggle a.active {
  color: #857A71;
  background-color: white;
}

.backstage__toggle a:hover .krehc,
.backstage__toggle a.active .krehc {
  background-image: url(assets/img/krehc_brown.svg);
}

.backstage__toggle span {
  position: relative;
}

.backstage__toggle span>.krehc {
  position: absolute;
  top: -10px;
  right: -8px;
  width: 16px;
  height: 40px;
}

.backstage__container {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + 16px);
  margin: 0 -8px;
}

.backstage__card {
  position: relative;
  padding: 25px 20px 0;
  width: calc((100% - 40px) / 2);
  margin: 0 10px 80px;
  background-color: black;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.backstage__card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 25px;
  background: repeating-linear-gradient(-45deg, black, black 29px, #efefef 29px, #efefef 54px);
  transform: scale(1, -1);
  transform-origin: 0 0;
}

.backstage__card::after {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 12px;
  height: 12px;
  border: 10px solid black;
  border-radius: 50%;
}

.backstage iframe {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

.backstage__card-title {
  position: relative;
  padding: 15px 0 10px;
  margin-bottom: 15px;
  border-bottom: 2px solid white;
}

.backstage__card-title::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -20px;
  width: calc(100% + 40px);
  height: 25px;
  background: repeating-linear-gradient(-45deg, black, black 29px, #efefef 29px, #efefef 54px);
}

@keyframes clapperboardBoom {
  to {
    transform: scale(1, -1) rotate(35deg);
  }
}

@keyframes clapperboardOpen {
  to {
    transform: scale(1, -1) rotate(10deg);
  }
}

@keyframes shakeClapperboard {
  20% {
    top: 50px;
  }

  40% {
    top: -35px;
  }

  60% {
    top: 20px;
  }

  80% {
    top: -5px;
  }

  100% {
    top: 0;
  }
}

.project p:last-of-type {
  width: 63%;
  margin-left: auto;
}

.team h3 {
  margin-bottom: 5px;
  text-align: left;
}

.page-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 100vh;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
}

.page-404__warning {
  width: 350px;
  height: 350px;
  background-color: #ff0000;
  border-radius: 50%;
  border: 0.2em solid white;
}

.page-404__warning::before {
  content: "";
  float: left;
  width: 50%;
  height: 100%;
  shape-outside: polygon(0 0, 100% 0, 65% 2%, 30% 12%, 5% 30%, 0 50%, 5% 70%, 30% 88%, 65% 98%, 100% 100%, 0 100%);
  shape-margin: 2%;
}

.page-404__warning>p {
  width: 100%;
  height: 100%;
  text-align: inherit;
}

.page-404__warning>p::before {
  content: "";
  display: block;
  float: right;
  width: 50%;
  height: 100%;
  shape-outside: polygon(100% 0, 0 0, 35% 2%, 70% 12%, 95% 30%, 100% 50%, 95% 70%, 70% 88%, 35% 98%, 0 100%, 100% 100%);
  shape-margin: 2%;
}

.page-404__warning>p>span {
  position: relative;
  display: inline-block;
  margin-bottom: 23px;
  font-size: 90px;
  font-weight: 800;
  line-height: 1.2;
}

.page-404__warning>p>span::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: -13%;
  width: 130%;
  height: 2px;
  background: white;
}

.page-404__link-wrapper {
  width: 100%;
  margin: -140px auto 0;
  transform: skew(-30deg, 0);
}

.page-404__link-to-main {
  position: relative;
  display: inline-flex;
  width: 150px;
  height: 46px;
  transform: translate(0, 1px);
  box-shadow: 0 0 0 1px #c20000 inset, 1px 0 rgb(194, 0, 0), 1px 1px rgb(186, 0, 0), 2px 1px rgb(193, 0, 0), 2px 2px rgb(178, 0, 0), 3px 2px rgb(192, 0, 0), 3px 3px rgb(170, 0, 0), 4px 3px rgb(191, 0, 0), 4px 4px rgb(162, 0, 0), 5px 4px rgb(190, 0, 0), 5px 5px rgb(154, 0, 0), 6px 5px rgb(189, 0, 0), 6px 6px rgb(146, 0, 0), 7px 6px rgb(188, 0, 0), 7px 7px rgb(138, 0, 0), 8px 7px rgb(187, 0, 0), 8px 8px rgb(130, 0, 0);
}

.page-404__link-to-main span {
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 18px;
  font-weight: 500;
  color: #aeacab;
  background-color: #9b0000;
  animation: glowingSign 0.5s linear 0s infinite;
}

@keyframes glowingSign {
  0% {
    color: #efefef;
    background-color: #d40000;
    box-shadow: 1px 1px 5px red2;
  }

  50% {
    color: white;
    background-color: #ff0000;
    box-shadow: 1px 1px 20px #ff0000;
  }

  100% {
    color: #efefef;
    background-color: #d40000;
    box-shadow: 1px 1px 5px red2;
  }
}

@media (hover: hover) and (pointer: fine) {
  #wpfront-scroll-top-container:hover img {
    animation: moveArrowUp 1.4s linear infinite;
  }

  .link--usual:hover {
    color: #35302D;
    text-shadow: 2px -2px 4px #35302D;
  }

  .link--arrow:hover::after {
    left: 10px;
  }
	
  .link--button:hover {
    box-shadow: inset 0 0 10px 5px white;
  }

  .social__icon:hover {
    transform: scale(1.3);
    z-index: 5;
  }

  .main-nav__item:hover>a::before {
    transform: rotate(180deg);
  }

  .main-nav__item:hover .main-nav__submenu {
    max-height: 200px;
  }

  .main-nav__item>a:hover,
  .main-nav__item.current-menu-item>a,
  .main-nav__item.current-menu-ancestor>a,
  .backstage .menu-item-object-genres>a {
    background-color: #35302D;
  }

  .main-nav__submenu-item>a:hover,
  .main-nav__submenu-item.current-menu-item>a {
    background-color: #35302D;
  }

  .backstage__card:hover::before {
    animation: clapperboardBoom 0.25s ease-out, clapperboardOpen 0.25s ease-out 0.3s forwards;
  }

  .backstage__card:hover {
    animation: shakeClapperboard 0.25s linear 0.25s forwards;
  }
	
  .page-404__link-to-main:hover {
    transform: translate(7px, 8px);
    box-shadow: none;
  }

  .page-404__link-to-main:hover span {
    animation: none;
  }
}

@media (max-width: 1199px) {

  body,
  .body {
    padding: 0 30px;
    font-size: 14px;
  }

  .body--no-scroll {
    overflow: hidden;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  .center {
    width: 70%;
  }

  main {
    margin-bottom: 30px;
  }

  .first-letter::first-letter {
    font-size: 20px;
  }

  .krehc--h1 {
    width: 32px;
    height: 85px;
  }

  .krehc--h2 {
    height: 40px;
    margin: -13px -14px 0 0;
  }

  .krehc--h3 {
    top: 7px;
  }

  .krehc--h3 {
    top: 5px;
    width: 12px;
    height: 36px;
    margin-right: -9px;
  }

  .krehc--subtitle-in-header {
    width: 12px;
    height: 32px;
  }

  #wpfront-scroll-top-container {
    bottom: 195px !important;
    right: 60px !important;
    width: 40px;
    height: 40px;
  }

  .burger {
    flex-wrap: wrap;
    align-content: space-between;
    width: 40px;
    height: 25px;
    top: 22px;
    right: 6px;
    cursor: pointer;
    transition: transform 0.25s ease-in-out;
  }

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

  .burger::before,
  .burger::after,
  .burger span {
    width: 100%;
    height: 4px;
    background-color: white;
    transition: transform 0.25s ease-in-out;
  }

  .burger::before {
    transform-origin: 50% 100%;
  }

  .burger::after {
    transform-origin: 0 50%;
  }

  .burger.active {
    transform: rotate(180deg);
  }

  .burger.active span {
    transform: scaleX(0);
  }

  .burger.active::before {
    transform: rotate(45deg) translate(6px, 7px);
  }

  .burger.active::after {
    transform: rotate(-45deg) translate(2px, 7px);
  }

  .music-preloader {
    padding-top: 15px;
    font-size: 16px;
  }

  .music-preloader::after {
    /* top: 110px; */
    width: 100px;
    height: 100px;
  }
	
  .link--button {
    font-size: 14px;
    padding: 7px 10px;
  }

  .logos__wrapper {
    width: 100px;
  }

  .social__wrapper {
    width: 100px;
    height: 100px;
  }

  .social__icon {
    width: 26px;
    height: 26px;
  }

  .social__icon--yt {
    top: calc(50% - 13px);
    left: calc(50% - 13px);
  }

  .disclaimer__wrapper {
    font-size: 12px;
  }

  .disclaimer__text {
    top: 160px;
  }

  .header {
    min-height: 550px;
  }

  .header--english .header__title {
    letter-spacing: 0.89vw;
  }

  .header--english .header__description {
    letter-spacing: 0.42vw;
  }

  .header--english .krehc--h1 {
    margin-right: -20px;
  }

  .header--english .krehc--subtitle-in-header {
    top: 4px;
    margin-right: -6px;
    margin-left: 2px;
  }

  .header__title {
    font-size: 62px;
    line-height: 1.3;
    letter-spacing: 0.58vw;
  }

  .header__description {
    font-size: 26px;
    letter-spacing: 0.26vw;
  }
	
  .header__description+.wp-block-image {
    margin-bottom: 6svh;
  }

  .header__link-to-main-domain {
    font-size: 20px;
  }

  .header__arrow-down {
    top: -30px;
    width: 60px;
    height: 36px;
  }

  @keyframes bouncingArrowDown {
    to {
      top: -10px;
    }
  }

  .languages__item>a {
    font-size: 22px;
  }

  .main-nav {
    padding: 15px 0 13px;
  }

  .main-nav__burger {
    display: flex;
    margin: 0 30px 0 auto;
  }

  .main-nav__wrapper {
    position: relative;
    top: 13px;
    height: calc(100svh - 52px);
    max-height: 0;
    overflow: auto;
    transition: max-height 0.25s ease-in-out;
  }

  .main-nav__wrapper.opened {
    max-height: 100svh;
  }

  .main-nav__menu {
    display: block;
  }

  .main-nav__item {
    width: auto;
  }

  .main-nav__item:first-child>a:first-child::before {
    display: none;
  }

  .main-nav__item>a {
    font-size: 18px;
  }

  .main-nav__item>a::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 2px;
  }

  .main-nav__submenu {
    position: static;
    max-height: none;
  }

  .main-nav__submenu-item>a {
    border-bottom-width: 1px;
  }

  .footer {
    align-items: flex-start;
    padding: 0 0 30px;
  }

  .footer__item--center {
    width: 350px;
  }

  .film {
    font-size: 13px;
  }

  .film .wp-block-embed__wrapper {
    margin-bottom: 10px;
  }

  .music__carousel-wrapper {
    margin-bottom: 10px;
  }

  .music__list {
    width: 495px;
    height: 60px;
  }

  .music__melody-title {
    width: 270px !important;
    height: 50px !important;
    font-size: 20px;
    font-weight: 600;
  }

  .music__melody-wrapper {
    min-height: 350px
  }

  .backstage {
    padding: 30px 0 0;
  }

  .backstage__toggle li {
    border-width: 3px;
    border-bottom-left-radius: 6px;
  }

  .backstage__toggle a {
    padding: 6px;
    font-size: 18px;
  }

  .backstage__toggle span>.krehc {
    width: 14px;
    height: 36px;
  }

  .backstage__container {
    display: block;
    width: 70%;
    margin: 0 auto;
  }

  .backstage__card {
    width: 100%;
    padding: 20px 15px 1px;
    /* 1px - да, критично, иначе выпадает margin - блочная модель */
    margin: 0 0 60px;
  }

  .backstage__card::before {
    height: 20px;
  }

  .backstage__card::after {
    top: -14px;
    left: -14px;
    width: 8px;
    height: 8px;
  }

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

  .backstage__card-title::before {
    top: -20px;
    left: -15px;
    width: calc(100% + 30px);
    height: 20px;
  }

  .backstage__card-text {
    font-size: 14px;
  }

  .project p:last-of-type {
    width: 70%;
  }

  .page-404 {
    font-size: 18px;
  }

  .page-404__warning {
    width: 270px;
    height: 270px;
  }

  .page-404__warning>p>span {
    margin-bottom: 15px;
    font-size: 64px;
  }

  .page-404__link-wrapper {
    width: 80%;
  }
}

@media (max-width: 767px) {

  body,
  .body {
    padding: 0 10px;
    font-size: 14px;
  }

  h2 {
    font-size: 15px;
  }

  h3 {
    font-size: 14px;
  }

  .center {
    width: auto;
    max-width: 600px;
  }

  main {
    margin-bottom: 60px;
  }

  .krehc--h1 {
    width: 19px;
    height: 51px;
  }

  .krehc--h2 {
    top: 6px;
    width: 13px;
    height: 34px;
    margin: -11px -10px 0 1px;
  }

  #wpfront-scroll-top-container {
    bottom: 225px !important;
    right: 10px !important;
    opacity: 1 !important;
  }

  .music-preloader {
    padding-top: 10px;
    font-size: 14px;
  }

  .music-preloader::after {
    top: 95px;
    width: 90px;
    height: 90px;
  }

  .splider {
    width: calc(100% + 20px);
    margin: 0 -10px;
  }

  .link--arrow {
    padding-right: 24px;
  }

  .link--arrow::after {
    width: 26px;
    height: 10px;
  }

  .logos__wrapper {
    width: 80px;
  }

  .social__wrapper {
    width: 80px;
    height: 80px;
  }

  .disclaimer {
    padding-right: 15px;
  }

  .disclaimer__wrapper {
    height: 165px;
  }

  .disclaimer__text {
    top: 165px;
    text-align: left !important;
    -moz-text-align-last: auto;
    text-align-last: auto;
  }

  .header {
    padding-top: 17svh;
  }

  .header figure {
    margin-bottom: 5svh;
  }

  .header--english .header__title {
    letter-spacing: 0.9vw;
  }

  .header--english .header__description {
    letter-spacing: 0.8vw;
  }

  .header--english .krehc--h1 {
    margin-right: -8px;
  }

  .header--english .krehc--subtitle-in-header {
    top: 5px;
    margin-right: -8px;
    margin-left: 1px;
  }

  .header__title {
    left: 0;
    margin-bottom: 2svh;
    font-size: 40px;
    letter-spacing: 0.5vw;
  }

  .header__title .krehc {
    top: 3px;
    margin-left: 2px;
  }

  .header__description {
    margin-bottom: 6svh;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.5vw;
  }

  .header figure {
    margin-bottom: 12svh;
  }

  .header__link-to-main-domain {
    font-size: 18px;
  }

  .header__arrow-down {
    width: 46px;
    height: 28px;
    background-position: 0 0, 0 10px;
  }

  .header__languages {
    top: -42px;
  }

  .languages__item>a {
    font-size: 20px;
  }

  .languages__item:first-child {
    padding-right: 10px;
  }

  .main-nav {
    letter-spacing: 0.8px;
  }

  .main-nav__burger {
    margin-right: 15px;
  }

  .main-nav__item>a {
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
  }

  .main-nav__submenu-item>a {
    padding: 7px 15px;
    font-weight: 400;
  }

  .footer {
    padding: 0 0 50px;
  }

  .footer__item--left {
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 80px;
  }

  .footer__item--center {
    margin: 0;
    margin-right: auto;
  }

  .film {
    font-size: 12px;
  }

  .film .wp-block-embed__wrapper {
    width: calc(100% + 20px);
    margin: 0 -10px 5px;
  }

  .music__carousel-wrapper {
    width: calc(100% + 20px);
    margin: 0 -10px 15px;
  }

  .music__list {
    width: 100%;
    height: 50px;
  }

  .music__melody-title {
    width: 235px !important;
    height: 40px !important;
    font-size: 17px;
  }

  .music__melody-title.active {
    box-shadow: inset 0 0 8px 6px #fff;
  }

  .music__melody-passport {
    width: calc(100% + 20px);
    margin: 0 -10px;
    padding-top: 15px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .music__melody-passport iframe {
    width: 100%
  }

  .music__video .wp-block-embed__wrapper {
    width: auto;
  }

  .backstage {
    padding: 21px 5px 0;
  }

  .backstage__toggle {
    width: calc(100% + 20px);
    margin: 0 -10px 70px;
  }

  .backstage__toggle li {
    border-width: 2px;
    border-bottom-left-radius: 4px;
  }

  .backstage__toggle li:first-child {
    border-left: none;
    border-radius: 0;
  }

  .backstage__toggle li:nth-child(2) span {
    left: -6px;
  }

  .backstage__toggle a {
    font-size: 16px;
  }

  .backstage__toggle span>.krehc {
    width: 12px;
    height: 31px;
    right: -6px;
  }

  .backstage__container {
    width: auto;
    max-width: 450px;
  }

  .backstage__card {
    margin-bottom: 50px;
  }

  .backstage__card::after {
    top: -12px;
    border-width: 8px;
  }

  .backstage__card-title {
    padding: 8px 0;
    font-size: 16px;
  }

  .project p:last-of-type {
    width: 80%;
  }

  .team h3 {
    font-size: 16px;
  }

  .page-404 {
    font-size: 15px;
  }

  .page-404__warning {
    width: 220px;
    height: 220px;
  }

  .page-404__warning>p>span {
    font-size: 48px;
  }

  .page-404__warning>p>span::after {
    bottom: -5px;
  }

  .page-404__link-to-main {
    width: 120px;
    height: 30px;
  }

  .page-404__link-to-main span {
    padding: 2px;
    font-size: 15px;
  }
}