@import "tailwindcss";
@import "tailwindcss/utilities";
@import "../assets/fonts/manrope/manrope.css";
@import "../assets/fonts/vazir/vazir.css";


html{
  font-size: 16px;
  scroll-snap-stop: always;
}

body{
  scroll-snap-stop: always;
}

@media (width <=48rem) {
  html {
    font-size: 14px;
  }
}

body.font-en *{
  font-family: 'Manrope';
}

body.font-fa *{
  font-family: 'Vazirmatn';
}


:root {
  --primary: #FA003F;
  --secondary: #A78BFA;
  --textColorLight: #FFFFFF;
  --textColorGray: #222222;
  --bgPrimary: #FFFFFF;
  --gray-100: #EBEBEB;
  --gray-200: #F5F5F5;
  --gray-300: #81848A;
  --gray-400: #777;
  --gray-500: #222;
  --white: #FFFFFF;
  --black: #000000;
  --transparent: transparent;
}

.dark{
  --primary: #FA003F;
  --secondary: #7C3AED;
  --textColorLight: #FA003F;
  --textColorGray: #FA003F;
  --bgPrimary: #FA003F;
  --gray-100: #EBEBEB;
  --gray-200: #F5F5F5;
  --gray-300: #81848A;
  --gray-400: #777;
  --gray-500: #222;
}

@theme inline {
  --color-primary: var(--primary);
  --color-secondary: var(--secondary);
  --color-text-light: var(--textColorLight);
  --color-text-gray: var(--textColorGray);
  --color-bg-primary: var(--bgPrimary);
  --color-gray-100: var(--gray-100);
  --color-gray-200: var(--gray-200);
  --color-gray-300: var(--gray-300);
  --color-gray-400: var(--gray-400);
  --color-gray-500: var(--gray-500);
  --color-white: var(--white);
  --color-black: var(--black);
  --color-transparent: var(--transparent);
}

.container {
  width: 100%;
  padding-inline: 1rem;

  @media (width >=40rem) {
    max-width: 40rem;
    padding-inline: 1rem;
  }

  @media (width >=48rem) {
    max-width: 48rem;
    padding-inline: 2rem;
    }

  @media (width >=64rem) {
    max-width: 64rem;
    padding-inline: 3rem;
    }

  @media (width >=80rem) {
    max-width: 80rem;
    padding-inline: 5rem;
    }

  @media (width >=96rem) {
    max-width: 90vw;
    padding-inline: 8rem;
    }
}

.container-fluid {
  width: 100%;
  padding-inline: 1rem;

  @media (width >=40rem) {
    max-width: 100%;
    padding-inline: 1rem;
  }

  @media (width >=48rem) {
    max-width: 100%;
    padding-inline: 1.5rem;
    }

  @media (width >=64rem) {
    max-width: 100%;
    padding-inline: 2rem;
    }

  @media (width >=80rem) {
    max-width: 100%;
    padding-inline: 3rem;
    }

  @media (width >=96rem) {
    max-width: 100%;
    padding-inline: 5rem;
    }
}
