/* General Styles */
body {
  background: linear-gradient(to top, #e6e6fa, #dcd6f7);
  font-family: 'Press Start 2P', cursive, monospace;
  color: #3e2c51;
  margin: 2em;
  line-height: 1.6;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center; /* center everything horizontally */
}

/* Vintage computer style boxes */
.box {
  background: #c7b8e1; /* lighter purple */
  border: 4px solid #5a3e85; /* deep purple border */
  border-radius: 0; /* sharp edges */
  padding: 1.5em 2em;
  margin: 1.5em auto;
  max-width: 700px;
  width: 100%;
  box-sizing: border-box;
  image-rendering: pixelated; /* crisp edges */
}

/* Headers */
h1 {
  font-size: 3em;
  color: #7f6fc1;
  text-align: center;
  margin-bottom: 0.2em;
  text-shadow: none;
  image-rendering: pixelated;
}

h2 {
  text-align: center;
  color: #5a3e85;
  margin-top: 0;
  image-rendering: pixelated;
}

h3, h5 {
  color: #5a3e85;
  margin-top: 2em;
  image-rendering: pixelated;
}

/* List box for Things I enjoy */
.box ul {
  background: #d6cfee;
  padding: 1em;
  border: 4px solid #5a3e85;
  border-radius: 0;
  max-width: 300px;
  color: #3e2c51;
  image-rendering: pixelated;
  list-style-type: circle;
  margin: 0 auto; /* center inside box */
}

li {
  margin: 0.5em 0;
}

/* Default link styling for all links */
a {
  color: #5a3e85;
  text-decoration: underline;
  font-weight: normal;
  background: none;
  padding: 0;
  border-radius: 0;
  transition: color 0.3s ease;
  image-rendering: pixelated;
}

a:hover {
  color: #7f6fc1;
}

/* Button style ONLY for the link with class "button-link" */
a.button-link {
  display: inline-block;
  margin-top: 1.5em;
  font-weight: bold;
  color: #5a3e85;
  text-decoration: none;
  background-color: #c7b8e1;
  padding: 0.5em 1em;
  border: 4px solid #5a3e85;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
  image-rendering: pixelated;
}

a.button-link:hover {
  background-color: #a18ad6;
  color: #3e2c51;
}

/* Footer */
h3 {
  font-size: 1em;
  text-align: center;
  color: #5a3e85;
  margin-top: 3em;
  image-rendering: pixelated;
}

/* Center the moon container */
.moon-container {
  display: flex;
  justify-content: center;
  margin: 1em 0 2em 0;
  image-rendering: pixelated;
}
