:root {
  --bg: #000000;
  --bg-light: #eef2f6;
  --bg-accent: #272727;
  --bg-accent-light: #474747;
  --bg-accent-light-hover: #5f5f5f;
  --panel: #eef2f6;
  --white: #ffffff;
  --text: #111111;
  --muted: #737373;
  --line: #e7e7e7;
  --lime: #e0fd59;
  --soft-green: #dfe7d8;
  --soft-blue: #e2edf5;
  --soft-purple: #d8d0ff;
  --accent: #8b7dff;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
}

@font-face {
  font-family: 'Chillax';
  src: url('../assets/fonts/chillax/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../assets/fonts/montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  cursor: default;
}

body {
  margin: 0;
  font-family: 'Chillax', sans-serif;
  background: var(--bg-light);
  color: var(--text);
  overflow: hidden;
}

/* CONTENT */

section.content {
  height: calc(100svh - 140px);
  width: calc(100%);
  background-color: white;
  border-radius: 35px;
  padding: 20px;
  overflow: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* CONTENT END */
/* HERO */

.hero {
  height: 30vh;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 25px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-content {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(223, 253, 89, 0.4);
  color: var(--lime);
  font-size: 4rem;
  text-shadow: 0 0 60px var(--bg-accent-light);
}

.hero-content-text {
  display: block;
  white-space: nowrap;
  display: inline-block;
  white-space: nowrap;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  letter-spacing: 1px;
  -webkit-font-smoothing: antialiased;

  animation: fadeUp 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1.5s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    letter-spacing: 1px;
  }
  80% {
    opacity: 1;
    transform: translateY(0) scale(1.8);
    letter-spacing: 60px;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: 1px;
  }
}

.hero-content-text.noanimation {
  animation: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  letter-spacing: 1px;
}

/* HERO END */
/* SUBPAGE FILTER */

.subpage-filter-wrapper {
  height: auto;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0px;
}

label.subpage-filter {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--muted);
  font-size: .8rem;
  border: 1px solid var(--bg-light);
  background: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  padding-bottom: 0;
}

label.subpage-filter.start {
  border-radius: 0;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

label.subpage-filter.center {
  border-radius: 0;
  border-left: none;
  border-right: none;
}

label.subpage-filter.end {
  border-radius: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

select.subpage-filter {
  all: unset;
  width: fit-content;
  min-width: 300px;
  max-width: 600px, 100%;
  color: var(--bg-accent);
  font: inherit;
  font-size: 1rem;
  padding: 10px 15px;
  padding-top: 30px;
  margin: -15px;
  margin-top: -30px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .subpage-filter-wrapper {
    width: 100%;
    flex-direction: column;
    gap: 0px;
    padding: 20px 10px;
  }

  label.subpage-filter {
    width: 100%;
  }

  label.subpage-filter.start {
    border-radius: 0;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  label.subpage-filter.center {
    border-radius: 0;
    border: 1px solid var(--bg-light);
    border-top: none;
    border-bottom: none;
  }

  label.subpage-filter.end {
    border-radius: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  select.subpage-filter {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

/* SUBPAGE FILTER END */
/* LIGHT TABLE */

.table-wrapper {
  height: fit-content;
  width: calc(100% + 40px);
  margin-left: -20px;
  overflow-y: visible;
  overflow-x: scroll;
  flex-shrink: 0;
}

table {
  height: fit-content;
  width: max-content;
  min-width: calc(100% - 40px);
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 20px;
  flex-shrink: 0;
  flex-grow: 0;
}

thead tr {
  background-color: var(--lime);
  color: var(--bg-accent);
  text-align: left;
  font-weight: normal;
}

thead tr:hover {
  background-color: var(--lime);
}

th, td {
  padding: 10px 15px;
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--bg-light);
  font-weight: normal;
  transition: all ease .3s;
}

tbody tr:hover {
  background-color: var(--bg-light);
}

tbody tr:last-of-type {
  border-bottom: none;
}

/* LIGHT TABLE END */
/* LEGAL */

.legal-content {
  height: auto;
  width: 100%;
  max-width: 1000px;
  margin-left: 50%;
  transform: translateX(-50%);
  padding: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--bg-accent);
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: .9rem;
  margin-top: 20px;
}

.legal-section {
  width: 100%;
  padding: 20px;
  padding-right: 0;
  border-left: 2px solid var(--lime);
}

.legal-title {
  width: fit-content;
  background-color: var(--lime);
  font-weight: 500;
  margin-top: -20px;
  margin-left: -20px;
  padding: 10px 20px;
  margin-bottom: 20px;
}

.legal-subtitle {
  font-weight: 500;
  margin-bottom: 5px;
}

.legal-text {
  font-weight: 400;
}

a.legal-link {
  color: var(--bg-accent-light);
  cursor: pointer;
  transition: all ease .3s;
}

a.legal-link:hover {
  color: var(--bg-accent-light-hover);
}

/* LEGAL END */

@media (max-width: 768px) {
  a.header-logo {
    color: var(--bg-accent);
  }

  @keyframes pump {
    0%   { 
      transform: scale(1) translateY(0);
      filter: blur(0);
      color: var(--bg-accent);
    }
    15%  { 
      transform: scale(1.15) translateY(-3px);
      filter: blur(3px);
      color: var(--lime);
    }
    30%  { 
      transform: scale(1) translateY(0);
      filter: blur(0);
      color: var(--bg-accent);
    }
    100% { 
      transform: scale(1) translateY(0);
      filter: blur(0);
      color: var(--bg-accent);
    }
  }

  .hero-content {
      font-size: 2rem;
    }
}