/* ==========================================================================
   Belletrist - style.css
   ========================================================================== */

/* ---------- Variables ---------- */

:root {
  --color-accent: #6a5921;
  --color-text: #4d4d4d;
  --color-heading: #000;
  --color-light: #fff;
  --color-dark: #1a1a1a;
  --header-height: 100px;
  --mobile-header-height: 70px;
}

/* ---------- Reset ---------- */
button {
  cursor: pointer;
}

.litmarket_butt {
}

button:hover {
  background: #aa3a4b;
  transition: all 0.5s ease;
  drop-shadow: 0 0 10px #fff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 18px;
  line-height: 1.5;

  color: var(--color-text);
  background-color: var(--color-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.clear::after {
  content: "";
  display: table;
  clear: both;
}

::selection {
  color: var(--color-light);
  background: var(--color-accent);
}

/* ---------- Typography ---------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--color-heading);
  margin: 25px 0;
  word-wrap: break-word;
}

h1 {
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
}
h2 {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 30px;
  line-height: 1.03;
  letter-spacing: -0.025em;
}
h4 {
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: -0.02em;
}
h5 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
h6 {
  font-size: 18px;
  line-height: 1.56;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--color-accent);
}

p {
  margin-bottom: 1.5em;
}

/* ---------- Header ---------- */

#qodef-page-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--header-height);
  background: var(--color-dark);
}

#qodef-page-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 40px;
}

.qodef-header-logo-link {
  display: inline-block;
}

.qodef-header-logo-image.qodef--light {
  display: none;
}

/* ---------- Opener icon (hamburger) ---------- */

.qodef-opener-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qodef-m-lines {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.qodef-e-media-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

.qodef-m-line {
  display: block;
  width: 30px;
  height: 2px;
  background: var(--color-light);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.qodef-opener-icon .qodef--close {
  display: none;
}

.qodef-opener-icon.qodef--opened .qodef--open {
  display: none;
}

.qodef-opener-icon.qodef--opened .qodef--close {
  display: inline-flex;
}

.qodef-opener-icon.qodef--opened .qodef-m-line.qodef--1 {
  transform: translateY(7px) rotate(45deg);
}

.qodef-opener-icon.qodef--opened .qodef-m-line.qodef--2 {
  opacity: 0;
}

.qodef-opener-icon.qodef--opened .qodef-m-line.qodef--3 {
  opacity: 0;
}

.qodef-opener-icon.qodef--opened .qodef-m-line.qodef--4 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Mobile header ---------- */

#qodef-page-mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: var(--mobile-header-height);
  background: var(--color-dark);
}

#qodef-page-mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
}

/* ---------- Page content ---------- */

#qodef-page-inner {
  margin: 0 auto;
}
.evalogo img {
  width: 400px;
}
.evalogo {
  position: absolute;
  /* left: 50px; */
  /* right: 0; */
  top: 4%;
  /* width: 400px; */
  height: auto;
  z-index: 10000000000;
}

.evalogo2 {
  margin-top: 40px;
  text-align: center;
}

/* ---------- Blog post ---------- */

.qodef-blog-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
.slogan {
  font-size: 22px;
  padding: 0 10%;
  color: white;
  text-align: center;
}

.qodef-e-fixed {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
  background: url("https://designhello.ru/portfolio/eva/images/bookbg5.png");
  background-size: cover;
}

.qodef-header-logo-image {
  width: 100%;
}

/* ---------- Logo slider ---------- */

.qodef-logo-slider {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qodef-logo-slider-track {
  position: relative;
  width: 100%;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -36px;
}

.qodef-logo-slider .qodef-header-logo-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
  pointer-events: none;
}
.qodef-logo-slider {
  position: relative;
  isolation: isolate;
}

.qodef-logo-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(/images/svet.png);
  z-index: 1;
  pointer-events: none;
  background-size: 91%;
  top: -120px;
  opacity: 0.5;
  height: 138%;
  background-repeat: no-repeat;
  background-position: 40px -114px;
}

.qodef-logo-slider .qodef-header-logo-image.qodef--active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.qodef-logo-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgb(255 255 255 / 13%);
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}

.qodef-logo-slider-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.8);
}

.qodef-logo-slider-btn.qodef--prev {
  left: 20px;
}

.qodef-logo-slider-btn.qodef--next {
  right: 20px;
}

.qodef-e-icon {
  display: block;
  margin: 20px auto 0;
  width: 25px;
  fill: var(--color-accent);
}

.qodef-e-scroll {
  padding: 40px 8%;
}

/* ---------- Scroll reveal animation ---------- */

.qodef-scroll-reveal > *:not(.qodef-e-text),
.qodef-scroll-reveal .qodef-e-text > *:not(.author-profile),
.qodef-scroll-reveal .author-profile tr {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.qodef-scroll-reveal .qodef--in-view {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .qodef-scroll-reveal > *:not(.qodef-e-text),
  .qodef-scroll-reveal .qodef-e-text > *:not(.author-profile),
  .qodef-scroll-reveal .author-profile tr {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.qodef-e-fixed-social-share {
  margin-bottom: 30px;
}

.qodef-social-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 10px;
}

.qodef-shortcode-list {
  display: flex;
  gap: 20px;
}

.qodef-share-link {
  font-size: 16px;
  color: var(--color-heading);
}

.qodef-share-link:hover {
  color: var(--color-accent);
}

.qodef-e-info-date {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
}

.qodef-e-title {
  margin: 33px 0 20px;
  display: flex;
  gap: 30px;
}

.opisanie_avtora a {
  font-size: 16px;
}
.opisanie_avtora span {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.opisanie_avtora {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.qodef-e-quote {
  font-family: var(--font-quote);
  font-style: italic;
  padding: 10px 0 20px 30px;
  border-left: 2px solid var(--color-accent);
}

.qodef-e-info--bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

.qodef-e-info-left {
  display: flex;
  gap: 20px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.qodef-e-info-category a {
  color: var(--color-accent);
}

/* ---------- Fullscreen search ---------- */

.qodef-fullscreen-search-holder {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.97);
}

body.qodef-search--opened .qodef-fullscreen-search-holder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qodef-search-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--color-light);
  font-size: 30px;
  cursor: pointer;
}

.qodef-m-form {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 60%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
}

.qodef-m-form-field {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--color-light);
  font-family: var(--font-body);
  font-size: 28px;
}

.qodef-m-form-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.qodef-m-form-submit {
  background: transparent;
  border: 0;
  color: var(--color-light);
  font-size: 24px;
  cursor: pointer;
}

/* ---------- Back to top ---------- */
.author {
  width: 100%;
  min-width: 200px;
  min-height: 200px;
  max-width: 200px;
  /* aspect-ratio: 4 / 4; */
  overflow: hidden;
  height: 100%;
  border: 7px solid wheat;
  border-radius: 50%;
}

.author img {
  width: 89%;
  object-fit: cover;
  scale: 1.3;
  object-position: 4px 17px;
}

#qodef-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #e2e2e2;
  color: var(--color-light);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#qodef-back-to-top.qodef--visible {
  opacity: 1;
  visibility: visible;
}

#qodef-back-to-top:hover {
  background: var(--color-accent);
}

/* ---------- Side area ---------- */

#qodef-side-area {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 300;
  width: 420px;
  height: 100%;
  padding: 40px;
  background: var(--color-light);
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.4s ease;
  overflow-y: auto;
}

body.qodef-side-area--opened #qodef-side-area {
  transform: translateX(0);
}

.qodef-side-area-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
}

.qodef-side-area-close .qodef-m-line {
  background: var(--color-heading);
}

#qodef-side-area-inner .widget {
  margin-bottom: 30px;
}

.qodef-image-gallery .qodef-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.qodef-image-gallery img {
  width: 100%;
  height: auto;
}

.qodef-custom-social-widget {
  display: flex;
  gap: 15px;
  font-size: 15px;
}

.qodef-csw-title {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-right: 5px;
}

.qodef-custom-social-widget a:hover {
  color: var(--color-accent);
}

/* ---------- Subscribe popup ---------- */

#qodef-subscribe-popup-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.6);
}

#qodef-subscribe-popup-modal.qodef-sp--opened {
  display: table;
  width: 100%;
  height: 100%;
}

.qodef-sp-table {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.qodef-sp-inner {
  position: relative;
  display: inline-block;
  max-width: 560px;
  width: 90%;
  border-radius: 20px;
  padding: 60px 50px;
  background: var(--color-light);
}

.qodef-sp-close {
  position: absolute;
  top: 19px;
  right: 25px;
  font-size: 20px;
  color: var(--color-text);
  cursor: pointer;
}

.qodef-sp-title {
  margin-top: 0;
}

.qodef-sp-subtitle {
  margin-bottom: 30px;
}

.qodef-newsletter-with-icon {
  display: flex;
  gap: 10px;
}

.qodef-newsletter-with-icon input[type="email"] {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ccc;
  font-family: var(--font-body);
  font-size: 16px;
}

.qodef-button {
  padding: 12px 25px;
  border: 1px solid var(--color-heading);
  background: transparent;
  font-family: var(--font-body);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.qodef-button:hover {
  background: var(--color-heading);
  color: var(--color-light);
}

.qodef-sp-prevent {
  margin-top: 25px;
}

.qodef-sp-prevent-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.qodef-sp-prevent-input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #999;
}

.qodef-sp-prevent-input svg {
  display: none;
}

.qodef-sp-prevent-input.qodef--checked svg {
  display: block;
}

/* ---------- Fullscreen menu ---------- */

#qodef-fullscreen-area {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-dark);
  color: var(--color-light);
  overflow-y: auto;
}

body.qodef-fullscreen-menu--opened #qodef-fullscreen-area {
  display: block;
}

.qodef-content-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

#qodef-fullscreen-area-inner {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 120px 0;
}

.qodef-fullscreen-menu > ul > li {
  margin-bottom: 20px;
}

.qodef-fullscreen-menu a {
  font-family: var(--font-heading);
  font-size: 40px;
  color: var(--color-light);
  transition: color 0.3s ease;
}

.qodef-fullscreen-menu a:hover {
  color: var(--color-accent);
}

.qodef-fullscreen-menu .sub-menu {
  margin: 10px 0 0 30px;
}

.qodef-fullscreen-menu .sub-menu a {
  font-family: var(--font-body);
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1024px) {
  #qodef-page-header {
    display: none;
  }
  .qodef-e-title {
    gap: 10px;
  }
  .qodef-e-title {
    flex-direction: column;
  }

  #qodef-page-mobile-header {
    display: block;
  }

  .qodef-blog-post {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .qodef-e-fixed {
    position: static;
  }
}

@media only screen and (max-width: 680px) {
  .qodef-logo-slider::before {
    background-size: 139%;
    top: -121px;
    background-position: -85px 37px;
  }

  .slogan {
    font-size: 18px;
    padding: unset;
  }

  h2 {
    margin: 0 0 24px 0px;
  }

  .qodef-sp-inner {
    position: relative;
    display: inline-block;
    max-width: 90%;
    width: 90%;
    border-radius: 20px;
    padding: 33px;
    background: var(--color-light);
  }
  .qodef-button {
    width: 100%;
  }
  .qodef-newsletter-with-icon {
    flex-wrap: wrap;
  }
  .qodef-e-scroll {
    padding: 40px 30px;
  }
  .evalogo img {
    width: 250px;
  }

  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 28px;
  }

  .qodef-m-form {
    width: 85%;
  }

  #qodef-side-area {
    width: 100%;
  }

  .qodef-fullscreen-menu a {
    font-size: 30px;
  }
}

.author-profile {
  max-width: 820px;
  margin: 32px auto;
  padding: 32px;
  box-sizing: border-box;
  background: #171a21;
  border: 1px solid #303540;
  border-radius: 18px;
  color: #f0f1f4;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.author-profile__label {
  margin: 0 0 8px;
  color: #d6b47a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.author-profile h2 {
  margin: 0 0 16px;
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.2;
}

.author-profile__intro {
  margin: 0 0 24px;
  color: #c9cdd6;
}

.author-profile table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.author-profile caption {
  margin-bottom: 12px;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
}

.author-profile th,
.author-profile td {
  padding: 14px 0;
  border-bottom: 1px solid #303540;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.author-profile th {
  width: 34%;
  padding-right: 20px;
  color: #d6b47a;
  font-weight: 600;
}

.author-profile td {
  color: #e0e3e9;
}

.author-profile tr:last-child th,
.author-profile tr:last-child td {
  border-bottom: none;
}

.author-profile__tagline {
  margin: 24px 0 0;
  padding: 16px 20px;
  border-left: 3px solid #d6b47a;
  background: #20242d;
  font-family: Georgia, serif;
  font-size: 19px;
  font-style: italic;
}

@media (max-width: 520px) {
  .author-profile {
    margin: 16px auto;
    padding: 22px 18px;
  }

  .author-profile th {
    width: 38%;
    padding-right: 12px;
  }

  .author-profile table {
    font-size: 14px;
  }
}
