/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: black;
  background: url("art-images/spacebg.gif");
  color: white;
  font-family: serif;
  image-rendering: pixelated;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 100vh;
  margin: 0;
}

/* dark faded area in the middle */
body::before {
  content: "";
  position: fixed;

  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  width: 60%;

  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.65) 5%,
    rgba(0, 0, 0, 0.65) 95%,
    transparent 100%
  );

  z-index: 0;
  pointer-events: none;
}

/* keeps actual page content above the dark background */
body > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  body div,
  body img,
  body p {
    width: 100%;
  }
}

/* homepage spacing */
.home {
  padding: 70px 0;
  box-sizing: border-box;
}

.home h1 {
  margin: 0 0 18px 0;
}

.navigation {
  text-align: center;
  margin: 18px 0 32px 0;
  font-size: 16px;
}

.navigation a {
  color: yellow;
}

.home > p {
  margin: 12px 0;
  line-height: 1.6;
}

.home footer {
  margin-top: 22px;
}