@layer global {
  :root {
    --red-100: #ffeced;
    --red-200: #ffc7c8;
    --red-300: #ff8e91;
    --red-400: #ff696c;
    --red-500: #ff4347;
    --red-600: #cc3639;
    --red-700: #af2d2c;
    --red-800: #661b1c;
    --red-900: #330d0e;
    --green-100: #d9f4d5;
    --green-200: #b3e8ac;
    --green-300: #8edd82;
    --green-400: #68d159;
    --green-500: #42c62f;
    --green-600: #359e26;
    --green-700: #216318;
    --green-800: #143b0e;
    --green-900: #071405;
    --blue-100: #d9e9f8;
    --blue-200: #c6dff5;
    --blue-300: #b3d4f1;
    --blue-400: #8cbeea;
    --blue-500: #66a9e3;
    --blue-600: #4093dc;
    --blue-700: #3376b0;
    --blue-800: #265884;
    --blue-900: #1a3b58;
    --gray-100: #e7e7e7;
    --gray-200: #cfcfcf;
    --gray-300: #b7b7b7;
    --gray-400: #9f9f9f;
    --gray-500: #878787;
    --gray-600: #6c6c6c;
    --gray-700: #515151;
    --gray-800: #363636;
    --gray-900: #1b1b1b;
    --yellow-100: #fdf8e6;
    --yellow-200: #f8e9b3;
    --yellow-300: #f3da80;
    --yellow-400: #eecb4d;
    --yellow-500: #e6b400;
    --yellow-600: #b89000;
    --yellow-700: #8a6c00;
    --yellow-800: #5c4800;
    --yellow-900: #2e2400;
  }
  nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }
  nav > a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    background-color: var(--green-600);
    border-radius: 10%;
    padding: 1rem;
    margin-block: 1rem;
  }
}
@layer module {
  .button {
    --_background: var(--background, white);
    --_color: var(--color, var(--gray-500));
    --_shadow: var(--shadow, var(--gray-200));
    --_stroke: var(--stroke, var(--gray-200));
    background-color: var(--_background);
    color: var(--_color);
    box-shadow: 0 5px var(--_shadow);
    border-color: var(--_stroke);
    position: relative;
    min-width: 100px;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    border-width: thin;
    border-style: solid;
    font-family: Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    appearance: none;
  }
  .button__x {
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
  }
  .button:active:not(.-inactive) {
    box-shadow: none;
    transform: translate(0, 3px);
  }
  .button--primary {
    --background: var(--green-500);
    --color: white;
    --shadow: var(--green-700);
    --stroke: var(--green-500);
  }
  .button--incorrect {
    --background: var(--red-500);
    --color: white;
    --shadow: var(--red-600);
    --stroke: var(--red-500);
  }
  .button--inactive {
    --background: var(--gray-200);
    --color: var(--gray-700);
    --shadow: var(--gray-200);
    --stroke: var(--gray-200);
    cursor: not-allowed;
  }
  .quiz-footer {
    --_background: var(--background, white);
    --_text: var(--text, black);
    background: var(--_background);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 3rem 2rem;
    gap: 10rem;
    border-top: 2px solid var(--gray-100);
  }
  .quiz-footer--correct {
    --background: var(--green-200);
    --text: var(--green-700);
  }
  .quiz-footer--incorrect {
    --background: var(--red-200);
    --text: var(--red-600);
  }
  @media (max-width: 600px) {
    .quiz-footer {
      gap: 1rem;
      flex-direction: column;
      padding: 1rem 2rem;
    }
  }
  .quiz-para {
    font-family: "Amiri";
    font-size: 4rem;
    overflow-y: auto;
    padding: 2rem 6rem;
    direction: rtl;
    text-align: justify;
    flex: 1 0 0;
  }
  .quiz-sen:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
  @media (max-width: 900px) {
    .quiz-para {
      font-size: 3rem;
      padding: 2rem 3rem;
    }
  }
  .progress-bar {
    --_background: var(--background, var(--gray-300));
    --_foreground: var(--foreground, var(--green-500));
    --_glow: var(--glow, rgba(255, 255, 255, 0.2));
    block-size: inherit;
    background-color: var(--_background);
    border-radius: 25px;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), inset 0 -1px 1px rgba(255, 255, 255, 0.3);
  }
  .progress-bar__value {
    block-size: 100%;
    border-start-start-radius: 25px;
    border-end-start-radius: 25px;
    background-color: var(--_foreground);
    overflow: hidden;
    position: relative;
  }
  .progress-bar__glow {
    position: absolute;
    inset-block-start: 25%;
    inline-size: 98%;
    inset-inline-start: 1%;
    block-size: 3px;
    background-color: var(--_glow);
    border-radius: 25px;
  }
  .progress-bar--complete {
    --foreground: var(--yellow-400);
  }
  .progress-bar--complete .progress-bar__value {
    border-radius: 25px;
  }
  #quiz-start .progress-bar, #quiz-sentence .progress-bar {
    direction: rtl;
    height: 1rem;
    width: 50%;
    margin: 0.5rem auto;
  }
  .quiz-sentence {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  .quiz-sentence__text {
    margin: 0;
    font-family: "Amiri";
    font-size: 5rem;
    direction: rtl;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
    padding-top: 1rem;
  }
  .quiz-sentence__cards {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  }
  @media (max-width: 600px) {
    .quiz-sentence__text {
      font-size: 3rem;
    }
    .quiz-sentence__cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      padding: 1rem;
      justify-items: center;
    }
  }
  .highlight {
    background-color: var(--gray-200);
  }
  .highlight--active {
    background-color: var(--blue-400);
  }
  .quiz-card {
    --_input-card-fill: var(--input-card-fill, white);
    --_input-card-stroke: var(--input-card-stroke, var(--gray-200));
    --_input-card-shortcut: var(--input-card-shortcut, var(--gray-300));
    --_input-card-color: var(--input-card-color, black);
    background-color: var(--_input-card-fill);
    border-radius: 12px;
    border: 2px solid var(--_input-card-stroke);
    box-shadow: 0 4px var(--_input-card-stroke);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    cursor: pointer;
    color: var(--_input-card-color);
    width: 12rem;
    height: 20rem;
  }
  .quiz-card__choice {
    font-size: 7rem;
    user-select: none;
    font-family: "Amiri";
  }
  .quiz-card__shortcut {
    position: absolute;
    right: 10%;
    bottom: 2%;
    user-select: none;
    color: var(--_input-card-shortcut);
    font-weight: 800;
    font-size: 1.5rem;
  }
  .quiz-card--selected {
    --input-card-fill: var(--blue-100);
    --input-card-stroke: var(--blue-400);
  }
  .quiz-card--incorrect {
    --input-card-fill: var(--red-100);
    --input-card-stroke: var(--red-400);
  }
  .quiz-card--correct {
    --input-card-fill: var(--green-100);
    --input-card-stroke: var(--green-400);
  }
  .quiz-card--small {
    height: 10rem;
    width: 10rem;
  }
  .quiz-card--small .quiz-card__shortcut {
    display: none;
  }
  .quiz-card--small .quiz-card__choice {
    font-size: 4rem;
  }
  @media (max-width: 600px) {
    .quiz-card {
      height: 10rem;
      width: 10rem;
    }
    .quiz-card__shortcut {
      display: none;
    }
    .quiz-card__choice {
      font-size: 4rem;
    }
  }
  .quiz-page {
    margin: 0;
    padding: 0;
    color: black;
    font-family: Roboto, sans-serif;
    background-color: #fff5eb;
    height: 100%;
  }
  .quiz-page__inner {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .arabic {
    font-family: "Amiri";
    direction: rtl;
  }
  .quiz-feedback {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--_text);
    max-width: 100%;
  }
  .quiz-feedback__icon {
    border-radius: 100%;
    background-color: white;
    padding: 2rem;
  }
  .quiz-feedback__inner {
    transform: scale(120%);
  }
  .quiz-feedback__text {
    max-width: 100%;
  }
  .quiz-feedback__header {
    margin: 0;
    font-size: 1.5rem;
  }
  .quiz-feedback__paragraph {
    margin: 0;
    font-size: 2rem;
    white-space: nowrap;
    overflow-x: auto;
  }
  @media (max-width: 600px) {
    .quiz-feedback__icon {
      display: none;
    }
    .quiz-feedback__header {
      font-size: 1rem;
    }
    .quiz-feedback__paragraph {
      font-size: 1.5rem;
    }
  }
  .auth-page {
    margin: 0;
    padding: 0;
    color: black;
    font-family: Roboto, sans-serif;
    background-color: #fff5eb;
    height: 100%;
  }
  .auth-page__inner {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .form-box {
    text-align: center;
    background-color: var(--green-300);
    padding: 2rem;
    width: 50%;
    box-shadow: 0px -10px var(--green-600);
  }
  .form-box__title {
    display: flex;
    justify-content: center;
  }
  .form-box__icon {
    width: 20px;
    padding-right: 1rem;
  }
  .form-box__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .error {
    color: var(--red-600);
    font-weight: 800;
  }
  .tag-stats {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 1rem;
    font-size: 1.2rem;
    direction: rtl;
    align-items: center;
  }
  .tag-stats__score {
    block-size: 1rem;
  }
  .excerpt {
    text-decoration: none;
    text-align: center;
    color: inherit;
  }
  .xmark {
    width: 1.5rem;
    filter: invert(23%) sepia(85%) saturate(6757%) hue-rotate(1deg) brightness(91%) contrast(125%);
    appearance: none;
    background-color: unset;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  .ltr {
    direction: ltr;
  }
  .rtl {
    direction: rtl;
  }
  .center {
    text-align: center;
  }
}
@layer layout {
  #home-page #home-page--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-inline: auto;
  }
  #home-page #home-page__create {
    grid-column: span 3;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #dashboard-page h1 {
    text-align: center;
  }
  #dashboard-page main {
    inline-size: 50%;
    margin-inline: auto;
  }
}
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
}
@layer reset, global, layout, module, util;
:root {
  --footer-bg: #fff;
  --footer-stroke: #E5E5E5;
  --footer-wrong-bg: #FFDADC;
  --footer-wrong: #EE282D;
  --footer-correct-bg: #D7FFB8;
  --footer-correct: #489D26;
  --input-card: #000;
  --input-card-fill: #fff;
  --input-card-stroke: #e5e5e5;
  --input-card-shortcut: #afafaf;
  --input-card-active-fill: #DDF4FF;
  --input-card-active-stroke: #84D8FF;
  --highlight-active: #4093DC;
  --highlight-inactive: #e0dbd8;
  --highlight-incorrect: #C13535;
  --highlight-skipped: #BABABA;
}

/*# sourceMappingURL=styles.css.map */
