.link:hover{text-decoration:underline}

.contact-list{list-style:none;padding:0;margin:12px 0}
.contact-list li{margin:6px 0;color:var(--muted)}
.small{color:var(--muted);font-size:0.9rem}

.site-footer{position:fixed;left:0;right:0;bottom:0;padding:10px 0;background:linear-gradient(180deg, rgba(2,6,10,0.3), rgba(2,6,10,0.7));border-top:1px solid rgba(255,255,255,0.02)}
.site-footer .container{display:flex;justify-content:center;gap:10px;align-items:center}
.sep{opacity:0.6}
a{color:var(--accent)}
@media (min-width:720px){
  .hero h1{font-size:1.3rem}
  .container{padding:18px 32px}
}

/* rotating text inserted into the h1 (class name: .h1) */
.h1{font-weight:700;display:inline-block;color:var(--accent);margin-left:8px}
.h1.rotating{opacity:0;transition:opacity 300ms ease}
.rotating.overlay{position:absolute;left:0;top:0;z-index:2;color:var(--text);pointer-events:none}

/* GIF carousel styles */

/* Project grid styles */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 0;
  margin-top: 20px;
}
.project-item {
  background: rgba(255,255,255,0.03);
  padding: 4px 4px 4px 4px;
  display: flex;
  flex-direction: row;
  align-items: center;
  box-shadow: 0 2px 12px rgba(2,6,10,0.08);
  margin:0;
}
.project-subhead {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}
.project-year {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
}
.project-gif {
  width: 92px;
  height: 138px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px;
  flex-shrink: 0;
}
.project-info {
  text-align: left;
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.project-desc {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 6px;
  word-break: break-word;
}
body {
  font-family: 'Quicksand',  Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin: 50px;
  margin-bottom: 200px;
}
@media (min-width: 900px) {
  body {
    margin-left: 200px;
    margin-right: 200px;
  }
}
@media (max-width: 600px) {
  .project-info h3 {
    font-size: 0.98rem;
    line-height: 0.6;
  }
  .project-subhead {
    font-size: 0.82rem;
    line-height: 0.6;
  }
  .project-year {
    font-size: 0.8rem;
    line-height: 0.7;
  }
  .project-desc {
    font-size: 0.7rem;
    line-height: 1.15;
  }
  .project-grid {
    gap: 4px;
    margin: 30px 0 0px 0;
  }
  .project-gif {
    width: 62px;
    height: 88px;
    margin:0 20px 0 0;
  }
  .project-item {
    padding: 2px 0 2px 0;
    margin: 0 0 20px;
    box-shadow: 0 0  0 rgba(2,6,10,0.08);
  }
}