/* you should definitively not trust my css skills */
body {
  margin: 0px;
  background-color: black;
  color: whitesmoke;
  font-family: "Dosis", serif;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: 0.7px;
  min-width: 375px;
}
::-moz-selection {
  /* Code for Firefox */
  color: pink;
  background: ##252525;
}

::selection {
  color: pink;
  background: #252525;
}

a {
  color: yellowgreen;
  text-decoration: none;
}

a.active {
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-thickness: 1px;
  text-decoration-line: overline;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  /* sticky */
  position: fixed;
  width: 100%;
  background-color: black;
}

nav div {
  margin-right: 20px;
  font-size: 1.3rem;
}

#content {
  max-width: 900px;
  margin: 0px auto;
  padding: 0.5rem;
  padding-top: 4rem;
  background-color: rgba(0, 0, 0, 0.5);
}

#rss {
  max-width: 900px;
  margin: 0px auto;
  padding: 0.5rem;
}

#rss img {
  max-width: 70px;
}
ul.posts li {
  padding-bottom: 5px;
}

#blog h1 {
  text-align: center;
  margin-top: 0px;
}

#blog ul li {
  margin-bottom: 10px;
}

#blog img {
  margin: 0px auto;
  display: block;
  max-width: 100%;
}

code {
  background-color: #1e1e1e;
  font-size: 0.7em;
  padding: 0.2em;
}

#blog pre code {
  font-family: "Fira Code", monospace;
  display: block;
  overflow-x: auto;
  padding: 1em;
  background-color: #1e1e1e;
  border-radius: 0.5em;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  padding-top: 3rem;
}

.center {
  text-align: center;
}

img[alt="homelab"] {
  border-radius: 2rem;
}

img.github-icon {
  position: relative;
  top: -20px;
  left: 30px;
}

img.avatar {
  border-radius: 2rem;
  max-width: 240px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Source: https://css-tricks.com/snippets/css/typewriter-effect/ */
.typewriter {
  padding-right: 2px;
  border-right: 0.15em solid whitesmoke; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  animation: blink-caret 1s step-end infinite;
}
/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: whitesmoke;
  }
}
/* end typewriter effect */

.starry {
  background-image: radial-gradient(
      #c0e5fd,
      rgba(105, 188, 243, 0.2) 3px,
      transparent 20px
    ),
    radial-gradient(#ff9050, rgba(255, 150, 150, 0.5) 2px 1px, transparent 15px),
    radial-gradient(#fff8e4, rgba(255, 248, 228, 0.3) 2px, transparent 4px),
    radial-gradient(#4e493d, rgba(255, 255, 255, 0.1) 2px, transparent 8px),
    radial-gradient(#faf1d6, rgba(250, 245, 228, 0) 1px, transparent 10px);
  background-size:
    575px 490px,
    700px 650px,
    250px 250px,
    237px 237px,
    100px 100px;
  background-position:
    0 0,
    40px 60px,
    130px 270px,
    70px 100px,
    120px 150px;
}
