@import url("https://fonts.googleapis.com/css2?family=Iceland&family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap");

:root {
  font-size: 16px;
  font-family: "Inria Sans", sans-serif;

  --accent-col: #fd02a1;
  --accent-col2: #0bfef9;

  --text-col: #1e1e1e;
  --faded-text-col: #a0a0a0;
  --secondary-text-col: #3366ff;

  --bg-col: #f9f9f9;
  --panel-col: #ddd;
  --panel-outline: #999;
  --overlay-col: #0002;
  --overlay-strong-col: #0004;

  --navbar-bg-col: #1a1a1a;
  --navbar-selected-col: #444;
  --navbar-text-col: #fff;
}

.darkmode {
  --accent-col: #FF4C4C;
  --accent-col2: #00FFFF;

  --text-col: #ebecf0;
  --faded-text-col: #ebecf077;
  --secondary-text-col: #bbb;

  --bg-col: #0e1015;
  --panel-col: #20232A;
  --panel-outline: #fff3;
  --overlay-col: #fff2;
  --overlay-strong-col: #fff4;

  --navbar-bg-col: #0e1015;
  --navbar-selected-col: #fff2;
  --navbar-text-col: #fff;
}

.truedark {
  --accent-col: #e02c3b;
  --accent-col2: #2b90d9;

  --text-col: #ebecf0;
  --faded-text-col: #ebecf077;
  --secondary-text-col: #ffd700;

  --bg-col: #000;
  --panel-col: #141414;
  --panel-outline: #fff3;
  --overlay-col: #fff2;
  --overlay-strong-col: #fff4;

  --navbar-bg-col: #000000;
  --navbar-selected-col: #fff2;
  --navbar-text-col: #fff;
}

html {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  background: var(--bg-col);
  color: var(--text-col);
}

body {
  margin: 0 auto;
  padding: 0 25px;
  font-family: "Inria Sans", sans-serif;
}

h1,
h2,
h3,
h4,
p,
a,
textarea,
input,
li {
  font-family: "Inria Sans", sans-serif;
  color: var(--text-col);
}

.logo {
  font-family: "Inria Sans", sans-serif;
  font-size: 2.4rem;
  color: var(--navbar-text-col);
}

.logo::after {
  content: ".";
  font-size: 5rem;
  color: #ef5350;
  line-height: 0;
}

.accent-col {
  color: var(--accent-col);
}

.half-transparent {
  opacity: 0.5;
}

.btn {
  width: fit-content;
  border: 2px solid var(--text-col);
  color: var(--text-col);
  padding: 0.3rem 0.7rem;
  border-radius: 0.3rem;
  text-decoration: none;
  font-size: 1.3rem;
  margin: 0.4rem 0;
  transition: all 0.2s ease-in-out;
}

.full-cover-abs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.btn:hover {
  opacity: 1;
  background: var(--text-col);
  color: var(--bg-col);
}

.neon-hover:hover {
  box-shadow: -5px -5px 5px 5px rgba(255, 100, 100, 0.15),
    5px 5px 5px 5px rgba(100, 255, 255, 0.15),
    -5px 5px 5px 5px rgba(100, 100, 255, 0.15),
    5px -5px 5px 5px rgba(100, 255, 100, 0.15);
}

[hover-tooltip] {
  position: relative;
}

[hover-tooltip]:hover::after {
  font-family: "Inria Sans", sans-serif;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  content: attr(hover-tooltip);
  background: #000c;
  color: white;
  padding: 0.2rem;
  border-radius: 0.3rem;
}

.back-nav {
  position: fixed;
  top: 0;
  left: 0;
  margin: 0.5rem;
}

.back-nav a {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 1.5rem;
  color: var(--text-col);
  text-decoration: none;
  margin-right: 0.5rem;
}

@media (max-width: 600px) {
  .mobile-only {
    display: block;
  }
  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 600px) {
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: block;
  }
}
