*:mouseDown:hover {
  cursor: url('../cursor/arrow.cur'), auto;
}

html {
  height: 100%;
  text-transform: lowercase;
  cursor: url('../cursor/arrow.cur'), auto;
  cursor: url('../cursor/arrow.cur'), move;
  overflow: hidden;
}

mousedown.grabbing {
  cursor: url('../cursor/point.cur'), auto;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #c25237;
  color: black;
  margin: 0;
  padding: 0;
  height: 100%;
  
  cursor: url('../cursor/arrow.cur'), auto;
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
  background-attachment: fixed;
  overflow: hidden;
  position: relative;
  zoom: 100%;
  transition: zoom 0.3s;
  filter: contrast(0.9);
  line-height: 1.6;
}

.text {
  font-size: x-large;
  pointer-events: auto;
  text-align: center;
  position: relative;
  z-index: 50;
}

.plain_link {
    text-decoration: none;
    filter: none;
}

a {
  color: #00ff00;
}

a:visited {
  color: #00ff00;
  text-decoration: none;
}

#name:hover {
  filter: hue-rotate(-45deg) brightness(2.2) !important;
  cursor: url('../cursor/point.cur'), auto;
}


.nav:hover {
  color: #c0c0c0;
  filter: invert(1) contrast(0.25) brightness(3.2) !important;
  cursor: url('../cursor/point.cur'), auto;
}


a:active {
  text-decoration: none;
  scale: 0.95;
}


button {
  cursor: url('../cursor/point.cur'), auto;
}

.cursor-trail {
  position: absolute;
  width: 20px; 
  height: 25px;
  background-size: cover;
  pointer-events: none;
  animation: fadeOut 1s forwards;
  z-index: 9;
}

.default-cursor-trail {
  background-image: url("../cursor/arrow.png");
}

.pointer-cursor-trail {
  background-image: url("../cursor/point.png");
}

.text-cursor-trail {
  background-image: url("../cursor/ibeam.png");
}

.section {
  display: flex;
  justify-content: space-between;
  align-items: left;
  gap: 3rem;
  overflow: hidden;
}

.copy-message {
  position: fixed;
  inset: 0;
  margin: auto;
  display: none;
  color: #fff;
  font-size: x-large;
  height: fit-content;
  width: fit-content;
  max-width: 80vw;
  max-height: 40vh;
  opacity: 1;
  transition: opacity 0.35s ease-out;
  z-index: 10000;
  overflow: auto;
  word-wrap: break-word;
  white-space: pre-wrap;
  text-align: left;
  padding: 1rem;
  background-color: #000000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.8);
}

.copy-message.show {
  display: block;
}

@media (max-width: 768px) {
  .copy-message {
    font-size: 1rem;
    max-width: 95vw;
    max-height: 30vh;
    padding: 0.75rem;
    word-break: break-word;
    text-align: center;
    left: 2vw;
    right: 2vw;
    top: 2vh;
    bottom: 2vh;
  }
}
@media (max-width: 480px) {
  .copy-message {
    font-size: 0.9rem;
    max-width: 98vw;
    max-height: 25vh;
    padding: 0.5rem;
  }
}

#name {
  position: fixed; 
  top: 1rem;
  left: 2rem;
  font-size: 2rem;
  padding: 0.5rem; 
  z-index: 3; 
  cursor: url('../cursor/point.cur'), auto;
  color: #ececec;
  filter: hue-rotate(180deg) contrast(1.5) brightness(2.2);
}


.page-title {
  position: fixed;
  top: 8rem;
  left: 1rem;
  font-size: 1.2rem;
  padding: 0.5rem;
  z-index: 3;
  color: #ececec;
  filter: hue-rotate(180deg) contrast(1.5) brightness(1.2);
  margin: 0;
  text-transform: lowercase;
}

#links {
  position: absolute;
  left: 2rem;
  bottom: 10vh;
  z-index: 4;
  filter: drop-shadow(0 0 2px #c2533783);
  pointer-events: auto;
}

#asciiContainer1, #contourContainer1, #horseContainer1, #shapeshiftContainer1 {
  cursor: url('../cursor/point.cur'), auto;
  
  /* display: none; */
  z-index: 1;
}

#heartsContainer1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  zoom: 1.25;
  z-index: -1 !important;
  background-color: transparent !important;
  cursor: url('../cursor/point.cur'), auto !important;
  pointer-events: auto !important;
  overflow: hidden;
}

#perpetualContainer1 {
  width: 0%;
  z-index: -1;
}

#lifeContainer1 {
  font-size: 0.1rem;
  z-index: 1;
  user-select: auto;
  filter: drop-shadow(.125vw -.25vh 0rem rgb(198, 198, 198)) drop-shadow(-.125vw .25vh 0rem #ff00ff);
  cursor: url('../cursor/arrow.cur'), auto;
}


#about {
  color: #ffffff;
  text-transform: none;
  position: absolute; 
  top: 0;
  left: 0;
  height: 100vh; 
  width: 100vw; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  z-index: 5;
  font-size: 1rem;
  overflow: hidden;
  mix-blend-mode: exclusion;
  background-color: #524bd0 !important;
}

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

#about .content-wrapper {
  border-color: #cacaca90;
  padding: 2vh 2vw; 
  padding-top: 3rem;
  max-width: 55vw;
  text-align: left;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto;
  max-height: calc(90vh - 3.5rem);
  margin-top: 0;
  overflow-y: auto;
}

#about .content-wrapper p {
  margin-bottom: 2vh; 
  text-align: justify; 
}

#about .content-wrapper p:last-child {
  margin-bottom: 0;
}

#about .content-wrapper a {
  word-break: break-word;
}

#about #heartsContainer1 {
  filter: blur(0.5rem);
}

#icons {
  position: fixed;
  top: 2vh;
  right: 2vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1vw;
  z-index: 6;
}

#icons img {
  width: 2.5vw;
  height: auto;
  filter: drop-shadow(0 0 0.25rem white);
}

#colorwheel{
  z-index: 7;
  display: flex;
  object-fit: contain;
  width: 2.5vw;
  height: auto;
  left: 100vw;
  margin-right: 1.5em;
  padding: 0em 0.25em 0em 0.25em;
  filter: drop-shadow(0 0 0.25rem white) invert(1);
}

#colorwheel:hover{
  background-size: cover;
  filter: drop-shadow(0 0 0.75rem black) invert(1);
  cursor: url('../cursor/point.cur'), auto;
}

#colorwheel:active{
  scale: 0.95;
}


.invert {
  filter: invert();
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 1.1;
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  body {
    zoom: 100%;
    overflow: hidden;
    height: 100%;
  }

  .section {
    flex-direction: column;
    align-items: flex-start;
    gap: 2vh;
  }


  .vis-container {
    width: 100vw;
    height: 100vh;
  }

  #links {
    margin-top: 1em;
    padding: 0.5em;
  }

  #icons {
    visibility: hidden; 
  }

  #icons img {
    width: 7vw;
    height: auto;
    padding: 0.5em;
    margin: -0.5em;
    }

  #name {
    font-size: 1.5rem;
    top: 1rem;
  }

  .page-title {
    font-size: 1rem;
    top: 3.5rem;
  }

  #about p{
    font-size: calc(0.8rem + 0.2vw);
    margin: 0 0 3vh 0;
    line-height: 1.25rem;
    transition: all 0.3s ease;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
  }

  #about .content-wrapper {
    font-size: small;
    max-width: 90vw;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    padding-top: 3rem; 
    margin-top: 0;
    max-height: calc(85vh - 3rem); 
    overflow-y: auto;
    padding-bottom: 3rem;
  }

  .section#links {
    align-items: flex-start;
    margin-top: 2vh; 
  }

  #contourContainer1{
    top: -15vh;
    margin-top: 15vh;
    scale: 1.5;
  }

  .copy-message {
    font-size: 1rem;
    max-width: 95vw;
    max-height: 30vh;
    padding: 0.75rem;
    word-break: break-word;
    text-align: center;
    left: 2vw;
    right: 2vw;
    top: 2vh;
    bottom: 2vh;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  #about {
    padding-top: 0;
    align-items: flex-start;
    padding-top: 8vh;
  }
  
  #about .content-wrapper {
    max-height: 70vh;
    padding-top: 0.5rem;
    max-width: 90vw;
    padding-left: 1vw;
    padding-right: 1vw;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    column-gap: 2vw;
  }
  
  #about .content-wrapper p {
    width: calc(50% - 2vw);
    margin-bottom: 1vh;
    font-size: calc(0.7rem + 0.2vw);
    line-height: 1.2;
    text-align: justify;
    padding-right: 1vw;
  }
  
  #name {
    font-size: 1.25rem;
    top: 0.5rem;
  }
  
  .page-title {
    font-size: 0.9rem;
    top: 3rem;
  }
}

@media (max-width: 480px) {
  #about .content-wrapper {
    max-width: 95vw;
    padding: 1vh 2vw;
    padding-top: 3rem;
  }

  .copy-message {
    font-size: 0.9rem;
    max-width: 98vw;
    max-height: 25vh;
    padding: 0.5rem;
  }
}

@media (max-height: 500px) {
  #about {
    align-items: flex-start;
    padding-top: 5vh;
  }
  
  #about .content-wrapper {
    max-height: 80vh;
    padding-top: 0.5rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items:flex-end;
    justify-content: flex-start;
    column-gap: 1vw;
  }
  
  #about .content-wrapper p {
    width: calc(50% - 2vw);
    margin-bottom: 1vh;
    font-size: calc(0.7rem + 0.2vw);
    line-height: 1.2;
    text-align: justify;
    padding-right: 1vw;
  }
  
  #name {
    font-size: 1.2rem;
    top: 0.5rem;
  }
  
  .page-title {
    font-size: 0.9rem;
    top: 2.75rem;
  }
}


.vis-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  filter: brightness(0.85) drop-shadow(.25vw -.5vh 0px #ffffff) contrast(0.5) drop-shadow(-.25vw .5vh 0px #ff00ff) contrast(0.9);
  image-rendering: pixelated;

}

#overlay {
  position: fixed;
  user-select: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: #c25237;
  mix-blend-mode: exclusion;
  z-index: 9999;
  cursor: url('../cursor/arrow.cur'), auto;
}
