* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: sans-serif;
}
html,
body {
  height: 100%;
  width: 100%;
}
#main {
  position: relative;
  overflow: hidden;
}
#page {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #f1f1f1;
}
#page1 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #f1f1f1;
}
#page2 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #f1f1f1;
}
#page3 {
  position: relative;
  height: 100vh;
  width: 100vw;
  background-color: #f1f1f1;
}
canvas {
  position: relative;
  z-index: 9;
  max-width: 100vw;
  max-height: 100vh;
}
#loop {
  display: flex;
  position: absolute;
  top: 25%;
  height: 25%;
  width: 100%;
  font-size: 90px;
  white-space: nowrap;
}
#loop > h1 {
  font-weight: 400;
  animation-name: anim;
  animation-duration: 36s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
#loop > h1 > span {
  -webkit-text-stroke: 1.2px #576157;
  color: transparent;
  font-weight: 500;
}
@keyframes anim {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
#nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7%;
  width: 100%;
  position: fixed;
  z-index: 99;
  padding: 0px 30px;
}
#nav > h3 {
  font-weight: 400;
  font-size: 22px;
}
#nav > button {
  padding: 10px 20px;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  border: none;
}
.desc {
  position: absolute;
  top: 60%;
  font-weight: 300;
  color: #7c7c7c;
  text-transform: uppercase;
  left: 5%;
}

#page > .scroll {
  position: absolute;
  top: 70%;
  left: 25%;
  font-weight: 600;
  color: #484242;
}

#more-desc {
  position: absolute;
  top: 60%;
  right: 5%;
  text-align: end;
  text-transform: uppercase;
  color: #7c7c7c;
  font-weight: 400;
}
#page1 > #right-text {
  position: absolute;
  top: 30%;
  left: 5%;
}
#page1 > #right-text > h3 {
  font-weight: 400;
  color: #7c7c7c;
}
#page1 > #right-text > h1 {
  line-height: 1.2;
  font-size: 45px;
}
#page1 > #left-text {
  position: absolute;
  top: 50%;
  right: 5%;
  text-align: end;
}
#page1 > #left-text > h1 {
  font-size: 45px;
  line-height: 1.2;
}
#page1 > #left-text > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
#page2 > #text1 {
  position: absolute;
  top: 30%;
  left: 5%;
}
#page2 > #text1 > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
#page2 > #text1 > h1 {
  font-size: 60px;
  line-height: 1.2;
}
#page2 > #text2 {
  position: absolute;
  top: 55%;
  right: 5%;
  text-align: end;
}
#page2 > #text2 > p {
  color: #7c7c7c;
  font-weight: 400;
}
#page3 > #text3 {
  position: absolute;
  top: 40%;
  right: 5%;
  text-align: end;
}
#page3 > #text3 > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
#page3 > #text3 > h1 {
  font-size: 70px;
}
#test{
  top: 60%;
  font-weight: 300;
  color: #7c7c7c;
  text-transform: uppercase;
}


#example-link {
  color: #000;
  text-decoration: none;
  text-transform: lowercase;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  z-index: 10;
}


#topNav {
  display: flex;
  background-color: #333; /* Background color for the navigation */
  color: #fff; /* Text color for the navigation */
  padding: 10px; /* Add padding to the navigation */
  align-content: center;
  align-items: center;
  justify-content: center;
}

#topNav ul {
  list-style: none; /* Remove default list styling */
  margin: 0;
  padding: 0;
}

#topNav ul li {
  display: inline-block; /* Display list items horizontally */
  margin-right: 20px; /* Add spacing between list items */
}

#topNav ul li a {
  text-decoration: none; /* Remove underline from links */
  color: #fff; /* Link text color */
}

/* Loading screen styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: black;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen h1, #loading-screen p {
  animation: pulse 2s infinite;
}

.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Pulse animation */
@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1);
  }
  100% {
      transform: scale(1);
  }
}
