@font-face {
  font-family: "TTW";
  font-weight: 300;
  src: url("/assets/fonts/framd.ttf");
}
@font-face {
  font-family: "TTW";
  font-weight: 700;
  src: url("/assets/fonts/frahv.ttf");
}
@font-face {
  font-family: "OX";
  font-weight: 300;
  src: url("/assets/fonts/frahvmod.ttf");
}
html {
  --void: #00171f;
  background-color: var(--void);
  font-family: "TTW";
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
}

main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 5vw 5vw auto 5vw;
}

p {
  font-size: 1.05em;
}

main > div {
  width: 500px;
  max-width: 100vw;
  flex-grow: 1;
  flex-shrink: 0;
}

@keyframes Kouzaku {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
section {
  --fg: #FCECC9;
  --bg: #00171f;
  color: #fff;
  margin: 1em;
  padding: 1em;
  transition: all 0.3s ease-out;
}

section::selection,
section *::selection {
  background-color: var(--fg);
  color: #000;
}

a {
  color: #FCECC9;
  text-decoration: inherit;
}

section > * {
  opacity: 0;
  animation: Kouzaku 0.3s ease-out 0.36s forwards;
}

section h1 {
  --len: 5em;
  margin: 0;
  font-size: 2em;
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: Kouzaku 0.3s ease-out 0.26s forwards;
}

section h1::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: var(--len);
  height: 1em;
  top: 0;
  left: 1em;
  background: var(--bg);
  pointer-events: none;
}

section h1::after {
  content: "";
  position: absolute;
  width: var(--len);
  height: 3px;
  top: 100%;
  left: 0;
  background-color: var(--fg);
  pointer-events: none;
  transition: width 0.2s ease-out;
}

section:hover h1::after {
  width: calc(var(--len) + 0.4em);
  transition: width 0.3s ease-out;
}

section:not(:hover) {
  opacity: 0.9;
}

.push {
  color: #fff;
  position: relative;
  display: block;
  margin: 1em 0;
  padding: 0.5em;
  line-height: 1.2em;
  border: 1px solid var(--fg);
  background-color: var(--bg);
  padding-left: 3.5em;
  z-index: 1;
}

.push img {
  position: absolute;
  left: 1.75em;
  top: 50%;
  width: 2.5em;
  max-height: 2.5em;
  transform: translateX(-50%) translateY(-50%);
}

.push h2 {
  position: relative;
  margin: 0;
  top: 1px;
  font-size: 1.25em;
  letter-spacing: 1px;
}

.push p {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.push:hover {
  background-color: var(--fg);
  color: #000;
}

.push:hover img {
  filter: invert(1);
}

.push .reveal {
  opacity: 0;
}

.push:hover .reveal {
  opacity: 1;
}

.push:active {
  background-color: #fef;
  border-color: #fef;
  left: 2px;
  top: 4px;
}

.copied:active {
  background-color: #77ff77;
  border-color: #77ff77;
}

.item {
  position: relative;
  margin: 2.8em 0 0 1em;
  padding: 1.2em 1em 0.9em 1em;
  background-color: var(--bg);
  width: calc(100% - 3em);
}

.item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--fg);
  z-index: -1;
  pointer-events: none;
}

.item h2 {
  color: #000;
  width: max-content;
  position: absolute;
  font-size: 1.4em;
  margin: 0;
  left: -1.1em;
  top: -0.9em;
  padding: 0 1em 0 0.5em;
  background-color: var(--fg);
  transform: rotate(-4deg);
  z-index: 2;
}

.item h2::selection {
  background-color: #28ff28;
}

.item p {
  margin: 0;
}

section .item .tag {
  display: inline-block;
  padding: 0.3em 0.6em;
  margin: 1em 0.2em 0.2em;
  border: 1px solid var(--fg);
  color: var(--fg);
}

.item > div {
  display: flex;
  flex-flow: row nowrap;
  position: absolute;
  left: 100%;
  top: 0;
  width: min-content;
  height: min-content;
  transform: translate(-100%, -50%);
}

.item > div a {
  color: var(--fg);
  background-color: var(--void);
  position: relative;
  width: max-content;
  height: 100%;
  margin: 0 1em 0 0;
  padding: 0 0.5em;
  display: flex;
  align-items: center;
  line-height: 1.6;
}

.item a:hover {
  text-decoration: underline;
}

.badge-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  line-height: 1;
  margin-left: 0.1em;
  margin-bottom: 4px;
  z-index: 5;
}

.badge-link img {
  display: block;
  height: 31px;
  width: auto;
}

/* ---- stars ---- */
.star {
  position: absolute;
  background: #FCECC9;
  border-radius: 50px;
  animation: move;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: -1;
}

.type-1 {
  width: 1px;
  height: 1px;
}

.type-2 {
  width: 2px;
  height: 2px;
}

.type-3 {
  width: 3px;
  height: 3px;
}

@keyframes move {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-1000px);
  }
}
/* ---- friend badges ---- */
.badges {
  background: var(--bg);
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10% auto 0;
  padding: 2px;
  width: fit-content;
}

.badges-item {
  align-items: center;
  color: inherit;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.badges-item img {
  display: block;
  flex-grow: 0;
  flex-shrink: 0;
  height: 31px;
  image-rendering: crisp-edges;
  width: 88px;
}

/* ---- Nav ---- */
.site-nav {
  width: 100%;
  text-align: center;
  padding-top: 2em;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.site-nav a {
  opacity: 0.85;
}

.site-nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.site-nav .sep {
  color: var(--fg, #FCECC9);
  margin: 0 0.6em;
  opacity: 0.5;
}

/* ---- Blog: shared bits ---- */
.tag {
  display: inline-block;
  padding: 0.3em 0.6em;
  margin: 1em 0.2em 0.2em 0;
  border: 1px solid var(--fg);
  color: var(--fg);
}

.post-meta {
  font-size: 0.9em;
  opacity: 0.75;
  margin: 0.6em 0 0.6em;
}

/* ---- Blog index ---- */
.blog-index section {
  width: 100%;
}

.post-preview {
  display: block;
}

.post-preview-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.post-preview h2 {
  font-size: 1.4em;
}

.post-preview h2 a {
  color: inherit;
}

.post-preview:hover h2 a {
  text-decoration: underline;
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2em 1em 0;
  font-weight: 700;
}

.pager a {
  opacity: 0.85;
}

.pager a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ---- Single post ---- */
.post-wrap {
  width: 700px;
  max-width: 100vw;
}

.post-content {
  margin-top: 1.5em;
  line-height: 1.6;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--fg);
  margin: 1.4em 0 0.5em;
}

.post-content p {
  margin: 0 0 1em;
}

.post-content a {
  text-decoration: underline;
}

.post-content ul,
.post-content ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
}

.post-content blockquote {
  margin: 1em 0;
  padding: 0.2em 1em;
  border-left: 3px solid var(--fg);
  opacity: 0.85;
}

.post-content code {
  background-color: rgba(252, 236, 201, 0.1);
  padding: 0.15em 0.4em;
  font-size: 0.9em;
}

.post-content pre {
  background-color: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--fg);
  padding: 1em;
  overflow-x: auto;
  margin: 0 0 1em;
}

.post-content pre code {
  background: none;
  padding: 0;
}

.post-content img {
  max-width: 100%;
}

.post-back {
  margin-top: 2em;
  font-weight: 700;
}

.post-back a:hover {
  text-decoration: underline;
}

/*# sourceMappingURL=style.css.map */