html {
  box-sizing: border-box;
  font-family: 'Open Sans';
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}
:focus-visible {
  outline: 0;
}
/* img {
  max-width: 100%;
} */
:root {
  --main-text: #333;
  --black: #000;
  --header-text: #fff;
  --btn-color: #9d5cd0;
  --seacrh-color: rgba(255, 255, 255, 0.85);
  --hover-color: #C283F3;
  --active-color: #7943A4;
  --btn-border: #D1A9F0;
  --select-list: #999;
  --bg-grey-color: #B7B7B7;
  --silver-color: #cacaca;
  --gap: calc(5px + (50 - 5) * ((100vw - 320px) / (1920 - 320)));
  --small-gap: 34px;
}
body {
  margin: 0;
}
p {
  margin: 0;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
li {
  text-align: start;
}
a {
  text-decoration: none;
  outline: none;
}
button:active, button:focus {
  outline: none;
}
button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
}
input[type=text]::-ms-clear {  display: none; width : 0; height: 0; }
input[type=text]::-ms-reveal {  display: none; width : 0; height: 0; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration { display: none; }
input, textarea {
  border: none;
  outline: none;
}
input::-webkit-input-placeholder       {opacity: 1; transition: opacity 0.3s ease;}
input::-moz-placeholder                {opacity: 1; transition: opacity 0.3s ease;}
input:-moz-placeholder                 {opacity: 1; transition: opacity 0.3s ease;}
input:-ms-input-placeholder            {opacity: 1; transition: opacity 0.3s ease;}
input:active::-webkit-input-placeholder {opacity: 0; transition: opacity 0.3s ease;}
input:active::-moz-placeholder          {opacity: 0; transition: opacity 0.3s ease;}
input:active:-moz-placeholder           {opacity: 0; transition: opacity 0.3s ease;}
input:active:-ms-input-placeholder      {opacity: 0; transition: opacity 0.3s ease;}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin: 0;
}
input[type=number]{
  -moz-appearance: textfield;
}
.container {
  min-width: 320px;
  max-width: 1700px;
  margin: 0 auto;
}
.flex {
  display: flex;
}
.heading {
  margin: 0;
  font-size: 48px;
  line-height: 65px;
  font-weight: normal;
  color: var(--main-text);
}
.main-header {
  display: none;
}
/* fonts */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-regular.woff2') format('woff2'),
    url('../fonts/opensans-regular.woff') format('woff');
  font-display: swap;
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-bold.woff2') format('woff2'),
    url('../fonts/opensans-bold.woff') format('woff');
  font-display: swap;
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-semibold.woff2') format('woff2'),
    url('../fonts/opensans-semibold.woff') format('woff');
  font-display: swap;
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/opensans-light.woff2') format('woff2'),
    url('../fonts/opensans-light.woff') format('woff');
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}
/* header */
.header {
  position: relative;
  background-color: var(--black);
}
.header__logo {
  margin-right: 20px;
}
.header__container {
  padding: 28px 50px 30px 50px;
  align-items: center;
  justify-content: space-between;
}
.header__burger {
  display: none;
}
.header__fake-search {
  display: none;
}
.header__search-top {
  display: none;
}
.header__nav {
  margin-right: 124px;
  margin-right: calc(5px + (124 - 5) * ((100vw - 320px) / (1920 - 320)));
}
.header__nav-item {
  position: relative;
  font-size: 18px;
  line-height: 25px;
  color: var(--header-text);
  transition: color .3s ease;
}
.header__nav-item:hover:not(:focus-visible),
.link:hover:not(:focus-visible) {
  color: var(--hover-color);
}
.header__nav-item:active:not(:focus-visible),
.link:active:not(:focus-visible) {
  color: var(--active-color);
} 
.link { 
  position: relative;
  font-size: 18px;
  z-index: 1;
  line-height: 25px;
  color: var(--header-text);
  transition-property: color, background-color;
  transition-timing-function: ease;
  transition-duration: .3s;
  white-space: nowrap;
}
.link svg {
  margin-right: 2px;
  fill: currentColor;
}
.link::after {
 position: absolute;
 content: '';
 z-index: -1;
 top: -3px;
 bottom: -3px;
 left: -4px;
 right: -4px;
 background-color: var(--active-color);
 transform: scaleX(0);
 transform-origin: left;
 transition: transform 0.3s ease;
}
.link:focus {
  outline: none;
}
.link:focus-visible::after {
  transform: scaleX(1);
}
/* .header__nav-item::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: var(--active-color);
} */
.header__nav-item:not(:last-child){
  margin-right: calc(5px + (66 - 5) * ((100vw - 320px) / (1920 - 320)));
}

.header__btm-menu {
  padding: 21px 0;
  width: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}
.header__btm-menu-container {
  padding: 0 50px 0 50px;
  justify-content: space-between;
  align-items: center;
}
.header__bottom-nav {
  width: 100%;
}
.header__dropdown-list {
  width: 77%;
  justify-content: space-between;
}
.header__dropdown-item {
  position: relative;
}
.header__dropdown-item:not(:last-child) {
  margin-right: 30px;
}
.dropdown-item__btn {
  display: block;
  font-size: 18px;
  line-height: 25px;
  font-weight: normal;
  cursor: pointer;
  color: var(--header-text);
  transition: color .3s ease, transform .3s ease;
}
.dropdown-item__btn svg {
  transform: translateY(-1px);
  stroke: currentColor;
  fill: none;
  transition-property: transform;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.dropdown-item__content {
  transform: translateY(-10px);
  position: absolute;
  top: 47px;
  left: 0%;
  padding-top: 40px;
  width: 300px;
  height: 300px;
  display: none;
  pointer-events: none;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  transition: transform .3s ease, opacity .3s ease;
}
.dropdown-item__subitem {
  position: relative;
  display: block;
  padding: 9px 14px;
  margin-left: 40px;
  width: 220px;
  height: 40px;
  font-size: 14px;
  line-height: 19px;
  color: var(--header-text);
  transition: outline .3s ease;
}
/* .dropdown-item__subitem::after {
  position: absolute;
  content: '';
  left: 0;
  opacity: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(0deg, rgba(194, 131, 243, 0.4), rgba(194, 131, 243, 0.4));
  border: 2px solid #D1A9F0;
  transition: opacity .3s ease;
} */
.dropdown-item__link {
  display: inline-block;
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 19px;
  color: var(--header-text);
}
.dropdown-item__link::after {
  position: absolute;
  content: '';
  left: 0;
  opacity: 0;
  top: 0;
  height: 100%;
  width: 100%;
  transition: opacity .3s ease, background .3s ease, border .3s ease;
}
.dropdown-item__link:focus-visible:after,
.dropdown-item__link:hover::after {
  opacity: 1;
  background: transparent;
  border: 2px solid var(--btn-color);
} 

/* .dropdown-item__subitem:hover, .dropdown-item__subitem:focus {
  outline: 1px solid var(--btn-color);
} */

.dropdown-item__link:active::after {
  opacity: 1;
  background: linear-gradient(0deg, rgba(194, 131, 243, 0.4), rgba(194, 131, 243, 0.4));
  border: 2px solid #D1A9F0;
}
.dropdown-item:hover {
  color: var(--btn-color);
}
.dropdown-item:active {
  color: var(--active-color);
}
.dropdown-item:focus { 
  outline: none;
  color: var(--active-color);
}
.header__enter--burger {
  display: none;
}
.dropdown-item__subitem:not(:last-child) {
  margin-bottom: 21px;
}
.dropdown-item.visible > .dropdown-item__btn + .dropdown-item__content {
  transform: translateY(0);
  display: block;
  pointer-events: auto;
}
.dropdown-item.visible > .dropdown-item__btn svg {
  transform: rotate(180deg);
  stroke: currentColor;
  fill: none;
  transition-property: transform;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.simplebar-scrollbar::before {
  left: -2px;
  width: 4px;
  background-color: var(--header-text);
}
.simplebar-track.simplebar-vertical {
  margin-top: 40px;
  margin-bottom: 40px;
  width: 2px;
  margin-right: 19px;
  background-color: var(--black);
}
.search-menu__form {
  align-items: center;
}
.simplebar-mask {
 margin-bottom: 40px;
}
.search-menu__form:hover .search-text {
  border-color: var(--hover-color);
}
.search-menu__form:active .search-text {
  border-color: var(--active-color);
}
.search-text:focus {
  border-color: var(--hover-color);
}
.search-text::-webkit-input-placeholder{
  color: var(--seacrh-color);
}
.header__fake-search svg {
  fill: var(--header-text);
}
.search-text {
  padding-right: 17px;
  border-bottom: 1px solid var(--seacrh-color);
  background-color: transparent;
  font-size: 18px;
  line-height: 25px;
  color: var(--seacrh-color);
  transition: border-color, .3s ease;
}
.search-top__search-text {

  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
}
.search-top__search-text.visible {
  transform: translateY(-2px);
  opacity: 1;
  pointer-events: auto;
}
.search-top__btn.visible {
  z-index: 4;
  opacity: 1;
  pointer-events: auto;
}
.search-menu__btn {
  transform: translateY(3px);
  padding-right: 6px;
  cursor: pointer;
}
.real1 {
  background-size: cover;
  background: url(../img/real1.jpg) no-repeat center center;
}
.real2 {
  background-size: cover;
  background: url(../img/real2.jpg) no-repeat center center;
}
.real3 {
  background-size: cover;
  background: url(../img/real3.jpg) no-repeat center center;
}
.real4 {
  background-size: cover;
  background: url(../img/real4.jpg) no-repeat center center;
}
.expr1 {
  background-size: cover;
  background: url(../img/expr1.jpg) no-repeat center center;
}
.expr2 {
  background-size: cover;
  background: url(../img/expr2.jpg) no-repeat center center;
}
.expr3 {
  background-size: cover;
  background: url(../img/expr3.jpg) no-repeat center center;
}
.expr4 {
  background-size: cover;
  background: url(../img/expr4.jpg) no-repeat center center;
}
.post1 {
  background-size: cover;
  background: url(../img/post1.jpg) no-repeat center center;
}
.post2 {
  background-size: cover;
  background: url(../img/post2.jpg) no-repeat center center;
}
.post3 {
  background-size: cover;
  background: url(../img/post3.jpg) no-repeat center center;
}
.post4 {
  background-size: cover;
  background: url(../img/post4.jpg) no-repeat center center;
}
.avan1 {
  background-size: cover;
  background: url(../img/avan1.jpg) no-repeat center center;
}
.avan2 {
  background-size: cover;
  background: url(../img/avan2.jpg) no-repeat center center;
}
.avan3 {
  background-size: cover;
  background: url(../img/avan3.jpg) no-repeat center center;
}
.avan4 {
  background-size: cover;
  background: url(../img/avan4.jpg) no-repeat center center;
}
.fut1 {
  background-size: cover;
  background: url(../img/fut1.jpg) no-repeat center center;
}
.fut2 {
  background-size: cover;
  background: url(../img/fut2.jpg) no-repeat center center;
}
.fut3 {
  background-size: cover;
  background: url(../img/fut3.jpg) no-repeat center center;
}
.fut4 {
  background-size: cover;
  background: url(../img/fut4.jpg) no-repeat center center;
}
/* hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--header-text);
}
.hero__swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  animation: hero-anim 3s alternate linear infinite;
}
@keyframes hero-anim {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}
.hero__background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-img1{
  background-image: url(../img/hero/hero-img1.jpg);
}
.hero-img2{
  background-image: url(../img/hero/hero-img2.jpg);
}
.hero-img3{
  background-image: url(../img/hero/hero-img3.jpg);
}
.hero__container {
  padding: 141px 50px 20px 50px;
}
.hero__title {
  margin-bottom: 19px;
  max-width: 40%;
  font-weight: bold;
  font-size: 72px;
  line-height: 83px;
  color: var(--header-text);
}
.hero__descr {
  margin-bottom: 93px;
  max-width: 37%;
  font-size: 18px;
  letter-spacing: .9px;
  line-height: 30px;
}
.btn {
  position: relative;
  padding: 19px 32px;
  font-weight: bold;
  border: 3px solid var(--btn-color);
  font-size: 18px;
  line-height: 25px;
  border-radius: 100px;
  background-color: var(--btn-color);
  color: var(--header-text);
  cursor: pointer;
  transition-property: border, background-color;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.outline-focus {
  background-color: var(--btn-color);
  border: 3px solid var(--btn-color);
  border-radius: 100px;
  /* padding: 7px 15px; */
}
.outline-focus::before,
.outline-focus-tranparent::before {
  content: "";
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: -8px;
  right: -8px;
  background-color: transparent;
  z-index: -1;
  opacity: 0;
  transition: opacity .3s ease;
  border: 2px solid var(--btn-color);
  border-radius: 100px;
}
.outline-focus:focus-visible::before {
  opacity: 1;
}
.outline-focus:hover:not(:focus-visible) {
  border: 3px solid var(--btn-border);
}
.outline-focus:active:not(:focus-visible) {
  background-color: var(--active-color);
  border: 3px solid var(--btn-border);
}
.hero__btn {
  margin-bottom: 102px;
}
/* about-us */
.about-us__container{
  padding: 80px 50px 10px 50px;
}
.about-us__title {
  margin-bottom: 15px;
  font-size: 48px;
  line-height: 65px;
  color: var(--main-text);
}
.about-us__text {
  margin-bottom: 60px;
  max-width: 68%;
  font-size: 16px;
  line-height: 32px;
  color: var(--main-text);
}
/* gallery */
.gallery {
  position: relative;
  background:url(../img/gallery/backgroundG.jpg) center center no-repeat;
  background-size: cover;
  color: var(--header-text);
}
.gallery__modal {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(1px); 
  z-index: 100;
  display: none;
  justify-content: center;
  align-items: center;
}
.gallery__modal.modal-active {
  display: flex;
}
.modal__content {
  display: flex;
  transform: translateY(37px);
  max-width: 900px;
  min-height: 500px;
  background-color: var(--header-text);
  color: var(--main-text);
}
.modal__content-left {
  width: 44.5%;
}
.modal__content-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal__content-right {
  padding: 122px 41px 10px 47px;
  flex: 1;
  position: relative;
}
.modal__close-btn {
  align-items: flex-start;
  position: absolute;
  right: 20px;
  top: 21px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.modal__close-btn::after, .modal__close-btn::before {
  position: absolute;
  top: 0;
  content: ' ';
  height: 18px;
  width: 1px;
  background-color: var(--black);
}
.modal__close-btn::before {
  transform: rotate(45deg);
}
.modal__close-btn::after {
  transform: rotate(-45deg);
}
.modal__author {
  margin: 0;
  font-weight: 600;
  font-size: 24px;
  line-height: 33px;
}
.modal__paint-title {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
}
.modal__paint-years {
  font-size: 12px;
  line-height: 16px;
  color: #969696;
  margin-bottom: 34px;
}
.modal__text {
  font-size: 16px;
  line-height: 32px;
}
.swiper-slide__author, .swiper-slide__paint-title, .swiper-slide__paint-years, .swiper-slide__text {
  display: none;
}
.gallery__container {
  padding: 81px 50px 10px 50px;
}
.gallery__left {
  margin-right: 50px;
  min-width: 400px;
  flex: 1;
}
.gallery__title {
  margin-bottom: 15px;
  color: var(--header-text);
}
.gallery__subtitle {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px;
}
.galary__subtitle {
  margin-top: 0;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 32px; 
}
.gallery__select {
  margin-bottom: 555px;
}

.choices {
  transition: background-color .3s ease;
}
.choices:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.2);
}
/* .choices {
  width: 400px;
} */
.choices__inner {
  padding: 4.5px 11.5px 3.75px;
  font-size: 16px;
  min-height: 41px;
  border: 1px solid var(--header-text);
  color: var(--header-text);
  border-radius: 8px;
  background-color: transparent;
}
.choices__inner:hover, .choices__inner:focus {
  background-color: rgba(255, 255, 255, 0.2);
}
.is-open .choices__inner {
  border-radius: 8px;
}
.choices__list {
  z-index: 3;
  border-radius: 8px;
  background-color: transparent;
}
.choices__item--choice {
  transition: background-color .3s ease;

}
.select__item:hover {
  color: red;
}
.choices__list--dropdown .choices__item {
  padding: 10px 10px 10px 19px;
  font-size: 16px;
}
.choices__list--dropdown .choices__item--selectable {
  border-bottom: 1px solid var(--select-list);
}
.choices__list--dropdown .choices__item--selectable.is-highlighted  {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--header-text);
}
.is-open .choices__list--dropdown {
  border: 1px solid var(--select-list);
}
.choices__list--dropdown {
  color: var(--select-list);
  background-color: rgba(0,0,0,0.9);
}
.is-focused .choices__inner, .is-open .choices__inner {
  border-color: currentColor;
}
.choices[data-type*=select-one]:after {
  right: 14.5px;
  top: 46%;
  height: 12px;
  width: 12px;
  border: none;
  background: url(../img/gallery/arrow.svg) center center no-repeat;
  transition: transform .3s ease;
}
.choices[data-type*=select-one].is-open:after {
  transform: rotateX(180deg);
}
.choices__list--dropdown .choices__item--selectable:after {
  content: none;
}
.gallery__note {
  margin-bottom: 60px;
  letter-spacing: .063em;
  width: 85%;
  font-style: normal;
  font-size: 15px;
  line-height: 32px; 
}
.gallery__note-tablet {
  display: none;
  letter-spacing: .063em;
  font-style: normal;
  font-size: 15px;
  line-height: 32px; 
}
.gallery__link {
  position: relative;
  font-size: 15px;
  z-index: 1;
  color: var(--hover-color);
  transition: color .3s ease;
}
.gallery__link::after {
  position: absolute;
  content: '';
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 10px);
  background-color: var(--btn-color);
  z-index: -1;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform .3s ease;
}
.gallery__link:focus-visible::after {
  transform: scaleX(1);
}
.gallery__link:focus-visible {
  color: var(--header-text);
}
.gallery__link:hover:not(:focus-visible) {
  color: var(--btn-color);
}
.gallery__link:active:not(:focus-visible) {
  color: var(--active-color)
}
.gallery__swiper-section {
  flex-direction: column;
  max-width: 1150px;
  width: 100%;
  overflow: hidden
}
.swiper-container {
  width: 100%;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
.gallery__swiper {
  padding-top: 22px;
  width: 100%;
  overflow: hidden;
}
.gallery-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: center;
}
.gallery-art {
  height:750px ;
}
.gallery-art__item {
  position: relative;
  height: calc((100% - 50px) / 2);
  cursor: pointer;
}
.gallery-art__btn {
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.gallery-art__btn::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  background-color: rgba(0,0,0,0.5);
  background-image: url("../img/gallery/gallery_search.svg");
  background-size: 30%;
  background-position: center;
  background-repeat: no-repeat;
  
  z-index: -1;
  opacity: 0;
  
  transition-property: z-index, opacity, outline;
  transition: .3s ease-in-out;
}
.gallery-art__btn:hover::before{ 
  z-index: 1;
  opacity: 1;
}
.gallery-art__btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: -1;
  opacity: 0;
  outline: 2px solid var(--hover-color);
  outline-offset: -2px;
  background-color: rgba(194, 131, 243, 0.4);
  background-image: url(../img/gallery/gallery_search.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 27%;
  transition-property: z-index, opacity, outline;
  transition: .3s ease;
}
.gallery-art__btn:active::after {
  z-index: 1;
  opacity: 1;
}
.gallery-art__btn:focus-visible {
  outline-offset: -3px;
  outline: 3px solid var(--active-color);
}
/* .gallery-swiper__arrow-prev, 
.gallery-swiper__arrow-next {
  cursor: pointer;
  position: unset;
  margin-top: unset;
  height: 27px;
} */
.arrow-prev,
.arrow-next {
  cursor: pointer;
  position: unset;
  margin-top: unset;
  height: 27px;
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
  width: unset;
}
.pagination {
  position: unset;
  color: var(--header-text);
}
.svg-circle {
  transition-property: fill;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.arrow-prev:focus, .arrow-next:focus {
  outline: none;
}
.arrow-next svg .svg-stroke, .arrow-prev svg .svg-stroke {
  stroke: white;
}
.arrow-next svg .svg-circle,  .arrow-prev svg .svg-circle{
  fill: #666;
}
.arrow-next:hover:not(:focus-visible) svg .svg-circle, .arrow-prev:hover:not(:focus-visible) svg .svg-circle{
  fill: var(--btn-color);
}
.arrow-prev:focus-visible svg .svg-circle, .arrow-next:focus-visible svg .svg-circle{
  stroke: var(--black);
}
.arrow-prev:active:not(:focus-visible) svg .svg-circle, .arrow-next:active:not(:focus-visible) svg .svg-circle{
  stroke: var(--black);
  fill:var(--active-color);
}
.swiper-button-disabled {
  opacity: .5;
  pointer-events: none;
}
.gallery-swiper__nav {
  margin-top: 22px;
  margin-bottom: 7px;
  margin-left: 4px;
  width: 128px;
  min-height: 33px;
  align-items: center;
  justify-content: space-between;
}
.swiper-nav {
  margin-top: 22px;
  margin-bottom: 7px;
  margin-left: 4px;
  width: 128px;
  min-height: 33px;
  align-items: center;
  justify-content: space-between;
}
/* catalog */
.catalog__container {
  color: var(--main-text);
  padding: 79px 50px 46px 50px;
}
.catalog__top {
  align-items: center;
  margin-bottom: 15px;
}
.catalog__title {
  margin-right: 40px;
}
.countries__item {
  height: 46px;
  width: 46px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
}
.countries__btn {
  position: relative;
  background-image: inherit;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: filter .3s ease, border .3s ease, outline .1s ease;
}
.countries__btn.active-country {
  position: relative;
}
.countries__btn.active-country::before {
  content: "";
  position: absolute;
  top: -9px;
  bottom: -11px;
  left: -10px;
  right: -10px;
  border: 2px solid var(--active-color);
  border-radius: 50px;
  transition: opacity .3s ease-in-out;
}
.countries__btn:active:not(:focus-visible),
.countries__btn:active {
  outline: 2px solid var(--active-color);
  border-radius: 29px;
}
.countries__btn:hover:not(:active), 
.countries__btn:focus-visible:not(:active) {
  filter: drop-shadow(0px 0px 20px rgba(157, 92, 208, 1));
  border-radius: 29px;
}

.countries__item:not(:last-child) {
  margin-right: 50px;
}
.france {
  background-image: url(../img/catalog/france.png);
}
.ger {
  background-image: url(../img/catalog/ger.png);
}
.italy {
  background-image: url(../img/catalog/italy.png);
}
.rus {
  background-image: url(../img/catalog/rus.png);
}
.belg {
  background-image: url(../img/catalog/belg.png);
}
.catalog__artist-years {
  width: 100%;
}
.catalog__artist-name {
  margin-bottom: 7px;
  font-size: 24px;
  font-weight: 600;
  line-height: 33px;
}
.catalog__artist-descr {
  display: none;
  max-width: 750px;
  height: 100%;
  margin-right: 50px;
  flex-shrink: 0;
  font-size: 16px;
  line-height: 32px;
}
.catalog__lives {
  margin-bottom: 7px;
  font-size: 12px;
  color: var(--select-list);
  line-height: 16px;
}
.catalog__years {
  position: relative;
  width: 100%;
  height: 114px;
  margin: 0;
  justify-content: space-between;
  align-items: center;
  padding: 41px 0 41px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  cursor: pointer;
  border-top: 1px solid var(--silver-color);
  border-bottom: 1px solid var(--silver-color);
  transition: color .3s ease, border-color .3s ease;
}
.catalog__years::after {
  position: absolute;
  content: '';
  z-index: -1;
  top: 37%;
  bottom: 36%;
  left: 0;
  right: 74%;
  background-color: var(--btn-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
 }
 .catalog__years:focus-visible::after {
   transform: scaleX(1);
 }
 .catalog__years:focus-visible {
   color: var(--header-text)
 }
.catalog__years:hover:not(:focus-visible) {
  color: var(--btn-color);
  border-color: var(--btn-color);
}

.catalog__years:hover:not(:focus-visible) svg, 
.catalog__years:focus-visible svg{
  fill: var(--btn-border);
}
.catalog__years:active:not(:focus-visible) svg {
  outline: 2px solid var(--btn-color);
  outline-offset: -2px;
  border-radius: 50px;
}
.catalog__years:active:not(:focus-visible) {
  color: var(--active-color);
  border-color: var(--active-color);
}
.catalog__arrow {
  transition: transform .3s ease,  fill .3s ease;
}
.catalog__arrow svg {
  width: 50px;
  height: 50px;
  fill:#ECECEC;
  transition: fill .3s ease, outline .3s ease;
}
.catalog__years.ui-accordion-header-active .catalog__arrow {
  transform: rotate(180deg);
}
.catalog__years.ui-accordion-header-active .catalog__arrow svg {
  outline: 2px solid var(--btn-color);
  fill: var(--btn-border);
  outline-offset: -2px;
  border-radius: 50px;
}
.catalog__years.ui-accordion-header-active {
  color: var(--active-color);
  border-color: var(--active-color);
}
.catalog__years.ui-accordion-header-active:focus-visible {
  color: var(--header-text);
}
.artist-years__list {
  margin-bottom: 21px;
  padding: 27px 0;
  columns: 193px auto;
}
.artist-years__btn {
  position: relative;
  color: var(--main-text);
  font-size: 16px;
  line-height: 32px;
  height: 100%;
  cursor: pointer;
}
.artist-years__btn::after {
  background-color: var(--btn-color)  ;
}
.artist-years__btn::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--btn-color);  
  transition: width .3s ease;
}

.artist-years__btn:focus-visible {
  color: var(--header-text);  
}
.artist-years__btn:hover:not(:focus-visible):before {
  width: 100%;
}
.artist-years__btn:hover:not(:focus-visible) {
  color:  var(--btn-color);
} 
.artist-years__btn:active:not(:focus-visible),
.artist-years__btn:active:not(:focus-visible):before {
  width: 0;
  color: var(--active-color);
}
.catalog__text {
  margin-bottom: 40px;
  max-width: 69%;
  font-size: 16px;
  line-height: 32px;
}
.catalog__artist-img {
  object-fit: cover;
  margin-bottom: 20px;
  width: 100%;
  height: 100%;
  object-position: center;
}
.catalog__placeholder-years {
  padding: 25px 0;
  align-items: center;
}
.placeholder-years__img {
  margin-right: 36px;
  padding: 12px;
  flex: 0 0 32%;
  height: 165px;
  border: 2px solid var(--bg-grey-color);
}
.placeholder-years__text {
  flex: 0 0 40%;
}
.square {
  display: block;
  width: 100%;
  height: 100%;
  background-color: var(--bg-grey-color);
}
.placeholder-years__title {
  margin: 0 0 5px 0;
  font-size: 24px;
  line-height: 32px;
}
.placeholder-years__descr {
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 22px;
}
.placeholder-years__link {
  font-size: 16px;
  line-height: 22px;
  color: var(--btn-color);
}
.placeholder-years__link::after {
  background-color: var(--btn-color);
}
.placeholder-years__link:focus-visible  {
  color: var(--header-text);
}
.catalog__artist-descr--active {
  display: block;
}
.lives-filler {
  display: none;
}
.catalog__artist-block {
  display: none;
}
/* evetns */
.catalog__artist-block--active {
  display: flex;
}
.events__container {
  padding: 50px 50px;
}
.events__title {
  margin-bottom: 16px;
}
.events__list {
  flex-wrap: wrap;
}
.events__swiper-pagination {
  display: none;
}
.events__item {
  display: flex;
  flex-direction: column;
  min-height: 700px;
  height: 100%;
  width: calc((100% - var(--gap) * 2) / 3);
  margin-bottom: var(--gap);
  outline: 1px solid var(--silver-color);
  outline-offset: -1px;
}
.events__item:not(:nth-child(3n)) {
  margin-right: var(--gap);
}
.events__item:not(:nth-child(-n + 3)) {
  display: none;
}
.events__img {
  object-fit: cover;
  width: 100%;
  object-position: center;
}
.events__article-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  padding: 10px 19px 41px 50px;
}
.events__date, 
.events__place {
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  color: var(--select-list);
}
.events__date {
  margin-bottom: 5px;
}
.events__subtitle {
  margin-bottom: 2px;
  color: var(--main-text);
  font-weight: 600;
  font-size: 24px;
  line-height: 33px;
}
.events__descr {
  width: 95%;
  flex: 1 1 auto;
  font-size: 16px;
  line-height: 32px;
}
.events__link {
  font-size: 16px;
  line-height: 32px;  
  color: var(--btn-color);
  border-bottom: 1px solid currentColor;
  transition: color .3s ease;
}
.events__link::after {
  background-color: var(--btn-color);
}
.events__link:hover:not(:focus-visible) {
  color: var(--active-color);
}
.events__link:focus-visible {
  color: var(--header-text);
}
.events__link:active:not(:focus-visible) {
  color: var(--main-text);
}
.events__btn-container {
  text-align: center;
}
.events__btn {
  padding: 15px 32px;
  color: var(--btn-color);
  background-color: transparent;
  border-width: 2px;
}
.events__btn:active:not(:focus-visible) {
  color: var(--header-text);
  border: none;
  outline: 2px solid var(--btn-border);
}
.events__btn:hover:not(:focus-visible) {
  color: var(--header-text);
  background-color: var(--btn-color);
  border-width: 2px;
}
.events__btn-container {
  margin-bottom: 29px;
}
/* publisers */
.publishers {
  background: url(../img/publishers/publisersBg.jpg) center center no-repeat;
  background-size: cover;
}
.publishers__container {
  padding: 81px 50px 10px 50px;
}
.publishers__title {
  margin-bottom: 15px;
  color: var(--header-text);
}
.categories__title-arrow svg {
  display: none;
  stroke: currentColor;
}
.categories__title {
  font-size: 16px;
  line-height: 32px;
  font-weight: bold;
  color: var(--header-text);
}
.categories__list {
  margin-bottom: 27px;
}
.categories__item {
  font-size: 16px;
  line-height: 32px;  
  color: var(--header-text);
}
.categories__item-close {
 position: absolute;
 opacity: 0;
 top: 3px;
 right: 0;
 transition: opacity .3s ease;
}
.checkbox {
  opacity: 0;
}
.checkbox-label {
  position: relative;
  padding-left: 24px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: color .3s ease;
  cursor: pointer;
}
.checkbox:focus .checkbox-label__text {
  color: var(--hover-color);
}
.checkbox-label:hover,
.checkbox-label:focus-visible  {
  color: var(--hover-color);
}
.checkbox-label:hover input ~ .checkmark,
.checkbox-label:focus-visible input ~ .checkmark {
  outline-color: var(--btn-color);
}
.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkbox-label input:checked ~ .checkmark {
  outline-color: var(--hover-color);
}
.checkbox-label input:checked ~ .checkbox-label__text {
  color: var(--hover-color);
}
.checkbox-label input:checked ~ .checkmark::after {
  display: block;
}
.checkmark {
  position: absolute;
  top: 5px;
  left: 0;
  width: 12px;
  height: 12px;
  outline: 1px solid var(--header-text);
  transition: outline-color .3s ease;
}
.checkmark::after {
  content: '';
  position: absolute;
  display: none;
}
.checkbox-label .checkmark::after {
  left: 4px;
  top: 4px; 
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--hover-color);
}
.checkbox:focus + .checkmark {
  outline: 1px solid var(--hover-color);
}
.checkbox:focus ~ .checkbox-label__text {
  color: var(--hover-color);
}
.cost__title {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 32px;
  color: var(--header-text);
  font-weight: bold;
}
.cost__input-container {
  padding: 3px 10px;
  font-size: 16px;
  line-height: 32px;
  color: var(--header-text);
  border-radius: 6px;
  outline: 1px solid rgba(255, 255, 255, 0.5);
}
.cost__text {
  display: inline-block;
  margin-right: 6px;
}
.cost__input {
  position: relative;
  padding-left: 10px;
  width: 70px;
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
  background-color: transparent;
  color: var(--header-text);
  cursor: pointer;
  transition: background-color .3s ease, opacity .3s ease;
}
.cost__input-bg {
  position: relative;
  margin-right: 9px;
}
.cost__input-bg::before {
  content: '';
  position: absolute;
  height: 40px;
  width: 100%;
  opacity: .5;
  background-color: var(--btn-color);
  top: -9px;
  transition: opacity .3s ease, background-color .3s ease;
}
.cost__input-bg:hover:not(:focus-visible):before {
  opacity: 1;
}
.cost__input-bg:hover:not(:focus-visible):before {
  background-color: var(--active-color);
  opacity: 1;
}
.cost__input:focus-visible {
  background-color: var(--btn-color);
  outline: 1px solid var(--header-text);
}
.publishers__item {
  cursor: pointer;
}
.publishers__article {
  color: var(--header-text);
  font-size: 16px;
  line-height: 22px;
}
.publishers__img {
  margin-bottom: 18px;
  object-fit: cover;
  width: 100%;
}
.publishers__article-text-left {
  max-width: 57%;
}
.publishers__article-text {
  justify-content: space-between;
  margin-bottom: 14px;
}
.publishers__name {
  margin: 0;
  font-weight: bold;
}
.publishers__name,
.publishers__author {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.publishers__price {
  font-style: italic;
}
.publishers__btn {
  padding: 8px 20px;
  font-size: 16px;
  line-height: 22px;
  background-color: transparent;
  border: 2px solid var(--btn-color);
}
.publishers__btn:focus-visible {
  border: 2px solid var(--btn-color);
}
.publishers__btn:active:not(:focus-visible) {
  background-color: var(--active-color);
  outline: 3px solid var(--btn-border);
  outline-offset: -3px;
  border: unset;
}

.publishers__btn:hover:not(:focus-visible) {
  background-color: var(--btn-color);
  border: 2px solid var(--btn-color);
}
.publishers__btn:focus-visible::before {
  top: -6px;
  bottom: -6px;
  left: -6px;
  right: -6px;
  opacity: 1;
  border-color: var(--hover-color);
}
.publishers__btn:active:not(:focus-visible)::before {
  opacity: 0;
}
.publishers__swiper {
  width: 100%;
  overflow: hidden;
  padding-bottom: 66px;
}
.publisers__list {
  padding-left: 3px;
}
.publishers__left {
  min-width: 277px;
  margin-right: calc(5px + (171 - 5) * ((100vw - 320px) / (1920 - 320)));;
}
.publishers__swiper-nav {
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: 0;
  width: 130px;
}
/* projects */
.projects__container {
  padding: 81px 50px 77px 50px;
}
.projects__title {
  margin-bottom: 15px;
}
.projects__text {
  margin-bottom: 20px;
  width: 66%;
  font-size: 16px;
  line-height: 32px; 
  overflow: hidden;
}
.tooltip {
  display: inline-block;
  width: 16px;
  height: 16px;
  position: relative;
  cursor: pointer;
}
.tooltip:hover .popup,
.tooltip:focus-visible .popup {
  opacity: 1;
}
.projects__tooltip-svg-circle, 
.projects__tooltip-svg-stroke {
  transition-property: fill, stroke;
  transition-timing-function: ease;
  transition-duration: .3s;
}
.projects__tooltip svg .projects__tooltip-svg-circle { 
  stroke: var(--btn-color);
}
.projects__tooltip svg .projects__tooltip-svg-stroke{ 
  fill: var(--black);
}
.projects__tooltip:focus-visible svg .projects__tooltip-svg-circle,
.projects__tooltip:hover svg .projects__tooltip-svg-circle {
  fill: var(--btn-border);
}
.projects__tooltip:active:not(:focus-visible) svg .projects__tooltip-svg-circle {
  fill: var(--btn-color);
}
.projects__tooltip:active:not(:focus-visible) svg .projects__tooltip-svg-stroke {
  fill: var(--header-text);
}
.popup {
  display: none;
}
.tippy-box {
  padding: 8px 11px;
  font-weight: 600;
  border-radius: unset;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: var(--header-text);
  background-color: var(--btn-color);
}
.tippy-arrow {
  color: var(--btn-color);
}
.projects__link {
  position: relative;
  color: var(--btn-color);
  font-size: 16px;
  line-height: 32px;
  transition: color .3s ease;
}
.projects__link:focus-visible {
  color: var(--header-text);
}
.projects__link:hover:not(:focus-visible) {
  color: var(--btn-color);
}
.projects__link:active:not(:focus-visible) {
  color: var(--active-color);
}
.projects__link::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: var(--btn-color);
  transition: width .3s ease, background-color .3s ease;
}
.projects__link:hover:not(:focus-visible)::before {
  width: 100%;
}
.projects__link:active:not(:focus-visible)::before {
  width: 100%;
  background-color: var(--active-color);
}
.projects__partners-item {
  cursor: pointer;
}
.projects__partners-img {
  opacity: .5;
  -webkit-filter: grayscale(100%);
  width: 100%;
  filter: grayscale(100%);
  transition: opacity .3s ease, filter .3s ease, outline .3s ease;
}
.projects__partners-img:hover:not(:focus-visible) {
  opacity: 1;
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}
.projects__partners-img:focus-visible {
  outline: 1px solid var(--btn-color);
  outline-offset: -1px;
}
.projects__partners-img:active:not(:focus-visible) {
  outline: 1px solid var(--btn-color);
  outline-offset: -1px;
  opacity: 1;
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}
.projects__bottom {
  position: relative;
  padding-left: 75px;
  padding-right: 75px;
}
.projects__swiper {
  display: flex;
  width: 100%;
  align-items: center;
  overflow: hidden;
}
.projects__partners {
  margin-top: 0;
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}
.projects__arrow-prev, 
.projects__arrow-next {
  top:40%;
  position: absolute;
  z-index: 2;
}
.projects__arrow-prev svg .svg-circle, 
.projects__arrow-next svg .svg-circle {
  fill: #ECECEC;
}
.projects__arrow-prev svg .svg-stroke, 
.projects__arrow-next svg .svg-stroke {
  stroke: var(--black);
}
.projects__arrow-prev:hover:not(:focus-visible) svg .svg-circle, 
.projects__arrow-next:hover:not(:focus-visible) svg .svg-circle {
  fill: var(--btn-border);
}
.projects__arrow-prev:focus-visible svg .svg-circle, 
.projects__arrow-next:focus-visible svg .svg-circle {
  stroke: var(--btn-color);
}
.projects__arrow-prev:active:not(:focus-visible) svg .svg-circle, 
.projects__arrow-next:active:not(:focus-visible) svg .svg-circle {
  stroke: var(--btn-color);
  fill: var(--btn-border);
}
.projects__arrow-prev {
left: 0;
}
.projects__arrow-next {

  right: 0;
}
/* contacts */
.contacts__container {
  padding: 1px 0;
  max-width: unset;
}
.contacts__title {
  padding-left: 50px;
  max-width: 1700px;
  margin: 0 auto;
  margin-bottom: 14px;
}
.contacts__left {
  position: relative;
  padding-left: max(50px, calc((100% - 1700px)/ 2 + 50px));
  padding-top: 123px;
  padding-bottom: 119px;
  padding-right: calc(5px + (122 - 5) * ((100vw - 320px) / (1920 - 320)));
  flex: 1;
  border-top: 1px solid var(--silver-color);
  flex-direction: column;
}
.contacts__address {
  font-style: normal;
  margin-bottom: 35px;
}
.contacts__build-name {
  margin-top: 0;
  margin-bottom: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 32px;
}
.contacts__form-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: normal;
  font-size: 24px;
  line-height: 32px;
}
.contacts__form {
  margin-bottom: 38px;
}
.form__label:not(:last-child) {
  margin-bottom: 25px;
}
.form__mask-container {
  display: flex;
  flex-direction: column;
}
.form__label {
  position: relative;
}
.form__input {
  padding: 10px 24px;
  width: 100%;
  min-width: 400px;
  border-radius: 100px;
  outline: 1px solid var(--main-text);
}
.js-validate-error-label {
  position: absolute;
  top: -21px;
  left: 25px;
  font-size: 12px;
  line-height: 16px;
}
.form__btn {
  position: relative;
  padding: 18px 42px;
  color: var(--btn-color);
  cursor: pointer;
  background-color: transparent;
  border-width: 2px;
  transition: background-color .3s ease, color .3s ease, border .3s ease;
}
.form__btn:hover:not(:focus-visible) {
  background-color: var(--btn-color);
  color: var(--header-text);
  border: 2px solid var(--btn-color);
}
.form__btn:active:not(:focus-visible) {
  background-color: var(--active-color);
  color: var(--header-text);
  border: 2px solid var(--btn-border);
}
.social__icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity .3s ease, outline .3s ease;
}
.social__icon:not(:last-child) {
  margin-right: 15px;
}
.social__icon:hover, 
.social__icon:focus-visible {
  opacity: .5;
}
.social__icon:active:not(:focus-visible) {
  opacity: 1;
  outline: 1px solid #9643A4;
  outline-offset: -1px;
}
.whatsup {
  background-image: url(../img/contacts/whatsapp.png);
}
.tg {
  background-image: url(../img/contacts/tg.png);
}
.contacts__social-title {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: normal;
  font-size: 24px;
  line-height: 32px;  
}
.contacts__map-section {
  width: 60%;
  border-left: 1px solid var(--silver-color);
}
.contacts__map-section .contacts__address {
  display: none;
}
.contacts__map {
  display: block;
  width: 100%;
  height: 100%;
}
[class*="ground-pane"] {
  filter: grayscale(1);
}
/* footer */
.footer {
  background-color: var(--black);
}
.footer__container {
  padding: 48px 50px;
  justify-content: space-between;
  align-items: center;
}
.footer__icon svg {
  fill: var(--silver-color);
  transition: fill .3s ease;
}
.footer__icon:hover svg, 
.footer__icon:focus-visible svg {
  fill: var(--header-text);
}
.footer__icon:active:not(:focus-visible) svg {
  fill: var(--btn-color);
}
.footer__item:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 1200px) {
  .header__container {
  padding: 28px 50px 25px 50px;
  }
  .header__logo-img {
    width: 188px;
  }
  .header__burger {
    position: relative;
    display: block;
    width: 36px;
    height: 28px;
    cursor: pointer;
    overflow: visible;
    z-index: 2;
  }
  .hero__container {
    padding: 115px 50px 20px 50px;
  }
  .header__burger span,
  .header__burger::before, 
  .header__burger::after {
    position: absolute;
    width: 100%;
    height: 3.65px;
    opacity: 1;
    left: 0;
    background-color: var(--header-text);
    transition: .3s ease;
  }
  .header__burger::before, 
  .header__burger::after {
    content: '';
  }
  .header__burger span {
    width: 28px;
    top: 13px;
  }
  .header__burger::before {
    top: 0;
  }
  .header__burger::after {
    bottom: 0;
    width: 24px;
    height: 3px;
  }
  .header__burger.close span {
    transform: rotate(-45deg);
    top: 13px;
    width: 28px;
  }
  .header__burger.close::before {
    top: 13px;
    transform: rotate(45deg);
    width: 28px;
  } 
  .header__burger.close::after {
    top: 0px;
    left:0;
    transform: rotate(90deg);
    opacity:0;
    width:0;
  }
  .header__enter {
    display: none;
  }
  /* .header__nav {
    display: none;
  } */
  .header__nav {
    position: absolute;
    margin-right: 0;
    display: block;
    top: 0;
    left: 0;
    padding-left: 48px;
    padding-top: 95px;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1;
    transition: opacity .3s ease;
  }
  .header__nav.overlay {
    visibility: visible;
    opacity: 1;
  }
  .header__link {
    font-size: 24px;
    line-height: 64px;
    cursor: pointer;
  }
  .header__nav-item:not(:last-child) {
    margin-bottom: 0;
  }
  .header__enter--burger {
    position: relative;
    display: inline-block;
    padding: 16px 91px;
    background-color: transparent;
    font-size: 18px;
    line-height: 25px;
    border: 2px solid var(--btn-color);
    color: var(--header-text);
    transition: border .3s ease, background-color .3s ease;
  }
  .header__enter--burger svg {
    fill: currentColor;
  }
  .header__fake-search {
    display: block;
    position: relative;
    opacity: 1;
    transition: fill .3s ease;
  }
  .header__fake-search.hide svg {
    fill:none;
  }
  .header__search-top {
    display: block;
    position: absolute;
    left: 70%;
    pointer-events: none;
  }
  .search-top__btn {
    opacity: 0;
    pointer-events: none;
    margin-right: 9px;
    transition: opacity .3s ease;
  }
  .search-text {
    width: 218px;
  }
  .header__nav-list {
    display: block;
    margin-bottom: 114px;
  }
  .hero-img1{
    background-image: url(../img/hero/hero-imgp1.jpg);
  }
  .hero-img2{
    background-image: url(../img/hero/hero-imgp2.jpg);
  }
  .hero-img3{
    background-image: url(../img/hero/hero-imgp3.jpg);
  }
  .header__btm-menu {
    display: none;
  }
  .hero__title {
    margin-bottom: 9px;
  }
  .hero__descr {
    margin-bottom: 134px;
    max-width: 80%;
  }
  .hero__btn {
    margin-bottom: 96px;
  }
  .about-us__text {
    max-width: 100%;
  }
  .gallery__container {
    padding: 81px 50px 13px 50px;
  }
  .gallery__left {
    min-width: 280px;
  }
  .gallery__select {
    margin-bottom: 363px;
  }
  .gallery__swiper-section {
    width: 595px;
  }
  .gallery__note {
    width: 100%;
  }
  .gallery-swiper__nav {
    margin-left: 1px;
    width: 130px;
  }
  .gallery-art {
    height: 612px;
  }
  .modal__content {
    transform: translateY(42px);
    max-width: 594px;
    min-height: 594px;
  }
  .catalog__artist-descr{
    max-width: 437px;
  }
  .catalog__container  {
    padding: 81px 50px 40px 50px;
  }
  .artist-years__list {
    padding: 26px 0 23px;
    columns: 2;
    margin-bottom: 0;
  }
  .catalog__title  {
    margin-right: 42px;
  }
  .catalog__countries {
    transform: translateY(8px);
  }
  .artist-years__btn {
    font-size: 16px;
  }
  .catalog__text {
    max-width: 100%;
  }
  .catalog__arrow {
    transform: translateY(5px);
  }
  .catalog__years.ui-accordion-header-active .catalog__arrow {
    transform: rotate(180deg) translateY(5px);
  }
  .events__article-text {
  padding: 10px 19px 47px 35px;
  }
  .events__item {
    min-height: 681px;
  }
  .events__descr {
    width: 94%;
  }
  .events__list {
    margin-bottom: 26px;
  }
  .publishers__container {
    padding: 82px 50px 78px 50px;
  }
  .publishers__left {
    margin-right: 18px;
  }
  .publishers__img {
    margin-bottom: 8px;
  }
  .projects__container {
    padding: 84px 50px 77px;
  }
  .projects__text {
    width: 100%;
  }
  .projects__bottom {
    padding-left: 54px;
    padding-right: 54px;
  }

  .projects__partners-img {
    max-height: 128px;
  }
  .contacts__left  {
    padding-right: calc(5px + (222 - 5) * ((100vw - 320px) / (1920 - 320)));
    padding-bottom: 98px;
  }
  .contacts__map-section {
    width: 54%;
  }
  .form__input {
    min-width: 335px;
  }
  .social__icon {
    width: 60px;
    height: 60px;
  }
  .social__icon:not(:last-child) {
    margin-right: 24px;
  }
  .footer__container {
    padding: 38px 50px;
  }
  .footer__icon svg {
    width: 65px;
    height: 65px;
  }
  .footer__item:not(:last-child) {
    margin-right: 24px;
  }
}
@media screen and (max-width: 992px) { 
  .hero__container {
    padding: 115px 50px 20px 50px;
  }
  .hero__descr {
    max-width: 100%;
  }
  .header__fake-search {
    z-index: 0;
  }
  .header__fake-search.hide::before,
  .header__fake-search.hide::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    opacity: .7;
    background-color: var(--header-text);
  }
  .header__fake-search::before {
    top: 13px;
    transform: rotate(45deg);
  }
  .header__fake-search::after {
    top: 13px;
    left: 0;
    transform: rotate(-45deg);
  }
  .header__burger.hide,
  .header__logo.hide {
    opacity: 0;
  }
  .header__search-top {
    left: 6%;
  }
  .search-text {
    width: 577px;
  } 
  .hero-img1{
    background-image: url(../img/hero/hero-imgt1.jpg);
  }
  .hero-img2{
    background-image: url(../img/hero/hero-imgt2.jpg);
  }
  .hero-img3{
    background-image: url(../img/hero/hero-imgt3.jpg);
  }
  .gallery__container {
    position: relative;
    padding: 81px 50px 71px 50px;
    flex-direction: column;
  }
  .gallery__left {
    margin-right: 0;
  }
  .gallery__select {
    max-width: 280px;
    margin-bottom: 24px;
  }
  .gallery__swiper {
    margin-bottom: 12px;
  }
  .gallery__note {
    display: none;
  }
  .gallery__note-tablet {
    display: block;
  }
  .gallery__swiper-section {
    width: 100%;
  }
  .modal__content {
    transform: translateY(152px);
    max-width: 668px;
  }
  .modal__content-left {
    width: 45.2%;
}
  .catalog__container  {
    padding: 81px 50px 63px 50px;
  }
  .catalog__artist-block {
    flex-direction: column;
  }
  .catalog__artist-descr {
    order: 2;
    max-width: 100%;
    margin-right: 0;
  }
  .catalog__countries {
    width: 100%;
    justify-content: space-between;
    transform: translateY(2px);
  }
  .countries__item:not(:last-child) {
    margin-right: 0;
  }
  .catalog__text {
    margin-bottom: 22px;
  }
  .artist-years__list {
    columns: 3;
  }
  .catalog__artist-years {
    margin-bottom: 50px;
  }
  .events__item {
    width: calc((100% - var(--small-gap)) / 2);
    margin-bottom: var(--small-gap);
  }
  .events__item:not(:nth-child(3n)) {
    margin-right: unset;
  }
  .events__item:not(:nth-child(2n)) {
    margin-right: var(--small-gap);
  }
  .events__item:not(:nth-child(-n + 2)) {
    display: none;
  } 
  .events__subtitle {
    width: 99%;
  }
  .events__list {
    margin-bottom: 17px;
  }
  .publishers__container {
    padding: 86px 50px 10px 50px;
    flex-direction: column;
  }
  .publishers__left {
    margin-right: 0;
    margin-bottom: 47px;
  }
  .categories__list {
    margin-bottom: 25px;
    columns: 3;
  }
  .cost__input-container {
    display: inline-block;
  }
  .publishers__swiper-nav {
    margin-top: 0;
    transform: translateX(-25px);
  }
  .publishers__swiper {
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 70px;
  }

  .publishers__swiper-container {
    padding-left: 15px;
  }
  .projects__container {
    padding: 82px 50px 76px;
  }
  .projects__text  {
    margin-bottom: 25px;
  }
  .projects__partners  {
    margin-bottom: 30px;
  }
  .projects__partners-img {
    min-height: 106px;
  }
  .projects__arrow-prev, .projects__arrow-next {
    top: 36%;
  }
  .contacts__left {
    padding-right: calc(5px + (145 - 5) * ((100vw - 320px) / (1920 - 320)));
    padding-bottom: 90px
  }
}
@media screen and (max-width: 767px) {
  .header__container {
    position: relative;
    padding: 10px 15px 10px 15px;
  }
  .header__container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity .3s ease;
  }
  .header__container.overlay::before {
    z-index: 4;
    opacity: 1;
  }
  .header__fake-search.hide {
    z-index: 4;
  }
  .header__logo-img {
    width: 99px;
    height: 23px;
  }
  .header__nav.overlay--search {
    height: 75px;
    visibility: visible;
    opacity: 1;
  }
  .header__burger {
    width: 25px;
    height: 18px;
  }
  .header__burger span,
  .header__burger::before, 
  .header__burger::after {
    height: 2px;
  }
  .header__burger span {
    width: 16px;
    top: 8px;
  }
  .header__burger.close::before,
  .header__burger.close span {
    width: 19px;
    top: 8px;
  }
  .header__burger::after {
    width: 10px;
  }
  .search-top__btn svg,
  .header__fake-search svg {
    width: 18px;
    height: 18px;
  }
  .header__fake-search.hide::before, 
  .header__fake-search.hide::after {
    width: 19px;
    top: 9px;
  }
  .header__search-top {
    left: 17%;
    top: 75%;
    z-index: 4;
   
  }
  .search-text {
  width: 177px;
  }
  .search-top__search-text.visible {
    transform: translateY(-8px);
  }
  .header__logo {
    margin-right: 0;
  }
  .header__link {
    white-space: nowrap;
    font-size: 16px;
    line-height: 32px;
  }
  .header__nav {
    padding-left: 15px;
    padding-top: 46px;
  }
  .header__nav-list {
    margin-bottom: 17px;
  }
  .header__enter--burger {
    padding: 6px 31px;
    font-size: 12px;
  }
  .header__enter--burger svg {
    width: 9px;
    height: 9px;
  }
  .hero-img1{
    background-image: url(../img/hero/hero-imgm1.jpg);
  }
  .hero-img2{
    background-image: url(../img/hero/hero-imgm2.jpg);
  }
  .hero-img3{
    background-image: url(../img/hero/hero-imgm3.jpg);
  }
  .hero__container {
    display: flex;
    padding: 32px 29px 44px 30px;
    flex-direction: column;
    align-items: center;
  }
  .hero__btn {
    margin-bottom: 0;
  }
  .btn--small {
    font-size: 12px;
    line-height: 16px;
    padding: 9px 16px;
  }
  .hero__title {
    margin-bottom: 11px;
    min-width: 100%;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
  }
  .hero__descr {
    margin-bottom: 38px;
    font-size: 12px;
    line-height: 17px;
    text-align: center;
    letter-spacing: unset;
  }
  .about-us__container {
    padding: 50px 15px 10px 15px;
  }
  .about-us__title {
    margin-bottom: 11px;
    font-size: 28px;
    line-height: 38px;
  }
  .about-us__text {
    margin-bottom: 31px;
    font-size: 14px;
    line-height: 28px;
  }
  .gallery__container {
    padding: 50px 15px 42px 15px;
  }
  .gallery__title {
    margin-bottom: 11px;
    font-size: 28px;
    line-height: 38px;  
  }
  .gallery__select {
    max-width: 100%;
  }
  .gallery__subtitle {
    margin: 0 0 4px;
  }
  .gallery__swiper-section {
    flex-direction: column-reverse;
    align-items: center;
    margin-bottom: 20px;
  }
  .gallery__swiper {
    margin-bottom: 0;
    padding-top: 0;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
  }
  .gallery-art {
    height: 367px;
  }
  .gallery__swiper .gallery-art {
    order: 1;
    margin-bottom: 17px;
  }
  .gallery-art__item {
    height: 100%;
  }
  .gallery-swiper__nav {
    margin: 0;
  }
  .gallery-swiper__pagination {
    transform: translateY(2px);
  }
  .gallery__note-tablet {
    margin-bottom: 0;
    bottom: 42px;
  }
  .gallery__left {
    margin-bottom: 16px;
  }
  .gallery__modal {
    padding: 0 15px;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));;
  }
  .modal__content {
    flex-direction: column;
    transform: translateY(166px);
  }
  .modal__content-left {
    width: 100%;
    height: 200px;
  }
  .modal__content-right {
    padding: 16px 15px 10px 17px;
  }
  .catalog__container {
    padding: 52px 15px 36px 15px;
  } 
  .modal__paint-years {
  margin-bottom: 4px;
  }
  .modal__text {
    transform: translateX(4px);
  }
  .modal__close-btn {
    right: 11px;
    top: -192px;
  }
  .catalog__top {
    margin-bottom: 30px;
    align-items: flex-start;
    flex-direction:  column;
  }
  .catalog__title {
    font-size: 28px;
    line-height: 38px;
  }
  .countries__item  {
    width: 32px;
    height: 32px;
  }
  .france {
    background-image: url(../img/catalog/franceM.png);
  }
  .ger {
    background-image: url(../img/catalog/gerM.png);
  }
  .italy {
    background-image: url(../img/catalog/italyM.png);
  }
  .rus {
    background-image: url(../img/catalog/rusM.png);
  }
  .belg {
    background-image: url(../img/catalog/belgM.png);
  }
  .catalog__countries {
    transform: translateY(9px);
  }
  .countries__btn.active-country::before {
    top: -6px;
    bottom: -7px;
    left: -6px;
    right: -7px;
  }
  .catalog__text {
    display: none;
  }
  .catalog__years {
    font-size: 18px;
    line-height: 32px;
    padding: 18px 0 14px;
    height: unset;
  }
  .catalog__arrow svg {
    width: 30px;
    height: 30px;
  }
  .artist-years__list {
    columns: 1;
    padding: 21px 0 23px;
  }
  .events__container {
    padding: 10px 15px 50px 15px;
  }
  .events__item {
    margin-bottom: 3px;
    height: unset;
    width: 100%;
  }
  .events__item:not(:nth-child(-n + 2)) {
    display: unset;
  }
  .events__item:not(:nth-child(2n)) {
    margin-right: unset;
  }
  .events__list-container {
    overflow: hidden;
  }
  .events__swiper-pagination {
    display: block;
  }
  .events__btn-container {
    display: none;
  }
  .events__swiper-pagination-container {
    text-align: center;
  }
  .events__swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--silver-color);
    border-radius: 50%;
  }
  .events__swiper-pagination-bullet:not(:last-child) {
    margin-right: 15px;
  }
  .events__swiper-pagination {
    display: flex;
    justify-content: center;
  }
  .events__swiper-pagination-bullet-active {
    background-color: #666;
  }
  .events__title {
    margin-bottom: 11px;
    font-size: 28px;
    line-height: 38px;
  }
  .events__article-text {
    padding: 10px 11px 42px 29px;
  }
  .events__list {
    flex-wrap: nowrap;
  }
  .publishers__swiper.swiper-wrapper {
    transform: none !important; 
  }
  .publishers__container {
    padding: 51px 15px 1px 15px;
  }
  .publishers__title {
    margin-bottom: 11px;
    font-weight: normal;
    font-size: 28px;
    line-height: 38px; 
  }
  .categories__title-arrow svg {
    display: inline-block;
    transition: transform .3s ease, stroke .3s ease;
  }
  .categories__list {
    margin-bottom: 18px;
    list-style: none;
    columns: unset;
  }
  .categories__title {
    position: relative;
    display: flex;
    padding: 4px 0;
    justify-content: space-between;
    cursor: pointer;
  }
  .categories__title::before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    opacity: .5;
    border-top: 1px solid var(--header-text);
    border-bottom: 1px solid var(--header-text);
  }
  .categories__title.active .categories__title-arrow svg{
    transform: rotate(180deg);
  }
  .checkbox-label {
    position: relative;
    display: none;
    padding: 3px 0 4px 24px;
    opacity: 0;
    transform: translateY(-20px);
    transition-property: opacity, transform;
    transition: .3s ease-in-out;
  }
  .checkmark {
    top: 13px;
  }
  .checkbox-label::before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    opacity: .5;
    border-top: 1px solid var(--header-text);
    border-bottom: 1px solid var(--header-text);
  }
  .checkbox-label.checkbox--label-active {
    display: block;
  }
  .checkbox-label.animation {
    opacity: 1;
    transform: translateY(0px);
  }
  .publishers__swiper-nav {
    display: none;
  }
  .publisers__list {
    padding-left: 0;
    flex-wrap: wrap;
  }
  .publishers__item {
    margin-bottom: 50px;
    width: calc((100% - 30px) / 2);
    min-height: 254px;
    cursor: none;
  }
  .publishers__item:not(:nth-child(2n)) {
    margin-right: 30px;
  }
  .publishers__article-text {
    flex-direction: column;
    
  }
  .publishers__article, 
  .publishers__price {
    font-size: 12px;
    line-height: 16px;
  }
  .publishers__left {
  margin-bottom: 50px;
  }
  .publishers__author {
    transform: translateY(-1px);
  }
  .publishers__btn {
    padding: 8px 35px;
    font-size: 12px;
    line-height: 16px;
  }
  .publishers__swiper  {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .checkbox-label input:checked ~ .categories__item-close {
    opacity: 1;
  }
  .projects__container {
    padding: 49px 15px 47px 15px;
  }
  .projects__title {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 38px;   
  }
  .projects__text {
    margin-bottom: 10px;
    line-height: 31px;
  }
  .projects__partners-img {
    min-width: unset;
    max-width: unset;
    min-height: 65px;

  }
  .projects__partners {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 18px;
    line-height: 32px;
  }
  .projects__arrow-prev, .projects__arrow-next {
    top: 25%;
  }
  .contacts__container {
    padding: 1px 0;
  }
  .contacts__title {
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 28px;
    line-height: 38px;
  }
  .contacts__wrapper {
    flex-direction: column-reverse;
  }
  .form__input {
    min-width: 290px;
  }
  .contacts__map-section {
    width: 100%;
    height: 320px;
  }

  .contacts__address {
    display: none;

  }
  .contacts__map-section .contacts__address {
    display: block;
    padding: 0 15px;
  }
  .contacts__build-name {
    margin-bottom: -2px;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    color: var(--main-text);
  }
  .contacts__address {
    margin-bottom: 16px;
    font-size: 14px;
    font-style: normal;
    line-height: 19px;
  }
  .contacts__left {
    padding-top: 78px;
    padding-left: max(15px, calc((100% - 1703px)/ 2 + 15px));
    padding-right: calc(15px + (150 - 15) * ((100vw - 320px) / (1920 - 320)));
    padding-bottom: 26px;
  }
  .contacts__form-title {
    font-size: 18px;
    line-height: 32px;  
  }
  .form__label:not(:last-child) {
    margin-bottom: 22px;
  }
  .form__btn { 
    padding: 9px 32px;
    font-weight: bold;
    font-size: 12px;
    line-height: 16px;
  }
  .contacts__social-title {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 32px;  
  }
  .contacts__form { 
    margin-bottom: 19px;
  }
  .social__icon {
    width: 50px;
    height: 50px;
  }
  .social__icon:not(:last-child) {
    margin-right: 16px;
  }
  .footer__container {
    padding: 19px 15px;
    flex-direction: column-reverse;
  }
  .footer__logo {
    width: 97px;
    height: 22px;
  }
  .footer__logo-img {
    width: 100%;
    height: 100%;
  }
  .footer__list {
    margin-bottom: 16px;
  }
  .footer__item:not(:last-child) {
    margin-right: 28px;
  }
  .footer__icon svg {
    width: 50px;
    height: 50px;
  }
}