*,
*::after,
*::before {
	font-family: "Open Sans", sans-serif;
	box-sizing: border-box;
}

:root {
	--mineShaft: #333333;
	--dustyGray: #999999;
	--bilobaFlower: #D1A9F0;
	--heliotrope: #C283F3;
	--amethyst: #9D5CD0;
	--royalPurple: #7943A4;
	--apple: #30BF39;
	--curiousBlue: #26A5E4;
	--thunderbird: #D11616;
	--silver: #CACACA;
	--gallery: #ECECEC;
	--doveGray: #666666;
}

img {
	width: 100%;
}

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

html {
	scroll-behavior: smooth;
}

.container {
	max-width: 1920px;
	padding: 77px 160px;
	margin: 0 auto;
}

.section__title {
	margin: 0;
	font-size: 48px;
	font-weight: 400;
	line-height: 65px;
	color: var(--mineShaft);
}

.section__descr {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--mineShaft);
}

.navigation_clickable {
	transition: background-color .3s ease-in-out;
}

.navigation_clickable:focus-visible {
	outline: 2px solid var(--amethyst);
}

.navigation_clickable:hover {
	background-color: var(--bilobaFlower);
}

.navigation_clickable:active {
	background-color: var(--bilobaFlower);
	outline: 2px solid var(--amethyst);
}

/* *HEADER */
.header {
	position: relative;
	background-color: black;
}

.header__container {
	position: relative;
	display: flex;
	justify-content: space-between;
	padding-top: 30px;
	padding-bottom: 27px;
	background-color: black;
}

.header__burger {
	position: relative;
	display: none;
	width: 36px;
	height: 28px;

	flex-direction: column;

	margin-right: 72px;
}

.burger__line {
	position: absolute;

	height: 3px;
	background-color: white;
}

.burger__line_one {
	top: -1px;
	width: 36px;
}

.burger__line_two {
	top: 11px;
	width: 28px;
}

.burger__line_three {
	top: 23px;
	width: 24px;
}

.header__small-search {
	position: absolute;
	bottom: 100%;
	right: 50px;
	display: none;
	background-color: black;
	transition: bottom .3s ease-in-out;
}

.header__open-search {
	display: none;
	padding: 0;
	background-color: transparent;
	border: 0;
}

.small-search__submit {
	margin-right: 11px;
	padding: 0;
	background-color: transparent;
	border: 0;
}

.small-search__submit:active {
	fill: var(--amethyst);
}

.small-search__input {
	margin-right: 24px;
	background-color: transparent;
	border: none;
	border-bottom: 1px solid white;
	transition: border-color .3s ease-in-out;
}

.small-search__input:focus-visible {
	color: var(--royalPurple);
	outline: none;
	border-color: var(--amethyst);
}

.small-search__close {
	background-color: transparent;
	border: none;
}

.small-search__close:active svg {
	fill: var(--amethyst);
}

.header__nav {
	display: flex;
	align-items: center;
	flex-basis: 100%;
}

.header__logo {
	margin-right: 173px;
}

.header__image {
	width: 173px;
}

.nav__list {
	display: flex;
	gap: 50.3px;
	margin-right: auto;
	margin-top: -5px;
}

.nav__link {
	padding: 1px 6px 3px 6px;
	font-size: 18px;
	font-weight: 600;
	line-height: 25px;
	color: white;
	text-decoration: none;
	transition: color .3s ease-in-out;
}

.nav__link:visited {
	color: white;
}

.nav__link:focus-visible {
	outline: none;
	background-color: var(--royalPurple);
}

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

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

.nav__login {
	margin-top: -5px;
	padding: 5px 7px 5px 7px;
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
	color: white;
	text-decoration: none;
	transition: color .3s ease-in-out;
}

.nav__login-svg {
	margin-right: 3px;
}

.nav__login-svg path {
	transition: fill .3s ease-in-out;
}

.nav__login:visited {
	color: white;
}

.nav__login:focus-visible {
	outline: none;
	background-color: var(--royalPurple);
}

.nav__login:hover {
	color: var(--heliotrope);
}

.nav__login:hover .nav__login-svg path {
	fill: var(--heliotrope);
}

.nav__login:active {
	color: var(--royalPurple);
}

.nav__login:active .nav__login-svg path {
	fill: var(--royalPurple);
}

.header__bottom {
	position: absolute;
	top: 100%;
	left: 0;
	display: flex;
	width: 100%;
	padding-top: 22px;
	padding-bottom: 22px;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 10;
}

.header__dropdown {
	position: relative;
	display: flex;
	margin-right: auto;
}

.dropdown__item:not(:last-child) {
	margin-right: 88px;
}

.dropdown__button {
	position: relative;
	padding: 0 5px 0 5px;
	background-color: transparent;
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
	color: white;
	border: none;
	cursor: pointer;
	transition: color .3s ease-in-out;
}

.dropdown__button svg {
	margin-left: -1px;
}

.dropdown__button path {
	transition: stroke .3s ease-in-out;
}

.dropdown__button:focus-visible {
	outline: none;
	background-color: var(--royalPurple);
}

.dropdown__button:hover {
	color: var(--heliotrope);
}

.dropdown__button:hover path {
	stroke: var(--heliotrope);
}

.dropdown__button:active {
	color: var(--royalPurple);
}

.dropdown__button:active path {
	stroke: var(--royalPurple);
}

.dropdown__content {
	position: absolute;
	top: 47px;
	display: none;
	width: 300px;
	max-height: 300px;
	padding: 40px 15px 40px 44px;
	background-color: rgba(0, 0, 0, 0.5);
	overflow: hidden;
	z-index: 10;
}

.dropdown__wrapper {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-height: 220px;
	/* overflow: scroll; */
}

.simplebar-content {
	display: none;
	flex-direction: column;
}

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

.simplebar-track.simplebar-vertical {
	width: 2px;
	background-color: black;
}

.simplebar-scrollbar::before {
	width: 2px;
	top: 0;
	left: 0;
	background-color: white;
	border-radius: 0;
}

.active .dropdown__content {
	display: block;
}

.active .simplebar-content {
	display: flex;
}

.active .dropdown__button svg {
	margin-bottom: 2px;
	transform: rotate(180deg);
}

.dropdown__link {
	position: relative;
	max-width: 220px;
	height: 40px;
	padding: 11px 0 11px 14px;
	font-size: 14px;
	font-weight: 600;
	line-height: 19px;
	color: white;
	text-decoration: none;
}

.dropdown__link::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: none;
	background-color: rgba(194, 131, 243, 0.4);
}

.dropdown__link:visited {
	color: white;
}

.dropdown__link:focus-visible {
	outline: 2px solid var(--amethyst);
}

.dropdown__link:hover {
	outline: 2px solid var(--amethyst);
}

.dropdown__link:active {
	outline: none;
}

.dropdown__link:active::after {
	display: block;
}

.tintoretto {
	background-image: url('../img/tintoretto.jpg');
}

.fridrich {
	background-image: url('../img/fridrich.jpg');
}

.leonard {
	background-image: url('../img/leonard.jpg');
}

.verrokkio {
	background-image: url('../img/verrokkio.jpg');
}

.mone {
	background-image: url('../img/mone.jpg');
}

.sisley {
	background-image: url('../img/sisley.jpg');
}

.mane {
	background-image: url('../img/mane.jpg');
}

.renour {
	background-image: url('../img/renour.jpg');
}

.van-gog {
	background-image: url('../img/van-gog.jpg');
}

.sezann {
	background-image: url('../img/sezann.jpg');
}

.gogen {
	background-image: url('../img/gogen.jpg');
}

.sera {
	background-image: url('../img/sera.jpg');
}

.kandinskiy {
	background-image: url('../img/kandinskiy.jpg');
}

.marinetty {
	background-image: url('../img/marinetty.jpg');
}

.malevich {
	background-image: url('../img/malevich.jpg');
}

.pikasso {
	background-image: url('../img/pikasso.jpg');
}

.karra {
	background-image: url('../img/karra.jpg');
}

.pratella {
	background-image: url('../img/pratella.jpg');
}

.severini {
	background-image: url('../img/severini.jpg');
}

.balla {
	background-image: url('../img/balla.jpg');
}


.header__search {
	position: relative;
	width: 253px;
	display: flex;
}

.header__search-button {
	align-self: flex-end;
	padding: 0;
	height: 22px;
	margin-right: 6px;
	background-color: transparent;
	border: none;
}

.header__search-input {
	max-width: 215px;
	width: 100%;
	background-color: transparent;
	border: none;
}

.header__search-underline {
	position: absolute;
	bottom: -2px;
	left: 32.5px;
	width: 100%;
	max-width: 219px;
	height: 1px;
	background-color: white;
	transition: background-color .3s ease-in-out;
}

.header__search-input::placeholder {
	font-size: 18px;
	font-weight: 400;
	line-height: 25px;
	color: white;
}

.header__search-input:focus-visible {
	outline: none;
}

.header__search-input:focus-visible+.header__search-underline {
	background-color: var(--royalPurple);
}

.header__search:hover .header__search-underline {
	background-color: var(--heliotrope);
}

/* *HERO */
.hero__container {
	position: relative;
	padding-top: 132px;
	padding-bottom: 126px;
}

.hero__wrapper {
	max-width: 600px;
}

.hero__background {
	position: absolute;
	bottom: 0px;
	left: 0;
	display: flex;
	width: 100%;
	z-index: -1;
}

.hero__background-image {
	display: block;
	height: 100%;
	object-fit: cover;
}

.hero__title {
	margin: 0 0 -2px 0;
	font-size: 72px;
	font-weight: 700;
	line-height: 98px;
	color: white;
}

.hero__descr {
	margin: 0 0 92px 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 30px;
	color: white;
}

.hero__button {
	padding: 22px 0;
	background-color: var(--amethyst);
	border: none;
	border-radius: 100px;
}

.hero__button:focus {
	outline: none;
}

.hero__link {
	padding: 22px 35px;
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	color: white;
	text-decoration: none;
	border-radius: 100px;
	outline: 3px solid transparent;
	transition: background-color .3s ease-in-out;
}

.hero__link:focus-visible {
	outline: 2px solid var(--heliotrope);
	outline-offset: 5px;
}

.hero__link:hover {
	outline: 3px solid var(--bilobaFlower);
	outline-offset: -3px;
	transition: outline .3s ease-in-out;
}

.hero__link:active {
	background-color: var(--royalPurple);
	outline: 3px solid var(--bilobaFlower);
	outline-offset: -3px;
}

/* *ABOUT */
.about__container {
	padding-bottom: 70px;
}

.about__wrapper {
	max-width: 1060px
}

.about__title {
	margin-bottom: 16px;
}

/* *GALLERY */
.gallery {
	background-image: url("../img/gallery-background.jpg");
	background-repeat: no-repeat;
	background-size: cover;
}

.gallery__container {
	display: flex;
	padding-top: 81px;
	padding-bottom: 53px;
	
}

.gallery__wrapper {
	max-width: 400px;
	width: 100%;
	margin-right: 50px;
}

.gallery__title {
	margin-bottom: 15px;
	color: white;
}

.gallery__form {
	margin-bottom: 33.5px;
}

.gallery__form-legend {
	margin-bottom: 10px;

	font-size: 16px;
	font-weight: 600;
	line-height: 32px;
	color: white;
}

.choices {
	margin-bottom: 182.5px;
}

.choices:focus-visible {
	background-color: rgba(255, 255, 255, 0.2);
}

.choices:hover {
	background-color: rgba(255, 255, 255, 0.2);
}

.is-focused .choices__inner,
.is-open .choices__inner {
	border-color: white;
}

.choices__inner {
	min-height: 40px;

	background-color: transparent;

	border-radius: 6px;
	border-color: white;
}

.is-open .choices__inner {
	border-radius: 6px 6px 0 0;
}

.choices[data-type*=select-one] .choices__inner {
	padding: 0 0 0 11.5px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
	background-color: black;
}

.choices__item.choices__item--choice.choices__item--selectable {
	padding: 3px 0 3px 15.5px;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;

}

.choices__list--dropdown .choices__item--selectable {
	border-bottom: 1px solid var(--dustyGray);

	color: var(--dustyGray);
}

.choices__item--choice {
	background-color: black;
}

.choices__item {
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: white;
}

.choices__list--single {
	padding-top: 3px;
	padding-bottom: 0px;
}

.choices[data-type*=select-one]::after {
	width: 12px;
	height: 7px;
	right: 13px;

	margin-top: -1px;

	border-style: none;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='7' viewBox='0 0 12 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L6 6L1 1' stroke='white'/%3E%3C/svg%3E%0A");
}

.choices[data-type*=select-one].is-open::after {
	margin-top: -1px;
	transform: rotate(180deg);
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
	background-color: transparent;
	overflow: hidden;
	border-radius: 0 0 6px 6px;
}

.is-selected {
	display: none;
}

.gallery__checkbox-wrapper {
	display: flex;
	align-items: center;
}

.gallery__checkbox:focus-visible~.gallery__checkbox-label {
	color: var(--heliotrope);
}

.gallery__checkbox:focus-visible~.gallery__custom-checkbox {
	border-color: var(--heliotrope);
}

.gallery__checkbox:hover~.gallery__custom-checkbox {
	border-color: var(--heliotrope);
}

.gallery__checkbox:active~.gallery__checkbox-label {
	color: var(--heliotrope);
}

.gallery__checkbox:active~.gallery__custom-checkbox {
	border-color: var(--heliotrope);
}

.gallery__checkbox-wrapper:not(:last-child) {
	margin-bottom: 13.5px;
}

.gallery__checkbox {
	width: 0;
	height: 0;
}

.gallery__custom-checkbox {
	position: relative;

	width: 12px;
	height: 12px;
	border: 1px solid white;
}

.gallery__custom-checkbox::after {
	content: "";
	display: none;
	width: 4px;
	height: 4px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -2px;
	margin-top: -2px;
	background-color: var(--heliotrope);
	border-radius: 100%;
}

.gallery__checkbox-label {
	margin-bottom: 0;
	padding-left: 12px;

	font-size: 16px;
	font-weight: 400;
	color: white;
}

.gallery__checkbox:checked+.gallery__custom-checkbox::after {
	display: block;
}

.gallery__checkbox:checked+.gallery__custom-checkbox {
	border-color: var(--heliotrope);
}

.gallery__link {
	position: relative;
	display: block;
}

.gallery__link::after {
	content: '';
	position: absolute;
	top: 25px;
	right: 25px;
	bottom: 25px;
	left: 25px;
	display: none;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url('../img/gallery-link.svg');
	background-repeat: no-repeat;
	background-position: center;
}

.gallery__link:focus-visible {
	outline: 3px solid var(--royalPurple);
}

.gallery__link:hover::after {
	display: block;
}

.gallery__link:active::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(194, 131, 243, 0.4);
}

.gallery__nav-wrapper {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 20px;
	margin-top: 24px;
	margin-bottom: 30px;
}

.gallery__pagination {
	position: relative;
	bottom: unset;
	width: unset;
}

.gallery__navigation {
	width: 30px;
	height: 30px;

	background-color: var(--doveGray);
	border-radius: 100%;
	border: none;
	transition: background-color .3s ease-in-out;
	cursor: pointer;
}

.gallery__navigation:focus-visible {
	outline-offset: -2px;
	outline: 2px solid black;
}

.gallery__navigation:hover {
	background-color: var(--amethyst);
}

.gallery__navigation:active {
	outline-offset: -2px;
	outline: 2px solid black;
	background-color: var(--royalPurple);
}

.swiper-pagination-fraction {
	color: white;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
	background-color: rgba(255, 255, 255, 0.2);
}

/* *CATALOG */
.catalog__container {
	padding-top: 80px;
}

.catalog__title {
	margin-bottom: 16px;
}

.catalog__descr {
	max-width: 1080px;
	margin-bottom: 39px;
}

.catalog__arts {
	display: flex;
	justify-content: space-between;
}

.catalog__artist {
	display: none;
	width: calc(50% - 50px);
}

.catalog__artist_active {
	display: block;
}

.artist__image {
	display: block;
	width: 100%;
	margin-bottom: 30px;
}

.artist__title {
	margin: 0 0 8px 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 33px;
	color: var(--mineShaft);
}

.artist__live {
	margin: 0 0 15px 0;
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
	color: var(--dustyGray);
}

.artist__descr {
	margin: 0 0 15px 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--mineShaft);
}

.not-found__togallery,
.not-found__togallery:visited {
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	color: var(--amethyst);
	text-decoration: none;
	transition: color .3s ease-in-out;
}

.not-found__togallery:focus-visible {
	color: white;
	background-color: var(--royalPurple);
}

.not-found__togallery:hover {
	color: var(--heliotrope);
}

.not-found__togallery:active {
	color: var(--royalPurple);
}

.catalog__names {
	width: 50%;
}

.accordion__item {
	border: none;
	margin-top: 0;
}

.accordion__item .accordion__trigger {
	position: relative;
	padding: 40.5px 0 42.5px 0;

	font-size: 24px;
	font-weight: 600;
	line-height: 32px;

	background-color: white;

	border-bottom: 1px solid var(--silver);
	border-top: 1px solid var(--silver);
	transition: border-color .3s ease-in-out;
}

.accordion__item:not(:first-child) .accordion__trigger {
	/* border-top-color: transparent; */
}

.ac .ac-trigger:focus {
	color: inherit;
	outline: none;
}

.accordion__item .accordion__trigger span {
	transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.accordion__item .accordion__trigger:focus-visible span {
	color: white;
	background-color: var(--amethyst);
}

.accordion__item .accordion__trigger:focus-visible {
	border-color: var(--amethyst);
	z-index: 10;
}

.accordion__item .accordion__trigger svg {
	position: absolute;
	right: 0;
	top: 33px;
	width: 50px;
	height: 50px;
	padding: 16px;
	border-radius: 100%;
	background-color: var(--silver);
	transition: transform .3s ease-in-out, background-color .3s ease-in-out;
}

.accordion__item .accordion__trigger:focus-visible svg {
	background-color: var(--bilobaFlower);
}

.accordion__item .accordion__trigger:hover {
	border-color: var(--amethyst);
	/* z-index: 10; */
}

.accordion__item .accordion__trigger:hover span {
	color: var(--amethyst);
	background-color: transparent;
}

.accordion__item .accordion__trigger:hover svg {
	background-color: var(--bilobaFlower);
}

.accordion__item.is-active .accordion__trigger {
	border-color: var(--royalPurple);
}

.accordion__item.is-active .accordion__trigger:hover {
	border-color: var(--amethyst);
}

.accordion__item.is-active .accordion__trigger span {
	color: var(--royalPurple);
	background-color: transparent;
}

.accordion__item.is-active .accordion__trigger svg {
	background-color: var(--bilobaFlower);
	outline: 2px solid var(--amethyst);
	outline-offset: -2px;
	transform: rotate(180deg);
}

.accordion__item .accordion__trigger::after {
	content: "";
}

.ac.is-active>.ac-header .ac-trigger::after {
	content: "";
}

.ac-panel__wrapper {
	display: flex;
	width: 100%;
	height: 341px;
}

.accordion__item .accordion__panel .accordion__text {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	width: calc(100% - 68px);
	padding: 25.5px 0;
}

.accordion__item .accordion__panel .accordion__empty {
	flex-direction: row;
	flex-wrap: nowrap;
}

.ac .ac-panel .ac-text {
	padding-left: 0;
}

.accordion__item .accordion__panel .accordion__empty {
	gap: 24px;
}

.ac__artist-link,
.ac__artist-link:visited {
	display: block;
	width: max-content;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--mineShaft);
	text-decoration: none;
	cursor: pointer;
}

.ac__artist-link:focus {
	border: none;
}

.ac__artist-link:focus-visible {
	background-color: var(--amethyst);
	outline: none;
}

.ac__artist-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--royalPurple);
	text-underline-offset: 3px;
	text-underline-position: under;
	text-decoration-thickness: 1px;
}

.ac__artist-link:active {
	text-decoration: none;
}

.accordion__panel {
	display: flex;
	gap: 25px;
	color: var(--mineShaft);
}

.ac-panel__rect {
	position: relative;
	width: 274px;
	height: 187px;
	padding: 12px;
	background-color: transparent;
	border: 2px solid var(--dustyGray);
}

.ac-panel__rect::after {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	bottom: 10px;
	right: 10px;
	background-color: var(--dustyGray);
}

.ac-panel__wrap {
	padding: 41px 0 0 0;
}

.ac-panel__header {
	margin: 0 0 4px 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--mineShaft);
}

.ac-panel__descr {
	max-width: 275px;
	margin: 0;
	font-size: 16px;
	line-height: 22px;
}

.ac-panel__link {
	font-size: 16px;
	font-weight: 600;
	color: var(--amethyst);
	text-decoration: none;
}

/* *EVENTS */
.events__container {
	padding-top: 0;
}

.events__swiper-wrapper {
	position: relative;
}

.events__title {
	margin-bottom: 15.5px;
}

.events__slide {
	display: flex;
	flex-direction: column;
	height: unset;
	border: 1px solid var(--silver);
}

.events__text-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 396px;
	height: 100%;
	padding: 7px 10px 10px 49px;
}

.events__placement,
.events__time {
	margin: 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	color: var(--dustyGray);
}

.events__time {
	margin-bottom: 13px;
}

.events__header {
	max-width: 325px;
	margin: 0 0 10px 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 33px;
	color: var(--mineShaft);
}

.events__descr {
	max-width: 375px;
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--mineShaft);
}

.events__more {
	width: max-content;
	margin-top: auto;
	margin-bottom: 30px;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--amethyst);
	text-decoration-color: var(--amethyst);
	text-underline-offset: 3px;
	text-underline-position: under;
}

.ac-panel__link:focus-visible,
.projects__more-link:focus-visible,
.events__more:focus-visible {
	color: white;
	background-color: var(--amethyst);
	outline: none;
}

.ac-panel__link:hover,
.projects__more-link:hover,
.events__more:hover {
	color: var(--royalPurple);
}

.ac-panel__link:active,
.projects__more-link:active,
.events__more:active {
	color: var(--mineShaft);
}

.events__swiper {
	position: relative;
}

.events__pagination {
	display: none;
}

.events__navigation {
	position: absolute;
	width: 50px;
	height: 50px;

	background-color: var(--silver);
	border-radius: 100%;
	border: none;
	z-index: 10;
}

.events__navigation svg {
	margin-top: 3px;
	margin-left: 5px;
}

.events__navigation_next {
	top: 325px;
	right: -25px;
}

.events__navigation_prev {
	top: 325px;
	left: -25px;
	transform: rotate(180deg);
}

.events__navigation_prev svg {
	transform: rotateX(180deg);
}

.events__navigation.swiper-button-disabled {
	display: none;
}

/* *PROJECTS */
.projects__container {
	position: relative;
	padding-top: 3px;
	padding-bottom: 81px;
	color: var(--mineShaft);
}

.projects__title {
	margin-bottom: 17px;
}

.projects__descr {
	max-width: 1082px;
	margin: 0 0 20px 0;

	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
}

.projects__more-link,
.projects__more-link:visited {
	font-weight: 400;
	color: var(--amethyst);
}

.tooltip {
	width: 16px;
	height: 16px;

	background-image: url('../img/tooltip.svg');
	background-repeat: no-repeat;

	background-color: transparent;
	border: none;
	border-radius: 100%;
}

.tooltip:focus-visible {
	background-color: var(--bilobaFlower);
	outline-offset: -1px;
	outline: 1px solid var(--amethyst)
}

.tooltip:hover {
	background-color: var(--bilobaFlower);
	outline-offset: -1px;
	outline: 1px solid var(--amethyst)
}

.tooltip:active {
	background-image: url('../img/tooltip-active.svg');
	background-color: var(--amethyst);
	background-position: center;
	outline: none;
}

.tippy-box[data-theme~='tomato'] {
	width: 264px;
	padding: 0 0 7px 0px;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	color: white;
	text-align: center;
	background-color: var(--amethyst);
	border-radius: 0;
}

.tippy-box[data-theme~='tomato'][data-placement^='top']>.tippy-arrow::before {
	border-top-color: var(--amethyst);
}

.projects__partnership-title {
	margin: 0 0 22px 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--mineShaft);
}

.projects__swiper {
	margin: 0 75px;
}

.projects__slide {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 150px;
	outline: 1px solid var(--silver);
	outline-offset: -1px;
}

.projects__slide-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	filter: grayscale(100%);
	transition: filter .3s ease-in-out;
}

.projects__slide-wrapper_one {
	max-width: 250px;
	background-image: url('../img/projectsCompany-1.jpg');
}

.projects__slide-wrapper_two {
	max-width: 330px;
	background-image: url('../img/projectsCompany-2.jpg');
}

.projects__slide-wrapper_three {
	max-width: 235px;
	background-image: url('../img/projectsCompany-3.jpg');
}

.projects__slide-wrapper_four {
	max-width: 123px;
	background-image: url('../img/projectsCompany-4.jpg');
}

.projects__slide-wrapper_five {
	max-width: 173px;
	background-image: url('../img/projectsCompany-5.jpg');
}

.projects__slide-wrapper_six {
	max-width: 252px;
	background-image: url('../img/projectsCompany-6.jpg');
}

.projects__slide-wrapper_seven {
	max-width: 286px;
	background-image: url('../img/projectsCompany-7.jpg');
}

.projects__slide-wrapper_eight {
	max-width: 185px;
	background-image: url('../img/projectsCompany-8.jpg');
}

.projects__slide-wrapper_nine {
	max-width: 230px;
	background-image: url('../img/projectsCompany-9.jpg');
}

.projects__slide:hover .projects__slide-wrapper,
.projects__slide:active .projects__slide-wrapper {
	filter: grayscale(0);
}

.projects__img {
	object-fit: cover;
}

.projects__prev-btn,
.projects__next-btn {
	top: unset;
	bottom: 140px;
	width: 30px;
	height: 30px;
	padding: 0;
	background-color: var(--gallery);
	border: none;
	border-radius: 100%;
	z-index: 100;
}

.projects__prev-btn {
	left: 160px;
}

.projects__next-btn {
	right: 160px;
}

.projects__next-btn::after,
.projects__prev-btn::after {
	content: none;
}

/* *CONTACT */
.contact {
	outline: 1px solid var(--silver);
}

.contact__container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding-top: 39px;
	padding-bottom: 37px;
}

.contact__placement {
	margin-right: 80px;
}

.contact__title {
	margin: 0;
	font-weight: 600;
	line-height: 32px;
	color: var(--mineShaft);
}

.contact__address {
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
	color: var(--mineShaft);
	font-style: normal;
}

.contact__form {
	display: flex;
	align-items: flex-end;
	gap: 20px;
	margin-right: auto;
}

.contact__input-wrapper {
	position: relative;
}

.contact__input {
	padding: 14px 62px 14px 23px;
	border-radius: 100px;
	border: 1px solid var(--mineShaft);
}

.contact__input::placeholder {
	font-weight: 400;
	line-height: 32px;
	letter-spacing: 0em;
	color: var(--dustyGray);
}

.contact__input:focus-visible {
	background-color: var(--gallery);
	outline: none;
}

.contact__input:hover {
	background-color: var(--gallery);
}

.contact__button {
	padding: 11px 34px;
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	color: var(--amethyst);
	background-color: transparent;
	border: 2px solid var(--amethyst);
	border-radius: 100px;
	transition: color .3s ease-in-out, background-color .3s ease-in-out;
}

.contact__button:focus-visible {
	outline-offset: 3px;
	outline: 2px solid var(--heliotrope);
}

.contact__button:hover {
	color: white;
	background-color: var(--amethyst);
}

.contact__button:active {
	color: white;
	background-color: var(--royalPurple);
	outline-offset: -3px;
	outline: 3px solid var(--bilobaFlower);
}

.socials__title {
	margin: 0 0 4px 0;
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	color: var(--mineShaft);
}

.socials__links {
	display: flex;
	gap: 20px;
}

.socials__link {
	position: relative;
	font-size: 0;
	border-radius: 100%;
}

.socials__link:focus-visible::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.4);
}

.socials__link:hover::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(255, 255, 255, 0.4);
}

.socials__link:active {
	outline: 1px solid var(--amethyst);
}

.socials__link:active::after {
	background-color: transparent;
}

.map__wrapper {
	width: 100%;
	height: 700px;
}

[class*="copyrights-pane"] {
	display: none !important;
}

/* FOOTER */
.footer {
	background-color: black;
}

.footer__container {
	display: flex;
	justify-content: space-between;
	padding-top: 48px;
	padding-bottom: 46px;
}

.footer__contacts {
	display: flex;
	gap: 20px;
}

.footer__link path {
	transition: fill .3s ease-in-out;
}

.footer__link:focus-visible path {
	fill: white;
}

.footer__link:hover path {
	fill: white;
}

.footer__link:active path {
	fill: var(--amethyst);
}
