@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 16px;
  color: #ffff00;
  background-color: #000060;
  background-image: url("/images/space6.gif");
  background-repeat: repeat;
  font-family: "Trebuchet MS", sans-serif;
}

.site {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: clamp(12px, 3vw, 28px);
  background-image: url("/images/galaxy0.gif");
  background-repeat: repeat;
  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;
  font-family: "Comic Neue", sans-serif;
  font-weight: 700;
  color: #ff66ff;
  font-size: clamp(2rem, 8vw, 4.5rem);
  text-shadow: 3px 3px #00ff00;
  overflow-wrap: anywhere;
}

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

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;
}*/

.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #000000;
  padding: 10px;
  color: #ff66ff;
  border: 2px dashed #00ff00;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  font-family: "Comic Neue", sans-serif;
  animation: smoothMarquee 50s linear infinite; /* Control speed here */
}

@keyframes smoothMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}


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 */

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

.about-card {
  padding: clamp(14px, 4vw, 28px);
  text-align: center;
  color: #ffffff;
  /*background: #18004d*/
  background-image: url("/images/sparkles1.gif");
  background-repeat: repeat;
  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%;
  }
}

/* Centered GeoCities decorations */
.gif-center {
  display: flex;
  justify-content: center;
  margin: 16px auto;
}

.gif-center img {
  display: block;
  max-width: 100%;
  height: auto;
}

EOF
