* {
  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;
}

.header,
.main {
  visibility: visible;
}

.main {
  flex-direction: column; /* Stack the layout vertically */
}

.content-left {
  width: calc(100vw - 430px);
  padding: 150px 30px;
  pointer-events: auto;
}

.content-right {
  width: 400px;
  position: fixed;
  top: 150px;
  right: 30px;
  z-index: 1;
}

.content-left img,
.content-left video,
.content-left .video-wrapper {
  pointer-events: auto;
  width: 100%;
  object-fit: cover;
  height: auto;
  position: relative;
  z-index: 1003 !important; /* Ensure images and videos are on top */
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 4px;
  pointer-events: auto;
  z-index: 1003 !important;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  pointer-events: auto;
}

.underline {
  text-decoration: underline;
}

/* Project Title Styling (Now UNDER videos) */
.project-title {
  z-index: 999; /* Lower than video z-index */
  position: fixed;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

/* Scroll content that holds images and videos */
.scroll-content {
  z-index: 1001;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 70vh;
  align-items: center;
  padding: 65vh 0 100vh 0;
  overflow: scroll;
  pointer-events: none;
}

.scroll-content img {
  pointer-events: auto;
  width: 60vw;
  min-width: 900px;
  max-width: 1920px;
  height: auto;
  z-index: 1003 !important;
}

.header {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: transparent;
}

/* Mobile responsiveness */
@media only screen and (max-width: 960px) {
  .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;
  }

  .content-left {
    padding: 75vh 0 100vh 0;
    width: 100vw;
    align-items: center;
    overflow: auto;
  }

  .content-left img {
    margin: 0;
    padding: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    object-fit: cover;
  }

  .content-right {
    padding: 20px;
    width: 100vw;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    z-index: 1;
  }
}

/* Large screen layouts for 1920px+ */
@media only screen and (min-width: 2410px) {
  .main {
    flex-direction: column;
    justify-content: center;
  }

  .content-left {
    width: calc(2410px - 430px);
    padding: 150px 0;
    margin-left: calc((100vw - 2410px) / 2);
  }

  .content-right {
    width: 400px;
    position: fixed;
    top: 150px;
    right: calc((100vw - 2410px) / 2);
    z-index: 1;
  }
}
