@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English&display=swap');

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IM Fell English', serif;
  background:
    #080808
    url('https://moribundmurdoch.neocities.org/images/booksbackgroundwavy.gif')
    repeat;

  background-size: 250px;

  color: #ECECEB;

  margin: 0;
  padding: 20px;

  text-align: center;
}

/* ---------- Headings ---------- */

h1 {
  margin-bottom: 25px;

  text-shadow:
    2px 2px 0 #000,
    -1px -1px 0 #2a2a2a,
    0 0 6px rgba(160,120,255,.2);
}

h4 {
  margin-top: 40px;

  font-size: 1.35rem;

  text-shadow:
    1px 1px 0 #000,
    -1px -1px 0 #2a2a2a;
}

/* ---------- TOC ---------- */

.toc {
  max-width: 700px;

  margin: 0 auto 30px auto;

  padding: 20px;

  background: rgba(0,0,0,.55);

  border: 1px solid #2a2a2a;
}

.toc h2 {
  margin-top: 0;
}

.toc a {
  display: block;

  padding: 8px;

  color: #cfcfef;

  text-decoration: none;
}

.toc a:hover {
  background: rgba(160,120,255,.12);
}

/* ---------- Developer Banners ---------- */

.developer-grid {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 20px;

  margin-bottom: 25px;
}

.developer-grid a {
  display: block;
}

.developer-grid img {
  width: 320px;

  max-width: 100%;

  display: block;

  transition: transform .25s ease;
}

.developer-grid a:hover img {
  transform: scale(1.03);
}

/* ---------- Project Cards ---------- */

.project-list {
  max-width: 1000px;

  margin: auto;

  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 20px;
}

.project-card {
  background: rgba(0,0,0,.55);

  border: 1px solid #2a2a2a;

  padding: 18px;

  text-align: left;
}

.project-card h3 {
  margin-top: 0;

  color: #ECECEB;
}

.project-card p {
  color: #c8c8c8;
}

.project-card a {
  color: #d9d9d9;
}

.project-card a:hover {
  color: white;
}

/* ---------- Footer ---------- */

footer {
  margin-top: 60px;

  padding: 25px;

  border-top: 2px solid #2a2a2a;

  background: rgba(0,0,0,.45);

  color: #a0a0a0;
}

footer a {
  color: #cecece;
}

/* ---------- Scrollbar ---------- */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background: #333;
}

::-webkit-scrollbar-track {
  background: #000;
}