@import url('defaults.css');
@import url('basic2.css');

:root {
  --accent: #11d821;
  --accent2: #00ff88;
  --base: #000;
  --base_accent: #d3d3d3;

  --body-padding: none;

  --wrapper-width: 100%;

  --tooltip-width: 120px;

  --animation-delay: .1s;
}

/*basic stuff*/
body {
  background:
      linear-gradient(180deg, #000000 30%, #00ffea00) fixed,
      url("/!assets/!core/bg.webp") fixed;
  color: var(--base_accent);
  animation: rainbow 100s linear infinite;
}

/*main layout*/
#wrapper {
  background: linear-gradient(0deg, #000000e7 5%, #00000081 100%);
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  display: flex;
}

#main {
  width: 55vw;
  display: flex;
  gap: 2dvb;
  flex-wrap: wrap;
  justify-content: center;

}

#nav {
  top: 0;
  right: 0;
  position: fixed;
  font-size: 2dvb;
  padding: 1em;
  z-index: 100;
  width: fit-content;
  background: var(--base);
  border-bottom-left-radius: 1em;
}

#nav a {
  display: block;
  margin-bottom: 5px;
}

/* character icons */
.char {
  width: 12vw;
  border: ridge .4dvb;
  background: #fff; /*default border colour*/
  box-shadow: #000 5px 0px 10px 3px;
  animation: float2 2s ease-in-out infinite;
}

.char img {
  width: 100%;
}

.char img:hover {
  filter: brightness(60%);
}

.rk-0 {
  color: blue; 
  background: linear-gradient(180deg, blue, black 70%);
  animation-delay: var(--animation-delay);
}

.intramatrix {
  color: #ccc; 
  background: url("https://files.pressingz.net/.site/external-source/bg/colourful.crackle.gif");
  animation-delay: calc(var(--animation-delay) + .1s);
}

.terminal {
  color: #3e3e3e; 
  background: url(/!assets/!core/terminal/BG.webp);
  animation-delay: calc(var(--animation-delay) + .2s);
}

.jigsaw {
  background: url("https://files.pressingz.net/.site/external-source/bg/colourful.grid.gif");
  background-size: 20px;
  animation-delay: calc(var(--animation-delay) + .3s);
}

/*animations */
/*this is the main background animation, specific to only 
this page, at least for now.*/
@keyframes rainbow {
  0%, 100% {
      background-position: 0 0;
      backdrop-filter: saturate(0.8) blur(8px) brightness(20) contrast(3) hue-rotate(0deg);
  }

  50% {
      background-position: 100% 400%;
      backdrop-filter: saturate(0.8) blur(6px) brightness(20) contrast(3) hue-rotate(2880deg);
  }
}

/*sizing compatability*/
@media screen and (max-width: 750px) {
  #main {width: 100vw;}
  .char {width: 20vw;}
}
