body {
  background-image: linear-gradient(to bottom, #467738, #0d3031);
  text-align: center;
  background-color: #2c2c2c;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

h1, p, a {
  font-family: 'Courier New';
}

h1 {
  padding-top: 50px;
  font-size: 100px;
  color: #ffffff;
}

p {
  margin-right: 5%;
  margin-left: 5%;
  font-size: 25px;
  color: #ffffff;
}

a {
  display: inline-block; /* Required for transform + padding animation */
  font-size: 40px; /* Avoid rem for animation */
  text-decoration: none;
  color: #ffffff;
  background-color: #598b55;
  padding: 16px 24px;
  outline: dashed 10px;
  outline-offset: 10px;

  transition: 
    transform 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    background-image 0.3s ease-in-out,
    color 0.3s ease-in-out;
}

a:hover {
  transform: scale(1.2); /* Smooth zoom */
  background-image: linear-gradient(to bottom, #467738, rgba(32, 91, 49, 0.43));
  font-size: 40px; /* Keep same for stability */
}

footer, #projects {
  margin-top: 15vh;
}

#footer {
  font-size: 100%;
  outline: 10px solid #ffffff;
}

#footer:hover {
  animation: shake 0.15s ease-in-out infinite;
  outline-color: red;
  background-color: red;
  background-image: unset;
}

/* Animation */
@keyframes shake {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(5px, 5px) rotate(5deg); }
  50%  { transform: translate(0, 0) rotate(0deg); }
  75%  { transform: translate(-5px, 5px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
