/* font and stuff */
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;
  box-sizing: border-box;
}

/* design for narrow displays */
@media (max-width: 768px) {
  main {
    margin: 20px;
    padding: 15px;
    border-radius: 5px;
    width: calc(100% - 40px);
  }
}

@media (max-width: 480px) {
  main {
    margin: 10px;
    padding: 12px;
    border-radius: 5px;
    width: calc(100% - 20px);
  }
  
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.5em;
  }
  
  h2 {
    font-size: 1.3em;
  }
}


/* 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;
}
