@font-face {
  font-family: "NotoSans";
  src: url("./fonts/NotoSans.woff2") format("woff2");
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "NotoSans";
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #413939;
  scroll-padding-top: 120px;
}
.dn {
  display: none;
}
* {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  -khtml-user-select: none;
}
img {
  display: block;
  max-width: 100%;
}

/* ======= header ======= */

.header_wr {
  width: 100vw;
  height: 120px;
  background-color: #fffaf4;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  box-shadow: 0 0 10px rgba(170, 170, 170, 1);
  opacity: 0.95;
}
.logo_wr {
  margin-left: 3rem;
  width: 20%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.zh_rod_logo {
  width: 7rem;
  height: auto;
  cursor: pointer;
}
.menu_icon {
  width: 1.8rem;
  height: auto;
  cursor: pointer;
}
.header_title_wr {
  max-width: 50%;
}
.header_title {
  text-align: center;
  padding: 0.5rem;
  cursor: pointer;
  font-size: 1.8rem;
}
.menu_items_wr {
  display: flex;
  justify-content: center;
  align-items: center;
}
.menu_item {
  cursor: pointer;
  padding-inline: 1rem;
}
.social_media_links_wr {
  margin-right: 3rem;
  width: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.telegram_link,
.wa_link,
.mail_link {
  display: block;
  margin: 0.5rem;
}
.telegram_logo,
.wa_logo,
.mail_logo {
  width: 2rem;
  height: auto;
}
@media (max-width: 680px) {
  .logo_wr {
    margin-left: 1rem;
    width: 30%;
  }
  .social_media_links_wr {
    margin-right: 1rem;
    width: 30%;
  }
  .header_title {
    font-size: 1.6rem;
  }
  .menu_icon {
    display: block;
  }
  .menu_item {
    display: none;
  }
}
@media (max-width: 480px) {
  .header_title {
    display: none;
  }
  .social_media_links_wr {
    width: 50%;
  }
}

/* ======= main ======= */

main {
  padding-top: 120px;
}

/* ======= menu ======= */

.menu_section {
  position: relative;
}
.m_wr {
  position: fixed;
  top: 120px;
  left: -100%;
  background-color: #fffaf4;
  width: 280px;
  border: 1px solid lightgray;
  border-radius: 1rem;
  transition: 500ms;
  z-index: 10;
}
.sm_wr {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 500ms;
}
.sm_wr * {
  overflow: hidden;
}
.menu_link,
.menu_link nobr {
  display: block;
  color: rgb(153 105 57);
  margin: 0.5rem;
  padding-block: 0.3rem;
  text-decoration: none;
}
.gtr {
  grid-template-rows: 1fr;
}
.sm_wr .menu_link,
.menu_link nobr {
  font-size: 0.9rem;
  padding: 0;
}
@media (max-width: 320px) {
  .m_wr {
    width: 90vw;
  }
}

/* ======= author_presentation ======= */

.author_presentation_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin: 2rem auto 0;
}
.author_presentation_text_wr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 75%;
  height: auto;
}
.author_presentation_text_wr p {
  padding: 0.3rem 1rem;
  font-size: min(1rem, 1vw);
  text-align: justify;
}
.author_presentation_text_wr p::first-letter {
  padding-left: 1rem;
}
.author_image_wr {
  width: 25%;
  height: auto;
  margin: 2rem;
}
.author_image_wr img {
  border-radius: 20%;
}
@media (max-width: 1780px) {
  .author_presentation_wr {
    max-width: 95%;
  }
}
@media (max-width: 1320px) {
  .author_presentation_wr {
    flex-direction: column-reverse;
  }
  .author_image_wr {
    align-self: flex-end;
  }
  .author_presentation_text_wr {
    width: 100%;
    height: auto;
    justify-content: start;
  }
  .author_presentation_text_wr p {
    font-size: 1rem;
  }
}
@media (max-width: 980px) {
  .author_image_wr {
    width: 50%;
  }
}
@media (max-width: 480px) {
  .author_image_wr {
    width: 80%;
    align-self: center;
  }
  .author_presentation_text_wr p {
    font-size: 0.9rem;
  }
}

/* ======= book_presentation ======= */

.book_title {
  text-align: center;
  padding: 2rem;
  font-size: min(1.6rem, 4vw);
}
.book_presentation_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  margin: auto;
}
.book_presentation_text_wr {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  height: auto;
}
.book_cover_wr {
  width: 50%;
  height: auto;
}
.book_presentation_text_wr p {
  padding: 0.3rem 1rem;
  font-size: min(1.1rem, 1vw);
  color: rgb(153 105 57);
  text-align: justify;
}
.book_presentation_text_wr p::first-letter {
  padding-left: 1rem;
}
@media (max-width: 1780px) {
  .book_presentation_wr {
    max-width: 95%;
  }
}
@media (max-width: 1320px) {
  .book_presentation_wr {
    flex-direction: column;
  }
  .book_cover_wr {
    width: 100%;
    height: auto;
  }
  .book_presentation_text_wr {
    width: 100%;
    height: auto;
    justify-content: start;
    margin-block: 1rem;
  }
  .book_presentation_text_wr p,
  .customer_feedback_wr p {
    font-size: min(1.2rem, 3vw);
  }
}
@media (max-width: 540px) {
  .book_presentation_text_wr p {
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .book_title {
    font-size: 1.2rem;
  }
  .book_presentation_wr {
    max-width: 98%;
  }
}

/* ======= purchase_proposal ======= */

.purchase_proposal_wr {
  display: flex;
  justify-content: center;
}
.purchase_proposal_text_wr,
.links_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem;
}
.purchase_proposal_text_wr {
  font-size: 1.1rem;
}
a img {
  width: 3.5rem;
  height: auto;
  margin: 0.5rem;
}
@media (max-width: 720px) {
  .purchase_proposal_wr {
    flex-direction: column;
    margin: 1rem;
    text-align: center;
  }
  .purchase_proposal_text_wr {
    font-size: min(1.1rem, 4vw);
  }
}
@media (max-width: 480px) {
  .purchase_proposal_text_wr {
    font-size: 1.1rem;
  }
}

/* ======= book_examples ======= */

.book_examples_wr {
  display: flex;
  justify-content: center;
}
.slider {
  position: relative;
  overflow: hidden;
  margin: 2rem;
  max-width: 28%;
}
.sl {
  display: flex;
}
.left_arrow,
.right_arrow {
  position: absolute;
  width: 2.2rem;
  margin-inline: 1rem;
  cursor: pointer;
  top: calc(50% - 1.1rem);
  filter: drop-shadow(0 0 0.5rem #f3c99f);
}
.right_arrow {
  right: 0;
}
.text_examples_wr {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 2rem;
  max-width: 25%;
}
.text_examples_wr p {
  padding: 0.3rem 1rem;
  font-size: min(1.2rem, 1vw);
  color: #996939;
  text-align: justify;
}
.text_examples_wr p::first-letter {
  padding-left: 1rem;
}
.quote_marks_up,
.quote_marks_down {
  max-width: 1rem;
  position: absolute;
  opacity: 0.3;
}
.quote_marks_up {
  left: 0;
  top: 0;
}
.quote_marks_down {
  right: 0;
  bottom: 0;
}
@media (max-width: 1780px) {
  .text_examples_wr,
  .slider {
    max-width: 35%;
    margin: 1rem;
  }
  .text_examples_wr p {
    font-size: min(1.2rem, 1.4vw);
  }
}
@media (max-width: 1320px) {
  .text_examples_wr {
    margin-left: 0;
    margin-right: 2rem;
  }
  .text_examples_wr,
  .slider {
    max-width: 48%;
  }
  .text_examples_wr p {
    font-size: min(1.2rem, 1.6vw);
    font-size: 1.1rem;
  }
}
@media (max-width: 928px) {
  .book_examples_wr {
    flex-direction: column;
    align-items: center;
    margin-block: 1rem;
  }
  .text_examples_wr {
    margin: 1rem;
    margin-bottom: 0;
  }
  .text_examples_wr,
  .slider {
    max-width: 90%;
  }
}

/* ======= customer_feedback ======= */

.customer_feedback_section {
  max-width: 90%;
  margin: 2rem auto;
}
.customer_feedback_wr .text_wr {
  margin: 2rem;
}
.customer_feedback_header {
  font-size: 1.4rem;
  margin: 2rem;
  text-align: center;
}
.customer_feedback_wr p {
  padding: 0.3rem 1rem;
  font-size: 1.2rem;
  text-align: center;
}
.customer_name {
  font-style: italic;
  margin-top: 0.8rem;
}
hr {
  width: 20%;
  margin: 1rem auto;
  opacity: 0.3;
}
@media (max-width: 480px) {
  .customer_feedback_section {
    max-width: 100%;
    margin: 0 auto;
  }
  .customer_feedback_header {
    font-size: 1.2rem;
  }
  .customer_feedback_wr p {
    font-size: 1rem;
    text-align: justify;
    padding: 0.3rem;
  }
}

/* ======= notice_to_the_reader ======= */

.notice_to_the_reader_wr {
  margin: 3rem auto;
  width: min(900px, 90%);
  font-size: 1rem;
  text-align: center;
  color: #b7aca5;
  border-top: 1px solid #b7aca5;
}
.notice_to_the_reader_wr p {
  margin-top: 2rem;
}

/* ======= form ======= */

.form_wrapper {
  margin: 2rem auto 7rem;
  width: min(800px, 80%);
  border-radius: 2rem;
  background-color: #eef1f5;
  border: 1px solid lightgray;
}
.form {
  padding-block: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.form input,
.form textarea {
  width: min(600px, 70%);
  margin: 0.5rem;
  padding: 0.7rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: rgb(147 117 87);
  border: 1px solid lightgray;
}
.form input::placeholder {
  color: lightgray;
}
.form textarea::placeholder {
  color: lightgray;
}
.submit_btn {
  max-width: 150px;
  cursor: pointer;
  border: 1px solid lightgray;
  background-color: #dee9f7;
  color: #b7aca5;
}
.disabled {
  opacity: 0.5;
  cursor: context-menu;
}
.cb_agreement_wr {
  display: flex;
  width: min(600px, 70%);
  margin-block: 1rem;
}
.cb_agreement_wr input {
  width: 12px;
  margin: 0;
  margin-right: 0.5rem;
  accent-color: #f0f2f5;
  cursor: pointer;
}
.form_agreement_link {
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
  padding-inline: 0.3rem;
  opacity: 0.5;
}

/* ======= ppa_wr ======= */

.ppa_wr {
  position: relative;
  max-width: 50vw;
  margin: auto;
  min-height: calc(100vh - 360px);
}
.closing_icon {
  position: absolute;
  width: 2rem;
  top: 0.2rem;
  right: 0.2rem;
  padding: 0.5rem;
  background-color: #eef0f3;
  border-radius: 50%;
  cursor: pointer;
}
.ppa_wr .ppa_title {
  text-align: center;
  margin: 3rem;
}
.ppa_wr p {
  padding: 0.3rem 1rem;
  font-size: 1rem;
  text-align: justify;
}
.ppa_wr p::first-letter {
  padding-left: 1rem;
}
.links_wr,
.buttons_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.ppa_wr a {
  padding: 1rem;
}
.ppa_wr .btn {
  display: block;
  padding: 0.3rem;
  width: 100px;
  margin: 1rem;
  border-radius: 0.5rem;
  border: 1px solid lightgray;
  cursor: pointer;
}
@media (max-width: 1600px) {
  .ppa_wr {
    max-width: 70vw;
  }
}
@media (max-width: 1080px) {
  .ppa_wr {
    max-width: 80vw;
    margin: min(3rem, 5vh) auto;
  }
}
@media (max-width: 480px) {
  .ppa_wr {
    max-width: 95vw;
    margin: min(2rem, 4vh) auto;
  }
  .ppa_wr .ppa_title {
    font-size: min(1.2rem, 5vw);
  }
  .ppa_wr p {
    font-size: 0.9rem;
  }
}

/* ======= appreciation_message ======= */

.appreciation_message_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 300px);
}
.appreciation_message {
  text-align: center;
  padding: 0.5rem;
}

/* ======= footer ======= */

.footer_wr {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eef1f5;
  height: 180px;
}
.footer_logo {
  margin: auto;
  width: 5.5rem;
  height: auto;
  cursor: pointer;
}
