/* got bored and this ended up being the best CSS ever for no reason */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Comic Sans MS", "Chalkboard SE", "Comic Neue", sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #ff00ff, #00ffff, #ffff00, #ff0000);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: #000;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Page container */
body > header,
body > main {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: 5px solid #000;
  box-shadow: 10px 10px 0px #000;
  border-radius: 20px;
}

/* Header */
header {
  border-bottom: 5px dashed #ff00ff;
  margin-bottom: 2rem;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 3px 3px 0px #00ffff, -3px -3px 0px #ff00ff;
  transform: rotate(-2deg);
}

header p {
  margin-top: 1rem;
  color: #333;
  font-weight: bold;
  font-size: 1.2rem;
  background: #ffff00;
  display: inline-block;
  padding: 0.5rem;
  transform: rotate(1deg);
}

/* Headings */
h2 {
  margin-top: 1.5rem;
  font-size: 2rem;
  border-bottom: 5px solid #00ff00;
  padding-bottom: 0.4rem;
  text-transform: uppercase;
  font-style: italic;
}

/* PDF list */
main ul {
  list-style: none;
  padding: 0;
}

main li {
  margin-bottom: 1.5rem;
  border: 3px solid #000;
  padding: 1rem;
  background: #fff;
  box-shadow: 5px 5px 0px #ff0000;
  transition: transform 0.2s;
}

main li:hover {
  transform: scale(1.02) rotate(1deg);
  background: #e0ffff;
}

main h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: #ff00ff;
  text-decoration: underline wavy #000;
}

main p {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
}

/* Links */
a {
  color: #fff;
  background: #0000ff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #000;
  display: inline-block;
  box-shadow: 3px 3px 0px #000;
}

a:hover,
a:focus {
  background: #ff00ff;
  color: #fff;
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #000;
}

/* 404 page basic styling (our routing module sends plain HTML) */
body.not-found {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    #ff0000,
    #ff0000 10px,
    #ffffff 10px,
    #ffffff 20px
  );
}

.not-found-container {
  max-width: 600px;
  background: #fff;
  border: 5px solid #000;
  border-radius: 0;
  padding: 2rem;
  box-shadow: 15px 15px 0px #000;
  text-align: center;
}
