


/* --- Fixed Header --- */
header {
  font-family: 'Space Mono', monospace;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: #4CAF50;
  color: white;
  text-align: center;
  z-index: 1000;
}

.navbar {
  position: fixed;      /* sticks to top */
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); /* translucent background */
  padding: 15px 0;
  z-index: 1000;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px; /* space between menu items */
}

.navbar a {
  text-decoration: none;
  font-family: 'Space Mono', monospace;
  color: #ebeae6;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar a:hover,
 .active {
  color: #d0ca3a; /* highlight on hover or active page */
}

/* --- Main & Footer --- */
main {
  display: flex;
  flex-direction: column;   /* default for mobile */
  gap: 20px;
  background: #f4f4f4;
  flex: 1;
  padding: 20px;
  padding-top: 170px;       /* space for fixed header + nav */
}

main section,
main aside {
  background: white;
  padding: 20px;
  border-radius: 6px;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
}

/* --- Tablet Layout --- */
@media (min-width: 600px) and (max-width: 1023px) {
  nav {
    justify-content: space-around;
  }

  main {
  margin: 0;
  color:white;
  font-family: 'Muli', sans-serif;
  min-height: 100vh;

  display: flex;
  
  background-image: url("background-images/space-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  flex-direction: row; /* side-by-side content + sidebar */
  }

  main section {
  margin: 0;
  color:white;
  font-family: 'Muli', sans-serif;
  min-height: 100vh;

  display: flex;
  
  background-image: url("background-images/space-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
    flex: 2;
  }

  main aside {
    flex: 1;
  }
}

/* --- Desktop Layout --- */
@media (min-width: 1024px) {
  nav {
    justify-content: flex-end;
    gap: 30px;
    padding-right: 40px;
  }

  main {
  color:white;
  font-family: 'Muli', sans-serif;
  min-height: 100vh;

  display: flex;
  
  background-image: url("background-images/space-background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;        /* center on wide screens */
  }

  main section {
    flex: 3;
  }

  main aside {
    flex: 1;
  }
}

.image-wrapper {
  position: relative;
  display: inline-block;
}


.image-wrapper {
  display: inline-block;   /* keeps the image + oval sized to content */
  position: relative;
}

.angled-img {
  width: 300px;
  border-radius: 10px;
  transform: rotate(-5deg) scale(1);
  transition: transform 0.3s ease, content 0.3s ease; /* smooth grow */
}

/* Grow AND swap to a different image on hover */
.expand-swap:hover {
  transform: rotate(-5deg) scale(1.1);
  content: url("trinkets/me-face-open.png");  /* this changes the image */
}

