* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px;
  color: #ffff00;
  background-color: #000080;
  background-image:
    radial-gradient(#2222aa 1px, transparent 1px);
  background-size: 8px 8px;
  font-family: "Comic Sans MS", "Trebuchet MS", sans-serif;
}

.site {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: clamp(12px, 3vw, 28px);
  background: #000066;
  border: 4px ridge #ff00ff;
  box-shadow: 0 0 0 4px #00ffff;
}

header,
footer {
  text-align: center;
}

.welcome {
  color: #00ffff;
  font-weight: bold;
  overflow-wrap: anywhere;
}

h1 {
  margin: 16px 0 0;
  color: #ff66ff;
  font-size: clamp(2rem, 8vw, 4.5rem);
  text-shadow: 3px 3px #00ff00;
  overflow-wrap: anywhere;
}

.subtitle {
  color: #ffffff;
  letter-spacing: 0.12em;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}

nav a {
  display: inline-block;
  padding: 10px 14px;
  color: #000080;
  background: #00ffff;
  border: 3px outset #ffffff;
  font-weight: bold;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #ffffff;
  background: #ff00ff;
}

marquee {
  padding: 10px;
  color: #ff66ff;
  background: #000000;
  border: 2px dashed #00ff00;
}

h2 {
  color: #00ff00;
  text-decoration: underline;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.project {
  min-width: 0;
  padding: 12px;
  color: #ffffff;
  background: #181818;
  border: 4px ridge #00ffff;
}

.project h3 {
  color: #ffff00;
  overflow-wrap: anywhere;
}

.project p {
  overflow-wrap: anywhere;
}

.placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  aspect-ratio: 16 / 9;
  padding: 12px;
  color: #00ff00;
  background: #000000;
  border: 2px dashed #ff00ff;
  text-align: center;
}

.project iframe,
.project video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 2px dashed #ff00ff;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .projects {
    grid-template-columns: minmax(0, 1fr);
  }

  .placeholder {
    min-height: 0;
  }
}
/* About / Contact page */

.about {
  width: min(100%, 620px);
  margin: 28px auto;
}

.about-card {
  padding: clamp(14px, 4vw, 28px);
  text-align: center;
  color: #ffffff;
  background: #18004d;
  border: 5px ridge #ff66ff;
  box-shadow: 6px 6px 0 #00ffff;
}

.about-card h2 {
  color: #00ff00;
  overflow-wrap: anywhere;
}

.headshot-frame {
  width: min(100%, 340px);
  margin: 20px auto;
  padding: 8px;
  background: #00ffff;
  border: 5px ridge #ffffff;
  box-shadow: 5px 5px 0 #ff00ff;
}

.headshot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #000000;
}

.bio {
  max-width: 48ch;
  margin: 24px auto;
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.retro-divider {
  margin: 26px 0;
  border: 0;
  border-top: 3px dashed #ff00ff;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0;
}

.social-links a {
  display: inline-block;
  max-width: 100%;
  padding: 12px 16px;
  color: #000080;
  background: #ffff00;
  border: 4px outset #ffffff;
  font-weight: bold;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #ffffff;
  background: #ff00ff;
}

.tiny-note {
  margin-top: 28px;
  color: #00ffff;
  font-size: 0.85rem;
}

@media (max-width: 420px) {
  .social-links {
    flex-direction: column;
  }

  .social-links a {
    width: 100%;
  }
}
EOF
