/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Coral+Pixels&family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.cdnfonts.com/css/open-dyslexic');


/* speculative fonts */

@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&family=Pixelify+Sans:wght@400..700&family=Schoolbell&family=Silkscreen&family=ZCOOL+KuaiLe&display=swap');

body {
  cursor: url('assets/syringe.cur'), auto;
}

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* 

--link-color is too pink, set current link color to the active color, vice versa


*/

:root {
  /* Background Colors: */
  --background-color: #FAFAFA;
  --content-background-color: transparent;
  --sidebar-background-color: transparent;

  --text-color: #000000;
  --sidebar-text-color: #ffffff;
  --link-color: #febfe6;
  --link-color-hover: #ca7dac;

  --font: 'Coral Pixels', sans-serif;
  --heading-font: 'Coral Pixels', sans-serif;
  --subtitle-font: 'Silkscreen', sans-serif;
  --body-font: 'Schoolbell', sans-serif;
  /* previously monospace */
  --heading-weight: 400;
  --font-size: 16px;

  --margin: 5px;
  --padding: 5px;
  --border: none;
  --round-borders: 0px;
  --sidebar-width: 250px;
  --noise-bg: url("assets/noise.svg");
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--body-font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("assets/noise.svg");
}

::selection {
  background: rgba(0, 0, 0, 0.2);
}

mark {
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  /* text-decoration: none; */
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */

.layout {
  width: 1200px;
  display: grid;
  grid-gap: var(--margin);
  grid-template: "header" auto "main" auto "footer" auto / auto;
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */



.new-header {
  grid-area: header;
  border-radius: var(--round-borders);
  overflow: hidden;
  border: 2px solid rgba(255, 165, 228, 0.8);
  border-top: none;
  display: flex;
  flex-direction: column;
}

.header-rainbow-decorator {
  height: 6px;
  background: linear-gradient(to right, #d4b1c3, #d0b2e6, #d4b1c3);
}

.header-main {
  display: flex;
  padding: 20px;
  align-items: stretch;
  gap: 25px;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  background-image: url("assets/noise.svg");
}


.header-pfp {
  width: 200px;
  height: auto;
  object-fit: cover;
  border: 2px solid #ea9bc3;
}

.header-lock-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  filter: drop-shadow(0 0 5px #000000);
}

.header-text-area {
  display: flex;
  flex-direction: column;
}

.header-title {
  font-size: 3em;
  color: #e8b0eb;
  /* neon green */
  text-shadow: 4px 4px 0px #000;
  margin: 0;
  font-family: 'Bitcount Single', sans-serif;
  font-weight: 400;
}

.new-header a {
  text-decoration: none;
}

.header-subtitle {
  color: #ccc;
  font-size: 1.1em;
  margin: 5px 0;
  font-family: 'Silkscreen', sans-serif;
}

.header-flashing {
  color: #ffbde1;
  animation: flash 1s infinite;
  font-weight: bold;
  font-family: 'Pixelify Sans';
  margin: 5px 0;
}

@keyframes flash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.header-separator {
  height: 1.5px;
}

.pink-separator {
  background-color: #ffb6c1;
  /* pastel pink */
}

.header-marquee-container {
  overflow: hidden;
  white-space: nowrap;
  padding: 2px 0;
  background-color: rgba(18, 10, 19, 0.8);
  backdrop-filter: blur(5px);
  color: var(--link-color);
  font-family: 'ZCOOL KuaiLe', monospace;
  font-size: 1.1em;
  display: flex;
}

.header-marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  min-width: 200%;
}

.header-marquee-content span {
  flex-shrink: 0;
  padding-right: 50px;
  /* space between repetitions */
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
  background-image: url("assets/noise.svg");
  background-size: 200px 200px;
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;

  font-family: 'Pixelify Sans';
}

nav>ul li>a {
  display: inline-block;
  padding: 5px 10px;
}

.new-header nav {
  margin-bottom: 0;
  background-color: rgba(40, 40, 40, 0.7);
  backdrop-filter: blur(5px);

}

.new-header nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 15px;
  margin-right: 15px;
  gap: 15px;
  font-size: 1.2em;
}

.new-header nav ul li:first-child>a {
  padding-left: 0;
}

.new-header nav ul li.active a {
  background-color: rgba(255, 182, 193, 0.3);
  color: #ffb6c1;
  /* font-weight: bold; */
  padding: 8px 12px;
  /* border-radius: 4px; */

  /* maybe?
  border: 2px solid rgba(229, 155, 166, 0.53);
  border-top: none;
  border-bottom: none;*/
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p {
  margin: 0.75em 0;
}

main h1,
main h2,
main h3 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child {
  margin-top: 0;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template: "header" auto "main" auto "footer" auto / 1fr;
  }

  main {
    padding: 15px;
  }
}

/* ==========================
   BACKGROUND ANIMATION
   ========================== */
html:after {
  animation: grain 8s steps(10) infinite;
  background-image: url('assets/ravens.gif');
  content: "";
  height: 400%;
  left: -40%;
  opacity: .2;
  position: fixed;
  top: -110%;
  width: 400%;
  pointer-events: none;
}

@keyframes grain {
  70% {
    transform: translate(0%, 15%)
  }
}

/* ==========================
   SPLASH CONTAINER (HOME)
   ========================== */
.splash-container {
  width: 100%;
  border-radius: 5px;
  border: 2px solid #ffb6c1;
  background-color: #5f4254cf;
  backdrop-filter: blur(5px);
  background-image: url("assets/noise.svg");
  background-size: 400px 400px;
  background-blend-mode: overlay;
  position: relative;
  padding: 40px 20px 20px 20px;
  margin-top: 30px;
  color: var(--text-color);
}

.splash-welcome-title {
  position: absolute;
  top: -20px;
  left: 20px;
  background-color: rgb(255 245 247);
  padding: 5px 15px;
  border: 2px solid #ffb6c1;
  font-weight: bold;
  text-shadow: 1px 1px #ffc8c8;
  color: #ff83d0;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-size: 1.5em;
}

.splash-intro-primary {
  /* Style placeholder */
  font-size: 1.5em;
  color: #ddd;
  margin-bottom: 15px;
}

.splash-intro-secondary {
  /* Style placeholder */
  margin-bottom: 15px;
  font-size: 1.3em;
  color: #ddd;
}

.splash-separator-container {
  position: relative;
  margin: 30px 0 20px 0;
}

.splash-separator-line {
  border: 0;
  border-top: 2px dashed rgba(255, 182, 193, 0.5);
  width: 100%;
}

.splash-separator-title {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  background-color: rgb(255 255 255 / 90%);
  padding: 2px 10px;
  border: 1px solid #ffb6c1;
  color: #ffb6c1;
  font-size: 1.1em;
  font-family: var(--heading-font);
}

.splash-paragraph-alt {
  /* Style placeholder */
  color: #ddd;
  line-height: 1.4;
  font-size: 1.1em;
  margin-bottom: 15px;
}

.splash-content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.splash-text-column {
  flex: 1;
}

.splash-image-column {
  flex-basis: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.splash-image-column img {
  width: 100%;
  height: auto;
  border: 2px solid #ffb6c1;
  border-radius: 4px;
  background-color: #ffe6eb;
}