body {
  display: flex;
  flex-direction: column;
  background-image: url("img/ngc-7023_iris_nebula.png");
  background-repeat: no-repeat;
  background-position: center center; /* Centers the image */
  background-size: cover; /* This is the key property */
  background-attachment: fixed; /* Keeps the background fixed while scrolling (optional parallax effect) */
  min-height: 100vh;
  margin: 0; /* Removes default body margin */
  padding: 0;
}

header {
  margin: 0;
  width: 100vw;
  text-align: center;
  color: #7c98c0;
  border-radius: 5px;
  text-shadow: 0 0 0 transparent;
  font-size: 2rem;
  align-content: center;
  transition: box-shadow 0.5s ease-in-out, transform 0.3s ease;
}

header h1 {
  margin-top: 3px;
  margin-bottom: 0;
  transition: text-shadow 0.5s ease-in-out, transform 0.3s ease;
}

header h1:hover {
  text-shadow: 2px 2px 4px #7c98c0;
  box-shadow: 0 0 20px #7c98c0; /* A vibrant blue glow */
  transition: box-shadow 0.5s ease-in-out, transform 0.3s ease;
}

header .sup {
  vertical-align: super;
  font-size: 1rem;
}

nav {
  width: 60vw;
  text-align: center;
  font-size: .8rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
nav a {
  margin: auto;
  text-decoration: underline;
  transition: scale 0.5s ease-in-out, transform 0.3s ease;
}

nav a:hover {
  scale: 1.3;
  text-shadow: 2px 2px 4px #7c98c0;
  transition: text-shadow 0.5s ease-in-out, transform 0.3s ease,
              scale 0.3s ease-in-out, transform 0.3s ease

}

main {
  text-align: center;
  color: #fdfdfd;
  flex: 1;
  padding: 1rem;
  margin: auto;
}
footer {
  color: lightblue;
  text-align: center;
  font-size: .8rem;
}

