body {
  font-family: Roboto;
  font-size: 16px;
  line-height: 1.5;

  background-color: #ffffff;
  color: #333333;

  margin: 0; /* reset */
  padding: 0; /* reset */

  width: 100%;
  height: 100%;
  overflow-x: hidden;

  position: relative;
  box-sizing: border-box;
  
  cursor: url(star-2.png) 25 0, auto;
}

header,
footer.page {
  padding: 1rem 2rem; /* same padding left/right for both */
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
}

h1 a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #f8ff29;
  margin: 0; /* reset defaults */
  padding: 0;
}

nav a {
  color: #333333;
  font-weight: bold;
  margin: 0 1rem 0 0;
  text-decoration: none;
  transition: color 0.5s;
}

nav a:last-child {
  margin-right: 0;
}

section.bio {
  margin: 40px 0 40px 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 20px, 20px;
 color: #333333;
  font-weight: bold;
  margin: 0 1rem 0 0;
  text-decoration: none;
  transition: color 0.5s;
}

section.intro {
 margin: 40px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(8, 1fr);
  gap: 20px, 20px;
 color: #333333;
  font-weight: 500;
  margin: 0 6rem 0 0;
  text-decoration: none;
  transition: color 0.5s; 
}

section.intro div {
  grid-column: 5/span 7;
  grid-row: 4;
  font-family: Roboto;
  font-size: 12px;
  line-height: 2;
  font-weight: 500;
}

section.intro img {
  transform: scale(0.6);
}

section.bio div {
  grid-column: 2 / span 4;
  font-family: Roboto;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

img {
  animation: fadeIn 0.5s;
}

section.bio div {
  grid-column: 2 / span 4;
  font-family: Roboto;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
  z-index: 1;
}

section.bio img {
  top: 150px;
  left: 450px;
}

section.bio div a {
  font-family: Roboto;
  font-size: 14px;
  line-height: 2;
  font-weight: 500;
   color: #333333;
  margin: 0 1rem 0 0;
  text-decoration: none;
}

section.bio div a:hover {
  color: #ff29a6;
}

a:hover {
  color: #ff29a6;
}

.slideshow-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20rem; /* ⬅ more space between slideshows */
  margin: 6rem 0;
}

.slideshow {
  position: relative;
  max-width: 400px;
}

.slides {
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease; /* ⬅ fade effect */
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  position: relative; /* keeps active slide in flow */
  pointer-events: auto;
}

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

.caption {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: url("star-3.svg"), pointer;
}
.nav.prev { left: -2rem; }
.nav.next { right: -2rem; }

/* Wonky positioning for desktop */
.wonky:nth-child(1) { transform: rotate(-1.5deg) translateX(-20px); }
.wonky:nth-child(2) { transform: rotate(2deg) translateY(10px); }
.wonky:nth-child(3) { transform: rotate(-3deg) translateX(15px); }
.wonky:nth-child(4) { transform: rotate(1.5deg) translateY(-10px); }

/* Mobile: reset wonkiness, stack neatly */
@media (max-width: 768px) {
  .slideshow-grid {
    flex-direction: column;
    align-items: center;
    gap: 3rem; /* smaller gap for mobile */
  }
  .wonky {
    transform: none !important;
  }
}

section.slideshow a {
  font-family: Roboto;
  color: #ff29a6;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.5s;
}

footer a {
  margin: 0 0 0 45px;
}

footer.page {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  text-align: right;
  box-sizing: border-box;
  overflow: visible;
  z-index: 1;
}

footer.page img {
  position: relative;
  bottom: -20px;
  left: -20px;
  height: 120px;
  width: auto;
   text-align: right;
}

@media (max-width: 600px) {
  section.bio div {
    grid-column: 2 / span 10;
    font-family: Roboto;
    font-size: 10px;
    line-height: 2;
    font-weight: 500;
    z-index: 1;
  }
  header.page,
footer.page {
  font-family: Roboto;
padding: 1rem;
  z-index: 1;
}

  section.intro {
    font-size: 1rem; /* smaller so star stays inline */
    padding: 0 1rem;
    grid-row: 1;
  }
}
