* {
  box-sizing: border-box;
  color: #232323;
  font-size: 16px;
}

a {
  text-decoration: none;
}

body,
p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  background-color: #f6f6f6;
}

html,
body {
  height: 100%;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

._container {
  position: relative;
  max-width: 1840px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  max-width: 365px;
  width: 100%;
}

.header__wrapper {
  display: flex;
  align-items: center;
  padding-top: 33px;
  padding-bottom: 50px;
}

.header__action,
.catalog__action {
  display: flex;
  gap: 14px;
  align-items: center;
  height: 63px;
  .custom-select-opener {
    border-color: transparent;
    color: #232323;
  }
  .custom-select-opener[aria-expanded="true"] ~ .custom-select-panel {
    border-color: transparent;
  }
  .custom-select-opener::after {
    background-image: url("../img/arrow-select-header.svg");
  }
  .custom-select-opener span {
    color: #232323;
  }
  .custom-select-option.has-focus {
    color: #bb9b6f;
  }
}

.custom-select-opener span {
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

.main-menu a {
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.main-menu a.active {
  color: #bb9b6f;
}

.main-menu a:hover {
  transition: all 0.3s ease;
  color: #bb9b6f;
}

.header-action {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.vectors {
  display: none;
}

.header__search {
  padding: 0;
  margin: 0;
  background-color: #fff;
  border-radius: 20px;
  border: none;
  width: 71px;
  height: 63px;
}

.main-block {
  margin-bottom: 220px;
}

.main-block__wrapper {
  display: flex;
  align-items: center;
  overflow: auto;
}

.main-block__wrapper span {
  font-family: "FoglihtenNo06_076";
  font-weight: 500;
  font-size: 292px;
}

.main-block__imgs svg {
  position: absolute;
}

.main-block__imgs svg:first-child {
  top: 0;
  left: 0;
}

.main-block__imgs svg:nth-child(2) {
  top: 0;
  right: 0;
}

.main-block__imgs svg:nth-child(3) {
  bottom: 0;
  left: 0;
}

.main-block__imgs svg:nth-child(4) {
  right: 0;
  bottom: 0;
}

.main-block__links {
  position: relative;
  display: flex;
  min-width: 806px;
  height: 639px;
  border-radius: 40px;
  border: 1px solid #e8b572;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(187, 155, 111, 0.3) 100%
  );
  backdrop-filter: blur(2px);
  padding: 40px;
  margin: 50px 60px;
}

.main-block__links a {
  border-radius: 20px;
  padding: 30px;
  color: #fff;
  /* transform: rotate(90deg) translateX(50%); */
  height: 540px;
  width: 84px;
  display: block;
  white-space: nowrap;
  /* display: none; */
  position: absolute;
  writing-mode: vertical-lr;
  font-size: 20px;
  font-weight: 400;
  font-family: Inter;
}

.main-block__links a:first-child {
  background-color: #bb9b6f;
  left: 40px;
  top: 45px;
}

.main-block__links a:nth-child(2) {
  background-color: #e8b572;
  left: 192px;
  transform: rotate(15deg);
  top: 54px;
}

.main-block__links a:nth-child(3) {
  background-color: #424242;
  left: 356px;
}

.main-block__links a:nth-child(4) {
  background-color: #cbb596;
  left: 474px;
  transform: rotate(-4deg);
}

.main-block__links a:nth-child(5) {
  background-color: #b5b5b5;
  left: 624px;
  transform: rotate(9deg);
}

.catalog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.catalog__action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.catalog__content {
  display: grid;
  grid-gap: 40px;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 220px;
}

.catalog__filter {
  cursor: pointer;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 20px;
  background-color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.footer-vector {
  margin: 0 auto;
  display: block;
  margin-top: auto;
}

.card:hover .card__pic img {
  opacity: 0;
}

.card:hover .card__pic .card__descr {
  opacity: 1;
  transition: all 0.3s ease;
}

.card__pic {
  position: relative;
  border-radius: 40px;
  background: rgba(187, 155, 111, 0.2);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 30px;
  overflow: hidden;
}

.card__pic img {
  transition: all 0.3s ease;
}

.card__descr {
  opacity: 0;
  position: absolute;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.card__descr p {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card__more {
  background-color: #bb9b6f;
  border-radius: 20px;
  margin: auto;
  display: block;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  padding: 20px 30px;
}

.title-block {
  font-size: 52px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: "FoglihtenNo06";
}

.card__footer {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 5px;
}

.card__footer svg {
  position: absolute;
  top: 0;
  right: 0;
}

.card__aftor {
  font-size: 16px;
  font-weight: 500;
}

.card__title {
  font-size: 18px;
  font-weight: 400;
}

.footer {
  padding-top: 100px;
  padding-bottom: 40px;
}

.footer__wrapper {
  display: flex;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__menu a {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer__menu a:hover {
  transition: all 0.3s ease;
  color: #bb9b6f;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: auto;
  margin-right: 100px;
}

.footer__contacts > * {
  font-weight: 500;
}

.footer__contacts a {
  color: #bb9b6f;
  font-size: 18px;
  text-decoration: underline;
}

.aftor {
  margin-bottom: 220px;
}

.aftor__wrapper {
  position: relative;
}

.aftor__inner {
  padding-left: 220px;
  padding-top: 100px;
  padding-bottom: 100px;
  align-items: center;
}

.inner {
  display: grid;
  grid-gap: 217px;
  justify-content: space-between;
  grid-template-columns: 524px 880px;
}

.about__book {
  display: none;
}

.about__book.active {
  display: grid;
}

.aftor__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  width: 100%;
}

.aftor__title {
  font-family: "FoglihtenNo06";
  font-size: 52px;
  font-weight: 500;
  line-height: 66px;
  text-transform: uppercase;
}
.aftor__years {
  font-size: 20px;
  font-weight: 600;
  color: #bb9b6f;
}
.aftor__descr {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.aftor__action {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn {
  height: 64px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 20px;
  display: flex;
  align-items: center;
}

.btn--gold {
  color: #fff;
  background-color: #bb9b6f;
}
.btn--white {
  color: #bb9b6f;
  border: 1px solid #bb9b6f;
}

.biography {
  margin-bottom: 220px;
}

.about {
  margin-bottom: 220px;
}

.about-page {
  margin-top: 58px;
  margin-bottom: 220px;
}

.download {
  margin-bottom: 220px;
}

.inner__content p {
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.inner__content p.strong {
  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 24px;
}

.works {
  overflow: hidden;
  /* max-width: 1920px; */
}

.swiper {
  margin-bottom: 220px;
  overflow: visible !important;
}

.swiper-slide {
  padding: 15px;
  border-radius: 40px;
  border: 1px solid transparent;
}

.swiper-slide.current {
  border: 1px solid #bb9b6f;
}

.swiper::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #f6f6f6;
  z-index: 100;
}

.swiper__nav {
  position: relative;
  display: flex;
  justify-content: flex-end;
  height: 64px;
  gap: 10px;
}

.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  width: 72px;
  height: 100%;
  position: static !important;
  margin-top: 0;
}

.swiper .swiper-button-next:after {
  content: "";
  width: 72px;
  height: 100%;
  background-image: url("../img/next-arrow.svg");
  display: block;
}

.swiper .swiper-button-prev:after {
  content: "";
  width: 72px;
  height: 100%;
  background-image: url("../img/prev-arrow.svg");
  display: block;
}

.swiper-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.language__filter {
  background-color: #fff;
  border-radius: 20px;
  padding: 10px 10px 10px 30px;
  height: 83px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.language__filter-title {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
}

.book-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.book-links__title {
  font-size: 16px;
  font-weight: 600;
  color: #bb9b6f;
  text-transform: uppercase;
  text-decoration: underline;
}

.book-links__descr {
  font-size: 18px;
  font-weight: 400;
}

.book-links__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-bottom: 1px solid #d9d9d9;
  padding-bottom: 20px;
}
