body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(
    to bottom, 
    #363636 0%, 
    #363636 70%, 
    #545454 100%
    );
}
.page {
  display: flex;
  height: 100dvh; /* was troubleshooting and dvh was suggested instead of vh and it worked despite the lil error message so idk? */
  padding: 100px;
  gap: 100px;
  box-sizing: border-box;
}

.static-page-element {
  position: absolute;

  right: 100px;
  bottom: 70px;

  z-index: 10;

  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
  color: #C0A8CA;

  text-align: right;
}

.main-content {
  flex: 7;  /* 70% */
  height: 75vh; 
  padding: 0; 
  overflow: hidden; 
  position: relative;
  background-image: url(https://noellian.neocities.org/ndlpwebsite/leafboat.gif); 
  background-size: cover;
  background-position: 100% 45%;
  background-repeat: no-repeat;
}

.content {
  height: 100%;
  overflow-y: auto;
  padding: 80px;
}

.sidebar {
  flex: 3; /* 30% */
  height: 75vh; 
  padding: 20px;
  overflow: hidden;
}

a {
  color: #a293ad;
  cursor: pointer;
}

h1 {
  font-family: "Inter", sans-serif;
  font-weight: 200;
  letter-spacing: 18px;
  font-size: 70px;
  color: white;
  line-height: 65%;
}
  
h2 {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  letter-spacing: 18px;
  font-size: 40px;
  color: white;
  line-height: 65%;
}
  
h3 {
  font-family: "Inter", sans-serif;
  font-weight: 100;
  letter-spacing: 3px;
  font-size: 32px;
  color: white;
  line-height: 85%;
}

mark {
    background-color: rgba(255, 255, 255, 0.35); 
    color: inherit;
}

.marquee {
  position: fixed;
  left: 0;
  width: 100vw;
  overflow: hidden;
  white-space: nowrap;
  z-index: 9999;
}

.marquee-1 {
  top: 38vh;
}
.marquee-2 {
  top: 40vh;
}
.marquee-3 {  /* took out this marquee at the bottom but left this in case i wanna add something later */
  top: 90vh; 
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 60s linear infinite;
  font-family: "Inter", sans-serif;
  font-weight: 200;
  letter-spacing: 18px;
  font-size: 40px;
  color: #363636;
  line-height: 80%;
}

.marquee-2 .marquee-text {
  animation-direction: reverse;
}

.marquee-3 .marquee-text {   /* took out this marquee at the bottom but left this in case i wanna add something later */
  animation-duration: 100s; /* slower speed */
}

.marquee-3 .marquee-text {   /* took out this marquee at the bottom but left this in case i wanna add something later */
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 200;
  letter-spacing: 2px;
  color: #C0A8CA;
}

.marquee-4 .marquee-text {
  color: rgba(255, 255, 255, 0.35); 
  background-color: rgba(255, 255, 255, 0.35); 
}

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

.info {
  display: none;
  height: 80%;
  overflow-y: auto;
  padding: 20px;
  color: white;
  font-family: "Inter", sans-serif;
  font-weight: 100;
  letter-spacing: 1px;
  font-size: 16px;
  line-height: 95%;
}

.info.active {
  display: block;
}

.hover-word {
  cursor: pointer;
  color: #a293ad;
  text-decoration: underline;
}

.hover-word.active {
  font-family: Garamond, Georgia, 'Times New Roman', Times, serif;
  font-style: italic;
  letter-spacing: 5px;
}

/* MOBILE OVERRIDES, bc tiny touchscreens are a different compositional field! */

@media (max-width: 768px) {

  .page {
    padding: 0px;
    gap: 0;
  }

  .sidebar {
    display: none;
  }

  .main-content {
    flex: none;
    width: 100%;
    height: 100vh;
  }
  
  .content {
    padding: 12vh 18px 20px 18px;
  }

  .static-page-element {
    right: 20px;
    bottom: 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 40px;
    letter-spacing: 8px;
  }

  h2 {
    font-size: 24px;
    letter-spacing: 4px;
  }
  
  h3 {
    letter-spacing: 2px;
    font-size: 20px;
    line-height: 90%;
  }

  .marquee-text {
    font-size: 20px;
    letter-spacing: 8px;
    color: #48494B;
  }

  .marquee-1 {
    top: 28vh;
  }

  .marquee-2 {
    top: 30vh;
  }

  .marquee-3 {
    top: 90vh;
  }
  
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
  
    justify-content: center;
    align-items: center;
  
    z-index: 10000;
  }

  .modal-overlay.active {
    display: flex;
  }

  .modal {
    width: 90vw;
    height: 45vh;
    background: #545454;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    font-family: "Inter", sans-serif;
    font-weight: 100;
    letter-spacing: 2px;
    font-size: 16px;
    line-height: 95%;
  }

  .modal-close {
    float: right;
    border: none;
    background: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
  }

}