/* Header */

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 100;
  transition: transform .2s ease;
}

.header--hidden {
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .2s ease;
}

.header--fixed {
  position: fixed;
  visibility: visible;
  transform: translateY(0);
}

.header--fixed .header__bottom {
  display: none;
}

.header__container {
  display: flex;
  align-items: center;
}

/* Header Burger Button */

.header__burger {
  position: relative;
  display: none;
  width: 36px;
  height: 28px;
  border: none;
  background-color: transparent;
  animation: fadeIn .25s ease-in-out .2s backwards;
  transition: width .35s ease, opacity .35s ease;
  z-index: 11;
}

.header__burger::before,
.header__burger::after {
  position: absolute;
  content: '';
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  transform-origin: center left;
  transition: background-color .2s ease, width .2s ease, transform .2s ease;
}

.header__burger::after {
  top: auto;
  bottom: 0;
  width: 24px;
}

.header__burger-center-line {
  position: absolute;
  display: inline-block;
  left: 0;
  top: 50%;
  width: 30px;
  height: 3px;
  transform: translateY(-50%);
  background-color: #fff;
  transition: background-color .2s ease;
}

.header__burger--active::before,
.header__burger--active:hover::before {
  width: 100%;
  transform: rotate(45deg);
}

.header__burger--active::after,
.header__burger--active:hover::after {
  width: 100%;
  transform: rotate(-45deg);
}

.header__burger--active .header__burger-center-line {
  display: none;
}

.header__burger--hidden {
  width: 0;
  animation: fadeOut .25s ease-in-out forwards;
  z-index: 1;
}

@media (min-width: 1025px) {

  .header__burger:hover::before {
    width: 24px;
  }

  .header__burger:hover::after {
    width: 100%;
  }

  .header__burger--active:hover::before {
    width: 100%;
  }

  .header__burger:hover::before,
  .header__burger:hover::after,
  .header__burger:hover .header__burger-center-line {
    background-color: var(--hover-color);
  }

}

/* Header Top */

.header__top {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100px;
  background: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0));
  transition: height .2s ease .2s, background .2s ease;
}

.header__container {
  position: relative;
}

.logo {
  max-width: 190px;
  max-height: 40px;
}

.header__logo {
  padding: 0 5px;
  margin-right: auto;
}

.header__nav {
  flex: 0 1 78%;
  z-index: 10;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: 10px 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}

.nav__item:not(.nav__item--login) {
  max-width: 250px;
}

.nav__item--login {
  margin-left: auto;
}

.nav__item:not(:last-child) {
  margin-right: 55px;
}

.nav__link {
  display: inline-block;
  max-width: 100%;
  padding: 2px 4px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  transition: color .2s ease;
}

.login__link {
  display: inline-block;
  padding: 2px 4px;
  max-width: 200px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: color .2s ease;
}

.login__link.focus-visible .login__icon-path {
  d: path("M9.62056 9.09278L10.6389 10.1111L14.25 6.5L10.6389 2.88889L9.62056 3.90722L11.4839 5.77778H0V7.22222H11.4839L9.62056 9.09278ZM16.0556 0H5.94444C5.14278 0 4.5 0.65 4.5 1.44444V4.33333H5.94444V1.44444H16.0556V11.5556H5.94444V8.66667H4.5V11.5556C4.5 12.35 5.14278 13 5.94444 13H16.0556C16.85 13 17.5 12.35 17.5 11.5556V1.44444C17.5 0.65 16.85 0 16.0556 0Z");
  d: "M9.62056 9.09278L10.6389 10.1111L14.25 6.5L10.6389 2.88889L9.62056 3.90722L11.4839 5.77778H0V7.22222H11.4839L9.62056 9.09278ZM16.0556 0H5.94444C5.14278 0 4.5 0.65 4.5 1.44444V4.33333H5.94444V1.44444H16.0556V11.5556H5.94444V8.66667H4.5V11.5556C4.5 12.35 5.14278 13 5.94444 13H16.0556C16.85 13 17.5 12.35 17.5 11.5556V1.44444C17.5 0.65 16.85 0 16.0556 0Z";
}

.login__icon-path {
  transition: fill .2s ease, d .2s ease;
}

@media (min-width: 1025px) {

  .nav__link:hover {
    color: var(--hover-color);
  }

  .login__link:hover {
    color: var(--hover-color);
  }

  .login__link:hover .login__icon-path {
    d: path("M9.62056 9.09278L10.6389 10.1111L14.25 6.5L10.6389 2.88889L9.62056 3.90722L11.4839 5.77778H0V7.22222H11.4839L9.62056 9.09278ZM16.0556 0H5.94444C5.14278 0 4.5 0.65 4.5 1.44444V4.33333H5.94444V1.44444H16.0556V11.5556H5.94444V8.66667H4.5V11.5556C4.5 12.35 5.14278 13 5.94444 13H16.0556C16.85 13 17.5 12.35 17.5 11.5556V1.44444C17.5 0.65 16.85 0 16.0556 0Z");
    d: "M9.62056 9.09278L10.6389 10.1111L14.25 6.5L10.6389 2.88889L9.62056 3.90722L11.4839 5.77778H0V7.22222H11.4839L9.62056 9.09278ZM16.0556 0H5.94444C5.14278 0 4.5 0.65 4.5 1.44444V4.33333H5.94444V1.44444H16.0556V11.5556H5.94444V8.66667H4.5V11.5556C4.5 12.35 5.14278 13 5.94444 13H16.0556C16.85 13 17.5 12.35 17.5 11.5556V1.44444C17.5 0.65 16.85 0 16.0556 0Z";
    fill: var(--hover-color);
  }

}

.nav__link:active {
  color: var(--active-color);
}

.login__link:active {
  color: var(--active-color);
}

.login__link:active .login__icon-path {
  fill: var(--active-color);
}

/* Header Bottom */

.header__bottom {
  min-height: 70px;
  background-color: rgba(0, 0, 0, .4)
}

.artists__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 18px;
  line-height: 1;
}

.artists__item {
  max-width: 250px;
  height: 100%;
  cursor: pointer;
  z-index: 1;
}

.artists__item:not(:last-child) {
  margin-right: 90px;
}

.artists__link {
  position: relative;
  padding: 2px 4px;
  padding-right: 20px;
  max-width: 100%;
  line-height: 70px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color .2s ease;
  z-index: 11;
}

.artists__link:before {
  position: absolute;
  top: 35%;
  right: 5px;
  content: '';
  width: 8px;
  height: 8px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg) scaleY(1);
  transition: border-color .2s ease, transform .25s ease;
}

.artists__item--visible .artists__link,
.artists__item--visible .artists__link:before {
  color: var(--hover-color);
  border-color: var(--hover-color);
}

.artists__item--visible .artists__link:before {
  transform: rotate(-45deg) translateX(-35%) translateY(35%) scaleY(-1);
}

.artists__item--active .artists__link,
.artists__item--active .artists__link:before {
  color: var(--active-color);
  border-color: var(--active-color);
}


.artists__item--active .artists__link:before {
  transform: rotate(-45deg) translateX(-35%) translateY(35%) scaleY(-1);
}

@media (min-width: 1025px) {

  .artists__link:hover {
    color: var(--hover-color);
  }

  .artists__link:hover:before {
    border-color: var(--hover-color);
  }

}

.artists__link:active {
  color: var(--active-color);
}

.artists__link:active:before {
  border-color: var(--active-color);
  transform: rotate(-45deg) translateX(-35%) translateY(35%) scaleY(-1);
}

/* Dropdown Menu */

.artists__dropdown-list {
  position: absolute;
  display: block;
  padding: 40px 0;
  min-width: 300px;
  max-height: 300px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(.8);
  background-color: rgba(0, 0, 0, .6);
  transition: opacity .35s ease-in-out, visibility .35s ease-in-out, transform .35s ease-in-out;
  ;
}

.artists__dropdown-list::before {
  position: absolute;
  top: -70px;
  left: 0;
  display: inline-block;
  content: '';
  width: 100%;
  height: 70px;
  z-index: 10;
}

.artists__item--active .artists__dropdown-list,
.artists__item--visible .artists__dropdown-list {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.artists__dropdown-item {
  margin: 0 auto;
  width: 220px;
  height: 40px;
}

.artists__dropdown-item:not(:last-child) {
  margin-bottom: 20px;
}

.artists__dropdown-link {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  transition: border-color .2s ease;
}

.artists__dropdown-link::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(194, 131, 243, .4);
  opacity: 0;
  transition: opacity .2s ease;
}

.artists__name {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 100%;
  padding-right: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transform: translateY(-50%);
}

@media (min-width: 1025px) {

  .artists__dropdown-link:hover {
    border-color: var(--main-color);
  }

}

.artists__dropdown-link:active::before {
  opacity: 1;
}

.artists__dropdown-link:active {
  border-color: var(--border-color);
}

/* Site Searchbar */

.search {
  position: relative;
  display: flex;
  margin-left: auto;
  padding: 2px 4px;
  padding-left: 40px;
  width: 251px;
  cursor: pointer;
  z-index: 1;
}

.searchbar {
  border: none;
  border-bottom: 1px solid #fff;
  height: 26px;
  width: 100%;
  color: #fff;
  background-color: transparent;
  transition: border-color .2s ease;
  cursor: pointer;
  caret-color: var(--hover-color);
}

.search__rect,
.search-top__rect,
.search__path,
.search-top__path {
  transition: fill .2s ease;
}

.search__btn {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  border: 0;
  width: 25px;
  height: 100%;
  font-size: 0;
  background-color: transparent;
  z-index: 2;
}

.search__btn-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translateX(-50%) translateY(-50%);
}

.search__btn:focus {
  outline-offset: 0;
}

.searchbar:focus {
  outline: none;
}

.search-top {
  display: none;
}

.search-top__btn-close {
  position: relative;
  visibility: hidden;
  width: 0;
  height: 29px;
  border: none;
  background-color: transparent;
  opacity: 0;
  transform: rotate(45deg);
  transition: width .2s ease .2s, opacity .35s ease .2s, transform .35s ease-in-out .2s;
}

.search-top__btn-close::before,
.search-top__btn-close::after {
  position: absolute;
  content: '';
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
}

.search-top__btn-close::before {
  top: 13px;
  transform: rotate(45deg);
}

.search-top__btn-close::after {
  bottom: 13px;
  transform: rotate(-45deg);
}

.search-top__btn-close--active {
  visibility: visible;
  width: 29px;
  opacity: 1;
  transform: rotate(-180deg);
}

@media (min-width: 1025px) {

  .search:hover .searchbar {
    border-color: var(--hover-color);
  }

  .search:hover .searchbar::placeholder {
    opacity: .6;
  }

  .search:hover .search__rect,
  .search:hover .search-top__rect,
  .search:hover .search__path,
  .search:hover .search-top__path {
    fill: var(--hover-color);
  }

}

.searchbar::placeholder {
  color: #fff;
  letter-spacing: 1px;
  transition: color .2s ease, opacity .2s ease;
}

.searchbar:active::placeholder,
.search:hover .searchbar.focus-visible::placeholder,
.searchbar.focus-visible::placeholder {
  color: transparent;
  opacity: 0;
}

/* Hero Section */

.hero {
  position: relative;
  padding: 125px 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  animation: hero__bg-scale 5s linear infinite alternate,
    hero__bg-change--fhd 25s cubic-bezier(.9, .05, .9, .05) infinite alternate;
  z-index: -1;
}

.hero__inner {
  color: #fff;
  padding-top: 110px;
}

.hero__title {
  margin-bottom: 20px;
  max-width: 600px;
  font-size: 72px;
  font-weight: 700;
  line-height: 85px;
}

.main__text {
  margin-bottom: 95px;
  max-width: 580px;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.subscribe-btn {
  display: inline-block;
  padding: 17px 35px;
  max-width: 350px;
  border: 3px solid var(--main-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  background-color: var(--main-color);
  transition: border-color .2s linear, background-color .2s linear;
}

/* About Section */

.about__inner {
  max-width: 1080px;
}

/* Gallery Section */

.gallery {
  background: #060606 url('../img/gallery/bg.jpg') no-repeat center;
  background-size: cover;
}

.gallery__inner {
  display: flex;
}

.gallery__description {
  flex: 0 3 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-right: 50px;
}

.gallery__paintings {
  flex: 0 5 1150px;
  display: flex;
  flex-direction: column;
  margin: 15px 0 5px;
  line-height: 0;
}

.gallery__description-inner {
  color: #fff;
}

.gallery__title {
  margin-bottom: 25px;
  line-height: 1;
}

.gallery__select {
  margin-bottom: 100px;
}

.gallery__select-text {
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1;
}

.gallery__description-text {
  padding-right: 50px;
  color: #fff;
}

.paintings__item {
  position: relative;
  display: inline-block;
  height: auto;
}

.paintings__item-link {
  display: block;
  width: 100%;
  height: 100%;
}

.paintings__item-image img {
  width: 100%;
  height: 100%;
}

.paintings__item-image {
  border: 3px solid transparent;
}

.paintings__item-description {
  display: none;
}

.paintings__item-link.focus-visible>.paintings__item-image {
  border-color: var(--active-color);
}

.paintings__item-link::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(194, 131, 243, 0.4);
  border: 3px solid var(--border-color);
  opacity: 0;
  transition: opacity .2s ease;
}

@media (min-width: 1025px) {

  .paintings__item-link::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    background: url('../img/gallery/pictures/hover.png') no-repeat center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity .2s ease;
    z-index: 1;
  }

  .paintings__item-link:hover::before {
    opacity: 1;
  }

}

.paintings__item-link:active::after {
  opacity: 1;
}

/* Gallery Select Styles */

.choices {
  z-index: 2;
}

.choices__inner {
  box-sizing: border-box;
  padding-top: 6.5px;
  padding-bottom: 6.5px;
  padding-left: 15px;
  min-height: auto;
  font-size: 16px;
  line-height: 1;
}

.choices__list--single {
  padding-left: 0;
  padding-right: 25px;
}

.choices__list--dropdown .choices__item {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 15px;
  font-size: 16px;
}

.choices__inner,
.choices.is-open .choices__inner,
.choices__list--dropdown {
  border-radius: 6px;
}

.choices__inner,
.choices.is-open .choices__inner,
.choices.is-focused .choices__inner {
  border-color: #fff;
}

.choices__list--dropdown {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity .2s ease, transform .2s ease;
}

.is-open .choices__list--dropdown {
  border-color: #999;
  border-top: none;
  opacity: 1;
  transform: scaleY(1);
}

.choices__inner,
.choices__list {
  background-color: transparent;
}

.choices__item--selectable {
  color: #fff;
}

.choices__item--choice {
  color: #999;
}

.choices__item--selectable {
  transition: color .2s ease, background-color .2s ease;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
}

.choices__item--choice:not(:last-child) {
  border-bottom: 1px solid #999;
}

.choices[data-type*=select-one]:after {
  right: 15px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-top: none;
  border-left: none;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}

.choices[data-type*=select-one].is-open:after {
  top: 25px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
  border-bottom: none;
  border-right: none;
}

.choices__item--choice.is-selected {
  display: none;
}

.choices__list--dropdown .choices__item--selectable:after {
  display: none;
}

.choices.focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 2px;
}

/* Paintings Slider */

.paintings__list {
  height: auto;
}

/* Общие стили для кнопок слайдера: */

.swiper-button {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 25px;
  line-height: 2;
}

.swiper-button-prev,
.swiper-button-next {
  position: relative;
  background-color: rgba(255, 255, 255, .5);
  width: 30px;
  height: 30px;
  border: 2px solid transparent;
  border-radius: 100%;
  transform: translateY(-5%);
  transition: background-color .2s linear, border-color .2s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 11px;
  color: #fff;
  transition: color .2s ease;
}

.swiper-button-prev.focus-visible,
.swiper-button-next.focus-visible {
  outline: none;
  border-color: var(--active-color);
}

.swiper-button-prev.focus-visible:after,
.swiper-button-next.focus-visible:after {
  color: #000;
}

.swiper-button-gallery__prev,
.swiper-button-gallery__next {
  position: static;
}

.swiper-pagination__gallery {
  position: relative;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  left: 0;
  bottom: 0;
  width: auto;
  margin: 0 20px;
  color: #fff;
}

@media (min-width: 1025px) {

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: var(--main-color);
    border-color: var(--main-color);
  }

  .swiper-button-prev:hover:after,
  .swiper-button-next:hover:after {
    color: #fff;
  }

}

.swiper-button-next:active,
.swiper-button-prev:active {
  border-color: var(--border-color);
  background-color: var(--active-color);
}

.swiper-button-next:active:after,
.swiper-button-prev:active:after {
  color: #fff;
}

.gallery__text {
  display: none;
  color: #fff;
}

/* Catalog Section */

.catalog__heading {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.catalog__section-title {
  margin-right: 30px;
  margin-bottom: 0;
}

.country__list {
  display: flex;
}

.country__item {
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 50%;
  line-height: 0;
}

.country__item--selected {
  border-color: var(--main-color);
}

.country__item:not(:last-child) {
  margin-right: 26px;
}

.country__btn {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.country__btn::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  transition: border-color .2s ease;
}

.country__btn:active::before {
  border-color: var(--main-color);
}

.country__btn:active {
  box-shadow: none;
}

.country__btn--french {
  background-image: url('../img/catalog/country_icons/french.png');
}

.country__btn--germany {
  background-image: url('../img/catalog/country_icons/ger.png');
}

.country__btn--italian {
  background-image: url('../img/catalog/country_icons/italy.png');
}

.country__btn--russian {
  background-image: url('../img/catalog/country_icons/rus.png');
}

.country__btn--belgium {
  background-image: url('../img/catalog/country_icons/belgium.png');
}

.catalog-tabs__country {
  display: none;
  opacity: 0;
}

.catalog-tabs__country--active {
  display: block;
  opacity: 1;
  animation: fadeIn .25s ease-in-out;
}

.catalog__section-text {
  max-width: 1080px;
  margin-bottom: 40px;
}

.catalog__inner {
  display: flex;
}

.catalog__tab-list {
  flex: 0 1 750px;
  margin-right: 50px;
}

.catalog__tab-artist {
  display: none;
  width: 100%;
  height: auto;
  opacity: 0;
}

.catalog__tab-artist--active {
  display: block;
  opacity: 1;
  animation: fadeIn .25s ease-in-out;
}

.catalog__artist-image {
  margin-bottom: 30px;
  width: 100%;
  height: 100%;
}

.catalog__section-subtitle,
.catalog__artist-years {
  margin-bottom: 5px;
}

.catalog__artist-years {
  font-size: 12px;
  line-height: 1.6;
  color: #999;
}

/* Catalog Accordion */

.catalog-accordion {
  flex: 0 1 800px;
}

.catalog-accordion__list {
  width: 100%;
  border-top: 1px solid #cacaca;
}

.catalog-accordion__header {
  position: relative;
  display: flex;
  min-height: 112px;
  padding: 15px 0;
  border-bottom: 1px solid #cacaca;
  cursor: pointer;
  transition: border-color .2s ease;
}

.catalog-accordion__header::before {
  position: absolute;
  content: '';
  top: 50%;
  right: 0;
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 50%;
  background-color: #ececec;
  transform: translateY(-50%);
  transition: border-color .2s ease, background-color .2s ease;
}

.catalog-accordion__header::after {
  position: absolute;
  content: '';
  top: 50%;
  right: 19px;
  width: 12px;
  height: 12px;
  border-right: 1px solid #000;
  border-top: 1px solid #000;
  transform: rotate(135deg) translateY(-50%);
  transform-origin: top center;
  transition: border-color .2s ease;
}

.catalog-accordion__subtitle {
  width: 100%;
  margin: auto 0;
  padding-right: 85px;
  transition: color .2s ease;
}

.catalog-accordion__content {
  height: 0;
  border-color: transparent;
  opacity: 0;
  visibility: hidden;
  font-size: 0;
  transition: height .2s ease, opacity .2s ease, padding .2s ease, border-color .2s ease;
}

.accordion-artists__list {
  -webkit-columns: 3;
  -moz-columns: 3;
  columns: 3;
}

.accordion-artists__link {
  transition: color .2s ease;
}

.accordion-artists__link--active {
  color: var(--main-color);
}

.accordion-artists__item a:active {
  color: var(--active-color);
  text-decoration: none;
}

.catalog-accordion__item--open .catalog-accordion__header {
  border-color: var(--main-color);
}

.catalog-accordion__item--open .catalog-accordion__content {
  padding: 25px 0 38px 0;
  height: auto;
  opacity: 1;
  visibility: visible;
  font-size: 16px;
  border-bottom: 1px solid var(--main-color);
}

.catalog-accordion__item--open .catalog-accordion__header::after {
  right: 23px;
  transform: rotate(-45deg);
}

@media (min-width: 1025px) {

  .country__btn:hover {
    box-shadow: 0 0 20px rgba(157, 92, 208, .7);
  }

  .country__btn:hover:active {
    box-shadow: none;
  }

  .catalog-accordion__header:hover .catalog-accordion__subtitle {
    color: var(--main-color);
  }

  .catalog-accordion__header:hover::before {
    background-color: var(--main-color);
  }

  .catalog-accordion__header:hover::after {
    border-color: #fff;
  }

  .accordion-artists__link:hover {
    color: var(--main-color);
    text-decoration: underline;
  }

}

.country__btn.focus-visible {
  outline: none;
  border: 2px solid var(--main-color);
  box-shadow: none;
}

.catalog-accordion__header.focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 4px;
}

.catalog-accordion__header:active .catalog-accordion__subtitle {
  color: var(--main-color);
}

.catalog-accordion__header:active::before {
  border-color: var(--border-color);
  background-color: var(--active-color);
}

.catalog-accordion__header:hover:active .catalog-accordion__subtitle {
  color: var(--active-color);
}

/* Events Section */

.events {
  padding-top: 10px;
}

.events__section-title {
  margin-bottom: 10px;
}

.events__list {
  display: flex;
  flex-wrap: wrap;
}

.events__card {
  flex: 0 0 calc(100% / 3 - 50px * 2 / 3);
  display: flex;
  flex-direction: column;
  margin-bottom: 45px;
  height: auto;
  visibility: visible;
  transform: scale(1);
  transform-origin: top;
  opacity: 1;
  transition: transform .2s ease, opacity .2s ease;
}

.events__card--hidden {
  visibility: hidden;
  margin-bottom: 0;
  height: 0;
  transform: scale(.75);
  opacity: 0;
}

.events__card:not(:nth-child(3n)) {
  margin-right: 50px;
}

.events__photo {
  width: 100%;
  background: linear-gradient(to bottom, var(--border-color), var(--main-color));
}

.events__link {
  position: relative;
  display: block;
  overflow: hidden;
  opacity: 1;
  transition: opacity .25s ease;
}

.events__link:hover:active {
  opacity: .3;
}

.events__link.focus-visible {
  outline: none;
  opacity: .55;
}

.events__link.focus-visible .events__image img {
  transform: scale(1.05);
}

.events__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 300px;
  transform: scale(1);
  transition: transform .35s ease;
}

.events__details {
  padding: 14px 18px 0;
  border-left: 1px solid #cacaca;
  border-right: 1px solid #cacaca;
}

.events__description {
  display: flex;
  flex-direction: column;
  padding: 0 40px 40px 50px;
  height: 100%;
  border: 1px solid #cacaca;
  border-top: none;
}

.events__place,
.events__date {
  display: block;
  text-align: right;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #999;
}

.events__date,
.events__title {
  margin-bottom: 5px;
}

.events__title {
  line-height: 1.3;
}

.events__text {
  margin-bottom: 80px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-height: 2;
}

.events__details-link {
  padding-bottom: 3px;
  margin-top: auto;
  width: fit-content;
  width: -moz-fit-content;
  border-bottom: 1px solid var(--main-color);
  font-size: 16px;
  line-height: 32px;
  color: var(--main-color);
  transition: color .2s ease, border-color .2s ease, font-weight .2s ease;
}

.events__details-link:active {
  border-color: var(--active-color);
  color: var(--active-color);
}

.events__all-btn {
  display: block;
  max-width: 250px;
  margin: 0 auto;
  padding: .8em 2.5em;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  background-color: transparent;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.events__all-btn--hidden {
  display: none;
}

.events__all-btn:active,
.events__all-btn:hover:active {
  border-color: var(--border-color);
  color: #fff;
  background-color: var(--active-color);
}

@media (min-width: 1025px) {

  .events__link:hover {
    opacity: .55;
  }

  .events__link:hover .events__image img {
    transform: scale(1.05);
  }

  .events__details-link:hover {
    font-weight: 700;
  }

  .events__details-link:hover:active {
    border-color: var(--active-color);
  }

  .events__all-btn:hover {
    color: #fff;
    border-color: var(--main-color);
    background-color: var(--main-color);
  }

}

/* Events Slider */

.events__swiper-container {
  overflow: hidden;
  width: 100%;
}

.events__swiper-container>.swiper-pagination__events {
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
}

.events__swiper-container>.swiper-pagination__events .swiper-pagination-bullet {
  margin: 0 7px;
}

.swiper-pagination__events .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cacaca;
  opacity: 1;
}

.swiper-pagination__events .swiper-pagination-bullet-active {
  background: #666;
}

/* Publications Section */

.publications {
  display: flex;
  background: #000 url('../img/publications/bg/bg_fhd.jpg') no-repeat center;
  background-size: cover;
  color: #fff;
}

.publications__inner {
  position: relative;
  display: flex;
}

.publications__selection {
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  flex: 0 0 340px;
  margin-right: 100px;
}

.publications__subtitle {
  display: inline-block;
  font-weight: 700;
}

.publications__checkbox {
  margin-bottom: 35px;
}

.publications__checkbox-item {
  line-height: 1.4;
}

.publications__checkbox-item:not(:last-child) {
  margin-bottom: 10px;
}

.publications__checkbox-subtitle {
  margin-bottom: 5px;
}

.publications__checkbox-custom {
  position: relative;
  display: block;
  padding-left: 20px;
  max-width: fit-content;
  max-width: -moz-fit-content;
  cursor: pointer;
}

.publications__checkbox-custom.focus-visible {
  outline: none;
}

.publications__checkbox-custom.focus-visible .publications__checkbox-custom-text {
  outline: 3px solid var(--main-color);
  outline-offset: 2px;
}

.publications__checkbox-input {
  display: none;
}

.publications__checkbox-input+.publications__checkbox-custom-dot {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 0;
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  transform: translateY(-50%);
  text-align: center;
  transition: border-color .2s ease;
}

.publications__checkbox-custom-text {
  transition: color .2s ease;
}

.publications__checkbox-input:checked~.publications__checkbox-custom-text {
  color: var(--hover-color);
}

.publications__checkbox-input:checked+.publications__checkbox-custom-dot {
  border-color: var(--hover-color);
}

.publications__checkbox-input+.publications__checkbox-custom-dot::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--hover-color);
  opacity: 0;
  transition: opacity .2s ease, background-color .2s ease;
}

.publications__checkbox-input:checked+.publications__checkbox-custom-dot::before {
  opacity: 1;
}

.publications__checkbox-input:active~.publications__checkbox-custom-text {
  color: var(--active-color);
}

.publications__checkbox-input:active+.publications__checkbox-custom-dot {
  border-color: var(--active-color);
}

.publications__checkbox-input:active+.publications__checkbox-custom-dot::before {
  background-color: var(--active-color);
}

.publications__checkbox-unmark {
  display: none;
  visibility: hidden;
  height: 0;
  width: 0;
  opacity: 0;
  transition: visibility .2s ease, opacity .2s ease;
}

.publications__price-form {
  padding: 0 10px;
  max-width: 280px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 5px;
  height: 40px;
}

.price-form__input {
  margin: 0 5px;
  padding: 0 7px;
  height: 100%;
  max-width: 75px;
  border: none;
  background-color: rgba(157, 92, 208, 0.5);
  transition: background-color .2s ease;
}

.price-form__input:active,
.price-form__input.focus-visible {
  background-color: var(--active-color);
  outline: none;
}

@media (min-width: 1025px) {
  .publications__checkbox-input:hover~.publications__checkbox-custom-text {
    color: var(--hover-color);
  }

  .publications__checkbox-input:hover+.publications__checkbox-custom-dot {
    border-color: var(--hover-color);
  }

  .publications__checkbox-input:active:hover~.publications__checkbox-custom-text {
    color: var(--active-color);
  }

  .publications__checkbox-input:active:hover+.publications__checkbox-custom-dot {
    border-color: var(--active-color);
  }

  .price-form__input:hover {
    background-color: rgba(157, 92, 208, 0.65);
  }

  .price-form__input.focus-visible:hover {
    background-color: var(--active-color);
  }
}

/* Publication Spoiler */

.publications__checkbox-mobile {
  display: none;
}

/* Publications Slider: */

.publications__items {
  flex: 0 1 1150px;
}

.publications__items-control {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0;
}

.swiper-button-publications {
  margin: 15px 0;
  align-items: center;
  line-height: 1.5;
}

.swiper-pagination__publications {
  position: relative;
  margin: 0 25px;
}

.publications__list {
  height: auto;
}

.publications__item {
  display: flex;
  flex-direction: column;
  height: auto;
  overflow: hidden;
}

.publications__item-cover {
  position: relative;
  margin-bottom: 15px;
}

.publications__item-link {
  display: block;
  width: 100%;
  height: 100%;
}

.publications__item-link::before {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: url('../img/svg/shopping-cart.svg') no-repeat center;
  background-size: 25% auto;
  opacity: 0;
  transition: opacity .35s ease, background-size .2s ease;
  z-index: 2;
}

.publications__item-link::after {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  left: 50%;
  width: 85%;
  height: 85%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, .35);
  opacity: 0;
  transition: opacity .35s ease, width .2s ease, height .2s ease;
  z-index: 1;
}

.publications__item-image,
.publications__item-image img {
  width: 100%;
  height: 100%;
}

.publications__item-picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.publications__item-picture::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  border: 3px solid transparent;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: linear-gradient(to bottom, var(--main-color), var(--active-color));
  opacity: 0;
  transition: border-color .2s ease, opacity .2s ease;
  z-index: 1;
}

.publications__item-link:active .publications__item-picture::before {
  border-color: var(--border-color);
  opacity: .65;
}

.publications__item-info {
  position: relative;
  margin-bottom: 10px;
  width: 100%;
}

.publications__item-subtitle {
  max-width: calc(100% - 85px);
  line-height: 1.4;
}

.publications__item-price {
  position: absolute;
  top: 5px;
  right: 0;
  max-width: 80px;
  text-align: right;
  font-style: italic;
  line-height: 1.4;
}

.publications__item-author {
  line-height: 1.2;
}

.publications__item-order {
  display: inline-block;
  padding: 8px 25px;
  margin-top: auto;
  max-width: fit-content;
  max-width: -moz-fit-content;
  border: 2px solid var(--main-color);
  border-radius: 100px;
  text-align: center;
  font-weight: 700;
  line-height: 1.4;
  background-color: transparent;
  transition: border-color .2s linear, background-color .2s linear;
}

.publications__item-order:active {
  border-color: var(--border-color);
  background-color: var(--active-color);
}

.publications__item-order.focus-visible {
  outline: none;
  background-color: var(--main-color);
}

@media (min-width: 1025px) {

  .publications__item-link:hover::before,
  .publications__item-link:hover::after {
    opacity: 1;
  }

  .publications__item-link:active::before {
    background-size: 28% auto;
  }

  .publications__item-link:active::after {
    width: 100%;
    height: 100%;
  }

  .publications__item-order:hover {
    background-color: var(--main-color);
  }

  .publications__item-order:hover:active {
    background-color: var(--active-color);
  }

}

/* Projects Section */

.projects__description {
  margin-bottom: 15px;
  max-width: 1080px;
}

.projects__section-title {
  margin-bottom: 15px;
}

.projects-link {
  color: var(--main-color);
}

.projects__section-subtitle {
  margin-bottom: 20px;
}

.projects__partners-item {
  width: 450px;
  height: 150px;
  border: 1px solid #cacaca;
}

.projects__partners-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.projects__partners-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 75%;
  max-height: 80%;
  transform: translate(-50%, -50%) scale(1);
  filter: grayscale(100%);
  opacity: .4;
  transition: filter .25s ease, opacity .25s ease, transform .2s ease;
}

.projects__partners-link:active .projects__partners-logo {
  transform: translate(-50%, -50%) scale(1.05);
  filter: grayscale(0);
  opacity: 1;
}

/* Tooltips */

.tooltip {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  transform: translateY(2px);
}

.tooltip__btn {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: url('../img/svg/tooltip.svg') no-repeat center;
  background-size: contain;
}

.tooltip .tooltip__text {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  padding: 10px;
  width: 264px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: #fff;
  background-color: #cacaca;
  opacity: 0;
  visibility: hidden;
  transition: visibility .2s ease, opacity .2s ease;
  transform: translateX(-50%);
}

.tooltip .tooltip__text::after {
  content: '';
  position: absolute;
  bottom: calc(0% - 5px);
  left: 50%;
  width: 10px;
  height: 10px;
  background-color: #cacaca;
  opacity: 0;
  visibility: hidden;
  transition: visibility .2s ease, opacity .2s ease;
  transform: translateX(-50%) rotate(45deg);
}

.tooltip .tooltip__text--right {
  left: 0%;
  transform: translateX(-5%);
}

.tooltip .tooltip__text--right::after {
  left: 10%;
  transform: translateX(-90%) rotate(45deg);
}

.tooltip .tooltip__text--left {
  left: 10%;
  transform: translateX(-90%);
}

.tooltip .tooltip__text--left::after {
  left: 95%;
  transform: translateX(-95%) rotate(45deg);
}

.tooltip__btn:focus+.tooltip__text,
.tooltip__btn:focus+.tooltip__text::after {
  opacity: 1;
  visibility: visible;
}

/* Projects Slider */

.projects__swiper-container {
  margin: 0 auto;
  padding: 0 75px;
}

.projects__swiper-button-prev,
.projects__swiper-button-next {
  position: absolute;
  background-color: #ececec;
  transform: translateY(20%);
}

.swiper-button-projects__prev::after,
.swiper-button-projects__next::after {
  color: #000;
}

.projects__partners-item.swiper-slide {
  opacity: .3;
  transition: opacity .25s ease;
}

.projects__partners-item.swiper-slide-active,
.projects__partners-item.swiper-slide-next,
.projects__partners-item.swiper-slide-next+.swiper-slide {
  opacity: 1;
  transition: opacity .25s ease;
}

@media (min-width: 1025px) {

  .tooltip:hover .tooltip__text,
  .tooltip:hover .tooltip__text::after {
    opacity: 1;
    visibility: visible;
  }

  .projects__partners-link:hover .projects__partners-logo {
    transform: translate(-50%, -50%) scale(1.05);
    filter: grayscale(0);
    opacity: 1;
  }

}

/* Contacts Section */

.contacts {
  padding: 0;
}

.contacts__section-title {
  margin-bottom: 15px;
}

.contacts-data {
  position: relative;
  display: flex;
}

.contacts-data__feedback {
  flex: 0 0 35%;
  padding: 120px 50px 120px 0;
  border: 1px solid #cacaca;
}

.contacts-data__map {
  flex: 0 1 65%;
  padding: 0;
  height: auto;
}

.contacts-data__office {
  margin-bottom: 25px;
}

.contacts-data__office-address {
  font-style: normal;
}

.feedback__form-subtitle {
  margin-bottom: 25px;
  font-weight: 400;
}

.feedback__form {
  margin-bottom: 30px;
}

.feedback__form-input {
  display: block;
  padding: 5px 25px;
  margin-bottom: 25px;
  height: 40px;
  width: 400px;
  border: 1px solid #333;
  border-radius: 100px;
  background-color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.feedback__form-input::placeholder {
  color: #999;
  opacity: 1;
  transition: opacity .2s ease;
}

.feedback__btn {
  display: block;
  padding: .8em 2.5em;
  max-width: 250px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  background-color: transparent;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.feedback__btn:active,
.feedback__btn:hover:active {
  border-color: var(--border-color);
  color: #fff;
  background-color: var(--active-color);
}

.feedback__contacts-list {
  display: flex;
}

.feedback__contacts-item {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.feedback__contacts-item:not(:last-child) {
  margin-right: 16px;
}

.feedback__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.feedback__link--whatsapp {
  background-image: url('../img/svg/social/whatsapp-icon.svg');
}

.feedback__link--telegram {
  background-image: url('../img/svg/social/telegram_logo.svg');
}

.feedback__link:focus {
  outline: none;
}

.feedback__link.focus-visible::before {
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  content: '';
  border: 2px solid var(--main-color);
  border-radius: 100px;
}

@media (min-width: 1025px) {

  .feedback__form-input:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
  }

  .feedback__form-input:hover::placeholder {
    opacity: .6;
  }

  .feedback__btn:hover {
    color: #fff;
    border-color: var(--main-color);
    background-color: var(--main-color);
  }

  .feedback__link:hover {
    opacity: .8;
    transform: scale(1.05);
  }

}

.feedback__link:active,
.feedback__link:hover:active {
  opacity: .8;
  transform: scale(1.05);
}

.feedback__form-input:focus::placeholder {
  opacity: 0;
}

.feedback__form-input:focus,
.feedback__form-input:hover:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 15px rgba(157, 92, 208, .5);
}

.feedback__form-input:active {
  box-shadow: none;
}

/* Валидация формы */

.feedback__form-input-block {
  position: relative;
}

.js-validate-error-label {
  position: absolute;
  top: -28px;
  left: 20px;
  font-size: 12px;
}

/* Yandex Map / Яндекс карта */

[class*="ground-pane"] {
  filter: grayscale(1);
}

/* Footer */

.footer {
  background-color: #000;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 150px;
}

.social__item {
  display: inline-block;
  width: 50px;
  height: 50px;
}

.social__item:not(:last-child) {
  margin-right: 10px;
}

.social__item-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  opacity: .6;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.social__link-icon {
  display: block;
  width: 100%;
  height: 100%;
}

@media (min-width: 1025px) {
  .social__item-link:hover {
    opacity: 1;
  }
}

.social__item-link:focus {
  outline: none;
}

.social__item-link:active,
.social__item-link:hover:active {
  opacity: 1;
  transform: scale(1.05);
}

.social__item-link.focus-visible {
  opacity: 1;
}

.social__item-link.focus-visible::before {
  position: absolute;
  top: -5px;
  right: -5px;
  bottom: -5px;
  left: -5px;
  content: '';
  border: 2px solid var(--main-color);
  border-radius: 100px;
}

/* Popups */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .75);
  opacity: 0;
  visibility: hidden;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all .75s ease;
  z-index: 1000;
}

.popup--open {
  opacity: 1;
  visibility: visible;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup__content {
  position: relative;
  background-color: #fff;
  opacity: 0;
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
  transition: all .75s ease;
}

.popup--open .popup__content {
  opacity: 1;
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
}

.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  z-index: 1;
}

.popup__close::before,
.popup__close::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #333;
  transform: translateY(-50%);
  transition: transform .2s ease, background-color .2s ease;
}

.popup__close::before {
  transform: rotate(45deg);
}

.popup__close::after {
  transform: rotate(-45deg);
}

@media (min-width: 1025px) {

  .popup__close:hover::before,
  .popup__close:hover::after {
    background-color: var(--main-color);
  }

  .popup__close:hover::before {
    transform: rotate(315deg);
  }

  .popup__close:hover::after {
    transform: rotate(-135deg);
  }

}

.popup__close:active::before,
.popup__close:active::after,
.popup__close:hover:active::before,
.popup__close:hover:active::after,
.popup__close.focus-visible::before,
.popup__close.focus-visible::after {
  background-color: var(--active-color);
}

/* Popup Login */

.popup__login-content {
  padding: 55px 35px 40px;
  width: 80%;
  max-width: 350px;
  border-radius: 15px;
}

.popup__login-title {
  margin-bottom: 35px;
  text-align: center;
}

.login-form__block {
  position: relative;
  width: 100%;
}

.login-form__block:not(:last-child) {
  margin-bottom: 25px;
}

.login-form__input {
  display: block;
  padding: 5px 25px;
  height: 40px;
  width: 100%;
  border: 1px solid #333;
  border-radius: 100px;
  background-color: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.login-form__input::placeholder {
  color: #999;
  opacity: 1;
  transition: opacity .2s ease;
}

@media (min-width: 1025px) {

  .login-form__input:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 5px var(--main-color);
  }

  .login-form__input:hover::placeholder {
    opacity: .6;
  }

  .login-form__submit:hover {
    color: #fff;
    background-color: var(--main-color);
  }

}

.login-form__input:focus::placeholder {
  opacity: 0;
}

.login-form__input:focus,
.login-form__input:hover:focus {
  outline: none;
  border-color: var(--main-color);
  box-shadow: 0 0 15px rgba(157, 92, 208, .5);
}

.login-form__input:active {
  box-shadow: none;
}

.login-form__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}

.login-form__submit {
  padding: .5em 1.5em;
  max-width: 250px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  background-color: transparent;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}

.login-form__submit:active {
  color: #fff;
}

.login-form__submit:hover:active {
  background-color: var(--active-color);
}

/* Popup Gallery */

.popup__gallery-content {
  display: flex;
  align-items: center;
  padding: 0;
  width: 80%;
  max-width: 900px;
  max-height: 500px;
}

.popup__gallery-image {
  width: 45%;
  height: 500px;
}

.popup__gallery-description {
  padding: 50px 35px 35px 50px;
  width: 55%;
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
}

.popup__gallery-title,
.popup__gallery-subtitle {
  line-height: 1.4;
}

.popup__gallery-subtitle {
  font-size: 16px;
  font-weight: 600;
}

.popup__gallery-years {
  margin-bottom: 40px;
  color: #969696;
  font-size: 12px;
}

.popup__gallery-description .simplebar-track {
  right: 5px;
  background-color: var(--border-color);
}

.popup__gallery-description .simplebar-scrollbar::before {
  background-color: var(--main-color);
}

/* To Top Button */

.page__to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(209, 209, 209, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
  z-index: 1;
}

.arrow-to-top {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 40px;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.page__to-top--active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1025px) {

  .page__to-top:hover {
    background-color: rgba(209, 209, 209, 0.4);
  }

  .page__to-top:hover .arrow-to-top {
    transform: translate(-50%, -50%) scale(1.15);
  }

}

.page__to-top:hover:active {
  background-color: rgba(209, 209, 209, 0.55);
}

.page__to-top:active .arrow-to-top {
  transform: translate(-50%, -50%) scale(1.15);
}


/* Media */

@media (max-width: 1500px) {
  .artists__item:not(:last-child) {
    margin-right: 40px;
  }

  .header__nav {
    flex-basis: 85%;
  }
}

@media (max-width: 1366px) {
  .header__logo {
    max-width: 150px;
  }

  .header__nav {
    flex-basis: 84%;
  }

  .nav__item:not(:last-child) {
    margin-right: 10px;
  }

  .artists__list {
    font-size: 17px;
  }

  .artists__item:not(:last-child) {
    margin-right: 14px;
  }

  .search-bottom {
    width: 180px;
  }

  .gallery__description-text {
    padding-right: 0;
  }

  .events__card {
    flex-basis: calc(100% / 3 - 27px * 2 / 3);
  }

  .events__card:not(:nth-child(3n)) {
    margin-right: 27px;
  }

  .events__description {
    padding-left: 35px;
    padding-right: 20px;
  }

  .publications__selection {
    margin-right: 50px;
  }

  .tooltip .tooltip__text {
    width: 240px;
  }

  .tooltip__btn:focus+.tooltip__text,
  .tooltip__btn:focus+.tooltip__text::after {
    opacity: 0;
    visibility: hidden;
  }

  .tooltip--focused .tooltip__btn+.tooltip__text,
  .tooltip--focused .tooltip__btn+.tooltip__text::after {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 1024px) {

  .header__logo {
    position: absolute;
    left: 50%;
    max-width: 100%;
    max-height: 42px;
    transform: translateX(-50%);
  }

  .header__bottom {
    display: none;
  }

  .header__burger {
    display: inline-block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .9);
    opacity: 0;
    transform: translateX(-100vw);
    transition: all .3s ease;
    overflow-y: scroll;
  }

  .nav--open {
    height: 100vh;
    opacity: 1;
    transform: translateX(0);
  }

  .header__nav {
    flex-basis: auto;
    min-width: auto;
    padding: 100px 25px 50px 50px;
  }

  .header__nav-block {
    width: 100%;
    height: 100%;
  }

  .nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: 24px;
  }

  .nav__item {
    max-width: 100%;
  }

  .nav__item:not(:last-child) {
    margin-right: 0;
    margin-bottom: 18px;
  }

  .nav__item--login {
    margin-left: 0;
    margin-top: auto;
  }

  .nav__link {
    padding: 10px 0;
  }

  .login__link {
    max-width: 100%;
    min-height: 60px;
    padding: 19px 88px;
    border: 2px solid var(--main-color);
    border-radius: 100px;
    font-weight: 700;
  }

  .search-top {
    display: flex;
    margin-left: auto;
    width: 28px;
    transition: width .35s ease;
  }

  .search__btn {
    width: 35px;
  }

  .search-top--active {
    width: 250px;
  }

  .search-top__searchbar {
    width: 0;
    opacity: 0;
    visibility: hidden;
    transform: scaleX(0);
    transition: width .35s ease .2s, transform .2s ease;
    transform-origin: right;
  }

  .search-top__searchbar::placeholder {
    opacity: 0;
  }

  .search-top__searchbar--active {
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: scaleX(1);
  }

  .hero {
    padding: 115px 0;
  }

  .hero__bg {
    animation-name: hero__bg-scale, hero__bg-change--1024;
  }

  .hero__inner {
    padding-top: 100px;
  }

  .hero__title {
    line-height: 80px;
  }

  .main__text {
    margin-bottom: 130px;
    max-width: 660px;
  }

  .catalog__inner {
    width: 100%;
  }

  .catalog__tab-list,
  .catalog-accordion {
    flex-basis: calc(100%/2);
  }

  .accordion-artists__list {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }

  .events__card {
    margin-bottom: 50px;
  }

  .events__card--hidden {
    margin-bottom: 0;
  }

  .events__title {
    line-height: 1.4;
  }

  .events__text {
    margin-bottom: 25px;
    -webkit-line-clamp: 6;
  }

  .publications {
    background-image: url('../img/publications/bg/bg_1024.jpg');
  }

  .publications__selection {
    flex-basis: 280px;
    margin-right: 15px;
  }

  .publications__checkbox-subtitle--price {
    margin-right: 10px;
    margin-bottom: 0;
  }

  .publications__item-link::before,
  .publications__item-link::after {
    display: none;
  }

  .publications__item-cover {
    margin-bottom: 10px;
  }

  .publications__item-info {
    margin-bottom: 15px;
  }

  .projects__description {
    margin-bottom: 20px;
  }

  .tooltip__btn {
    background-image: url('../img/svg/tooltip-mobile.svg');
  }

  .tooltip--focused .tooltip__btn {
    background-image: url('../img/svg/tooltip-close.svg');
  }

  .projects__partners-item {
    width: 384px;
    height: 128px;
  }

  .projects__partners-item.swiper-slide-next+.swiper-slide {
    opacity: .3;
  }

  .contacts-data__feedback {
    flex: 0 0 47.5%;
    padding-bottom: 104px;
  }

  .contacts-data__map {
    flex: 0 1 52.5%;
  }

  .feedback__form-input {
    width: 100%;
    max-width: 335px;
  }

  .social__item {
    width: 65px;
    height: 65px;
  }

  .social__item:not(:last-child) {
    margin-right: 20px;
  }

  .feedback__contacts-item {
    width: 60px;
    height: 60px;
  }

  .feedback__contacts-item:not(:last-child) {
    margin-right: 30px;
  }

  .footer-inner {
    min-height: 140px;
  }

  /* Popup Gallery media 1024px:*/

  .popup__gallery-content {
    max-width: 594px;
    max-height: 594px;
  }

  .popup__gallery-image {
    height: 594px;
  }

  .popup__gallery-description {
    max-height: 594px;
  }

}

@media (max-width: 955px) {
  .events__list {
    max-width: 630px;
    margin: 0 auto;
  }

  .events__card {
    flex-basis: calc(100% / 2 - 34px / 2);
  }

  .events__card:not(:nth-child(3n)) {
    margin-right: 0;
  }

  .events__card:not(:nth-child(2n)) {
    margin-right: 34px;
  }

  .publications__inner {
    flex-direction: column;
  }

  .publications__selection {
    flex-basis: 100%;
    margin-right: 0;
    margin-bottom: 50px;
  }

  .publications__checkbox-list {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
  }

  .publications__checkbox-subtitle--price {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .publications__items-control {
    margin: 0;
  }

  .swiper-button-publications {
    margin-top: 10px;
  }

  .swiper-pagination__publications {
    line-height: 1.5;
  }

  .publications__items {
    flex-basis: auto;
    max-width: 95%;
  }

  .publications__list {
    max-width: 630px;
  }
}

@media (max-width: 768px) {

  .header__top {
    height: 100px;
    min-height: auto;
  }

  .search {
    width: 100%;
  }

  .search-top--active {
    width: 100%;
  }

  .hero__bg {
    animation-name: hero__bg-scale, hero__bg-change--768;
  }

  .hero__title {
    font-size: 56px;
    line-height: 1.2;
  }

  .gallery__inner {
    flex-direction: column;
  }

  .gallery__description {
    flex: 0 1 200px;
    max-width: 280px;
    margin-right: 0;
    margin-bottom: 5px;
  }

  .gallery__description-text {
    display: none;
  }

  .gallery__paintings {
    flex: 0 1 auto;
    margin-top: 0;
    margin-bottom: 30px;
    max-width: 100%;
  }

  .paintings__item {
    height: 100%;
  }

  .gallery__text {
    display: block;
  }

  .catalog__section-title {
    margin-right: 5px;
  }

  .catalog__heading {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .country__list {
    width: 100%;
    max-width: 455px;
    justify-content: space-between;
  }

  .country__item:not(:last-child) {
    margin-right: 0;
  }

  .catalog__section-text {
    margin-bottom: 15px;
  }

  .catalog__inner {
    flex-direction: column-reverse;
  }

  .catalog-accordion {
    flex: 0 1 auto;
    margin-bottom: 50px;
  }

  .accordion-artists__list {
    -webkit-columns: 3;
    -moz-columns: 3;
    columns: 3;
  }

  .catalog__tab-list {
    flex: 0 1 auto;
    margin-right: 0;
  }

  .events {
    padding-top: 0;
  }

  .events__list {
    max-width: none;
  }

  .publications {
    background-image: url('../img/publications/bg/bg_768.jpg');
  }

  .publications__checkbox {
    margin-bottom: 30px;
  }

  .publications__selection {
    margin-bottom: 40px;
  }

  .swiper-button-publications {
    margin-bottom: 35px;
  }

  .publications__item-info {
    line-height: 1;
  }

  .publications__item-subtitle {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .publications__price {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
  }

  .projects__description {
    margin-bottom: 30px;
  }

  .projects__text {
    position: relative;
    padding-right: 15px;
  }

  .projects__partners-item {
    width: 264px;
    height: 106px;
  }

  .contacts-data__feedback {
    flex: 0 0 56%;
    padding-bottom: 104px;
  }

  .contacts-data__map {
    flex: 0 1 44%;
  }

  /* Popup Gallery media 768px:*/

  .popup__gallery-content {
    width: 90%;
    max-width: 668px;
  }

}

@media (max-width: 669px) {

  .events__swiper-container {
    overflow: initial;
    max-width: 317px;
  }

  .events__list {
    flex-wrap: nowrap;
    padding-bottom: 15%;
  }

  .events__list .swiper-slide {
    opacity: .3;
    transition: opacity .2s linear;
  }

  .events__list .swiper-slide-active {
    opacity: 1;
  }

  .events__card {
    flex-basis: 100%;
    margin-bottom: 0;
  }

  .events__card:not(:nth-child(2n)) {
    margin-right: 0;
  }

  .events__description {
    padding-left: 28px;
  }

  /* Popup Gallery media 669px:*/

  .popup__gallery-description {
    padding: 20px;
    padding-right: 30px;
    padding-top: 10px;
  }

}

@media (max-width: 576px) {

  .container {
    padding: 0 20px;
  }

  .header__top {
    height: 75px;
  }

  .logo {
    max-width: 137px;
    max-height: 35px;
  }

  .nav__item:not(:last-child) {
    margin-bottom: 15px;
  }

  .header__nav {
    padding-top: 75px;
    padding-left: 20px;
  }

  .hero__inner {
    padding-top: 50px;
  }

  .hero__title {
    font-size: 42px;
    line-height: 64px;
  }

  .main__text {
    margin-bottom: 60px;
  }

  .country__item {
    padding: 8px;
  }

  .country__btn {
    width: 38px;
    height: 38px;
  }

  .accordion-artists__list {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
  }

  .publications__checkbox-list {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
  }

  .publications__subtitle-mobile {
    position: relative;
    padding: 2px 0;
    margin-bottom: 0;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, .5);
    border-bottom: 1px solid rgba(255, 255, 255, .5);
  }

  .publications__subtitle-mobile::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    width: 8px;
    height: 8px;
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    transform: translateY(-50%) rotate(-45deg);
  }

  .publications__checkbox :checked~.publications__subtitle-mobile::after {
    transform: rotate(135deg);
  }

  .publications__checkbox-item:not(:last-child) {
    margin-bottom: 0;
  }

  .publications__checkbox-item {
    visibility: hidden;
    padding: 0;
    opacity: 0;
    height: 0;
    transition: visibility .2s ease, padding .2s ease, opacity .2s ease, height .2s ease;
  }

  .publications__checkbox-item--visible {
    position: relative;
    visibility: visible;
    padding: 7px 0;
    opacity: 1;
    height: auto;
  }

  .publications__checkbox-item::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, .5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease .2s;
  }

  .publications__checkbox-item.publications__checkbox-item--visible::after {
    transform: scaleX(1);
  }

  .publications__checkbox-unmark {
    position: absolute;
    display: block;
    height: 16px;
    width: 16px;
    top: 50%;
    right: 0;
    border: none;
    transform: translateY(-50%);
    background-color: transparent;
  }

  .publications__checkbox-unmark::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    top: 50%;
    right: 0;
    background-color: var(--hover-color);
    transform: translateY(-50%) rotate(-45deg);
  }

  .publications__checkbox-unmark::after {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    top: 50%;
    right: 0;
    background-color: var(--hover-color);
    transform: translateY(-50%) rotate(45deg);
  }

  .publications__checkbox-unmark--active {
    visibility: visible;
    opacity: 1;
  }

  .publications__items-control {
    display: none;
  }

  .publications__list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .publications__item {
    flex: 0 0 calc(100% / 2 - 50px / 2);
  }

  .publications__item:not(:nth-child(2n)) {
    margin-right: 30px;
  }

  .publications__item:nth-last-child(n+2) {
    margin-bottom: 50px;
  }

  .publications__item-subtitle {
    padding-right: 0;
  }

  .publications__item-price {
    position: relative;
    max-width: none;
    text-align: left;
  }

  .publications__item-subtitle,
  .publications__item-author {
    max-width: 90%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .publications__item-order {
    padding: 8px 5px;
    max-width: none;
  }

  .projects__partners-item.swiper-slide-next {
    opacity: .3;
  }

  .contacts-data {
    flex-direction: column-reverse;
  }

  .contacts-data__feedback {
    flex: auto;
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .contacts-data__map {
    flex: auto;
    height: 320px;
  }

  .contacts-data__office {
    position: absolute;
    top: 0;
    left: 0;
  }

  .footer-inner {
    flex-direction: column-reverse;
    padding: 20px 0;
    min-height: 132px;
  }

  .social__item {
    width: 55px;
    height: 55px;
  }

  /* Popup Login media 576px:*/

  .popup__login-title {
    font-size: 20px;
  }

  .login-form__buttons {
    flex-direction: column-reverse;
  }

  .login-form__submit {
    margin-bottom: 15px;
  }

  /* Popup Gallery media 576px:*/

  .popup__gallery-content {
    flex-direction: column;
    width: 95%;
    max-width: 290px;
    max-height: 600px;
  }

  .popup__gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .popup__gallery-description {
    width: 100%;
    max-height: 400px;
  }

  .popup__gallery-years {
    margin-bottom: 5px;
  }

}

@media (max-width: 375px) {

  .section-title {
    font-size: 28px;
    margin-bottom: 10px;
  }

  section {
    padding: 50px 0;
  }

  .container {
    padding: 0 14px;
  }

  .header__top {
    height: 45px;
  }

  .header__top--mobile-search {
    height: 75px;
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.65));
  }

  .header__burger {
    width: 20px;
    height: 15px;
  }

  .header__burger--hidden {
    width: 0;
  }

  .header__burger-center-line {
    top: 45%;
    width: 16px;
    height: 2px;
    transform: translateY(-55%);
  }

  .header__burger::before {
    top: -1px;
    width: 20px;
  }

  .header__burger::after {
    width: 13px;
  }

  .header__burger--active::after {
    width: 100%;
  }

  .header__burger::before,
  .header__burger::after {
    height: 2px;
  }

  .logo {
    max-width: 97px;
    max-height: 22px;
  }

  .header__nav {
    padding: 45px 14px 25px;
  }

  .nav__list {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .nav__item--login {
    margin-top: 35px;
  }

  .nav__link {
    padding: 5px 0;
  }

  .login__link {
    padding: 10px 30px;
    min-height: 40px;
    font-size: 12px;
    font-weight: 600;
  }

  .search {
    padding-left: 25px;
    margin: 0 auto;
    max-width: 200px;
  }

  .search__btn {
    width: 20px;
  }

  .search-top__btn-close {
    position: absolute;
    top: -12px;
    right: 17px;
  }

  .search-top__btn-close--active {
    width: 22px;
  }

  .hero {
    padding-top: 75px;
    padding-bottom: 45px;
  }

  .hero__container {
    padding: 0 25px;
  }

  .hero__inner {
    padding-top: 0;
    text-align: center;
  }

  .hero__title {
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 40px;
  }

  .main__text {
    margin-bottom: 40px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }

  .subscribe-btn {
    padding: 11px 20px;
    font-size: 12px;
  }

  .hero__bg {
    animation-name: hero__bg-scale, hero__bg-change--375;
  }

  .about__text {
    padding-right: 5px;
    font-size: 14px;
    line-height: 28px;
  }

  .gallery__inner {
    max-width: 295px;
    margin: 0 auto;
  }

  .gallery__description {
    margin-bottom: 15px;
  }

  .swiper-button-gallery {
    justify-content: center;
    margin-bottom: 0;
  }

  .gallery__paintings {
    flex-direction: column-reverse;
    margin-bottom: 10px;
  }

  .paintings__list {
    margin-bottom: 25px;
  }

  .catalog {
    padding-top: 100px;
  }

  .catalog__section-title {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .country__item {
    padding: 6px;
  }

  .country__btn {
    width: 32px;
    height: 32px;
  }

  .catalog-accordion__header {
    min-height: 75px;
  }

  .catalog-accordion__header::before {
    width: 30px;
    height: 30px;
  }

  .catalog-accordion__header::after {
    width: 8px;
    height: 8px;
  }

  .catalog-accordion__header::after {
    right: 11px;
  }

  .catalog-accordion__item--open .catalog-accordion__header::after {
    right: 14px;
  }

  .catalog-accordion__subtitle {
    font-size: 18px;
  }

  .catalog-accordion__item--open .catalog-accordion__content {
    padding: 17px 0;
  }

  .accordion-artists__list {
    -webkit-columns: 1;
    -moz-columns: 1;
    columns: 1;
  }

  .catalog__artist-image {
    margin-bottom: 15px;
  }

  .catalog__section-subtitle,
  .catalog__artist-years {
    margin-bottom: 7px;
  }

  .events__text {
    -webkit-line-clamp: 7;
  }

  .publications {
    background-image: url('../img/publications/bg/bg_375.jpg');
  }

  .publications__checkbox {
    margin-bottom: 0;
  }

  .publications__selection {
    margin-bottom: 50px;
  }

  .publications__items {
    max-width: 100%;
  }

  .publications__item {
    flex: 0 0 calc(100% / 2 - 30px / 2);
  }

  .publications__item:nth-last-child(n+2) {
    margin-bottom: 55px;
  }

  .publications__item-cover {
    margin-bottom: 7px;
  }

  .publications__item-info {
    font-size: 12px;
  }

  .publications__item-subtitle,
  .publications__item-author {
    max-width: 100%;
  }

  .publications__item-order {
    font-size: 12px;
  }

  .projects__description,
  .projects__section-subtitle {
    margin-bottom: 15px;
  }

  .projects__section-subtitle,
  .contacts-data__office-title,
  .feedback__form-subtitle {
    font-size: 18px;
  }

  .tooltip .tooltip__text {
    width: 180px;
  }

  .projects__partners-item {
    width: 195px;
    height: 65px;
  }

  .contacts-data__office {
    line-height: 1;
  }

  .contacts-data__office-address {
    font-size: 14px;
  }

  .feedback__contacts-item {
    width: 50px;
    height: 50px;
  }

  .feedback__form-input {
    margin-bottom: 20px;
  }

  .feedback__form-subtitle {
    margin-bottom: 20px;
  }

  .feedback__form {
    margin-bottom: 10px;
  }

  .feedback__contacts-item:not(:last-child) {
    margin-right: 20px;
  }

  .feedback__btn {
    padding: .2em 2.4em;
    font-size: 14px;
  }

  /* Popup Login media 375px:*/

  .popup__login-content {
    padding-left: 25px;
    padding-right: 25px;
    width: 90%;
  }

  /* Popup Gallery media 375px: */

  .popup__gallery-description {
    padding-top: 25px;
  }
}