@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --pri: rgb(230, 19, 58);
}

body {
  font-family: 'Open Sans', sans-serif;
  margin: 0 auto;
  padding: 1rem;
  max-width: 800px;
  line-height: 1.5;
  background: #000;
  color: #ccc;
}

footer {
  margin: 2rem 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

blockquote {
  border-left: 2px solid var(--pri);
  margin: auto;
  padding-left: 1rem;
}

p,
li {
  a {
    color: var(--pri);
    padding: 5px;
  }
}

code {
  font-family: monospace;
  background: #fff2;
  padding: 0.2em 0.2em;
  border-radius: 4px;
  font-size: inherit;
  font-size: 0.8rem;
}

pre code {
  display: block;
  padding: 1rem;
  overflow-x: scroll;
}

li {
  list-style: outside square;
}

h1,
h2 {
  color: #fff;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  margin-top: 2em;
  font-size: 1.3em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #fff2;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slant-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2em 0;
  a {
    text-decoration: none;
    color: inherit;
    padding: 0.5em 1em;
    border-left: 4px solid var(--pri);
    transform: skew(-10deg);
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(
      to right,
      color-mix(in srgb, var(--pri) 20%, transparent),
      transparent
    );
    &:hover {
      border-left-width: 10px;
      padding-left: 1.5em;
      background: linear-gradient(
        to right,
        color-mix(in srgb, var(--pri) 40%, transparent),
        transparent
      );
    }
  }
}

.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2em;
  a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1em;
  }
  .title {
    font-weight: bold;
    color: var(--pri);
    text-decoration: underline;
  }
  .thumb {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    border-radius: 0.5em;
  }
}

img.pixel-button {
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: -webkit-optimize-contrast;
}