:root {
  --white: #fff;
  --black: #000;
  --main: #58595b;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Poppins-Medium";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Parisienne";
  src: url("../fonts/Parisienne-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Rosarivo";
  src: url("../fonts/Rosarivo-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "DMSans";
  src: url("../fonts/DMSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--main);
  margin: 0;
  min-width: 320px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}

.disable-scroll {
  overflow-y: hidden;
}

.is-outer {
  position: relative !important;
  left: -9999px !important;
}

.site-container {
  overflow: hidden;
}

.for-mobile {
  display: none;
}

.error {
  border: 2px #ff4019 solid !important;
}

.btn-reset {
  border: none;
  background: rgba(0, 0, 0, 0);
  cursor: pointer;
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

.header {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  height: 100vh;
  background: url("../images/bg.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-position: top;
}
.header__top {
  height: 91px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 37px;
}
.header__bottom {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}
.header__bottom-text {
  color: var(--white);
  margin-bottom: 10px;
}
.header__stories {
  overflow: inherit;
}
.header__logo-img {
  position: fixed;
  z-index: 10;
}
.header__burger-container {
  display: none;
  background: transparent;
}
.header__burger-container--active {
  background-color: rgba(0, 0, 0, 0);
}
.header__menu-stories {
  position: relative;
  color: #6c7074;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}
.header__nav {
  display: flex;
  max-width: 100%;
  padding-left: 100px;
  flex-direction: row;
  justify-content: center;
  transition: all 0.5s ease-in-out;
}
.header__nav-menu {
  display: flex;
}
.header__nav-submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 30px;
  left: -60px;
  background: rgba(66, 66, 66, 0.63);
  border-radius: 3px;
  width: 179px;
  height: 173px;
  padding: 20px;
  transform-origin: 0 0;
  transform: rotateX(-90deg);
  transition: 0.3s linear;
  visibility: hidden;
  opacity: 0;
}
.header__nav-submenu:hover {
  visibility: visible;
  opacity: 1;
  transform: rotateX(0deg);
}
.header__nav-submenu:hover .header__menu-stories:hover::before {
  transform: translateY(-50%) rotate(-180deg);
  transition: all 0.5s ease-in-out;
}
.header__nav-book {
  font-family: "Inter";
  font-weight: 400;
  font-size: 16px;
  color: #6c7074;
  position: relative;
  border: 1px solid #6c7074;
  border-radius: 2px;
  padding: 12px 45px 12px 18px;
}
.header__nav-book::after {
  content: "";
  position: absolute;
  background-image: url(../images/calendar.svg);
  width: 20px;
  height: 20px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
.header__menu-item {
  position: relative;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
.header__menu-item:not(:last-child) {
  margin-right: 65px;
}
.header__menu-item:not(:last-child) .header__menu-item {
  margin-right: 0;
}
.header__menu-item:not(:last-child) .header__menu-link--sub:hover {
  color: #92a1c7;
}
.header__menu-item:nth-of-type(2) {
  position: relative;
}
.header__menu-item:nth-of-type(2):hover > .header__nav-submenu {
  visibility: visible;
  opacity: 1;
  transform: rotateX(0deg);
}
.header__menu-link {
  color: #6c7074;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}
.header__menu-link--sub {
  display: block;
  color: #afbac5;
  font-weight: 400;
  font-size: 16px;
  cursor: pointer;
}
.header__menu-link:not(:nth-child(2))::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: #6c7074;
  transition: width 0.3s ease-out;
}
.header__menu-link:hover::after {
  width: 100%;
}
.header__contact {
  height: auto;
  overflow-x: initial;
}
.header__gallery {
  position: relative;
  overflow-x: hidden;
  max-width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-position: top;
}
.header__name {
  width: 100%;
  color: var(--white);
  font-size: 40px;
  line-height: 75%;
  position: absolute;
  bottom: 62px;
  left: 50%;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}
.header__slider {
  overflow-y: hidden;
  height: 90.6vh;
}
.header__slider-item {
  overflow-y: hidden;
}
.header__slider-img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
}
.header .slick-slide img {
  height: 100vh;
  overflow-y: hidden;
}

.header__burger {
  color: #6c7074;
  background: transparent;
  border: none;
  outline: none;
  width: 60px;
  height: 54px;
  cursor: pointer;
}

.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  left: 22px;
  width: 23px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.header__burger::before {
  top: 15px;
}

.header__burger::after {
  top: calc(100% - 17px);
}

.header__burger-active .header__burger-line {
  transform: scale(0);
  transition: transform 0.3s ease-in-out;
}

.header__burger-active::before {
  transform: rotate(45deg);
  top: 50%;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.header__burger-active::after {
  transform: rotate(-45deg);
  top: 50%;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
}

.header__burger-line {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease-in-out;
}

.submenu-visible {
  visibility: visible;
  opacity: 1;
  transform: rotateX(0deg);
}

.description {
  padding: 80px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.description__title {
  font-family: "Rosarivo", sans-serif;
  font-size: 64px;
  color: #474b4f;
  margin-bottom: 25px;
  font-weight: 300;
}
.description__text {
  text-align: center;
  font-size: 24px;
}

.fancybox-image {
  pointer-events: none;
}

.intro {
  padding-top: 95px;
  text-align: center;
}
.intro__top {
  color: #474b4f;
  font-family: "Parisienne", sans-serif;
  font-size: 64px;
  margin-bottom: 30px;
}
.intro__description {
  font-size: 24px;
  color: #6c7074;
  margin-bottom: 80px;
}

.work__wrapper {
  padding: 0 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}

.work__case {
  position: relative;
  margin-bottom: 30px;
}

.work__case-img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
  object-fit: cover;
}

.work__case-name {
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
}

.work__case-more a {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  background: rgba(53, 50, 50, 0.54);
  border-radius: 2px;
  width: 150px;
  padding: 13px 57px 13px 21px;
  position: relative;
}
.work__case-more a::after {
  content: "";
  position: absolute;
  background-image: url(../images/right-arrow.svg);
  width: 22px;
  height: 12px;
  right: 21px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}
.work__case-more a:hover::after {
  transform: translateX(5px) translateY(-50%);
  transition: all 0.5s ease-in-out;
}

.work__case-1 {
  padding: 0 60px;
}

.work__case-full .work__case-link {
  height: 100vh;
  margin-bottom: 30px;
  position: relative;
  display: block;
  overflow: hidden;
}

.work__case-part .work__case-img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: inherit;
}

.work__case-part .work__case-link {
  height: 50vh;
  position: relative;
  display: block;
  overflow: hidden;
}

.work__case-half .work__case-subtitle {
  bottom: 4px;
}

.work__case-half .work__case-image-container {
  position: relative;
  max-width: 1140px;
  display: block;
  margin-bottom: 30px;
  margin: auto;
}

.work__case-half .work__case-link {
  position: relative;
  display: block;
  overflow: hidden;
}

.work__case-half .work__case-img {
  height: inherit;
}

.work__case-subtitle {
  position: absolute;
  bottom: 0;
  left: initial;
  right: initial;
  width: 214px;
  height: 123px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.14);
  border-radius: 0 2px 0 0;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 22px;
}

.stories {
  padding-top: 30px;
  border-top: 1px solid #000;
}
.stories__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.redirect {
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.redirect__link {
  font-size: 50px;
  display: inline-block;
  text-transform: uppercase;
  position: relative;
}
.redirect__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: rgba(0, 0, 0, 0.75);
  transition: width 0.5s ease-out;
}
.redirect__link:hover::after {
  width: 100%;
}

.contact {
  padding-top: 50px;
  padding-bottom: 50px;
}
.contact__title {
  font-size: 36px;
  line-height: 38px;
}
.contact__grid {
  display: grid;
  -moz-column-gap: 20px;
  column-gap: 40px;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 15px 0 40px;
  margin: 0 auto;
}
.contact__column {
  -ms-grid-column-span: 6;
  grid-column: 6 span;
}
.contact__img {
  width: 100%;
  height: 80vh;
  -o-object-fit: cover;
  object-fit: cover;
}

.about {
  padding-top: 50px;
}
.about__title {
  color: var(--black);
  font-family: "Rosarivo", sans-serif;
  font-size: 36px;
  line-height: 38px;
  font-weight: 300;
  padding-top: 200px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}
.about__subtitle {
  font-size: 24px;
  line-height: 26px;
  font-weight: 300;
  margin-bottom: 30px;
}
.about__grid {
  display: grid;
  -moz-column-gap: 20px;
  column-gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 15px;
  margin: 0 auto;
}
.about__column {
  -ms-grid-column-span: 6;
  grid-column: 6 span;
}
.about__text {
  font-size: 18px;
  line-height: 24px;
  text-indent: 10px;
  margin-bottom: 15px;
}
.about__img {
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
  object-fit: cover;
}

.gallery {
  padding: 100px 15px 0 15px;
}
.gallery__title {
  font-family: "Rosarivo", sans-serif;
  font-size: 36px;
  line-height: 38px;
  font-weight: 400;
  letter-spacing: normal;
  padding: 0 50px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}
.gallery__title::before {
  content: "";
  position: absolute;
  background-image: url(../images/vertical-line.svg);
  width: 5px;
  height: 40px;
  left: 0;
  top: 50%;
  opacity: 0.2;
  transform: translateY(-50%);
}
.gallery__title::after {
  content: "";
  position: absolute;
  background-image: url(../images/vertical-line.svg);
  width: 5px;
  height: 40px;
  right: 0;
  top: 50%;
  opacity: 0.2;
  transform: translateY(-50%);
}
.gallery__title-wrapper {
  position: relative;
  height: 50px;
  margin-bottom: 50px;
}
.gallery__title-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin: 0 auto;
  margin-bottom: 50px;
}
.gallery__title-left {
  margin-right: 50px;
}
.gallery__title-right {
  margin-left: 50px;
}
.gallery__description {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px 20px;
  text-align: center;
  color: var(--white);
  border-radius: 15px;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 30px;
}
.gallery__case {
  position: relative;
  margin-bottom: 30px;
}
.gallery__case-wrapper {
  padding: 0 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
}
.gallery__case-subtitle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: initial;
  width: 120px;
  height: 120px;
  background-color: #e8e8e8;
  color: #a6a8ab;
  font-size: 9px;
  line-height: 150%;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
.gallery__case-link {
  display: block;
  height: 60vh;
}
.gallery__case-img {
  width: 100%;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}
.gallery__case-full .work__case-link {
  height: 100vh;
  margin-bottom: 30px;
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery__case-part .work__case-img {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  height: inherit;
}
.gallery__case-part .work__case-link {
  height: 50vh;
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery__case-half .work__case-subtitle {
  bottom: 5px;
}
.gallery__case-half .work__case-image-container {
  position: relative;
  max-width: 1140px;
  display: block;
  margin-bottom: 30px;
  margin: auto;
}
.gallery__case-half .work__case-link {
  position: relative;
  display: block;
  overflow: hidden;
}
.gallery__case-half .work__case-img {
  height: inherit;
}

.masonry {
  padding: 35px;
  display: grid;
  grid-column-gap: 10px;
  grid-row-gap: 5px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 0;
}

.grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px 0 35px;
}

.grid:after {
  content: "";
  display: block;
  clear: both;
}

.grid-item {
  float: left;
  width: 30%;
  margin-right: 3px;
}

.photos__wrapper-half {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-bottom: 5px;
}

.photos__wrapper-half .photos__item {
  width: 50%;
}

.photos__wrapper-half .photos__item-link {
  height: 100%;
}

.photos__wrapper-half .photos__item-img {
  width: 100%;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

.photos__wrapper-two {
  max-width: 66.66%;
  margin: 0 auto;
  width: 100%;
  display: flex;
  margin-bottom: 5px;
}

.photos__wrapper-two .photos__item-link {
  height: 100%;
}

.photos__wrapper-two .photos__item {
  width: 48.5%;
}

.photos__wrapper-two .photos__item:not(:last-child) {
  margin-right: 3%;
}

.photos__wrapper-two .photos__item-img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.photos__container-triple {
  padding-top: 20px;
}

.photos__wrapper-triple {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 5px;
  gap: 2.5px;
}

.photos__wrapper-triple .photos__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photos__wrapper-triple .photos__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.photos__wrapper-triple .photos__item-img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
  width: auto;
}

.photos__wrapper-triple--center {
  max-width: 66.66%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 5px;
}

.photos__wrapper-triple--center .photos__item-link {
  height: 100%;
}

.photos__wrapper-triple--center .photos__item {
  width: 31.8888%;
}

.photos__wrapper-triple--center .photos__item:not(:last-child) {
  margin-right: 2.16666%;
}

.photos__wrapper-triple--center .photos__item-img {
  width: 100%;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

.photos__wrapper-triple--small {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 25px;
}

.photos__wrapper-triple--small .photos__item-link {
  height: 100%;
}

.photos__wrapper-triple--small .photos__item {
  width: 31.8888%;
}

.photos__wrapper-triple--small .photos__item:not(:last-child) {
  margin-right: 2.16666%;
}

.photos__wrapper-triple--small .photos__item-img {
  width: 100%;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

.photos__wrapper-triple--height {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 5px;
}

.photos__wrapper-triple--height .photos__item-link {
  height: 100%;
}

.photos__wrapper-triple--height .photos__item {
  width: 31.8888%;
}

.photos__wrapper-triple--height .photos__item:not(:last-child) {
  margin-right: 2.16666%;
}

.photos__wrapper-triple--height .photos__item-img {
  width: 100%;
  height: inherit;
  -o-object-fit: cover;
  object-fit: cover;
}

.photos__case__half .photos__item-item {
  -ms-grid-column-span: 6;
  grid-column: 6 span;
}

.photos__item-part {
  width: 66.6%;
  margin: 0 auto;
}

.photos__item-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  cursor: pointer;
}

.photos__item-half {
  -ms-grid-column-span: 6;
  grid-column: 6 span;
}

.stories__title {
  color: var(--black);
  font-family: "BlackMango";
  font-size: 36px;
  line-height: 38px;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-align: center;
}

.nav__title {
  color: var(--white);
}

.nav__subtitle {
  color: var(--white);
}

.stories__subtitle {
  font-size: 24px;
  line-height: 26px;
  margin-bottom: 50px;
  text-align: center;
}

.footer {
  padding: 50px 0;
  font-size: 14px;
  border-top: 1px solid #6c7074;
}
.footer__socials {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: -moz-fit-content;
  width: fit-content;
  gap: 25px;
  margin-bottom: 20px;
}
.footer__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
  align-items: center;
  gap: 15px;
}
.footer__rights {
  font-size: 14px;
  line-height: 129%;
  color: #6c7074;
}
.footer__col {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.footer__col-left {
  align-items: flex-start;
}
.footer__col-right {
  align-items: flex-end;
}
.footer__copyright {
  font-size: 14px;
  line-height: 129%;
  color: #6c7074;
}
.footer__rights-terms {
  font-family: "DMSans", sans-serif;
  line-height: 214%;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  cursor: pointer;
}
.footer__rights-line {
  font-family: "DMSans", sans-serif;
  font-size: 18px;
}
.footer__rights-privacy {
  font-family: "DMSans", sans-serif;
  line-height: 214%;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  cursor: pointer;
}
.footer__year {
  padding-right: 5px;
}

.form {
  display: flex;
  flex-wrap: wrap;
  -moz-column-gap: 24px;
  column-gap: 24px;
  row-gap: 30px;
}
.form__item {
  width: 100%;
}
.form__item-half {
  width: calc((100% - 24px) / 2);
}
.form__field {
  border: none;
  border-bottom: 1px solid #a9a9a9;
  width: 100%;
  height: 52px;
  background-color: rgba(0, 0, 0, 0);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6c7074;
}
.form__field:focus {
  outline: 2px dashed var(--black);
  outline-offset: 0px;
}
.form__item-label {
  font-family: "Rosarivo", sans-serif;
  font-weight: 400;
  font-size: 16px;
  text-transform: uppercase;
  color: #6c7074;
  padding: 0;
  margin: 0;
}
.form .textarea {
  border: none;
  border-bottom: 1px solid #5c5c5c;
  width: 100%;
  height: 100px;
  color: var(--black);
  background-color: rgba(0, 0, 0, 0);
  resize: none;
}
.form .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: none;
  border-radius: 2px;
  padding: 13px 37px;
  width: 257px;
  height: 57px;
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  background-color: #515253;
  transition: color 0.3s, background-color 0.3s;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  cursor: pointer;
}

.dropdown {
  display: inline-block;
  margin: 0 auto;
  position: relative;
}

.dropdown .dropdown__list {
  display: none;
  padding-bottom: 10px;
  width: -moz-fit-content;
  width: fit-content;
  background: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.35);
  padding: 5px;
  box-sizing: border-box;
  position: absolute;
  z-index: 10;
  top: 20px;
  left: -60px;
  background: rgba(66, 66, 66, 0.63);
  border-radius: 3px;
  width: 179px;
  height: 173px;
  padding: 20px;
}

.dropdown .dropdown__list a {
  display: block;
  text-decoration: none;
  color: #afbac5;
}

.dropdown:hover .dropdown__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.dropdown .dropdown__hover::after {
  content: "";
  position: absolute;
  background-image: url(../images/down-arrow.svg);
  width: 11px;
  height: 6px;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.5s ease-in-out;
}

.dropdown:hover .dropdown__hover::after {
  transform: translateY(-50%) rotate(-180deg);
  transition: all 0.5s ease-in-out;
}

.work__case a[data-pin-do="buttonPin"] {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: #fff;
    padding: 5px;
    border-radius: 5px;
}

.work__case:hover a[data-pin-do="buttonPin"] {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991.98px) {
  .header__nav-book {
    width: 90%;
  }
  .work__case-half .work__case-subtitle {
    bottom: 4px;
  }
  .redirect__link {
    font-size: 38px;
    line-height: 40px;
  }
  .about__title {
    padding-top: 0;
  }
  .about__img {
    height: auto;
  }
  .photos__wrapper-triple--center {
    max-width: 100%;
  }
  .photos__item-part {
    width: 85%;
  }
  .photos__wrapper-two {
    max-width: 100%;
  }
  .footer {
    padding: 25px 0 25px 0;
  }
  .footer__wrapper {
    grid-template-columns: 1fr;
  }
  .footer__col-right {
    align-items: center;
  }
  .footer__col-left {
    align-items: center;
  }
  .footer__col:nth-of-type(2) {
    order: -1;
  }
  .footer__col:nth-of-type(1) {
    order: 1;
  }
  .footer__col:nth-of-type(2) {
    order: 1;
  }
}
@media (max-width: 767.98px) {
  .grid-item {
    width: 45%;
  }
  .header__slider {
    height: 90vh;
  }
  .header__name {
    font-size: 36px;
    line-height: 83%;
  }
  .header__burger-container {
    display: block;
    position: fixed;
    top: 22px;
    right: 16px;
    z-index: 999;
  }
  .header__nav {
    display: none;
  }
  .header__nav-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 40%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  .header__nav--active {
    display: block;
  }
  .header__menu-item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 25px;
  }
  .header__top-book {
    display: none;
  }
  .header__nav--active {
    flex-direction: column;
    padding-left: 0;
    width: 100%;
  }
  .header__top--active {
    position: fixed;
    width: 100%;
    flex-direction: column;
    height: 100vh;
    transition: all 0.5s ease-in-out;
    z-index: 999;
  }
  .header__top--active img {
    padding-top: 45px;
  }
  .header__top--active .header__top-book {
    display: block;
  }
  .header__top--active .dropdown {
    text-align: center;
  }
  .header__top--active .dropdown .dropdown__list {
    display: none;
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
    background: initial;
    box-shadow: none;
    left: 0;
    top: 0;
  }
  .header__top--active .dropdown .dropdown__list--active {
    display: block;
  }
  .header__top--active .dropdown .dropdown__hover::after {
    display: none;
  }
  .header .dropdown {
    margin: inherit;
    margin-bottom: 0;
  }
  .header .dropdown .dropdown__list a {
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #6c7074;
  }
  .header .header__menu-link {
    font-weight: 500;
    font-size: 16px;
    color: #6c7074;
  }
  .header .header__menu-link--sub {
    margin-bottom: 30px;
  }
  .header .header__menu-stories {
    margin-bottom: 25px;
  }
  .header .hide {
    display: none;
  }
  .header .header__nav-book {
    bottom: 65px;
  }
  .header .work__case-part .work__case-link {
    height: 207px;
  }
  .gallery {
    padding-top: 50px;
  }
  .gallery__title {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    padding: 0 25px 0 25px;
    width: -moz-fit-content;
    width: fit-content;
  }
  .gallery__title-left {
    font-size: 13px;
    margin-right: 10px;
  }
  .gallery__title-right {
    font-size: 13px;
    margin-left: 10px;
  }
  .gallery__case-wrapper {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .gallery__title-wrapper {
    text-align: center;
  }
  .gallery__title-inner {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
  }
  .description__title {
    font-size: 48px;
  }
  .description__text {
    font-size: 16px;
  }
  .disable-scroll {
    overflow: hidden;
  }
  .intro {
    padding-left: 15px;
    padding-right: 15px;
  }
  .intro__top {
    font-size: 48px;
  }
  .intro__description {
    font-size: 16px;
  }
  .work__wrapper {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }
  .work__case {
    padding: 0 16px;
  }
  .work__case-subtitle {
    width: 134px;
    height: 73px;
    padding-left: 15px;
  }
  .work__case-name {
    font-size: 11px;
  }
  .work__case-more a {
    width: 98px;
    padding: 6px 34px 7px 10px;
    font-size: 12px;
  }
  .work__case-more a::after {
    background-image: url(../images/right-arrow-mobile.svg);
    width: 16px;
    height: 10px;
    right: 7px;
  }
  .work__case-half .work__case-subtitle {
    bottom: 3px;
  }
  .gallery__case-link {
    height: 350px;
  }
  .gallery__case-subtitle {
    width: 90px;
    height: 90px;
    bottom: 4px;
  }
  .about__grid {
    grid-template-columns: repeat(8, 1fr);
    row-gap: 40px;
  }
  .about__column {
    -ms-grid-column-span: 8;
    grid-column: 8 span;
  }
  .contact__grid {
    grid-template-columns: repeat(8, 1fr);
    row-gap: 40px;
    padding: 0 15px;
  }
  .contact__column {
    -ms-grid-column-span: 8;
    grid-column: 8 span;
  }
  .contact__column:nth-child(1) {
    order: 1;
  }
  .contact__img {
    height: auto;
  }
  .footer__email {
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
  }
  .footer__copyright {
    font-weight: 400;
    font-size: 11px;
    line-height: 164%;
  }
  .footer__year {
    padding-right: 0;
  }
  .footer__rights {
    font-weight: 400;
    font-size: 11px;
    line-height: 164%;
  }
  .footer__col-right {
    align-items: center;
    margin-bottom: 40px;
  }
  .footer__col-center {
    margin-bottom: 40px;
  }
  .footer__col-left {
    align-items: center;
  }
  .footer__col:nth-of-type(2) {
    order: -1;
  }
  .footer__col:nth-of-type(1) {
    order: 1;
  }
}
@media (max-width: 639.98px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid {
    padding: 0 13px 0 17px;
  }
  .header .video {
    height: 92vh;
  }
  .header__menu-link {
    font-size: 24px;
    line-height: 28px;
  }
  .header__nav-submenu {
    left: -164px;
    padding-left: 13px;
    padding-right: 5px;
  }
  .header__nav-submenu .header__menu-link {
    font-size: 16px;
    line-height: 20px;
  }
  .work__case-full .work__case-link {
    height: 207px;
  }
  .work__case-part .work__case-link {
    height: 207px;
  }
  .work__case-full .work__case-img {
    height: inherit;
  }
  .work__case-half .work__case-link {
    height: 50vh;
  }
  .work__case-half .work__case-subtitle {
    bottom: 0;
  }
  .stories__wrapper {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .redirect__link {
    font-size: 28px;
    line-height: 32px;
  }
  .events .gallery__case-subtitle {
    font-size: 6px;
  }
  .form__item-half {
    width: 100%;
  }
  .form__item-label {
    font-size: 14px;
  }
  .form__field {
    font-size: 14px;
  }
  .form .button {
    width: 100%;
    margin-top: 30px;
  }
  .contact__img {
    height: 50vh;
  }
  .about__img {
    height: 65vh;
  }
}
@media (max-width: 349.98px) {
  .grid-item {
    width: 90%;
  }
}/*# sourceMappingURL=main.css.map */