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

@font-face {
  font-family: gilroy;
  src: url(./font/Gilroy-Regular.ttf);
}

html, body {
  height: 100%;
  width: 100%;
}
#main {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #f1f1f4, #E5E5E6);
}

#page, #page1, #page2, #page3 {
  font-family: gilroy;
  position: relative;
  height: 100vh;
  width: 100vw;
  text-transform: uppercase;
}

canvas {
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
  z-index: 9;
}

.loopText {
  display: flex;
  align-items: center;
  position: absolute;
  top: 30%;
  height: 25%;
  width: 100%;
  font-size: 100px;
  white-space: nowrap;
  font-family: gilroy;
}

.loopText h1 {
  font-weight: 400;
  animation: loop-text 16s linear infinite;
}

.loopText h1 span {
  -webkit-text-stroke: 1.2px #171010;
  color: transparent;
  font-weight: 500;
}

@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* NavBar */
nav {
  height: auto;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: gilroy;
  padding: 1rem 2rem;
  background: transparent;
}

nav h1 {
  position: relative;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

nav h1 #light {
  -webkit-text-stroke: 1.2px #171010;
  color: transparent;
  font-weight: 500;
}

nav h1 #clone {
  position: absolute;
  margin-left: 0.6rem;
  font-size: clamp(0.7rem, 2vw, 0.9rem);
}

nav a {
  margin-top: 0.3rem;
  padding: 0.4rem 1rem;
  background-color: #000;
  border-radius: 20px;
  cursor: pointer;
  color: #f1f2f4;
  text-decoration: none;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

nav a i {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}

nav a:hover {
  background-color: #2e2e2e;
}

/* Page 0 */

#page h3 {
  position: absolute;
  top: 66%;
  left: 6.7%;
  line-height: 1.3;
  color: #7b7b7b;
  font-size: clamp(0.9rem, 2vw, 1.1rem);

}

#page h4 {
  position: absolute;
  right: 15%;
  bottom: 15%;
  color: #7b7b7b;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Page 1 */

#page1 .left-part {
  text-align: start;
}

#page1 .left-part h2 {
  position: absolute;
  top: 40%;
  left: 6.7%;
  font-size: 15px;
  color: #7b7b7b;
}

#page1 .left-part p b {
  font-family: sans-serif;
  position: absolute;
  top: 44%;
  left: 6.7%;
  font-size: 34px;
  line-height: 35px;
  font-weight: bolder;
  letter-spacing: 4px;
}

#page1 .right-part {
  text-align: end;
}

#page1 .right-part h2 {
  position: absolute;
  bottom: 28%;
  right: 6.7%;
  font-size: 15px;
  color: #7b7b7b;
}

#page1 .right-part p b {
  font-family: sans-serif;
  position: absolute;
  bottom: 32%;
  right: 6.7%;
  font-size: 34px;
  line-height: 35px;
  font-weight: bolder;
  letter-spacing: 4px;
}

/* Page 2 */
#page2 .left-part {
  text-align: start;
}

#page2 .left-part h2 {
  position: absolute;
  top: 26%;
  left: 6.7%;
  font-size: 15px;
  color: #7b7b7b;
}

#page2 .left-part p b {
  font-family: sans-serif;
  position: absolute;
  top: 30%;
  left: 6.7%;
  font-size: 34px;
  line-height: 37px;
  font-weight: bolder;
  letter-spacing: 4px;
}

#page2 .right-part {
  text-align: end;
}

#page2 .right-part p {
  font-family: sans-serif;
  position: absolute;
  bottom: 32%;
  right: 6.7%;
  font-size: 14px;
  color: #7b7b7b;
}

/* Page 3 */
#page3 .left-part {
  text-align: start;
}

#page3 .left-part h2 {
  position: absolute;
  top: 26%;
  left: 6.7%;
  font-size: 15px;
  color: #7b7b7b;
}

#page3 .left-part p b {
  font-family: sans-serif;
  position: absolute;
  top: 30%;
  left: 6.7%;
  font-size: 34px;
  line-height: 37px;
  font-weight: bolder;
  letter-spacing: 4px;
}

#page3 .right-part {
  text-align: end;
}

#page3 .right-part p {
  font-family: sans-serif;
  position: absolute;
  bottom: 32%;
  right: 6.7%;
  font-size: 14px;
  color: #7b7b7b;
}