@font-face {
  font-family: "Agave";
  src: url("assets/fonts/AgaveNerdFontPropo-Regular.ttf");
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colors */
  --dark: #000;
  --dark-sub: #181818;
  --light: #fff;
  --light-sub: #808080;
  --accent1: #0549a4;
  --accent2: #da578b;
  --accent3: #1ab2e7;

  --font-main: "Agave", "Agave Nerd Font Propo Regular";

  --font-size-small: 16px;
  --font-size-medium: 20px;
  --font-size-large: 32px;
}

* {
  font-family: var(--font-main);
  font-size: var(--font-size-small);

  color: var(--light);

  margin: 0;
  padding: 0;

  line-height: 1.5;
}

#overlay {
  position: fixed;
  inset: 0;
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and 11 */
  user-select: none; /* Standard syntax */
}

#overlay p {
  font-size: var(--font-size-large);
}

#overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

#overlay p.text-exit {
  animation: bumpAndFadeOut 2.5s cubic-bezier(0, 0, 0.25, 1) forwards;
}

@keyframes bumpAndFadeOut {
  from {
    opacity: 1;
    transform: scale(1.25);
  }
  to {
    opacity: 0;
    transform: scale(1);
  }
}

.no-scroll {
  overflow: hidden;
}

body {
  color: var(--light);
  background-color: #000;

  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  min-height: 100vh;

  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-image:
    /* linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), */ url("assets/images/background");
  background-size: cover;
  background-position: center;
  z-index: -1;

  /* filter: blur(8px); */

  transform: translateY(100%);
}

body.content-loaded::before {
  animation: slideUp 1s cubic-bezier(0, 1, 0.5, 1) forwards;
}

@keyframes slideUp {
  from {
    transform: translateY(100%) scale(1.005);
  }
  to {
    transform: translateY(0) scale(1.005);
  }
}

h1,
h2 {
  margin-bottom: 4px;
}

h1 {
  font-size: var(--font-size-large);
  color: var(--accent2);
}
h2 {
  font-size: var(--font-size-medium);
  color: var(--accent3);
}

p:not(:last-child),
li:last-child {
  margin-bottom: 8px;
}

li {
  list-style-position: inside;
}

#content-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  width: 100%;
  max-width: 800px;

  opacity: 0;

  padding: 48px 0;
}

.inline-flex {
  display: flex;
}

body.content-loaded #content-area {
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10vh);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background-color: color-mix(in srgb, var(--dark), transparent 37%);
  box-shadow: 0 0 16px color-mix(in srgb, #000, transparent 37%);

  border: 2px solid var(--accent2);

  width: 100%;
  border-radius: 16px;
  padding: 16px;

  backdrop-filter: blur(10px);
}

.card-inline {
  width: auto;
  display: flex;
  align-items: center;
}

img {
  width: 100%;
}
.card-inline img {
  margin: 16px;
  margin-right: 24px;
}

.card-inline h1 {
  color: var(--light);
}
