:root {
    --text: hsl(310, 20%, 67%);
    --background: hsl(290, 40%, 3%);
    --pink: hsl(338, 100%, 58%);
    --gradient-purple: hsl(270, 100%, 60%);
    --purple: hsl(280, 100%, 67%);
    --green: hsl(160, 70%, 65%);
}

@font-face {
    size-adjust: 120%;
    font-family: 'Kabisat';
    /* https://www.1001fonts.com/kabisat-demo-font.html */
    /* https://www.1001fonts.com/licenses/ffp.html      */
    src: url('/fonts/kabisat.ttf') format('truetype');
}

@font-face {
    size-adjust: 90%;
    font-family: 'MapleMono';
    src: url('/fonts/maple_mono.woff2') format('woff2');
}

::selection {
    color: var(--background);
    background-color: var(--green);
}

html {
    color: var(--text);
    background-color: var(--background);
    background-image: url('/img/noise.png');
    line-height: 1.4rem;
    font-size: calc(1.05rem + 0.5vw);
    font-family: sans-serif;
}

body {
    padding: 6rem 0.6rem 4rem 0.6rem;
    max-width: 33rem;
    margin-left: auto;
    margin-right: auto;
}

main {
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--text);
}

a:hover, a:focus {
    color: var(--green);
    text-decoration: none;
    outline: 1px solid var(--green);
    outline-offset: 0.1rem;
    border-radius: 0.2rem;
}

code {
    color: var(--green);
    font-family: MapleMono;
    padding: 0 0.2rem;
}

pre {
    color: var(--green);
    font-family: MapleMono;
    line-height: 125%;
    margin: 1.2rem 0;
    padding: 0.4rem 1.1rem;
    border-left: solid 4px var(--green);
    border-radius: 0.8rem;
    overflow: auto;
}

h1 {
    color: var(--pink);
    background: linear-gradient(
      var(--gradient-purple),
      var(--pink) 60%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-family: Kabisat;
    padding: 3.5rem 0;
    margin: -2rem 0 0 -1.1rem;
}

h2, h3, h4, h5, h6 {
    line-height: 2.4rem;
    font-family: MapleMono;
    margin: 1.3rem 0 -0.3rem 0;
    color: var(--pink);
}

ul {
  list-style: none;
  line-height: 2rem;
  padding-left: 1.5rem;
}

li:before {
  content: '♡';
  vertical-align: top;
  color: var(--purple);
  font-size: 100%;
  font-weight: bold;
  margin-left: -1.5rem;
  margin-right: 0.5rem;
}

#tagline {
    font-size: 120%;
    font-family: MapleMono;
    font-weight: bold;
    color: var(--pink);
    margin-top: -2.6rem;
    margin-bottom: 3rem;
    padding-left: 7.4rem;
}

footer {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

footer > a {
    width: 176px;
    height: 62px;
}

footer > a > img {
    width: 100%;
    image-rendering: pixelated;
}

.unfinished {
    font-style: italic;
    opacity: 80%;
}
