h3 {
  margin-left: 100px;
  font-style: italic;
}

h2 {
  font-family: sans-serif;
  font-size: 16px;
  text-align: center;
}

h1 {
  font-family: Arial, sans-serif;
  font-weight: bold;
}

header {
  color: #FFFFFF;
  background-color: #3F51B5;
  text-align: center;
  padding: 10px 0;
}

nav {
  width: 100%;
  background-color: #333;
  padding-top: 10px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  display: inline-block;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  position: relative;
  transition: all 0.3s ease;
}

nav a:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: transparent;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #FF5722;
}

nav a:hover:before {
  background-color: #FF5722;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #FF5722;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

<!-- Learned to utilize a new type of transformation, in this case it is when loading the "Contact Us" page that the nav bar performs a transformation  -->

nav a:hover:after {
  width: 100%;
}

nav a:visited {
  text-decoration: none;
  color: #1976D2;
}


body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background-color: #fff8dc;
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
} 

footer a {
  text-decoration: none;
  color: #fff;
}

html,
body {
  margin: 0;
  padding: 0;
}

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

#MyProject,
#Magnaflow,
#KTuner,
#MHD {
  margin: 0 auto;
  width: 250px;
  height: 190px;
  background-size: cover;
}

#MyProject {
  width: 307px;
  height: 408px;
  background-image: url("MyProject.jpg");
 
}

#Magnaflow {
  background-image: url("Magnaflow.jpg");
}

#KTuner {
  width: 350px;
  background-image: url("Ktuner.jpg");
}

#MHD {
  background-image: url("MHD.jpeg");
}

article {
  overflow: hidden;
}

article p {
  margin-top: 0;
}

.image-heading-container {
  text-align: center;
  margin-bottom: 20px;
}

.image-heading-container img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

h2 {
  text-align: center;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
}

td,
li {
  text-align: left;
}
