/* GLOBAL RESETS  */
* { box-sizing: border-box; }
body { margin: 0; }
html, body { height: 100%; }

/* GENERAL STYLING */

body {
    background-color: black;
    color: rgb(255 255 255 / .8);
}

/* LINKS */
a { 
    color: rgb(255 255 255 / 1);
}

/* TYPOGRAPHY */


/* LAYOUT */
.site-header {
    display: flex;
    justify-content: space-between;
}

.site-header {
    padding: 1em;
}

section {
    padding: 1em;
}

.site-footer {
    padding: 1em;
}

/* SECTIONS & CONTENT */

/* SPACE STARS */
#space {
    position: fixed;
    top: 0;
    left: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: #1A0000;
    width: 100%;
    height: 100%;
    animation-name: starField;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-delay: 0s;
    animation-timing-function: linear;
  }
  
  @keyframes starField {
    from {
      filter: hue-rotate(0deg);
    }
    to {
      filter: hue-rotate(360deg);
    }
  }
  

  #space .stars {
    overflow: hidden;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: radial-gradient(2px 2px at 20px 30px, #eee, rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 40px 70px, #fff, rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 50px 160px, #ddd, rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 90px 40px, #fff, rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 130px 80px, #fff, rgba(0, 0, 0, 0)), radial-gradient(2px 2px at 160px 120px, #ddd, rgba(0, 0, 0, 0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: zoom-stars 5s infinite;
    opacity: 0;
  }
  
  #space .stars:nth-child(1) {
    background-position: 50% 50%;
    animation-delay: 0s;
  }
  
  #space .stars:nth-child(2) {
    background-position: 20% 60%;
    animation-delay: 1s;
  }
  
  #space .stars:nth-child(3) {
    background-position: -20% -30%;
    animation-delay: 2s;
  }
  
  #space .stars:nth-child(4) {
    background-position: 40% -80%;
    animation-delay: 3s;
  }
  
  #space .stars:nth-child(5) {
    background-position: -20% 30%;
    animation-delay: 4s;
  }
  
  @keyframes zoom-stars {
    0% {
      opacity: 0;
      transform: scale(0.5);
      animation-timing-function: ease-in;
    }
    85% {
      opacity: 1;
      transform: scale(2.8);
      animation-timing-function: linear;
    }
    100% {
      opacity: 0;
      transform: scale(3.5);
    }
  }