@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wght@100..900&family=Yeseva+One&display=swap');

:root {
  --colorWhite: #ffffff;
  --colorBlack: #000000;
  --colorGrey: #a2a1a6;
}
/* Scrollbars */
* {
	@media only screen and (min-width: 690px) {
		scrollbar-color: #263238 #FFF3E0;
		scrollbar-width: thin;

		::-webkit-scrollbar {
			width: 8px;
			height: 8px;
		}

		::-webkit-scrollbar-track {
			background: #263238;
		}

		::-webkit-scrollbar-thumb {
			background: #FFF3E0;
		}
	}
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
	font-family: "Noto Sans Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
	background: #FFF3E0;
	letter-spacing: 0.025em;
	margin: 0;
	padding: 0;
}
body.fixed {
    height: 100vh;
    overflow: hidden;
    padding-right: 8px;
    max-height: 100vh;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
:focus:not(:focus-visible) {
  outline: 0;
}
:focus {
  outline-color: var(--colorGrey);
  outline-offset: 4px;
}

h1, h2, h3, h4, h5 {
	font-family: "Yeseva One", serif;
  font-weight: 400;
  font-style: normal;
	line-height: 1.25em;
}
h1 {
    font-size: 60px;
}
h1 .initial {
    font-size: 140px;
	display: block;
	line-height: 1.65em;
}
h2 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 30px;
}
h3 {
    font-size: 30px;
}
p {
	    font-size: 17px;
    line-height: 1.65em;
}

p a {
    padding: 0 0 2px 0;
} 

ul a {
    padding: 0 0 4px 0;
}

p a, ul a, span a {color: #D50000;
    position: relative; 
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
   }

p a:after, ul a:after, span a:after {
  bottom: 0; left: 0; width: 100%; height: 0;
  border-bottom: 1px #D50000 dashed;
  content: ""; display: block; position: absolute;
  -webkit-transition: all 0.8s cubic-bezier(0.58, 0.3, 0.005, 1);
  transition: all 0.8s cubic-bezier(0.58, 0.3, 0.005, 1);}

p a:hover:after, ul a:hover:after, span a:hover:after {
  -webkit-animation: slide-out-slide-in 0.8s cubic-bezier(.18,.43,.01,.96) 0s 1;
  animation: slide-out-slide-in 0.8s cubic-bezier(.18,.43,.01,.96) 0s 1;
  -o-animation: slide-out-slide-in 0.8s cubic-bezier(.18,.43,.01,.96) 0s 1;}

@-webkit-keyframes slide-out-slide-in {
  0% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  50% {-webkit-transform: translateX(100%); transform: translateX(100%);}
  50.02% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  100% {-webkit-transform: translateX(0%); transform: translateX(0%);}
}
  
@-moz-keyframes slide-out-slide-in {
  0% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  50% {-webkit-transform: translateX(100%); transform: translateX(100%);}
  50.02% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  100% {-webkit-transform: translateX(0%); transform: translateX(0%);}
}

@-o-keyframes slide-out-slide-in {
  0% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  50% {-webkit-transform: translateX(100%); transform: translateX(100%);}
  50.02% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  100% {-webkit-transform: translateX(0%); transform: translateX(0%);}
}

@keyframes slide-out-slide-in {
  0% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  50% {-webkit-transform: translateX(100%); transform: translateX(100%);}
  50.02% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  100% {-webkit-transform: translateX(0%); transform: translateX(0%);}
}

  /* SLIDE IN - SLIDE OUT ANIMATION */
@-webkit-keyframes slide-in-slide-out {
  0% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  50% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  100% {-webkit-transform: translateX(100%); transform: translateX(100%);}
}
  
@-moz-keyframes slide-in-slide-out {
  0% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  50% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  100% {-webkit-transform: translateX(100%); transform: translateX(100%);}
}
  
@-o-keyframes slide-in-slide-out {
  0% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  50% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  100% {-webkit-transform: translateX(100%); transform: translateX(100%);}
}
  
@keyframes slide-in-slide-out {
  0% {-webkit-transform: translateX(-100%); transform: translateX(-100%);}
  50% {-webkit-transform: translateX(0%); transform: translateX(0%);}
  100% {-webkit-transform: translateX(100%); transform: translateX(100%);}
}

.btn {
	font-family: "Noto Sans Mono", monospace;
  background-color: transparent;
  border: 4px solid black;
	border-radius: 6px;
    color: #D50000;
  padding: 15px 40px;
  position: relative;
  overflow: hidden;
  transition: 0.5s;
	 font-weight: 700;
    font-size: 20px;
}
.btn:after {
  position: absolute;
  content: "";
  width: 0;
  bottom: 0;
  left: auto;
  right: -15%;
  transition: 0.5s;
  transform: skewX(25deg);
  background: black;
  height: 100%;
  z-index: -1;
}
.btn:hover {
  cursor: pointer;
  color: white;
}
.btn.amazon {
	background-image: url("../img/amazon-logo-black.svg");
	    background-size: 25px;
	    background-repeat: no-repeat;
    padding-left: 80px;
	background-position: 38px 18px;
}
.btn.amazon:hover {
	background-image: url("../img/amazon-logo-white.svg");
}
.btn:hover:after {
  width: 135%;
  transition: 0.5s;
  transform: skewX(25deg);
  left: -25%;
}
section {padding: 55px 0 25px;}
section#timeline {overflow: hidden;}
.flex {
	display: flex;
}
.center {
	text-align: center;
}
.narrow {
	max-width: 1250px;
	margin: 0 auto;
	padding: 60px 25px 0;
}
#header .flex {
	margin-bottom: 84px;
}
#header {
	gap: 10%;
	justify-content: space-between;
}
nav {position: sticky;top: 0; background-color: #FFF3E0; z-index: 10}
nav ul {list-style: none; display: flex; margin: 0 auto;
    width: fit-content; padding: 23px 0; border-bottom: 1px gray dashed; background: #FFF3E0}
nav li {margin: 0 20px;}
nav a {text-decoration: none; color: black; padding: 5px 0; font-size: 18px;font-weight: 500;position: relative;
  display: block;}

nav a::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--colorBlack);
  transform: scaleX(0);
  transform-origin: right center;
  transition-duration: 0.5s;
  transition-property: transform;
}
nav a::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--colorGrey);
  transform: scaleX(0);
  transform-origin: right center;
  transition-duration: 0.5s;
  transition-property: transform;
}
nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
nav a:hover {
  font-weight: 600;
}
nav a.active {
  font-weight: 600;
}
nav a.active:hover::after {
  transition-delay: 0.25s;
}
nav a.active::before {
  transform: scaleX(1);
  transform-origin: left center;
  transition-duration: 0.5s;
  transition-delay: 0.25s;
  transition-property: transform;
}
nav a.active:hover::before {
  transform: scaleX(0);
  transform-origin: right center;
  transition-delay: 0s;
}
main {position: relative; z-index: 2; }
.red {color: #D50000}
.title-container {
	width: 62%;
}
.title-container h1 {margin: 0}
.book-container {
	width: 28%;
}
.book-container p {margin: 20px 0 30px;}
/*Book animation */

@-webkit-keyframes turn {
  from {
    transform: rotate3d(0, 0, 0, 0);
  }
  to {
    transform: rotate3d(-1, 1, -1, 360deg);
  }
}
@keyframes turn {
  from {
    transform: rotate3d(0, 0, 0, 0);
  }
  to {
    transform: rotate3d(-1, 1, -1, 360deg);
  }
}
.book-container {
  perspective: 800px;
  perspective-origin: 50% 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.book {
  position: relative;
  width: 185px;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 1s ease;
  transform: rotateX(-22deg) rotateY(30deg);
}

.book:hover {
  transform: rotateX(-22deg) rotateY(220deg);
}

.face {
  width: inherit;
  height: inherit;
  position: absolute;
}

.front {
  width: inherit;
  height: inherit;
  transform: translateZ(22.5px);
  background-position: center right;
}

.back {
  width: inherit;
  height: inherit;
  transform: translateZ(-22.5px) rotateY(180deg);
  background-position: center left;
}

.left {
  transform: translateX(-22.5px) rotateY(-90deg);
  width: 45px;
  height: 300px;
  background-position: center;
}

.front,
.left,
.back {
  background-image: url("../img/full-cover.jpg");
  background-size: cover;
}

.top,
.right,
.bottom {
  background-image: url("https://thumbs.dreamstime.com/b/texture-side-view-stack-papers-close-up-114149530.jpg");
  background-size: cover;
}

.right {
  right: 0;
  transform: translateX(18.5px) translateY(4px) rotateY(90deg);
  width: 45px;
  height: 292px;
  background-color: white;
}

.top {
  top: 0;
  left: 0;
  transform: rotateX(90deg) translateZ(18.5px);
  height: 45px;
  width: 181px;
  background-color: white;
}

.bottom {
  bottom: 0;
  left: 0;
  transform: rotateX(-90deg) translateZ(18.5px);
  height: 45px;
  width: 181px;
  background-color: white;
}

.transparent-bottom {
  bottom: 0;
  left: 0;
  transform: rotateX(-90deg) translateZ(22.5px);
  height: 45px;
  width: 185px;
  box-shadow: -10px 10px 20px 5px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .book {
    -webkit-animation: none;
            animation: none;
    transform: rotate3d(1, 1, 0, 45deg);
  }
}

/*End of book animation */


/*== Table of contents == */

ol,
ul,
li {
  margin: 0;
  padding: 0;
}

.toc { padding: 2.8rem 3.8rem 3.8rem; margin:4rem 2.5rem; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);}
.toc,
.toc ol > li:before,
.chapter {
  position: relative;
  z-index: 2; 
}
.chapters {
    text-align: center;
}
.toc ol {
  counter-reset: item;
  position: relative; }

  .toc ol > li:before {
    content:  counters(item, ".") ". ";
    display: table-cell;
      vertical-align: top;
          top: 14px;
    padding-right: .8rem;
    width: 2.4rem; }
  .toc ol li li:before {
    content: counters(item, ".") " "; }
.toc ol > li:first-of-type::before {
  counter-set: item;
}
.toc ol > li li:first-of-type::before {
  counter-reset: item;
}
.toc ol ol {margin-left: 30px;}
.toc ol > li li::before {display: none}
.toc li {
  counter-increment: item;
  display: table;
  font-weight: 400;
  margin-bottom: .8rem;
  margin-left: 0;
  -webkit-transition: .3s;
  transition: .3s;
  width: 100%; }
  .toc li li {
    font-weight: 300;
    margin-bottom: 0;
    margin-left: 0; }
  .toc li .toc-page:before {
    content: '';
    display: block;
    left: 0;
    margin-top: 1rem;
    position: absolute;
    right: 4rem; }
  .toc li > a {
    display: inline-block;
    width: 100%; }
.chapter {
  display: inline-block;
  font-size: 1.25rem;
  line-height: 3rem;
  padding-right: .8rem; }

.toc-page {
  float: right; margin-top: 15px;}

/*=== Colors === */
.toc,
.toc ol > li:before,
.chapter {
  background-color: #f7f9fb; 
}
.toc ol > li:first-of-type .toc-page::before,
.toc ol > li:nth-child(10) .toc-page::before,
.toc ol > li:nth-child(11) .toc-page::before,
.toc ol > li:nth-child(12) .toc-page::before,
.toc ol > li:last-of-type .toc-page::before {
  margin-left: 42px; 
}
.toc ol > li:first-of-type::before,
.toc ol > li:nth-child(10)::before,
.toc ol > li:nth-child(11)::before,
.toc ol > li:nth-child(12)::before,
.toc ol > li:last-of-type::before {
  opacity: 0; 
}
.toc li .toc-page:before {
  border-bottom: 1px dashed rgba(0, 0, 0, 0.9); 
}
.chapters .btn.active {
    background: black;
    color: white;
    cursor: default;
}
.gallery .chapter-pics {
    display: none;
}
.gallery .chapter-pics:first-of-type {
    display: flex;
}

/*Timeline*/


.controls {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.controls:hover:after {
  transform: translateX(-10px) rotate(45deg);
}
.controls:hover:active:after {
  transform: translateX(-20px) rotate(45deg);
  transition: 300ms all;
}
.controls:after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  transform: rotate(45deg);
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transition: 500ms all;
}
.controls.next {
  left: auto;
  right: 120px;
  transform: rotate(180deg);
}

.time-line {
  width: 100%;
  height: 480px;
  background-color: #263238;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-top:80px;
}
.time-line * {
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-overflow {
  left: 0;
  width: 500vw;
  position: absolute;
  bottom: 50px;
  height: 50px;
}
.time-line .dates-wrap {
  display: inline-block;
  position: absolute;
  height: 100%;
  left: calc(50vw - 80px);
}
.time-line .dates-wrap:before, .time-line .dates-wrap:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 100%;
  left: -1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, #263238 0%, rgba(125, 185, 232, 0) 100%);
  z-index: 2;
}
.time-line .dates-wrap:after {
  left: auto;
  right: -1px;
  background: linear-gradient(to left, #263238 0%, rgba(125, 185, 232, 0) 100%);
  transform: translate(50%, -50%);
}
.time-line .dates-wrap .date {
  width: 160px;
  position: relative;
  float: left;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-wrap .date .date-content {
  visibility: hidden;
  position: absolute;
  width: 340px;
  height: 340px;
  bottom: 100%;
  margin-bottom: 80px;
  border-radius: 3px;
  transform-origin: 50% 100%;
  transform: scale(0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
}
.time-line .dates-wrap .date .date-content:after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  top: 100%;
  margin-top: 8px;
  opacity: 0;
  background-color: #fff;
  transform: scaleY(0);
  transform-origin: 100% 100%;
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-wrap .date .date-content .date-image {
  width: 100%;
  height: calc(100% - 60px);
  background-size: cover;
  background-position: center;
}
.time-line .dates-wrap .date .date-content > div {
  opacity: 0;
  transform: translateY(40px);
}
.time-line .dates-wrap .date .date-content .date-text {
  width: 100%;
  background-color: #fff;
  text-align: center;
  padding: 15px 5px;
  color: #000;
}
.date-content .date-text span {
    display: block;
    font-size: 13px;
    padding-top: 4px;
}
.date-content .date-text span {
    
}
.time-line .dates-wrap .date .date-year {
  opacity: 0.4;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.time-line .dates-wrap .date .date-year:hover {
  opacity: 1 !important;
}
.time-line .dates-wrap .date .date-year:hover:after {
  transform: scale(1) !important;
}
.time-line .dates-wrap .date .date-year p {
  position: absolute;
  top: 0px;
  line-height: 0;
  color: #fff;
  font-size: 35px;
  font-weight: 900;
  transform: scale(0.4);
  z-index: 2;
}
.time-line .dates-wrap .date .date-year:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #fff;
  bottom: 100%;
  margin-bottom: -7px;
  border-radius: 50%;
  transform: scale(0.4);
  transition: 500ms all;
}
.time-line .dates-wrap .date .date-year:before {
  content: "";
  position: absolute;
  top: 0;
  width: 200%;
  height: 1px;
  background-color: #fff;
}
.time-line .dates-wrap .date.sibling .date-year {
  opacity: 0.6;
}
.time-line .dates-wrap .date.sibling .date-year:after {
  transform: scale(0.8);
}
.time-line .dates-wrap .date.sibling .date-year p {
  transform: scale(0.6);
}
.time-line .dates-wrap .date.active + .date .date-year {
  opacity: 0.6;
}
.time-line .dates-wrap .date.active + .date .date-year:after {
  transform: scale(0.8);
}
.time-line .dates-wrap .date.active + .date .date-year p {
  transform: scale(0.6);
}
.time-line .dates-wrap .date.active .date-year {
  opacity: 1;
}
.time-line .dates-wrap .date.active .date-year:before {
  width: calc(200% - 11px);
}
.time-line .dates-wrap .date.active .date-year:after {
  transform: scale(1);
}
.time-line .dates-wrap .date.active .date-year p {
  transform: scale(1.2);
}
.time-line .dates-wrap .date.active .date-content {
  transform: scale(1);
  visibility: visible;
}
.time-line .dates-wrap .date.active .date-content:after {
  transition-delay: 200ms;
  opacity: 1;
  transform: scaleY(1);
}
.time-line .dates-wrap .date.active .date-content div {
  transition-delay: 200ms;
  opacity: 1;
  transform: translateY(0px) scale(1);
}

/*Reviews*/


.testimonial-quote blockquote {
    /* Negate theme styles */
    border: 0;
    margin: 0;
    padding: 0;
    background: none;
    font-family: Georgia, serif;
    font-size: 1.6em;
    font-weight: 400;
    line-height: 1.4 !important;
    margin: 0;
    position: relative;
    text-shadow: 0 1px white;
    z-index: 600;
}

.testimonial-quote blockquote * {
    box-sizing: border-box; 
}

.testimonial-quote blockquote p {
    line-height: 1.6 !important;
    font-size: 18px
}

.testimonial-quote blockquote p:first-child:before {
    content: '\201C';
    color: #607D8B;
    font-size: 7.5em;
    font-weight: 700;
    opacity: .15;
    text-shadow: none;
    z-index: -300;
    position: absolute;
    top: -70px;
}

.testimonial-quote img {
    border-radius: 50%;
    display: block;
    width: 160px;
    height: 160px;
}

.testimonial-quote cite {
    color: gray;
    display: block;
    font-size: .8em; 
    line-height: 1.7em;
}
  
.testimonial-quote cite span {
    color: #5e5e5e;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px; 
}

.testimonial-quote {
    position: relative; 
    display: flex;
    gap: 40px;
}
.quote-container {
    position: relative
}
hr {
  border-top: 1px gray dashed;
    margin: 50px 0;
}
.portrait {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin: 5px auto 45px;
}
footer {
        background-color: #263238;
    padding: 40px 25px;
    color: white;
    text-align: center;
}


.recommend {padding-top: 30px; font-size: 15px;}


.media-links ul {
    list-style: none; 
}

.media-links li {
   margin: 14px 0;
}

.media-links li::before {
       width: 20px;
    display: inline-block;
    position: relative;
    top: 4px;
    margin-right: 14px;
}

.media-links li.photo::before {
   content: url("../img/icons/image-link-min.svg");
}

.media-links li.video::before {
   content: url("../img/icons/video-link-min.svg");
}

.mob-menu {
  background-color: #FFF3E0;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
  width: 130px;
    position: fixed;
    z-index: 20;
    display: none;
}
.mob-menu svg {
   height: 90px;
    padding: 15px;
}
.line {
  fill: none;
  stroke: black;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}

@media only screen and (max-width: 990px) {
    .mob-menu {
        display: block;
    }
    nav {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    }
    nav ul {
        display: none;
        border: none;
    }
    nav li {
        margin: 20px;
    }
}

@media only screen and (max-width: 840px) {
    .flex, .testimonial-quote {flex-direction: column;}
    .flex > div, .testimonial-quote > div {width: 100%}
    .testimonial-quote img {margin: 0 auto}
    .title-container {text-align: center}
    .book-container {margin-top: 50px;}
    .book-container p {display: none}
    h1 {font-size: 6vw;}
    h1 .initial {font-size: 22vw;}
    h2 {font-size: 5vw;}
    h3 {font-size: 4vw; text-align: center;}
    p {font-size: 16px;}
    section  {padding: 20px 0 0;}
    .narrow {padding: 20px 35px 0;}
    .toc {padding: 20px 30px 30px; margin: 45px 0;}
    .controls {left: 30px}
    .controls.next {right: 30px}
    .title-container h1 {padding-top: 30px;}
    
}
@media only screen and (max-width: 540px) {
    h1 {font-size: 8vw;}
    h1 .initial {font-size: 24vw;}
    h2 {font-size: 7vw;}
    h3 {font-size: 5vw;}
    .chapter {font-size: 1rem}
    .toc ol > li:before {display: none}
    .toc ol ol {margin-left: 15px;}
    .controls {left: 10px}
    .controls.next {right: 10px}
    .time-line .dates-wrap .date .date-content {width: 65vw;}
}