:root {
  --brown-bg: #958f80;
  --light-brown-bg: #fbf7f0;
  --gold-font: #9b865c;
}

/* general */
body section {
  overflow-x: hidden;
}
#mob-events {
  display: none;
}
.section-title {
  font-family: 'Diana Webber', Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 90px;
  margin-top: 0;
  position: relative;
  margin-left: 30px;
}
.section-title__shadow {
  font-size: 330px;
  z-index: -1;
  opacity: .07;
  pointer-events: none;
}
.with-borders {
  position: relative;
}
.with-borders::before,
.with-borders::after {
  content: '';
  width: 100vw;
  height: 5px;
  position: absolute;
  left: 0;
}
.with-borders:before {
  top: 0;
  background-image: url('./images/icons/border-top.png');
}
.with-borders:after {
  bottom: 0;
  background-image: url('./images/icons/border-bottom.png');
}

/* slider */
.slick-slider {
  position: relative;
}
.slick-track {
  display: flex;
}
.slick-list,
.slick-initialized {
  overflow: hidden;
}
.slick-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  font-size: 0;
  width: 39px;
  height: 65px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: contain;
}
.slick-arrow.slick-prev {
  left: 0;
  background-image: url('./images/icons/arrow-prev.png');
}
.slick-arrow.slick-next {
  right: 0;
  background-image: url('./images/icons/arrow-next.png');
}

/* cookies */
.cookies {
  width: 100%;
  min-height: 90px;
  font-weight: 100;
  color: #fff;
  background-color: var(--brown-bg);
}
.cookies .cookies__content {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  max-width: 800px;
  margin: auto;
  padding: 22px 0;
}
.cookies .cookies__text {
  max-width: 625px;
}
.cookies a {
  color: inherit;
  text-decoration: underline;
}
.cookies button {
  width: 135px;
  height: 45px;
  color: inherit;
  font-family: 'Museo Cyrl', Arial, sans-serif;
  font-weight: 500;
  font-size: 19px;
  background-color: #ccbd9e;
}

/* header */
.header {
  min-height: 55px;
  padding: 12px 0;
  background-color: #f7f0e1;
}
.menu {
  display: flex;
  padding-top: 3px;
}
.menu__item {
  margin-right: 50px;
}
.languages {
  margin-right: 40px;
}
.languages-modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 410px;
  height: 90px;
  color: #fff;
  background-color: rgba(157, 154, 145, 0.8);
  border: 1px solid #e1e2e5;
}
.header .languages-modal {
  position: absolute;
  right: 0;
  top: 43px;
  z-index: 1;
}
.header .languages-modal > span {
  margin: 0 40px;
}
.header .languages li {
  display: inline-flex;
  flex-direction: column;
  margin-right: 20px;
}
.language-btn {
  display: inline-block;
  width: 29px;
  height: 30px;
  position: relative;
  background-color: #f7f0e1;
}
.header .menu + .language-btn::after {
  content: '';
  width: 7px;
  height: 15px;
  position: absolute;
  top: 7px;
  right: -13px;
  background-image: url('./images/icons/arr.svg');
}
.header .languages .language-btn {
  background-color: rgba(157, 154, 145, 0.8);
  margin-bottom: 10px;
}
.header .language-btn--ru {
  background-image: url('./images/icons/flag-ru.png');
}
.header .language-btn--en {
  background-image: url('./images/icons/flag-en.png');
}
.header .language-btn--srb {
  background-image: url('./images/icons/flag-srb.png');
}
.header__wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: relative;
}
.header__wrap > .language-btn {
  position: absolute;
  right: 40px;
  margin-right: 20px;
}
.header__wrap--mobile {
  display: none;
}
.hamburger {
  width: 45px;
  height: 45px;
  background-image: url('./images/icons/hamburger-menu.png');
  background-repeat: no-repeat;
  background-size: contain;
}

/* promo */
#promo {
  min-height: 411px;
  background-image: url('./images/promo-bg.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  margin-top: -5px;
  position: relative;
  overflow-x: initial;
}
#promo img {
  position: absolute;
  bottom: 5px;
}
.promo__text-wrap {
  padding-top: 50px;
  padding-left: 300px;
  margin-left: auto;
}
.promo__content {
  display: flex;
}
.promo__content .main-title {
  margin: 0;
  font-size: 120px;
  font-family: 'Diana Webber', Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
}
.promo__text {
  font-size: 22px;
  margin-bottom: 30px;
  padding-left: 50px;
}
.promo__text span {
  cursor: pointer;
  color: #a49c8c;
}

/* books */
#books {
  padding: 60px 0;
}
#books .section-title {
  margin-bottom: 0;
}
#books .section-title__shadow {
  position: absolute;
  top: -75%;
  left: -50px;
  font-size: 330px;
  z-index: -1;
  opacity: .07;
}
.books__list {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  /* min-width: 0; */
}
#books img {
  width: 100%;
  height: auto;
}
#books a {
  display: block;
  position: relative;
}
.books__item {
  margin-right: 40px;
  margin-bottom: 50px;
}
.books__overlay {
  display: none;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(88, 89, 89, 0.95);
  color: #fff;
  padding: 30px 25px;
  cursor: initial;
  cursor: pointer;
}
.overlay__title {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
}
.books__overlay span:first-of-type {
  width: 70%;
  display: inline-block;
  font-size: 14px;
  margin-bottom: 20px;
}
.overlay__buy {
  display: block;
  cursor: pointer;
  width: 280px;
  height: 63px;
  color: #3a3114;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #cdb27d;
  font-size: 24px;
  padding: 10px 22px;
}
.overlay__text {
  font-size: 18px;
  margin-bottom: 45px;
}
.overlay__details {
  display: inline-block;
  width: 90%;
  cursor: pointer;
  color: #ffd788;
}

/* reviews */
#reviews {
  background-color: var(--light-brown-bg);
  position: relative;
  padding-top: 52px;
  padding-bottom: 132px;
  color: #7c7871;
  overflow-x: hidden;
}
#reviews .section-title {
  position: absolute;
  background-color: var(--light-brown-bg);
  margin: 0;
  z-index: 2;
  line-height: 70px;
}
#reviews .section-title__shadow {
  position: absolute;
  left: -140px;
}
.review {
  display: flex;
  flex-direction: column;
  padding: 0 70px;
}
.review__author {
  font-size: 22px;
  text-align: right;
  margin-bottom: 80px;
  padding-right: 181px;
  position: relative;
}
.review__author:after {
  content: '';
  width: 60px;
  height: 60px;
  position: absolute;
  top: 0;
  right: 40px;
  background: url('./images/icons/icon-enso.png') no-repeat;
}
.review__text {
  font-weight: 100;
  font-style: normal;
  font-size: 22px;
  line-height: 40px;
}

/* quotes */
.quotes {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
}
.quotes .section-title {
  position: absolute;
  margin: 0;
  z-index: 2;
  line-height: 80px;
  padding-left: 90px;
  background-color: #fff;
}
.quotes .section-title__shadow {
  position: absolute;
  top: 60px;
  left: -30px;
}
.quote {
  display: flex;
  font-size: 22px;
  padding: 0 90px;
}
.quote__place {
  min-height: 75px;
  font-size: 36px;
  position: relative;
  font-family: 'Museo Cyrl';
  font-weight: 500;
  font-style: normal;
  margin-bottom: 20px;
}
.quote__place span {
  width: 75%;
  display: inline-block;
  margin-top: 30px;
  font-weight: 100;
}
.quote__text {
  width: 70%;
  padding-top: 130px;
  padding-right: 20px;
}
.quote__place-img {
  width: 33%;
  min-width: 270px;
}
.quote__place-img img {
  width: 100%;
  height: auto;
}
.quote__place:before {
  content: '';
  width: 72px;
  height: 75px;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url('./images/icons/icon-lucia.png') no-repeat;
}

#blog {
  position: relative;
  background-color: var(--light-brown-bg);
  padding-top: 70px;
  padding-bottom: 70px;
}
#blog .section-title {
  width: 24.24%;
}
#blog .section-title__shadow {
  position: absolute;
  top: -110px;
  left: -130px;
  z-index: 0;
}
.blog-wrap {
  display: flex;
}
.blog {
  display: flex;
  margin-bottom: 60px;
}
.blog__img {
  margin-right: 30px;
}
.blogs__list {
  width: 75.76%;
}
.blog__title {
  font-size: 24px;
  margin-bottom: 31px;
}
.blog__details {
  color: #999384;
  cursor: pointer;
}
.title-border-bottom,
.title-border-top {
  width: 100%;
  max-width: 517px;
  position: relative;
}
.title-border-bottom::after {
  content: '';
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background: url('./images/icons/border-bottom.png') no-repeat;
  opacity: 0.5;
}
.title-border-top::after {
  content: '';
  width: 100%;
  height: 5px;
  position: absolute;
  top: -5px;
  left: 0;
  background: url('./images/icons/border-bottom.png') no-repeat;
  opacity: 0.5;
}
.blogs-load-more {
  font-size: 24px;
  color: #7b5800;
  cursor: pointer;
}

/* events */
#events {
  padding: 70px 40px 100px 40px;
}
#mob-events {
  overflow-x: hidden;
}
#mob-events .section-title,
#events .section-title {
  margin-bottom: 0;
  line-height: 80px;
}
#mob-events .section-title__shadow,
#events .section-title__shadow {
  position: absolute;
  top: -100px;
  left: -40px;
}
.events-slider {
  padding: 0 40px;
}
.event {
  margin-right: 30px;
  cursor: pointer;
}
.event--50 {
  padding-top: 50px;
}
.event--20 {
  padding-top: 20px;
}
.event--12 {
  padding-top: 12px;
}
.event-img {
  margin-bottom: 40px;
}
.event__title {
  max-width: 235px;
}

/* contact */
#contact {
  background-color: var(--brown-bg);
  padding: 70px 0;
  background-image: url('./images/contact-bg.png');
  background-repeat: no-repeat;
  background-position: 77% 100%;
  overflow-x: hidden;
}
#contact .section-title {
  margin-bottom: 0;
  color: #fff;
}
#contact .section-title__shadow {
  position: absolute;
  top: -160px;
  left: -130px;
  z-index: 0;
}
.social {
  margin-bottom: 40px;
}
.contact-form {
  max-width: 808px;
  display: flex;
  justify-content: space-between;
  position: relative;
}
.message-sent {
  width: 101%;
  height: 101%;
  position: absolute;
  top: -1px;
  left: -1px;
  background-image: url('./images/message-sent.png');
  background-size: cover;
  z-index: 1;
}
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 0;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
}
.contact-form .input-item {
  min-height: 64px;
  position: relative;
}
.contact-form .input-item--textarea {
  min-height: 213px;
}
.contact-form .input-item--name::before,
.contact-form .input-item--email::before,
.contact-form .input-item--social::before {
  content: '';
  width: 30px;
  height: 30px;
  position: absolute;
  top: 20px;
  left: 10px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
}
.contact-form .input-item--name::before {
  background-image: url('./images/icons/icon-user.png');
}
.contact-form .input-item--email::before {
  height: 20px;
  background-image: url('./images/icons/icon-mail.png');
}
.contact-form .input-item--social::before {
  background-image: url('./images/icons/icon-insta.png');
}
.contact-form .input-item:nth-child(2) {
  margin-bottom: 21px;
}
.contact-form textarea {
  height: 191px;
  resize: none;
}
.contact-form input {
  height: 42px;
}
.contact-form input[type='text'],
.contact-form input[type='email'] {
  padding-left: 50px;
}
.contact-form input[type='submit'] {
  background-color: #ccbd9e;
  color: #fff;
}
.form-left {
  width: 48.5%;
  margin-right: 27px;
  display: flex;
  flex-direction: column;
}
.form-right {
  width: 48.5%;
}
.contact-form label.error {
  font-size: 14px;
  color: red;
}

/* rights */
.rights {
  padding: 10px 0;
  background-color: #4e4e4e;
  color: #958f80;
}
.rights a {
  color: inherit;
  text-decoration: underline;
}
.rights-wrap {
  display: flex;
  justify-content: space-between;
}

/* modal */
/*.modal {*/
/*  display: none;*/
/*  width: 100vw;*/
/*  height: 100vh;*/
/*  position: fixed;*/
/*  top: 0;*/
/*  left: 0;*/
/*  padding-top: 100px;*/
/*  background-color: rgba(149, 143, 128, 0.8);*/
/*  z-index: 5;*/
/*}*/
/*.modal--opened {*/
/*  display: block;*/
/*}*/
.fancybox-close-small::after {
  position: absolute;
  top: 0;
  right: 5px;
  width: 40px;
  height: 40px;
  font: 40px/40px Arial,"Helvetica Neue",Helvetica,sans-serif;
  font-weight: 400;
}
.modal-wrap {
  width: 100%;
  max-width: 70%;
  background-color: #fff;
  border-radius: 15px;
  padding: 60px 20px 40px 20px;
  margin: 0 auto;
  position: relative;
}
.modal__content {
  min-height: 550px;
  display: flex;
  justify-content: flex-start;
  border-radius: 15px;
}
.modal__title {
  font-family: "Diana Webber", sans-serif;
  font-size: 90px;
  margin: 0;
  font-weight: 100;
  position: relative;
  margin-bottom: 70px;
}
.modal__title img {
  width: 130px;
  position: absolute;
  right: 0;
}
.modal__arrows {
  margin-top: auto;
  font-size: 24px;
  color: var(--gold-font);
  display: flex;
  justify-content: space-between;
}
.modal__arrow-prev {
  padding-left: 35px;
  position: relative;
  cursor: pointer;
}
.modal__arrow-prev::before {
  content: "";
  width: 20px;
  height: 35px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background: url("./images/icons/arrow-prev.png") no-repeat;
  background-size: contain;
}
.modal__arrow-next {
  padding-right: 35px;
  position: relative;
  cursor: pointer;
}
.modal__arrow-next::before {
  content: "";
  width: 20px;
  height: 35px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: url("./images/icons/arrow-next.png") no-repeat;
  background-size: contain;
}
.modal__left {
  width: 30%;
  max-width: 376px;
  min-width: 335px;
  height: inherit;
  display: flex;
  flex-direction: column;
  padding-right: 60px;
}
.modal__right {
  width: 100%;
  padding-right: 5px;
  overflow-y: scroll;
  font-family: "Museo Cyrl", Arial, serif;
}
.modal__quote {
  font-size: 24px;
  margin-bottom: 30px;
}
.modal__text {
  font-size: 18px;
  margin-bottom: 30px;
}
.modal__main-text {
  font-family: "Museo Cyrl", Arial, sans-serif;
  font-size: 36px;
  text-align: right;
}
.modal-book .modal__main-text {
  font-size: 44px;
  margin: 10px 0;
}
.modal__content--about .modal__left {
  justify-content: flex-end;
}
.modal__content--about .modal__title {
  font-size: 130px;
  line-height: 120px;
}
.modal__images {
  padding: 10px 0;
}
.modal__buy div {
  font-size: 24px;
  font-family: "Museo Cyrl", Arial, sans-serif;
  color: var(--gold-font);
  padding: 25px 0;
}
.modal__buy-link {
  display: flex;
  justify-content: space-between;
  font-size: 30px;
  padding: 15px 0;
  border-top: 1px solid #cac7bf;
  position: relative;
}
.modal__buy-link img {
  object-fit: contain;
}
.modal__buy-link:last-child {
  border-bottom: 1px solid #cac7bf;
}
.modal__buy-link a {
  width: 100%;
  display: inline-block;
  position: relative;
}
.modal__buy-link a::before {
  content: "";
  width: 35px;
  height: 23px;
  position: absolute;
  top: 7px;
  right: 0;
  background-image: url("./images/icons/arrow-right.png");
  background-repeat: no-repeat;
}
.modal__right-header {
  margin-bottom: 45px;
  cursor: pointer;
}
.modal__right-header a {
  display: inline-block;
  font-size: 24px;
  color: var(--gold-font);
  margin-right: 40px;
  outline: none;
}
.modal__right-header a:last-child {
  margin-right: 0;
}
.modal__right-header a.act {
  position: relative;
}
.modal__right-header a.act::before {
  content: '';
  width: 100%;
  height: 5px;
  position: absolute;
  bottom: -5px;
  left: 0;
  background: url("images/icons/border-bottom.png") no-repeat;
  opacity: 0.5;
}
.modal__right .synopsys,
.modal__right .reviews,
.modal__right .fragment {
  display: none;
}
.modal__right .synopsys.act,
.modal__right .reviews.act,
.modal__right .fragment.act {
  display: block;
}

@media (max-width: 1400px) {
  .books__item {
    margin-right: 10px;
  }
}

@media (max-width: 1200px) {
  #promo h1 {
    font-size: 100px;
    line-height: 90px;
  }
  .books__item {
    margin-right: 40px;
  }
  .quotes .slick-slider {
    padding-top: 70px;
  }
  .quote__text {
    padding-top: 80px;
  }
  .modal-wrap {
    max-width: 90%;
  }
}

@media (max-width: 1000px) {
  .modal__left {
    padding-right: 30px;
  }
  .modal__main-text,
  .modal-book .modal__main-text {
    font-size: 28px;
  }
  .modal__buy div {
    font-size: 21px;
  }
  .modal__right-header a {
    margin-bottom: 10px;
  }
}

@media (max-width: 800px) {
  #promo h1 {
    text-align: center;
  }
  .review {
    padding: 80px 20px 0 20px;
  }
  .books__list {
    justify-content: center;
  }
  .section-title {
    margin-bottom: 40px;
  }
  .slick-arrow {
    width: 25px;
    height: 55px;
  }
  .cookies .cookies__content {
    flex-direction: column;
    align-items: center;
  }
  .cookies .cookies__text {
    margin-bottom: 10px;
  }
  .header__wrap {
    display: none;
  }
  .header__wrap--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .hamburger {
    margin: 10px;
    cursor: pointer;
  }
  .hamburger--opened {
    background-image: url('./images/icons/hamburger-menu-open.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
  }
  .hamburger.hamburger--opened + .menu {
    display: flex;
  }
  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-bottom: 450px;
  }
  .menu__item {
    font-size: 36px;
    padding: 20px 0;
    margin-right: 0;
    border-bottom: 1px solid #c5bdae;
  }
  .menu__item:first-child {
    border-top: 1px solid #c5bdae;
  }
  .books__item {
    margin-right: 0;
  }
  #promo {
    padding-bottom: 20px;
  }
  .promo__text:last-child {
    display: none;
  }
  #events {
    padding-bottom: 50px;
  }
  .events-slider {
    padding: 0;
  }
  .event {
    margin-right: 0;
    text-align: center;
  }
  .event__title {
    max-width: 235px;
    margin: 0 auto;
  }
  .event-img {
    margin-bottom: 10px;
  }
  .quotes {
    display: none;
  }
  #mob-events {
    display: block;
    padding: 70px 0 90px 0;
  }
  .review {
    padding-top: 90px;
  }
  .review__author {
    order: 1;
    text-align: left;
    margin-top: 40px;
    padding-left: 130px;
    padding-right: 0;
    color: #000;
  }
  .review__author:after {
    left: 40px;
    top: -5px;
  }
  .review__text {
    padding: 0 30px;
    font-size: 18px;
    line-height: 24px;
  }
  .mobile-order {
    display: flex;
    flex-direction: column;
  }
  #reviews {
    padding-bottom: 0;
  }
  #books {
    order: 1;
  }
  .blog-wrap {
    flex-direction: column;
  }
  .blogs__list {
    width: 100%;
  }
  .contact-form {
    width: 100%;
    max-width: 600px;
    flex-direction: column;
    margin: 0 auto;
    margin-bottom: 50px;
  }
  .form-left,
  .form-right {
    width: 100%;
  }
  .social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    order: 1;
    margin-bottom: 20px;
  }
  .social__link {
    margin-right: 5px;
  }
  .social__link img {
    width: 60px;
    height: 60px;
  }
  .contact-wrap {
    background-image: none;
    padding-top: 0;
    display: flex;
    flex-direction: column;
  }
  .modal {
    padding-top: 0;
  }
  .modal__wrap {
    background-color: #f1ebde;
    height: auto;
    border-radius: 0;
  }
  .modal__title img,
  .modal__arrows {
    display: none;
  }
  .modal__content {
    flex-direction: column;
  }
  .modal__left {
    margin-bottom: 20px;
  }
  .modal__left,
  .modal__right {
    width: 100%;
    min-width: auto;
    max-width: initial;
    overflow-y: initial;
  }
  .modal__title {
    margin-bottom: 0;
  }
  .modal__main-text {
    text-align: left;
  }
  .contact-form input::placeholder {
    font-size: 14px;
  }
}

@media (max-width: 610px) {
  .promo__content {
    flex-direction: column;
  }
  #promo img {
    position: relative;
  }
  .promo__text-wrap {
    padding-left: 0;
  }
}

@media (max-width: 550px) {
  .blog {
    flex-direction: column;
  }
  .blog__img {
    margin: 0 auto;
    margin-bottom: 15px;
  }
}
