*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Source Code Pro", monospace;
  height: 100svh;
  overflow: hidden;
  cursor: pointer;
  color: #000000; /* adjust to black if your images are light */
}

/* Full-bleed background */
.bg {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: none;
  z-index: 0;
}

/* Subtle overlay so text stays readable over any image */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
}

header, footer {
  position: fixed;
  z-index: 10;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

header { top: 0; }

footer {
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.name {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: 0.15em;
  font-weight: 500;
}

.email a {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  color: inherit;
  text-decoration: none;
  letter-spacing: 0.05em;
  font-weight: 400;
}

.email a:hover { text-decoration: underline; }

.project-info {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: flex-end;
  line-height: 1.5;
}

.project-left,
.project-right {
  white-space: nowrap;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  letter-spacing: 0.05em;
  font-weight: 400;
}

.project-left {
  text-align: left;
}

.project-right {
  text-align: right;
}

@media (max-width: 800px) {
  header, footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-right {
    text-align: left;
  }
}