/* 
colors:
    2C3930
    3F4F44
    A27B5C
    DCD7C9
*/

@font-face {
  font-family: "madegoodtime";
  src: url("fonts/madegoodtime/madegoodtimegroteskpersonaluse-webfont.woff2")
      format("woff2"),
    url("fonts/madegoodtime/madegoodtimegroteskpersonaluse-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "pulp_fiction_m54regular";
  src: url("fonts/pulp-fiction/pulp_fiction_m54-webfont.woff2") format("woff2"),
    url("fonts/pulp-fiction/pulp_fiction_m54-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "pulp_fiction_m54italic";
  src: url("fonts/pulp-fiction/pulp_fiction_italic_m54-webfont.woff2")
      format("woff2"),
    url("fonts/pulp-fiction/pulp_fiction_italic_m54-webfont.woff")
      format("woff");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #2c3930;
  margin: 0;
  overflow: hidden; /* prevent any scrolling */
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 30vw;
  height: 100vh; /* full height */
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #2c3930; /* sidebar background */
  z-index: 2;
}

.home-link {
  text-decoration: none;
  color: inherit; /* inherit the text color */
  display: inline-block;
}

.home-link .name {
  transition: color 0.3s ease; /* transition applies both on hover in & out */
}

.home-link:hover .name {
  color: #dcd7c9; /* hover color */
}

.band-name {
  margin-bottom: 0.9rem;
}

.name {
  color: #a27b5c;
  font-size: 7vw;
  max-width: 30vw;
  font-family: "Tahoma", sans-serif;
  font-weight: bolder;
  padding: 0;
  margin: 0;
  line-height: 0.9;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.9rem; /* consistent spacing */
}

.nav-links a {
  color: #3f4f44;
  text-decoration: none;
  font-size: 7vw;
  font-family: "Tahoma", sans-serif;
  font-weight: bolder;
  transition: color 0.3s ease;
  line-height: 0.8;
}

.nav-links a:hover {
  color: #dcd7c9;
}

.main-image {
  position: fixed;
  top: 20px;
  left: 30vw; /* sidebar offset */
  right: 20px; /* this replaces margin-right */
  bottom: 20px; /* if you also want spacing at bottom */
  overflow: hidden;
  z-index: 1;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: cover; /* perfectly fills the fixed box */
}

@media (max-width: 768px) {
  body {
    display: block; /* stack content vertically */
  }

  .menu {
    position: relative; /* no longer fixed */
    width: 100vw; /* full width */
    height: auto; /* adjust height automatically */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #2c3930;
  }

  .band-name {
    margin-bottom: 0.5rem;
  }

  .name {
    font-size: 20vw;
  }

  .nav-links {
    display: flex;
    flex-direction: column; /* keep vertical stacking */
    gap: 0.2rem; /* add 0.9rem gap between links */
  }

  .nav-links a {
    font-size: 13vw;
  }

  .main-image {
    position: relative; /* no longer fixed */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw; /* full width */
    height: auto;
    margin-top: 1rem;
  }

  .main-image img {
    /* width: 100%; */
    height: auto;
    object-fit: cover;
  }
}
