@import url("https://fonts.googleapis.com/css?family=Cormorant+Garamond:300,400,600|Tulpen+One&display=swap");

@font-face {
  font-family: 'Old London';
  src: url('http://forumstatic.ru/files/001a/be/80/32911.eot');
  src: url('http://forumstatic.ru/files/001a/be/80/32911.eot?#iefix') format('embedded-opentype'),
  url('http://forumstatic.ru/files/001a/be/80/41092.woff2') format('woff2'),
  url('http://forumstatic.ru/files/001a/be/80/35133.woff') format('woff'),
  url('http://forumstatic.ru/files/001a/be/80/43578.ttf') format('ttf'),
  url('http://forumstatic.ru/files/001a/be/80/78269.svg#OldLondon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'font621d031d4a812577418f264a9930ac20';

  src:    url('https://nomail.com.ua/files/eot/621d031d4a812577418f264a9930ac20.eot?#iefix') format('embedded-opentype'),
  url('https://nomail.com.ua/files/woff/621d031d4a812577418f264a9930ac20.woff') format('woff'),
  url('https://nomail.com.ua/files/woff2/621d031d4a812577418f264a9930ac20.woff2') format('woff2');
}

@font-face { font-family: 'GOGOIA-Regular';  src: local('GOGOIA-Regular'), url('https://nomail.com.ua/files/woff/621d031d4a812577418f264a9930ac20.woff') format('woff'); }


:root {
  /* colors */
  --body-bg: #e2d7c6;
  --page-bg: #e2d7c6;
  --dark-text: #4b3e36;
  --accent: #953e25;

  --baseline: 12px;
  /* fonts */
  --book-title: 'GOGOIA-Regular';
  --title: "Cormorant Garamond", serif;
  --body: "Cormorant Garamond", serif;
  --base-size: var(--baseline) *1.2;
}

* {
  box-sizing: border-box;
}

.html-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.newspaper {
  width: 868px;
  height: 800px;
  margin: auto;
  padding: 85px 25px;
  overflow: hidden;
}

.book {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  perspective: 1200px;
}

.book::before,
.book::after {
  position: absolute;
  content: '';
  top: 4px;
  height: calc(100% - 7px);
  border-radius: 3px;
}

.book::after {
  right: 406px;
  border-right: 5px solid rgb(199 188 171);
  z-index: 99999;
}

.book::before {
  right: 408px;
  border-right: 2px dashed rgb(213 202 188);
  z-index: 9999999;
}

.book__page {
  position: relative;
  height: 100%;
  width: 50%;
  display: flex;
  justify-content: center;
  transform: rotateY(0deg);
  transition: transform 0.9s cubic-bezier(0.645, 0.045, 0.355, 1), all ease-out 0.3s;
  transform-origin: 0 0;
  background-color: var(--page-bg);
  background-image: linear-gradient(90deg, rgba(205, 194, 181, .8) 0%, rgba(205, 194, 181, 0) 18%);
  box-sizing: border-box;
  border-radius: 6px 10px 10px 6px;
  border: 1px solid #ede0cd;
  outline: 2px solid #d4c7b6;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.book__page:nth-of-type(1) {
  background-image: linear-gradient(-90deg, rgba(205, 194, 181, .8) 0%, rgba(205, 194, 181, 0) 18%);
  border-radius: 10px 6px 6px 10px;
}

.book__page--1 {
  cursor: default;
  overflow: hidden;
}

.book__page--2 {
  transition: transform 0.9s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.book__page--1::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-image: linear-gradient(-90deg, rgba(0, 0, 0, .2) 0%, rgba(205, 194, 181, 0) 18%);
  border-radius: 10px 6px 6px 10px;

  z-index: 1;
}

.book__page--1 img,
.book__page--9 img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.book__page--4,
.book__page--6,
.book__page--8,
.book__page--10,
.book__page--12,
.book__page--14,
.book__page--16,
.book__page--18,
.book__page--20,
.book__page--22,
.book__page--24,
.book__page--26,
.book__page--28 {
  cursor: pointer;
  padding: 35px 0;
}

.book__page-front {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotateY(0deg) translateZ(1px);
}

.book__page-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  transform: rotateY(180deg) translateZ(1px);
}

.book__page .page__content {
  height: 100%;
  position: relative;
  text-align: center;
  padding: 0 32px 0 38px;
}

.book__page .page__content-book-title {
  font-family: var(--book-title);
  font-size: calc(var(--base-size) * 3);
  font-weight: 400;
  color: var(--accent);
  text-transform: none;
  text-shadow: 1px 1px 0 #fffaeb;
  margin-top: calc(var(--baseline) * 4);
  margin-bottom: calc(var(--baseline) * 2);
}

.book__page .page__content-author {
  font-family: var(--title);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  color: var(--dark-text);
  border-top: 1px solid var(--dark-text);
  border-bottom: 1px solid var(--dark-text);
  padding: calc(var(--baseline) / 2) calc(var(--baseline) / 5);
  margin-bottom: calc(var(--baseline) * 6);
}

.book__page .page__content-credits {
  font-family: var(--title);
  text-transform: uppercase;
  font-size: calc(var(--base-size) * 0.8);
  margin-bottom: calc(var(--baseline) * 2);
  letter-spacing: 1px;
}

.book__page .page__content-credits span {
  display: block;
  font-size: calc(var(--base-size) * 1.2);
  letter-spacing: 0;
}

.book__page .page__content-copyright {
  position: absolute;
  width: calc(100% - var(--baseline) * 2);
  bottom: calc(var(--baseline) * 9);
  font-family: var(--title);
  font-size: calc(var(--base-size) * 0.8);
  text-transform: uppercase;
}

.book__page .page__content-title {
  font-family: var(--title);
  font-size: calc(var(--base-size) * 1);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: calc(var(--baseline) * 3);
}

.book__page .page__content-table {
  width: 100%;
  margin-top: calc(var(--baseline) * 2);
}

.book__page .page__content-table td {
  font-family: var(--title);
  font-size: calc(var(--base-size) * 1);
  padding-bottom: calc(var(--baseline) * 1.5);
  text-transform: uppercase;
}

.book__page .page__content-blockquote,
.quote_main {
  padding: 12px 10px;
  margin-bottom: calc(var(--baseline) * 1);
  background: rgba(255, 250, 235, .2);
  overflow: hidden;
}

.quote_main .page__content-blockquote {
  margin-bottom: 5px;
}

.quote_main .page__content-blockquote:last-child {
  margin-bottom: 0;
}

.book__page .page__content-blockquote-text {
  position: relative;
  font-family: 'Fira Sans', sans-Serif;
  font-size: 13px;
  text-transform: none;
  line-height: 1.1;
  text-align: justify;
}

.book__page .page__content-blockquote-text img {
  max-width: 100px;
  height: auto;
}

.book__page .page__content-blockquote-text span {
  font-weight: 500;
}

.book__page .page__content-blockquote-text p:first-child {
  margin-top: 0;
}

.book__page .page__content-blockquote-text p:last-child {
  margin-bottom: 0;
}

.book__page .page__content-blockquote-reference {
  position: relative;
  display: block;

  width: 100%;

  font-family: var(--title);
  font-size: 13px;
  text-align: right;

  margin-top: 20px;
  text-transform: uppercase;
}

.page__content-blockquote-reference::before {
  position: absolute;
  content: '';

  top: -9px;
  left: 0;

  width: 100%;
  height: 1px;

  background: #ded0be;
}

.book__page .page__content-blockquote-reference p {
  margin: 0;
}

.book__page .page__content-text {
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  line-height: 1.1;
  text-align: justify;
  text-transform: none;
}

.book__page .page__number {
  position: absolute;
  bottom: calc(var(--baseline) * 6);
  width: calc(100% - var(--baseline) * 2);
  font-family: var(--title);
  font-size: calc(var(--base-size) * 0.67);
  text-align: center;
}

.book input[type=checkbox] {
  display: none;
  margin-top: -15px;
}

.book__page--2,
.book__page--4,
.book__page--6,
.book__page--8,
.book__page--10,
.book__page--12,
.book__page--14,
.book__page--16,
.book__page--18,
.book__page--20,
.book__page--22,
.book__page--24,
.book__page--26,
.book__page--28 {
  position: absolute;
  right: 0;
  pointer-events: all;
  transform-style: preserve-3d;
  background-color: var(--page-bg);
  background-image: linear-gradient(90deg, rgba(205, 194, 181, .8) 0%, rgba(205, 194, 181, 0) 18%);
  padding: 45px 40px;
}

.book input:checked + .book__page {
  transition: transform 0.9s cubic-bezier(0.645, 0.045, 0.355, 1);
  transform: rotateY(-180deg);
}

.book input:checked + .book__page--4 {
  z-index: 2;
}

.book input:checked + .book__page--6 {
  z-index: 3;
}

.book input:checked + .book__page--8 {
  z-index: 4;
}

.book input:checked + .book__page--10 {
  z-index: 5;
}

.book input:checked + .book__page--12 {
  z-index: 6;
}

.book input:checked + .book__page--14 {
  z-index: 7;
}

.book input:checked + .book__page--16 {
  z-index: 8;
}

.book input:checked + .book__page--18 {
  z-index: 9;
}

.book input:checked + .book__page--20 {
  z-index: 10;
}

.book input:checked + .book__page--22 {
  z-index: 11;
}

.book input:checked + .book__page--24 {
  z-index: 12;
}

.book input:checked + .book__page--26 {
  z-index: 13;
}

.book input:checked + .book__page--28 {
  z-index: 14;
}

.book__page--2 {
  cursor: pointer;
}

.book__page--25 {
  cursor: default;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(205, 194, 181, .8) 0%, rgba(205, 194, 181, 0) 18%);
  border-radius: 6px 10px 10px 6px;
  outline: 2px solid #beae97;
  padding: 0;
}

.book__page--25::before {
  position: absolute;
  content: '';

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(205, 194, 181, 0) 18%);
  border-radius: 10px 6px 6px 10px;

  z-index: 1;
}

.page__content-question {
  position: relative;

  text-align: left;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}

.page__content-question::before {
  position: absolute;
  content: '';

  bottom: -12px;
  left: 0;

  width: 100%;
  height: 4px;

  background: var(--accent);
}

.page__content-question + .page__content-text {
  margin-top: 28px;
}



.hello {
  width: 100%;

  justify-content: flex-end;

  margin-bottom: 45px;
  padding-top: 19px;
}

.hello img {
  position: absolute;

  top: -28px;
  left: 20px;

  width: 66%;
  z-index: -1;
}

.hello .header {
  align-items: center;
  width: 60%;
  padding-top: 35px;
}

.hello .hello_name {
  width: 65%;

  font-size: 34px;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  text-align: right;
  font-weight: 500;
  text-transform: uppercase;
  line-height: .9;
  padding-top: 12px;
}

.hello .name {
  width: 32%;

  font-family: 'Old London';
  font-size: 120px;
  line-height: .7;
  text-transform: uppercase;
  color: var(--accent);
}

.hello .description {
  width: 54%;

  font-size: 11px;
  text-transform: none;
  text-align: justify;
  font-family: 'Fira Sans', sans-serif;
  margin-top: 10px;
  line-height: 1.1;
}

.page__content-text span {
  text-transform: uppercase;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
  font-size: 18px;
  font-weight: 500;
}

.page__content-interview {
  position: relative;
}

.page__content-interview::before {
  position: absolute;
  content: '';

  bottom: 0;
  left: 0;

  width: 100%;
  height: 3px;

  background: var(--accent);
}

.page__content-interview img,
.page__content-text.interview img {
  border-radius: 50%;
  box-shadow: 1px 1px 0 #fffaeb;
  width: 50px;
}

.page__content-interview p,
.page__content-text.interview p {
  width: calc(100% - 60px);

  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  line-height: 1.1;
  text-align: justify;
  text-transform: none;

  margin-top: 0;
}

.page__content-text.interview p:first-child {
  margin-bottom: 0;
}

.page__content-text.interview {
  padding: 10px 10px 12px;
  background: rgba(255, 250, 235, .2);
}

.page__content-interview {
  margin-top: 25px;
  min-height: 65px;
}

.page__content-interview:first-child {
  margin-top: 0;
}

.page__content-interview:nth-last-child(2)::before {
  display: none;
}

.book__page--22 .book__page-front .page__content-title,
.book__page--24 .book__page-front .page__content-title,
.book__page--24 .book__page-back .page__content-title,
.book__page--26 .book__page-front .page__content-title,
.book__page--26 .book__page-back .page__content-title,
.book__page--28 .book__page-front .page__content-title,
.book__page--28 .book__page-back .page__content-title {
  opacity: 0;
  pointer-events: none;
}

.page__content-music {
  margin-top: 5px;
}

.page__content-music:first-child {
  margin-top: 0;
}