  /* 
  .این فایل استایل کلی دستگاه ها با صفحه نمایش کوچیکه */

  /*     
 Color1:#e5b3fe
 Color2:#deaaff
 Color3:#d8bbff
 Color4:#620366

 ColorAi:#6366f1
 ColorAi:#4f46e5
 ColorAi:#8b5cf6
  */

  /* From https://css.glass */
  /* background: #a98ceeb2;
   color: white;
   backdrop-filter: blur(11.4px);
   -webkit-backdrop-filter: blur(11.4px);
   border: 1px solid rgba(9, 235, 209, 0.31);
   border-radius: 20px;
   box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
 */

  body {
    padding: 2px;
  }

  /* header */

  header h1 {
    font-size: 40px;
    margin-bottom: 0px;
  }

  header p {
    font-size: 8px;
    padding: 0.5px;
  }

 nav {
  position: absolute;
  /* به دلیل اینکه جا نگیره در موبایل مود ولی باشه چون به یو ال توش نیاز داریم! */
 }

  nav ul {
    display: none;
  }

  /* bottoms in header */

  #toggle-Hambur-Menu {
    display: none;
  }

    #toggle-glass {
    bottom: 6px;
  }

  #toggle-dark,
  #toggle-glass {
    margin-right: 2px;
    padding: 1px 1px;
    font-size: 11px;
  }

  /* content */

  main {
    max-width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  #categories-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  #categories-content a {
    /* background-color: #8a9fbd68; */
    background-color: #8a9ebd41;
  }

  #title-content>h2 {
    font-size: 22px;
  }

  #title-content>p {
    font-size: 12px;
  }

  #text-content {
    font-size: 3.7vw;
  }

  /* footer */

  .footer-links {
    padding: 0%;
  }

  .footer-links a {
    justify-content: center;
  }

  .copyright {
    font-size: 12.5px;
    margin-bottom: 5rem;
  }

  /* Fix-Bar */

  #fix-bar {
    background: rgba(215, 165, 248, 0.095);
    color: white;
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
    border: 1px solid rgba(55, 70, 66, 0.557);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    /* position: sticky; */
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    height: 60px;
    left: -100%;
    bottom: 15px;
    z-index: 100;
    text-align: center;
  }

  #fix-bar.active{
    left: 0;
  }

  #fix-bar>button {
    background-color: #100e3500;
    border-radius: 20px;
    display: block;
    padding: 15px 8px;
    z-index: 100;
    font-size: 3.2vw;
  }

  #fix-bar>button:hover {
    color: rgb(134, 5, 255);
    cursor: pointer;
    transition: 0.3s ease;
  }

  #Fixbar-button {
    display: block;
    font-size: 25px;
    left: -3px;
    height: 1px;
    bottom: 75px;
    cursor: pointer;
    z-index: 1000;
  }

  #Fixbar-button.active {
transform: rotate(180deg);
  }

  #fix-bar>button>img {
position: relative;
  }

#fix-bar,#Fixbar-button {
  transition: 1s;
  position: fixed;
}

#b-Profile {
  padding: 2px 3px !important;
  border-radius: 80px;
}

  /* hamburger menu */

#hamburger-menu-button-fixer {
  top: 0px;
  width: 30px;
  height: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 10px;
}

#hamburger-menu-button {
    cursor: pointer;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
  }

#hamburger-menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* انیمیشن تبدیل همبرگر به ضربدر */
  #hamburger-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #hamburger-menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  #hamburger-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* منوی کشویی */

  #Ul-nav-menu {
    position: fixed;
    top: 60px;
    /* زیر هدر */
    left: -110%;
    /* مخفی در ابتدا */
    width: 200px;
    height: calc(100vh - 60px);
    border-radius: 20px;
    background-color: #210564;
    transition: left 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: start;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
    overflow-y: auto;
    /* اسکرول اگر منو طولانی باشد */
  }

  #Ul-nav-menu.active {
    left: 0%;
    /* نمایش منو */
  }

  #Ul-nav-menu li {
    list-style: none;
    text-align: center;
  }

  #Ul-nav-menu>li>a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #444;
  }

  #Ul-nav-menu>li>a:hover {
    background-color: #c4a4ffc0;
    color: #333;
    border-radius: 5px;
    padding-right: 25px;
    /* حرکت به چپ */
  }

  /* استایل زیرمنو */
  .submenu {
    background-color: #461858a2;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    /* visibility: hidden; */
  }

  /* نمایش زیرمنو وقتی کلاس open دارد */
  .submenu.open {
    max-height: 500px;
    height: 100px;
    overflow: visible;
    display: block;
    /* visibility: visible; */
    /* مقدار دلخواه برای باز شدن */
  }

  .submenu li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    display: block;
    padding: 12px 20px 12px 40px;
    /* تورفتگی بیشتر */
    transition: 0.3s;
  }

  .submenu li a:hover {
    background-color: #555;
    color: #ba9df0cc;
  }

  /* آیکون نشانگر زیرمنو */
  .li-nav>a::after {
    content: '▼';
    /* فلش کوچک */
    font-size: 12px;
    float: left;
    margin-left: 10px;
    transition: transform 0.3s;
  }

  .li-nav.open>a::after {
    transform: rotate(180deg);
  }

/*     #blur-hamburger-menu {
    display: none;
    position: fixed;
    padding: 0%;
    top: 0;
    width: 98%;
    height: 100vh;
    backdrop-filter: blur(11.4px);
    -webkit-backdrop-filter: blur(11.4px);
    z-index: 19;
    opacity: 0%;
    transition: 0.4s;
  }
    #blur-hamburger-menu.active {
     display: inline-block;
    opacity: 100%;
  } */

    #blur-hamburger-menu {
    display: inline-block;
    position: fixed;
    padding: 0%;
    top: 0;
    width: 98%;
    height: 100vh;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 19;
    visibility: hidden;
    opacity: 0%;
    transition: opacity 0.3s;
  }
    #blur-hamburger-menu.active {
     visibility: visible; 
    opacity: 100%;
  }

  /* Custom Scrollbar */

  ::-webkit-scrollbar {
    width: 10px;
  }