@font-face {
  font-family: 'xanh';
  src: url('../fonts/XanhMono-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'misterk';
  src: url('../fonts/MisterK-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


html {
  scroll-behavior: smooth;
}

 
body {
  background-color: rgb(0, 0, 0);
  cursor: url("../images/cusor-bone.png") 16 16, auto;
}

*,
*::before,
*::after {
  cursor: url("../images/cusor-bone.png") 16 16, auto !important;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* prevent horizontal scroll */
  position: relative;
}

#title {
    color: #562121;
    font-family: 'seigfried';
    font-size: 35px;
    font-weight: lighter;
    text-align: center;
}

#desc {
    color: rgb(159, 46, 38);
    font-family: 'xanh';
    font-size: 35px;
    letter-spacing: -3.5px;
    text-align: center;
    margin-top: 30px;
    margin-right: 600px;
    margin-left: 600px;
    line-height: 50px;
}

#dots {
    color: rgb(159, 46, 38);
    font-family: 'xanh';
    font-size: 16px;
    letter-spacing: 10px;
    text-align: center;
    margin-top: 100px;
    margin-right: 0px;
    margin-left: 0px;
    line-height: 30px;
}

#desc p :hover {
    color: rgb(207, 129, 129);
    transition: filter 0.3s, color 0.3s;
}

/* color: rgb(172, 164, 152); */


#menu {
    color: rgb(29, 56, 255); 
    font-family: 'misterk';
    font-size: 60px;
    display: flex;
    justify-content: center; /* centers the entire <ul> horizontally */
    margin-top: 70px; /* adjust this value to increase space above */
    margin-bottom: 70px;
}

#options {
        list-style: none;
        display: flex;
        gap: 200px; /* spacing between items */
        padding: 0;
        margin: 0;
    }

#options a {
    text-decoration: none;
    color: inherit; /* or set a specific color like black */
}
    
#options a:hover {
    color: rgb(207, 129, 129);
}

.word {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin-right: 0.3em;
}

.word-text {
    position: relative;
    z-index: 2;
    transition: opacity 0.8s ease-in-out, filter 0.8s ease-in-out;
    will-change: opacity, filter;
}


.word img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centered */
    width: auto;
    max-width: 35vw;
    max-height: 35vh;
    opacity: 0;
    filter: blur(3px);
    transition: opacity 1.5s ease-in-out, filter 1.5s ease-in-out;
    z-index: 1; /* Behind text */
    pointer-events: none;
}


.word:hover .word-text {
    opacity: 1;
}

.word:hover img {
    opacity: 0.4;            /* Optional: fade slightly */
    filter: blur(1px);       /* Apply blur */
}

#logo {
  text-align: center;
  width: 100%;
}

.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logomain {
  width: 120px;      /* adjust as needed */
  height: auto;
  filter: invert(1);
}

/* image wrapper */
.logo-swap {
  position: relative;
  display: inline-block;
}

/* both images */
.logo-swap img {
  width: 500px;
  height: auto;
  margin-top: 20px;
  margin-bottom: 50px;
  cursor: pointer;
}

.logo-swap img {
  width: 500px;
}

.logo-swap img.logo-hover {
  width: 400px;
}

/* hover image hidden */
.logo-hover {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  width: 100px;
  height: auto;
}

/* hover swap ONLY when image is hovered */
.logo-swap:hover .logo-hover {
  opacity: 1;
}

.logo-swap:hover .logo-default {
  opacity: 0;
}


#gully-text {
  font-family: 'xanh';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(159, 46, 38);
  opacity: 0;
  width: 642px;
  font-size: 15px;
  line-height: 20px;
  pointer-events: none;
}

/* Show text on hover */
#gully:hover #gully-text {
  opacity: 1;
}

#gully {
  position: relative;
  text-align: center;
  margin: 15px auto 0 auto; /* centers the container horizontally */
  width: fit-content;       /* shrink-wrap to the image width */
  height: auto;
}

#gully:hover img {
  opacity: 0;
  pointer-events: none; /* Optional: prevents invisible image from interfering */
}

/* Ensure image appears normally */
#gully img {
  position: relative;
  width: 500px;
  height: auto;
  opacity: 1;
  transition: none; /* No fade, just instant change */
}

#logooutline {
    mix-blend-mode: difference;
}

#insta {
  text-align: center;
  margin-top: 200px;
  font-family: 'misterk';
}

#insta a {
  position: relative;
  display: inline-block;
  height: 33px;
  width: auto;
  cursor: pointer;
  padding-top: 50px;
  margin-bottom: 15px;
  font-size: 40px;
  letter-spacing: 1px;
  color: rgb(252, 247, 222);
  text-decoration: none;
}



#worksdesc p {
  font-family: 'xanh';
  color: rgb(159, 46, 38);
  font-size: 18px;
  margin-top: 100px;
  text-align: center;
}

#lot1 p {
font-family: 'xanh';
  text-align: center;
  color: rgb(159, 46, 38);
  font-size: 20px;
  line-height: 25px;
  pointer-events: none;
  position: relative;
  text-align: center;
  margin-bottom: 15%;
  margin-left: 23%;
  margin-right: 23%;
}

#dogtext p {
  font-family: 'misterk';
  text-align: center;
  color: rgb(248, 241, 240);
  width: 642px;
  font-size: 42px;
  line-height: 25px;
  letter-spacing: -1px;
  pointer-events: none;
  margin: 0 auto;
}

#dogtextmain {
  font-family: 'xanh';
  text-align: center;
  color: rgb(159, 46, 38);
  width: 642px;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: -1px;
  pointer-events: none;
  margin: 0 auto;
}

#logoworks {
  position: relative;
  text-align: center;
  width: 100%;
  margin-top: 0px;
}

#logoworks img {
  position: relative;  /* No need for absolute if we're not centering with transform */
  width: 100px;        /* Resize as needed */
  height: auto;
}

#footer {
  margin-top: 100px;
}

#archived p {
  font-family: 'xanh';
  text-align: center;
  color: rgb(159, 46, 38);
  font-size: 23px;
  line-height: 25px;
  pointer-events: none;
  margin-top: 100px;
  position: relative;
  text-align: center;
}



.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.popup.show {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  text-align: center;
  max-width: 80%;
  max-height: 90%;
  background: transparent;
  padding: 1rem 1.5rem 2rem;
}

#popup-img {
  max-height: 60vh;
  max-width: 100%;
  border-radius: 0;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#popup-caption {
  font-family: "misterk";
  text-align: center;
  font-style: italic;
  width: auto;
  font-size: 30px;
  color: rgb(252, 247, 222);
  margin: 0px;
}

.archive {
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-family: 'xanh';
  color: rgb(159, 46, 38);
  letter-spacing: 1px;
}

.header-row,
.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1rem;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-left: 5%;
}

.header-row {
  font-weight: bold;
  pointer-events: none;
  user-select: none;
  margin-top: 80px;
  margin-bottom: 20px;
  text-decoration: underline;
}

.row {
  cursor: pointer;
  transition: color 0.2s ease;
}

.row:hover .cell {
  color: rgb(207, 129, 129);
}

.cell {
  font-size: 15px;
}


#popup-audio {
  max-width: 500px;
  width: 100%;
  margin: 1rem auto;
  display: block;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 200px;
  outline: none;
}

#popup-audio-img {
  max-width: 300px;
  max-height: 300px;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 0;
}

.floating-image {
      position: absolute;
      filter: invert(1);
      width: 120px;
      height: auto;
      will-change: transform;
      z-index: -1;

}


#titles p {
  font-family: 'xanh';
  text-align: center;
  color: rgb(159, 46, 38);
  font-size: 20px;
  line-height: 25px;
  pointer-events: none;
  position: relative;
  text-align: center;
  margin-top: 100px;
  margin-bottom: 15%;
  margin-left: 23%;
  margin-right: 23%;
}

#ideastext p {
  font-family: 'xanh';
  text-align: center;
  color: rgb(159, 46, 38);
  font-size: 16px;
  line-height: 25px;
  pointer-events: none;
  position: relative;
  text-align: center;
  margin-bottom: 15%;
  margin-left: 23%;
  margin-right: 23%;
}

#ideastextwhite p {
  font-family: 'xanh';
  text-align: center;
  color: rgb(185, 115, 110);
  text-decoration: dotted;
  font-size: 16px;
  line-height: 25px;
  pointer-events: none;
  position: relative;
  text-align: center;
  margin-left: 23%;
  margin-right: 23%;
}

#poem p {
  font-family: 'xanh';
  text-align: center;
  color: rgb(248, 241, 240);
  font-size: 17px;
  line-height: 25px;
  pointer-events: none;
  margin-top: 100px;
  position: relative;
  text-align: center;
}

#image1 img {
  position: absolute;  /* No need for absolute if we're not centering with transform */
  width: 300px;        /* Resize as needed */
  height: auto;
  margin-bottom: 20px;
  margin-left: 30px;
  text-align: center;
}

 #music {
    position: relative; /* for positioning the image absolutely */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'misterk', serif;
    background: black;
    overflow: hidden; /* ensures image doesn’t spill outside */
  }

  /* Play/Pause text */
  #music .control {
    font-family: 'misterk';
    font-size: 60px;
    letter-spacing: 0.08em;
    cursor: pointer;
    user-select: none;
    opacity: 0.85;
    color: #ffcc00;
    z-index: 2; /* make sure text stays on top */
    position: relative; /* needed for z-index to work */
  }

  #music .control:hover {
    opacity: 1;
    color: #562121;
  }

  /* Image initially invisible and behind text */
  #fade-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center the image */
    width: 500px; /* full width, adjust as needed */
    opacity: 0;
    transition: opacity 5s ease-in-out;
    z-index: 1; /* behind the text */
  }

  /* When active, image fades in */
  #fade-image.show {
    opacity: 0.75; /* slightly transparent so text is readable */
  }

#story p {
  color: #562121;
}

#story-list li {
  cursor: pointer;
  font-size: 45px;
  margin: 5px 0;
  color: #3498db;  /* bright blue for contrast on black */
  font-family: 'misterk';
}

#story-list li:hover {
  text-decoration: underline;
}

#story-list {
  list-style: none;      /* remove bullets */
  padding: 0;
  margin: 50px auto;     /* top/bottom 50px, auto left/right */
  margin-top: 0px;
  max-width: 400px;      /* optional: limit width */
  text-align: center;    /* center the list items text */
}

 #lot-list li {
  cursor: pointer;
  font-size: 45px;
  padding-top: 30px;
  color: #3498db;  /* bright blue for contrast on black */
  font-family: 'misterk';
}

#lot-list li:hover {
  text-decoration: underline;
}

#lot-list {
  list-style: none;      /* remove bullets */
  padding: 0;
  margin: 50px auto;     /* top/bottom 50px, auto left/right */
  margin-top: 0px;
  max-width: 400px;      /* optional: limit width */
  text-align: center;    /* center the list items text */
}


.menu-logo {
  width: 40px;
  height: auto;
  filter: invert(1);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-logo:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.menu-item {
  min-width: 70px;
  text-align: center;
}

.image-row {
  display: flex;               /* makes children line up horizontally */
  justify-content: center;     /* centers the row in the page */
  gap: 30px;                   /* space between the two images */
  flex-wrap: wrap;             /* optional: wraps on smaller screens */
  margin-bottom: 50px;
  margin-top: 50px;
}

.image-row img {
  width: 500px;                /* adjust size */
  height: auto;                /* keeps proportions */
  max-width: 45vw;             /* prevents them from overflowing on small screens */
}

.project {
  margin-top: 150px;
  margin-bottom: 200px;
  text-align: center;
}

.project-title {
  font-family: 'misterk';
  font-size: 45px;
  color: #ffcc00;
  margin-top: 250px;
  letter-spacing: 2px;
  margin-bottom: 80px;
  margin-right: 40%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  width: 70%;
  margin: 0 auto;
}

.project-grid img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.project-grid img:hover {
  opacity: 0.5;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.project.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-description {
  font-family: 'xanh';
  font-size: 20px;
  color: rgb(159, 46, 38);  /* same as your other text for cohesion */
  text-align: center;
  margin-top: 50px;
  letter-spacing: 1.5px;
  margin-bottom: 180px;
  margin-left: 20%;
  margin-right: 60%;
  
}


#popup-img {
  max-height: 80vh;    /* increase from 60vh to 80vh */
  max-width: 90vw;     /* increase width to 90% of viewport */
  border-radius: 0;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.project-title4 {
  font-family: 'misterk';
  font-size: 45px;
  color: #ffcc00;
  margin-top: 250px;
  letter-spacing: 2px;
  margin-bottom: 80px;
  margin-left: 40%;
}


.project-description4 {
  font-family: 'xanh';
  font-size: 20px;
  color: rgb(159, 46, 38);  /* same as your other text for cohesion */
  text-align: center;
  margin-top: 50px;
  letter-spacing: 1.5px;
  margin-bottom: 180px;
  margin-left: 60%;
  margin-right: 20%;
  
}


.video-wrapper {
  position: relative;
  width: 600px;          /* bigger width */
  height: 338px;         /* 16:9 aspect ratio */
  margin: 80px auto;     /* center horizontally */
  background: transparent;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* removes any iframe border */
}