/*Todo

- make the text animations
- choose a background or maybe dark
- cursor

*/


* {
    cursor: url('cursor.png'), auto !important;
}

a, button {
    cursor: url('mini-link.png'), pointer !important;
}

/* cursor blinking animation */
.cursor {
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

/*Font part*/
.stix-two-text {
  font-family: "STIX Two Text", serif;
  font-optical-sizing: auto;
  font-weight: 400; 
  font-style: normal;
}

/*turn off the ugly link stuff*/
a {
  color:rgb(255, 255, 255);
  text-decoration: none;
  margin: 0 50px;
  font-size: 2.5vw;
}


/*index main links site*/

body {
  background-color: rgb(0, 0, 0);
  font-family: "STIX Two Text", Verdana, serif;

}


/*moon stuff*/
#moonCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/*glowing effect for text links*/
.main {
  text-shadow: 0px 0 5px rgb(255, 255, 255), 
               0px 0 10px rgba(255, 255, 255, 0.548),
               0px 0 15px rgba(255, 255, 255, 0.295);
}

/* ---- vintage texture stuff ---- */
.main::after {
  content: "";
  position:absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgb(25, 25, 30);
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  animation: flicker 0.1s infinite;
}

@keyframes flicker {
  0% { opacity: 0.008; }
  5% { opacity: 0.01; }
  10% { opacity: 0.008; }
  15% { opacity: 0.06; }
  20% { opacity: 0.008; }
  25% { opacity: 0.05; }
  30% { opacity: 0.04; }
  35% { opacity: 0.04; }
  40% { opacity: 0.008; }
  45% { opacity: 0.05; }
  50% { opacity: 0.06; }
  55% { opacity: 0.009; }
  60% { opacity: 0.007; }
  65% { opacity: 0.04; }
  70% { opacity: 0.03; }
  75% { opacity: 0.01; }
  80% { opacity: 0.04; }
  85% { opacity: 0.045; }
  90% { opacity: 0.055; }
  95% { opacity: 0.01; }
  100% { opacity: 0.008; }
}

.main::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
              linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 2px, 3px 100%;
  z-index: 2;
  pointer-events: none;
}

/* organization for links */
.links {
  display: flex;
  flex-direction:column;
  align-items:self-start;
  position: absolute;
  top: 65%;
  letter-spacing: 10px;
  padding: 0 70px;
  box-sizing: border-box;
}

/* individual links */
.links a {
  text-decoration: none;
  color: #fff;
  margin: 0 50px;
  transition: color 0.7s ease, filter 0.7s ease;
  animation: textShadow 3s infinite;
}

/* animacion pal hover */
.links a:hover {
  color:rgba(122, 63, 63, 0.9);
  animation: textShadow2 3s infinite;
}

@keyframes textShadow2 {
  0%, 100% {
    text-shadow: 0px 0 5px rgba(255, 0, 0, 0.5), 
                 0px 0 10px rgba(255, 96, 96, 0.8);
  }
  50% {
    text-shadow: 0px 0 20px rgba(170, 0, 0, 0.7), 
                 0px 0 35px rgb(124, 0, 0), 
                 0 0 10px #fff;
  }
}


