@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Dela+Gothic+One&family=Indie+Flower&family=Jacquard+12&family=Libertinus+Mono&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Climate+Crisis&family=Dela+Gothic+One&family=Indie+Flower&family=Jacquard+12&family=Libertinus+Mono&display=swap");
.font-indie-flower {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}

.font-jacquard, h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}

.font-climate-crisis, nav ul li a {
  font-family: "Climate Crisis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "YEAR" 1979;
}

.font-dela-gothic, .back {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-libertinus, html,
body {
  font-family: "Libertinus Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

nav {
  width: 150px;
  height: 100%;
  background-color: #7c444f;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset -30px 0px 20px -30px hsla(0deg, 0%, 0%, 0.25);
  position: fixed;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: #5b323a;
  border-top-right-radius: 12px;
}
nav ul li {
  transition: transform 0.1s cubic-bezier(1, 2, 1, 1);
  position: relative;
  margin-top: -16px;
  transform: scaleX(1.2);
  transform-origin: top left;
  display: block;
  width: 100%;
  height: 150px;
}
nav ul li#home {
  background-color: #f39e60;
  border-bottom: 16px solid #ef8131;
  z-index: 1;
}
nav ul li#blog {
  background-color: #e16a54;
  border-bottom: 16px solid #d94429;
  z-index: 2;
}
nav ul li#about {
  background-color: #9f5255;
  border-bottom: 16px solid #7d4143;
  z-index: 3;
}
nav ul li:hover {
  transform: skewY(10deg) scaleX(1.2);
}
nav ul li.active {
  transform: skewY(10deg) scaleX(1.2);
}
nav ul li a {
  width: 100%;
  height: 100%;
  justify-content: center;
  align-content: center;
  display: grid;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}
nav span.blocker {
  position: relative;
  width: 100%;
  height: 64px;
  background-color: #7c444f;
  margin-top: -8px;
  z-index: 4;
  border-top-right-radius: 12px;
  box-shadow: inset -30px 0px 20px -30px hsla(0deg, 0%, 0%, 0.25);
}

.font-indie-flower {
  font-family: "Indie Flower", cursive;
  font-weight: 400;
  font-style: normal;
}

.font-jacquard, h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jacquard 12", system-ui;
  font-weight: 400;
  font-style: normal;
}

.font-climate-crisis, nav ul li a {
  font-family: "Climate Crisis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "YEAR" 1979;
}

.font-dela-gothic, .back {
  font-family: "Dela Gothic One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.font-libertinus, html,
body {
  font-family: "Libertinus Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

@keyframes back {
  0% {
    --content: "戻る";
  }
  25% {
    --content: "返回";
  }
  50% {
    --content: "zpět";
  }
  75% {
    --content: "назад";
  }
  100% {
    --content: "πίσω";
  }
}
.back {
  color: #f7374f;
  text-transform: uppercase;
  border-bottom: 3px solid #f7374f;
  display: inline-block;
  overflow: hidden;
  text-decoration: none;
  animation: back 500ms infinite;
}
.back span {
  display: block;
  padding: 0 2px;
  transition: all 0.5s ease;
  transform-origin: 100% 0%;
  transform-style: preserve-3d;
}

.back span::after {
  content: var(--content);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  padding: 0 2px;
  transform-origin: 50% 0%;
  transform: translate3d(0px, 105%, 0px) rotateX(-90deg);
}

.back:hover {
  animation-play-state: paused;
}
.back:hover span {
  transform: translate3d(0px, 0px, 0px) rotateX(90deg) skewY(30deg);
}
.back:hover span::before {
  content: var(--content);
  display: block;
  padding: 0 2px;
  height: 0px;
  color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #2c2c2c;
  color: #522546;
}

body {
  display: flex;
}

main {
  margin-left: 150px;
  width: 100%;
  height: 100%;
}

article {
  width: 80%;
  background-color: #faf0e6;
  color: #522546;
  margin: auto auto;
  margin-top: 40px;
  padding: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-align: center;
  color: #88304e;
  margin: 2px;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 3em;
}

h3 {
  font-size: 2.5em;
}

h4 {
  font-size: 2em;
}

h5 {
  font-size: 1.5em;
}

h6 {
  font-size: 1.2em;
}

p {
  white-space: pre-line;
}

/* #scroller { */
/*   position: fixed; */
/*   top: 10px; */
/*   right: 10px; */
/*   background: black; */
/*   border-radius: 999px; */
/*   animation-name: grower; */
/*   animation-duration: 1ms; */
/*   animation-direction: alternate; */
/*   animation-timeline: scroll(y); */
/*   width: 10px; */
/*   height: 10px; */
/* } */
/**/
/* p { */
/*   height: 200%; */
/* } */
/**/
/* @keyframes grower { */
/*   from { */
/*     width: 100px; */
/*     height: 100px; */
/*   } */
/*   to { */
/*     width: 10px; */
/*     height: 10px; */
/*   } */
/* } */
