@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@keyframes drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 960px 480px;
  }
}
.parallax {
  position: fixed;
  inset: 0;
  z-index: -1;
  perspective: 1px;
  transform-style: preserve-3d;
  overflow: hidden;
}
.parallax .layer {
  position: absolute;
  inset: -50%;
  background-size: tile;
  background-repeat: repeat;
  mix-blend-mode: plus-lighter;
  will-change: transform, background-position;
  animation: drift linear infinite;
  image-rendering: pixelated;
}
.parallax .layer:nth-child(1) {
  background-image: url(/assets/img/bg/space_layer1.png);
  transform: translateZ(-2px) scale(3);
  animation-duration: 320s;
}
.parallax .layer:nth-child(2) {
  background-image: url(/assets/img/bg/space_layer2.png);
  transform: translateZ(-1px) scale(2);
  animation-duration: 130s;
}
.parallax .layer:nth-child(3) {
  background-image: url(/assets/img/bg/space_layer3.png);
  transform: translateZ(0);
  animation-duration: 60s;
}

.panel {
  background-color: #242424;
  box-shadow: 0 0 8px 0 rgba(26, 26, 26, 0.6666666667);
  margin: 8px;
}
.panel h1, .panel h2, .panel h3, .panel h4, .panel h5, .panel h6, .panel p {
  margin: 0;
}
.panel p {
  margin-bottom: 1em;
}
.panel .header {
  padding: 4px 8px;
  background-color: #363636;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.0666666667);
}
.panel .content {
  padding: 8px;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar .logo {
  position: relative;
  background-image: url("/assets/img/icon.svg");
  background-size: 100%;
  width: 48px;
  height: 48px;
}
.top-bar .logo::after {
  content: "";
  position: absolute;
  background-image: url("/assets/img/icon-color.svg");
  background-size: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-color: transparent;
  transition: opacity 100ms, background-color 100ms;
}
.top-bar .logo:hover::after {
  background-color: #242424;
  opacity: 1;
}
.top-bar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 0 16px;
  flex-grow: 1;
  gap: 16px;
}
.top-bar nav a {
  font-size: 24px;
}

.news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list ul li {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1215686275);
}
.news-list ul li:last-child {
  border-bottom: none;
}
.news-list a {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px;
  transition: all 0.15s ease;
}
.news-list a:hover {
  background: rgba(255, 255, 255, 0.0274509804);
}
.news-list span {
  color: gray;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.news-post .top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 8px;
}
.news-post .top a {
  text-decoration: none;
  font-weight: 500;
}
.news-post .top a:hover {
  text-decoration: underline;
}
.news-post .top span {
  color: gray;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.news-post p {
  margin: 0 0 16px 0;
}
.news-post code {
  padding: 8px 8px;
  font-size: 0.9em;
}
.news-post pre {
  padding: 13px;
  overflow-x: auto;
  margin: 16px 0;
}

* {
  box-sizing: border-box;
}

body {
  background-color: black;
  font-family: "Fira Sans", sans-serif;
  max-width: 1280px;
  margin: 0 auto;
  color: white;
}

a {
  text-decoration: none;
  font-weight: 800;
  color: white;
  transition: color 0.1s;
}
a:hover {
  text-decoration: underline;
}
a.disabled {
  cursor: default !important;
  text-decoration: none !important;
  color: dimgray;
}
a.disabled:hover {
  color: gray;
}

span.comment {
  color: gray;
  font-weight: 350;
}

.center {
  text-align: center;
}