@font-face {
  font-family: "Pixel NES";
  src: url("/assets/fonts/Pixel_NES.woff") format("woff"),
       url("/assets/fonts/Pixel_NES.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  margin: 0;
  margin-top: 50px;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: "Pixel NES", monospace;
/* Abandoned grid layout
  display: grid;
  place-items: center;
  height: 100vh;
*/
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 0;

  
  text-align: left;
}

/* Back button */
.hover-container {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 16px;
  color: white;
  font-family: "Pixel NES", monospace;
}

.hover-link {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.show-me {
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  margin-left: 3px;
}

.hover-link:hover ~ .show-me {
  opacity: 1;
  visibility: visible;
}


.about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  padding: 2rem;
}

.about-image img {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: contrast(120%);
  image-rendering: pixelated;
  box-shadow: -15px 9px 15px rgba(255, 255, 255, 0.3);
  cursor: help;
}

.about-text {
  align-self: start;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-text a {
  color: #fff;
  text-decoration: underline dotted;
  font-family: "Pixel NES", monospace;
}
.about-text a:hover {
  color: grey;
}

.about-text li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.about-image[title] {
  position: relative;
}

@media (max-width: 600px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text ul {
    text-align: left;
    margin: 0 auto;
    max-width: 300px;
  }
}
