* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: inter, sans-serif;
}

::-webkit-scrollbar {
  display: none;
}

/* For Firefox */

html,
body {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  scrollbar-width: none;
}

#pixelCanvas{
  position: fixed;
}

.header, .main{
  visibility: hidden;
}


a {
  text-decoration: none;
  color: #000000;
}

h1 {
  font-weight: 600;
  font-size: 18px;
  line-height: 150%;
}

h2 {
  font-weight: 300;
  font-size: 18px;
  line-height: 150%;
}

i {
  font-weight: 300;
  font-size: 18px;
  font-style: italic;
  line-height: 150%;
}

p {
  font-weight: 300;
  font-size:18px;
  line-height: 24px;
}

.header-left {
  display: flex;
  flex-direction: column;
}

.header-right {
  display: flex;
  gap: 20px;
  flex-direction: row;
}

.project-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed; /* Fix position relative to the viewport */
  top: 50vh; /* Vertically center */
  left: 50%; /* Horizontally center */
  transform: translate(-50%, -50%); /* Offset by 50% of its own size */
  text-align: center;
  z-index: 1; /* Set z-index to be above background but below scroll-content */
}

.scroll-content {
  position: relative; /* Make sure it respects the stacking context */
  display: flex;
  flex-direction: column;
  gap: 50vh;
  align-items: center;
  padding: 65vh 0 100vh 0;
  overflow: scroll;
  z-index: 9999; /* Ensure scroll-content is on top */
  pointer-events: none; /* Disable interactions for scroll-content */
}

.scroll-content img {
  pointer-events: auto; /* Enable interactions for images */
  width: 60vw;
  min-width: 900px;
  max-width: 1280px;
  height: auto;
  z-index: 9999; /* Ensure images have a higher z-index */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: transparent;
  z-index: 1000;/* Ensure header is on top of the background but below .project-title and .scroll-content */
}

.canvas {
  position: fixed;
  display: block;
  width: 100vw;
  height: 100vh;
  scroll-behavior: none;
}


/*mobile*/
@media only screen and (max-width: 960px) {
  h1, h2, i, p{
    font-size: 17px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: transparent;
    z-index: 1000; /* Ensure header is on top of the background but below .project-title and .scroll-content */
  }

  .scroll-content img {
    padding: 20px;
    width: 100%; /* Or adjust as needed */
    min-width:0px;
    max-width: 1000px; /* Adjust image size */
    height: auto;
    z-index: 9999; /* Ensure images also have a high z-index */
    pointer-events: auto;
  }

  .header-right {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
}



