* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: gilroy;
}

html,
body {
  height: 100%;
  width: 100%;
}
.main {
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    rgb(232, 78, 78),
    rgba(1, 1, 51, 0.86),
    rgb(34, 123, 34),
    rgba(97, 7, 97, 0.66)
  );
}

.page1 {
  position: relative;
  height: 100vh;
  width: 100vw;
  /* background-color: #f1f1f1; */
}
canvas {
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 9;
}
.page2 {
  position: relative;
  height: 100vh;
  width: 100vw;
  /* background-color: #f1f1f1; */
}
.page3 {
  position: relative;
  height: 100vh;
  width: 100vw;
  /* background-color: #f1f1f1; */
}
.page4 {
  position: relative;
  height: 100vh;
  width: 100vw;
  /* background-color: #f1f1f1; */
}

.loop {
  display: flex;
  position: absolute;
  top: 30%;
  margin-left: 1%;
  height: 25%;
  width: 100%;
  font-size: 100px;
  white-space: nowrap;
  font-family: gilroy;
}
.loop > h1 {
  font-weight: 400;
  animation-name: anim;
  animation-duration: 15s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.loop > h1 > span {
  -webkit-text-stroke: 1.2px #000;
  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-family: gilroy;
  font-weight: 400;
  font-size: 22px;
}
.nav > button {
  padding: 10px 20px;
  border-radius: 50px;
  background-color: #000;
  color: #fff;
  border: none;
}
.page1 > h3 {
  position: absolute;
  top: 63%;
  font-family: gilroy;
  font-weight: 400;
  color: #000000;
  left: 4%;
}
.page1 > h4 {
  position: absolute;
  top: 60%;
  left: 23%;
  font-family: gilroy;
  font-weight: 500;
}
.page2 > .right-text {
  position: absolute;
  top: 30%;
  left: 10%;
}
.page2 > .right-text > h3 {
  font-weight: 400;
  color: #7c7c7c;
}
.page2 > .right-text > h1 {
  line-height: 1.5;
  font-size: 50px;
}
.page2 > .left-text {
  position: absolute;
  top: 50%;
  right: 10%;
  text-align: end;
}
.page2 > .left-text > h1 {
  font-size: 50px;
  line-height: 1.5;
}
.page2 > .left-text > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
.page3 > .text1 {
  position: absolute;
  top: 30%;
  left: 10%;
}
.page3 > .text1 > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
.page3 > .text1 > h1 {
  font-size: 60px;
  line-height: 1.5;
}
.page3 > .text2 {
  position: absolute;
  top: 55%;
  right: 10%;
  text-align: end;
}
.page3 > .text2 > p {
  color: #7c7c7c;
  font-weight: 400;
}
.page4 > .text3 {
  position: absolute;
  top: 40%;
  right: 10%;
  text-align: end;
}
.page4 > .text3 > h3 {
  color: #7c7c7c;
  font-weight: 400;
}
.page4 > .text3 > h1 {
  font-size: 70px;
}
