/* Changed to flex from last time, in order to have footer be at bottom, other methods I tried did not work */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  background-color: #e7e6e6;
  font-family: Arial;
  line-height: 1.6;
}

/* Main content */
main {
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  padding: 25px;
  background-color: #ffffff;
  border-radius: 10px;
}

/* Footer, unfortunately codecraftworrks modifies the bottom margin*/
.site-footer {
  max-width: 800px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto; /* push to bottom */
  margin-bottom: 0;

  padding: 20px 25px;
  background-color: #ffffff;

  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* On Hover*/
a:hover {
  color: darkblue; /* darker blue on hover */
}

/* Visited state */
a:visited {
  color: purple; /* purple for visited links */
}

/* Hover on visited link */
a:visited:hover {
  color: rgb(49, 0, 49);
}

/*I noticed that this footer was present on all of the examples, 
and I wanted to see if I could hide it. 
It works*/
codecraft-web-project-footer {
  display: none;
}
