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

html, body {
  background: #000;
  color: #fff;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  padding: 40px;
}

body {
  max-width: 900px;
  margin: auto;
}


h1 {
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
  margin-bottom: 40px;
}

h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 40px 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  max-width: 75ch;
}


a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #666;
  padding-bottom: 2px;
  transition: 0.25s;
}

a:hover {
  color: #00eaff;
  border-color: #00eaff;
}


.page-number {
  border: 1px solid white;
  padding: 5px 10px;
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

#nodeBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

body {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.split-container {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.split-container .left {
  width: 50%;
  padding: 0 0 0 7px; 
  overflow-y: auto;
  background: transparent;
  z-index: 4;
  color: #fff;
}


.split-container .right {
  width: 50%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

#p5canvas {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: block;
}

#nodeBackground {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.split-container .left h1 {
  margin-top: 0;
}

.split-container .left a {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .split-container {
    flex-direction: column;
    height: auto;
  }
  .split-container .left,
  .split-container .right {
    width: 100%;
    height: 60vh;
  }
  #p5canvas {
    width: 100% !important;
    height: 100% !important;
  }
}
