html {
  height: 100%;
}

body {
  background: linear-gradient(
    to bottom,
    white,
    yellow,
    orange,
    red,
    purple,
    black
  );
  background-attachment: fixed;
  min-height: 100%;
  margin: 0;
  padding: 20px;
  font-family: monospace;
  color: #333;
  display: flex;
  flex-direction: column;
}

nav {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 5px;
}

nav a {
  margin-right: 20px;
  text-decoration: none;
  color: #000;
}

main {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 5px;
  max-width: 800px;
}

footer {
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: auto;
}

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: blue;
}
