 /* General Styles */
 * { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;

  }

  body {
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 1.2;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #140a0b;
    display: block;
    height: 100%;
    overflow-x: hidden;
}
  
  /* Video Section */
.video-section{
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10; 
}

.header-container {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  align-items: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.1));
  position: relative; 
}

 .logo {
    height: 1.5rem !important;
    display: flex;
}

.header img {
  max-width: 100%;
  height: 3rem;
}

/* Main Video Section */
.video-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    height: auto;
}

.video-container:before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

#video-cover {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  z-index: 2;
  visibility: visible;
}

video {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    z-index: 1;
}
 
#video-player {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
}

#video-play-icon-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  background: none;
  border: none;
}

#video-play-icon-wrapper svg {
  width: 100px;
  height: 100px;
  fill: none;
  stroke: white;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s ease;
}

#video-play-icon-wrapper:hover svg {
  stroke: rgb(184, 180, 180); 
}

.hide {
    display: none !important;
}

/* Scrolling Section */
.scroll-section {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  background: none;
  border: none;
}

.introtext-container {
   position:relative;
   width: 80%; 
   top: 5vh  !important;
   margin: 0 auto; 
   padding: 2rem 1rem;
   background-color:rgb(23 15 15 / 61%);
   z-index: 102;
   backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 6px;
}

.introtext {
    width: 100%;
    font-weight: 300;
    text-align: left;
    font-size: 1.5rem;
    color: #EDEDED;
}

.highlighted-text {
  color: #d33235;
  font-weight: 300;
}

.image-scroll-wrapper {
    display: grid;
    grid-template-columns: 20% 1fr;
    gap: 2rem; 
    width: 80%;
    margin-top: 20px; 
}

.scroll-container {
  width: 90%;
  display: flex;
  flex-direction: column;
  margin-top: 20vh;
  scroll-snap-type: y mandatory;
}

.item-container {
  width: 100%;
  position: relative;
  margin: 50vh 2rem 0;
  display: flex;
  flex-direction: column;
  transition: all 0.5s ease; 
}

.content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background-color:rgb(18 1 1 / 0%);
  padding: 1rem;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 6px;
}

.content-box0{
background-color:none;
padding: 0;
}

.itembox {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 60vh;
  transition: opacity 0.5s ease-in-out;
}

.sidewalk-feature {
  width: 55%;
  height: auto;
  padding-bottom: 1rem;
}

.intersector {
  font-weight: 300;
  text-align: left;
  color: #EDEDED;
  line-height: 1.4;
  font-size: 1.4rem;
  transition: opacity 1s ease-in-out;
}

.intersector-parent {
  transition: opacity 0.3s ease-in-out; /* transiction time */
  opacity: 0; /* initial opacity */
}

.feature-description{
color:#A9A7A7;
font-weight: 300;
font-size: 1rem;
}

.image-update {
  position: sticky;
  top: 15vh;
  left: 0;
  z-index: -1;
  width: 75%;
}


.scroll-indicator {
  position: absolute;
  top: 45vh !important;
  transform: translateY(-50%);
  left: 10% !important;
  display: flex;
  flex-direction: column;
  z-index: 100;
  gap: 5px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid #A9A7A7; 
  background-color: transparent; 
  transition: background-color 0.3s ease;
}

.dot.filled {
  background-color: #A9A7A7; 
}


/* Credits Section */
.footer {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    position: relative;
    align-items: center !important;
    justify-content: center;
    padding: 1rem 0;
    background: linear-gradient(180.02deg, #1D0B0B -105.53%, #833030 99.99%), linear-gradient(0deg, rgba(131, 48, 48, 0.2), rgba(131, 48, 48, 0.2));
    z-index: 105;
}

.credit-section{
    display: grid;
    width: 80%;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    z-index: 106;   
}

.desctitle{
    font-size: 1.4rem;
    font-family: new-science, sans-serif;
    font-weight: 500;
    font-style: normal;
    padding-bottom: 0.6rem;
    color: #eaeaea;

}

.destext{
    color: #D7D6D6;
    font-weight: 300;
}

.publication, .description{
    padding-bottom: 3rem;
}

.publication-link{
    color: #D7D6D6;
    font-weight: 300;
    line-height: 1.3;
}

a  {
  color: #D7D6D6;
  font-weight: 300;
  outline: none;
}

a img:focus {
  outline: none !important; 
}

a img {
  border: none !important;
  outline: none !important; 
}

a img:hover {
  opacity: 0.5; 
  transition: opacity 0.3s ease;
}

.role{
    font-weight: 300;
    color: rgb(161 153 153);
    margin-left: 0.4rem;
}

.logo-info{
  padding: 1rem 0rem;
  height: 9%;
  width: auto;
  opacity: 80%;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(80, 80, 80);
  border-radius: 1rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgb(100, 100, 100);
}

/* reponsive */
@media (max-width: 1200px), (max-width: 800px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .header-container {
      flex-direction: row;
      padding: 0.8rem 0.8rem;
      align-items: center;
  }

  .header img {
      width: 100px !important;
      height: auto !important;
     
  }
  .logo {
    width: 80px !important;
    height: auto !important;
}
}

@media (max-width: 800px) {
  .video-container {
    height: auto!important;
    padding-top: 0;
  }

  video {
    height: auto;
    object-fit: contain;
  }

  #video-play-icon-wrapper svg {
    width: 75px;
    height: 75px;
  }
}

@media (max-width: 480px) {
  #video-play-icon-wrapper svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 800px) {
  .image-scroll-wrapper {
      grid-template-columns: 1fr;
      gap: 1rem;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) {
  .image-update {
    left: 50%;
    transform: translateX(-20%);
    width: 85vw;
    max-width: 100vw;
    height: 90vh;
  }

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

/* Portrait Orientation */
@media (orientation: portrait) {
  .image-update {
    position: fixed !important;
    top: 45vh !important;
    right: 0 !important;
    left: -25%;
    transform: none;
    width: auto;
    height: 80%;
  }

  .image-update img {
    width: 160%;
    height: auto;
  }
}

/* Media Queries for Screen Sizes */
@media (max-width: 1200px) {
  .scroll-indicator {
    left: 10% !important;
  }
}

@media (max-width: 800px) {
  .image-scroll-wrapper {
    flex-direction: column;
  }

  .scroll-container, .image-update {
    width: 100%;
    margin: 0;
  }

  .item-container {
    width: 40%;
    margin-left: 0rem;
    margin-right: 0rem;
  }
  .introtext-container {
    width: 90%;
    top: 0 !important;
  }

  .introtext {
    font-size: 1.4rem;
    width: 90%;
}

.scroll-indicator {
  left: 6% !important;
  gap: 3px;
  position: absolute;
}

.dot {
  width: 4px;
  height: 4px;
}

  .credit-section {
    display: flex;
    flex-direction: column; 
    gap: 2rem;
    width: 90%; 
  }
  .footer {
    padding: 2rem 1rem;

  }
  .logo-info {
    height: 9%;
    opacity: 90%;
  }

}

@media (max-width: 600px) {
  .credit-section {
    width: 90%;
    gap: 2rem;
    padding-bottom: 0.5rem;
  }

  .desctitle {
    font-size: 1.3rem;
  }

  .publication, .description {
    padding-bottom: 2rem;
  }

  .logo-info {
    height: 3.5rem;
    opacity: 80%;
  }

  .footer {
    padding: 3rem 1rem;
  }

}