/* General body styling */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #000000;
}

.title-container {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.title-container .title {
  position: absolute;
  font-family: "DM Mono", system-ui;
  font-size: 20px;
  font-weight: 400;
  padding-top: 40px;
  padding-left: 40px;
  color: white;
}

.title-container .title a {
  color: white;
  text-decoration: none;
}

/* Styling for the WebGL canvas */
.webgl {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


.sequence-text {
  font-family: "DM Sans", system-ui;
  font-weight: 300;
  font-style: normal;
  width: 100%;
  color: #4b4b4b;
  font-size: 24px;
  line-height: 1.4;
  padding: 0 40px;
  box-sizing: border-box;
  position: absolute;
  opacity: 0;
  z-index: 1000;
}

.sequence-text h1 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 72px;
  font-weight: 700;
}

.sequence-text h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 36px;
  font-weight: 400;
}

.sequence-text p {
  margin-top: 0;
  margin-bottom: 10px;
}

.sequence-text b {
  font-weight: bold;
}

.sequence-text a {
  color: #4b4b4b;
}

.sequence-text span {
  background-color: rgba(255, 255, 255, 0.9);
}

.sequence-text.type-caption {
  font-size: 16px;
  font-family: "DM Mono", system-ui;
}

.sequence-text.type-about {
  font-family: "DM Mono", system-ui;
}



@media screen and (orientation: landscape) {
  .sequence-text {
    width: 75vh;
    left: 50%;
    transform: translate(-50%, 0%);
  }
}

.progress-container {
  position: fixed;
  bottom: 1%;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.progress-segment {
  align-items: center;
  width: 10px;
  height: 10px;
  margin: 0 2px 0 2px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  border-radius: 100%;
  overflow: hidden;
}

.progress-segment.active {
  background: rgba(255, 255, 255, 1);
}


.label-container {
  font-family: "DM Mono", system-ui;
  font-weight: 400;
  box-sizing: border-box;
  width: 100%;
}

.label-container .label-pointer {
  /* content: ""; */
  display: block;
  /* width: 8px; */
  /* height: 8px; */
  background-color: white;
  position: absolute;
  left: 50%;
  transform: translate(-4px, -3px) rotate(-45deg);
  z-index: -1;
}

.label-container .label-text {
  transform: translateY(5px) translateY(50%);
}

.label-container.noalign .label-text {
  transform: translateX(50%) translateY(0);
}

.label-container.left .label-text {
  transform: translateX(5px) translateX(50%);
}

.label-container.noalign .label-pointer {
  display: none;
}

.label-container.left .label-pointer {
  left: 0;
  top: 50%;
  transform: translate(-3px, -4px) rotate(-45deg);
}

.label-container.right .label-text {
  transform: translateX(-5px) translateX(-50%);
  text-align: right;
}

.label-container.right .label-pointer {
  left: 100%;
  top: 50%;
  transform: translate(-5px, -4px) rotate(-45deg);
}

.label-container .label-text span {
  padding: 1px 4px;
  font-size: 16px;
  color: black;
  text-align: center;
  background-color: white;
}

.label-container .label-text div {
  margin: 0;
}

.label-container.noalign .label-text span {
  padding: 1px 4px;
  font-size: 16px;
  color: white;
  text-align: center;
  background-color: transparent;
}

.label-container.right .label-text span {
  text-align: right;
}





/* Mobile Responsive Styles */
@media screen and (max-width: 1280px) {

  .sequence-text h1 {
    font-size: 64px;
  }

    .sequence-text h2 {
    font-size: 24px;
  }

  .sequence-text {
    padding: 0 20px;
    font-size: 16px;
  }


}

@media screen and (max-width: 640px) {
  .progress-segment {
    width: 6px;
    height: 6px;
    margin: 0 1px 0 1px;
  }

  .sequence-text h1 {
    font-size: 36px;
  }

  .sequence-text h2 {
    font-size: 16px;
  }

  .title-container .title {
    font-size: 14px;
    padding-top: 20px;
    padding-left: 20px;
  }


  .sequence-text {
    padding: 0 20px;
    font-size: 16px;
  }

  .sequence-text.type-caption {
    font-size: 10px;
    font-family: "DM Mono", system-ui;
  }



}
