@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  font-size: 1rem;
  color: var(--zinc-900);
}

/* Global */
:root {
  /* Primary Colors */
  --primary: #6d28d9;
  --secondary: #d4d4d8;
  --accent: #ffc107;
  --background: #f8f9fa;
  --text: #fff;
  --white: #fff;
  --black: #18181b;

  /* Modes */
  --primary-light: ;
  --primary-dark: ;

  /* Violet Color Scale */
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-300: #c4b5fd;
  --violet-400: #a78bfa;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-800: #5b21b6;
  --violet-900: #4c1d95;
  --violet-950: #2e1065;


  /* Zinc Color Scale */
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-900: #18181b;

  /* Red Color Scale */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-300: #fca5a5;
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;

  /* Green Color Scale */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;

  /* Message Colors */
  --success-text: #166534;
  --success-border: #166534;
  --success-bg: #dcfce7;

  --warning-text: #fef9c3;
  --warning-border: #a16207;
  --warning-bg: #a16207;

  --error-text: #b91c1c;
  --error-border: #b91c1c;
  --error-bg: #fee2e2;

  --info-text: #1d4ed8;
  --info-border: #1d4ed8;
  --info-bg: #dbeafe;

  /* Box Shadow */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background-color: #fff;
}

a {
  color: var(--black);
}

/* Loaders */
#loader {
  min-height: 100vh;
  min-width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

#spinner {
  min-width: 5em;
  min-height: 5em;
  border: 0.8em solid var(--zinc-300);
  border-radius: 50%;
  border-bottom-color: var(--violet-400);
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  display: inline-block;
}

@-webkit-keyframes spin {
  0% {
    -webkit-animation: rotate(0deg);
  }
  100% {
    -webkit-animation: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#content {
  display: none;
}

main {
  margin-top: 4.5em;
  min-width: 100vw;
  min-height: calc(100vh - 4.5em);
}

main.login-container {
  margin-top: 0;
  max-height: 100vh;
}

/* section {
  padding: 2.5em 1em;
  display: flex;
  flex-direction: column;
} */

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.1rem;
}

h4 {
  font-size: 1rem;
}

h5 {
  font-size: 0.8rem;
}

h6 {
  font-size: 0.6rem;
}

/* p {
  color: var(--zinc-700);
} */

@media (min-width: 768px) {
  h1 {
    font-size: 4.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  h4 {
    font-size: 1rem;
  }

  h5 {
    font-size: 0.8rem;
  }

  h6 {
    font-size: 0.6rem;
  }
}
