html {
  background: #0d0d0d;
  color: #ffffff;
  cursor: url('../cursor/toro.cur'), auto;
  height: 100vh;
  width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow-x: hidden;
}

h1 {
  font-family: 'Comic Sans MS';
  margin: 50px;
}

/* new link */
a:link {
  color: plum;
}

/* visited link */
a:visited {
  color: plum;
}

/* hovering over link */
a:hover {
  color: hotpink;
}

/* selected link */
a:active {
  color: blueviolet;
}

.contribute {
  font-size: 12px;
}

#headerpic {
  margin-top: -85px;
  height: 150px;
}

bts {
  margin-bottom: 40px;
}

.navbar {
  list-style-type: none;
  margin: 20px;
  padding: 0;
  overflow: hidden;
  background-color: #333333;
  border-radius: 20px;
}

.navlist {
  float: left;
}

.navlink {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#mailicon {
  margin-top: 10px;
  margin-bottom: -10px;
}

#contributors {
  height: 40px;
}

#footertext {
  font-size: 12px;
}

/* marquee styles ^_^ */
.marquee {
  --gap: 0.25rem;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* pauses animation for my silly lil fellas */
@media (prefers-reduced-motion: reduce) {
  .marquee__content {
    animation-play-state: paused !important;
  }
}

.marquee__top {
  position: fixed;
  left: 0;
  top: 0;
}

.marquee__bot {
  position: fixed;
  left: 0;
  bottom: 0;
}

/* enable animation */
.enable-animation .marquee__content {
  animation: scroll 50s linear infinite;
}

/* reverse animation */
.marquee__reverse .marquee__content {
  animation-direction: reverse;
}

/* pause on hover */
.enable-animation.marquee:hover>* {
  animation-play-state: paused;
}

/* size parent based on content. parent width = both */
.marquee__fit-content {
  max-width: fit-content;
}

/* a fit-content sizing fix i stole lol */
.marquee__pos-absolute .marquee__content:last-child {
  position: absolute;
  top: 0;
  left: 0;
}

/* enable position absolute animation on duplicate */
.enable-animation .marquee__pos-absolute .marquee__content:last-child {
  animation-name: scroll-abs;
}

/* keyframe animation to create illusion of infinite loop by duping container */
@keyframes scroll-abs {
  from {
    transform: translateX(calc(100% + var(--gap)));
  }
  
  to {
    transform: translateX(0);
  }
}

/* mobile styles */
@media screen and (max-width: 800px) {
  h1 {
    font-size: 28px;
  }
  /* shrinks navbar proportions */
  .navbar {
    margin: 10px;
  }
  
  .navlink {
    padding: 10px 8px;
  }
  
  /*
  honestly more of a temporary fix, but to prevent the marquee 
  from overlapping with content, the bottom navbar is sticky 
  when reaching end of page! this is Fine for right now. it Works.
  */
  .marquee__top {
    position: fixed;
    top: 0;
  }
  
  .marquee__bot {
    position: sticky;
    bottom: 0;
  }
}

.streetpass {
  padding-top: 2px;
  padding-bottom: 2px;
  line-height: 1;
  overflow: visible;
}

/*
creates a rainbow animation effect to apply to text
*/
.rainbow {
  background: linear-gradient(270deg, red, orange, yellow, green, blue, indigo, violet);
  background-size: 1400% 1400%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbow 8s ease infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*
  !!! dark mode settings, to be configured later !!!
@media (prefers-color-scheme: dark) {
  html {
    background: #0d0d0d;
    color: #ffffff;
  }
  // new link
  a:link {
    color: plum;
  }
  
  // visited link
  a:visited {
    color: plum;
  }
  
  // hovering over link
  a:hover {
    color: hotpink;
  }
  
  // selected link
  a:active {
    color: blueviolet;
  }
}
*/