/* FONTS */

@font-face {
  font-family: 'Inter';
  src: url('/Inter.ttf') format('truetype');
}

@font-face {
  font-family: 'Pixel';
  src: url("/Pixel.ttf") format("truetype");
}

/* LAYOUT */

* {
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.pixel {
  font-weight: 800;
  font-family: "Pixel", monospace !important;
}

:root {
  --text: #e5f5eb;
  --middle-text: #b5c4bb;
  --sec-text: #909d95;
  --background: #04090c;
  --background2: #17232c;
  --header-bg: #2a56926e;
  --secondary-action: #1d2c30;
  --primary: #084a61;
  --secondary: #2b5152;
  --accent: #4ed6f1;
  --gradient-2: #4e6ff1;
  --gradient-shadow: #762adacf;
  --accent-shadow: #7aa0d142;
}

body {
  background-color: var(--background);
  color: var(--text);
  font-size: 125%;
  line-height: 1.5;
  margin: 0 auto;
  display: flex;
  padding: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content {
  margin-bottom: 2rem;
}

.text-normal {
  color: var(--text) !important;
}

.button {
  background-color: var(--background2);
  color: var(--text);
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: 2px dotted transparent;
  text-decoration: none !important;
}

.primary-button {
  background-color: var(--primary);
  color: var(--text);
  padding: 0.8rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease-in-out;
  border: 2px dotted transparent;
  text-decoration: none !important;
}

.button:hover,
.primary-button:hover {
  border: 2px dotted var(--accent);
  text-decoration: none !important;
}

.center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column {
  flex-direction: column;
}

.header-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  flex-direction: row;
  align-items: center;
}

.hero-small {
  font-size: 40px;
  font-weight: 800;
  font-family: "Pixel", monospace;
  background: linear-gradient(to right, var(--accent), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.small-hero-box {
  background-color: var(--background2);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  margin-top: 0.6em;
  gap: 3rem;
  border-radius: 0.5rem;
  border: var(--accent) 2px dashed;
}

.header-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.header-link:hover {
  color: var(--accent) !important;
  text-decoration: none !important;
}

span,
img {
  user-select: none;
}

.full-height {
  height: 90vh;
}

.sec-text {
  color: var(--sec-text);
}

.no-pad {
  padding: 0 !important;
  margin: 0 !important;
}

/* NAVIGATION */


.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5em;

  a {
    color: var(--text);
    text-decoration: none;
    display: block;

    &:hover {
      text-decoration: underline;
    }
  }

  .active {
    color: var(--accent);
    text-decoration: underline;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: bold;
    color: var(--text);
  }

  img {
    width: 1.8em;
    height: 1.8em;
  }
}

.mobile-nav {
  display: none;
}

@media screen and (max-width: 48rem) {

  .site-header {
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .site-nav,
  .main-menu {
    display: none;
  }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25em;

    .header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    button {
      cursor: pointer;
      font-size: 100%;
      background: none;
      border: none;
      color: var(--text);
      height: 30px;
      padding: 0;
      margin: 0;
    }

    .logo,
    img {
      width: 1.8em;
      height: 1.8em;
    }
  }

  body {
    font-family: Arial, sans-serif;
  }

  .menu {
    position: fixed;
    top: 0;
    left: calc(-250px - 2em);
    width: 250px;
    height: 100%;
    background-color: var(--background2);
    color: white;
    padding: 1em;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    z-index: 100;

    a {
      text-decoration: none;
      color: var(--text);
    }

    a:hover {
      text-decoration: underline;
      color: var(--accent);
    }
  }

  .menu.open {
    left: 0;
  }
}

/* LISTS */

footer {
  font-size: 90%;
  font-family: "Inter";
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0em 1.5em;

  a {
    padding: 0 !important;
    color: var(--accent);
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }

  p {
    padding: 0 !important;
  }

  .active {
    text-decoration: underline;
  }
}

.spacer {
  height: 5em;
}