  /* 
  .این فایل استایل کلی سایته */

  /*     
 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);
   */


  /* Font Face */

@font-face {
  font-family: 'Sahel';
  src: url('https://www.askhub.ir/data&files/Font/Sahel-WOL.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Sahel';
  src: url('https://www.askhub.ir/data&files/Font/Sahel-WOL.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Sahel';
  src: url('https://www.askhub.ir/data&files/Font/Sahel-WOL.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Sahel';
  src: url('https://www.askhub.ir/data&files/Font/Sahel-WOL.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Sahel';
  src: url('https://www.askhub.ir/data&files/Font/Sahel-WOL.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

  /* general */

  * {
    margin-top: 0.5px;
    box-sizing: border-box;
    font-family: 'Sahel';
    /* font-family: Tahoma, 'Segoe UI', Verdana, sans-serif, 'Vazirmatn'; */
  }

 *:lang(en) {
  font-family: 'Segoe UI';
 }

  body {
    background: linear-gradient(to right, #f0f0f0, #e0e0e0);
    min-height: 100vh;
    padding: 15px;
  }

  /* header */

  header {
    background: linear-gradient(90deg, #6366f1, #4f46e5, #8b5cf6);
    backdrop-filter: blur(0.1px);
    border-radius: 15px;
    position: sticky;
    justify-items: center;
    width: 100%;
    top: 0;
    z-index: 20;
    padding-bottom: 2px;
    text-align: center;
  }

  header h1 {
    font-size: 35px;
    width: auto;
  }

  header p {
    display: inline-block;
    padding-left: 2px;
    font-size: 10px;
    text-align: center;
  }

  header h1 a {
    color: rgba(255, 252, 252, 0.944);
    border-style: hidden;
    text-decoration: none;
  }

  header h1,
  header p {
    transition: 0.4s;
  }

  /* nav in header */

 nav {
  bottom: 0px;
  height: 20px;
  margin-bottom: 16px;
 }

  nav ul {
    display: flex;
    padding: 0px;
    gap: 20px;
    justify-content: center;
    list-style: none;
    transition: 0.4s;
  }

  nav a {
    color: white;
    border-radius: 5px;
    padding: 5px 16px;
    text-decoration: none;
    transition: background 0.3s;
  }

  nav a:hover {
    background-color: #ffffff33;
    transition: all ease 0.3s;
  }

  /* bottoms in header */

  #toggle-dark,
  #toggle-glass,
  #toggle-Hambur-Menu {
    /* background: #9f82e2; */
    background: #a98ceeb2;
    position: fixed;
    color: white;
    border: 1px solid rgba(9, 235, 209, 0.31);
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    float: right;
    cursor: pointer;
    transition:0.4s;
  }

    #toggle-dark,
  #toggle-glass {
    right: 2px;
  }

      #toggle-dark,
  #toggle-Hambur-Menu {
    top: 6px;
  }

  #toggle-dark::after {
    content: "Light Mode";
  }

  #toggle-glass {
    bottom: 60px;
  }

  #toggle-glass::after {
    content: "off";
  }

  #toggle-Hambur-Menu {
    right: 88px;
  }

  #toggle-Hambur-Menu::after {
    content: "off";
  }

  /* content & main */

  main {
    color: #100e35;
    border: 1px solid rgba(133, 9, 235, 0.31);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px;
    justify-content: center;
    direction: rtl;
    text-align: center;
  }

  main p {
    margin: auto;
    font-size: 20px;
  }

  #categories-content {
    margin-top: 20px;
    padding: 20px;
  }

  #categories-content a {
    color: #100e35;
    border: solid;
    border-radius: 20px;
    padding: 10px;
    direction: rtl;
    font-weight: 500;
    text-decoration: none;
    transition: 0.5s ease-in;
  }

  #categories-content a:hover {
    background-color: #7976b97e;
    color: white;
    transition: all ease 0.3s, 0.3s ease-in;
  }

  #categories-content:hover>a {
    transition: 0.3s ease-in;
  }

  .box-content {
    /*  background-image: linear-gradient(rgba(43, 91, 120, 0.144), rgba(164, 176, 235, 0.315)); */
    /* background-image: linear-gradient(rgba(234, 204, 236, 0.144), rgba(150, 119, 235, 0.315)); */
    background: rgba(164, 169, 235, 0.274);
    border-radius: 15px;
    width: 60%;
    margin: auto;
    padding: 10px;
  }

  #text-content {
    margin-top: 15px;
    font-size: 18px;
  }

  details a:visited {
    color: rgba(187, 5, 157, 0.89);
  }

  #Page-To-Top {
    padding: 5px;
  }

  #Page-To-Top>a {
    text-decoration: none;
  }

  #categories-content,
  #title-content,
  #text-content {
    width: 100%;
  }

  /* footer */

  footer {
    position: relative;
    /* margin: 0px 2px; */
    /* اینم یاعث میشه یکم از هدر کوچیک تر باشه */
    /*margin-top: 10px;
     padding: 30px 1px; 
   با این دو قانون هم به صورت عجیبی هم کار می کنه!  */
  }

  .footer-contact {
    background-image: linear-gradient(90deg, #1612699a, #203a7e6c);
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    /* width: 100%; */
    /* max-width: 90%; */
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-bottom: 3px;
  }

  .footer-section h3 {
    background-color: #8b5cf6;
    color: rgb(255, 255, 255);
    border-top: solid black;
    border-radius: 20px;
    box-shadow: 4px 4px 5px #16126985;
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    font-size: 1.5rem;
    text-align: center;
    line-height: 1.5;
    font-weight: 700;
  }

  .footer-section h3:hover {
    background: rgba(133, 9, 235, 0.24);
    border: 1px solid rgba(133, 9, 235, 0.31);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transform: translatey(5px);
    transition: all ease 0.3s;
    cursor: pointer;
  }

  .footer-section p {
    color: white;
    margin-bottom: 35px;
    height: 20px;
    width: 100%;
    font-weight: 400;
  }

  .footer-links {
    list-style: none;
    font-weight: 600;
  }

  .footer-links a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: white;
    padding-right: 5px;
    transition: all ease 0.3s;
  }

  .footer-links li {
    margin-bottom: 0.75rem;
  }

  .footer-links a {
    color: white;
    border-radius: 10px;
    display: flex;
    padding: 0.5rem 0;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
  }

  .footer-links a i {
    font-size: 0.800rem;
  }

  .social-links {
    display: flex;
    margin-top: 1.5rem;
    gap: 1rem;
  }

  .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    height: 45px;
    width: 45px;
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .social-link:hover {
    border-color: palegreen;
    transform: translateY(-5px);
    transition: all ease 0.2s;
  }

  .newsletter {
    margin-top: 1.5rem;
  }

  .newsletter p {
    color: rgb(167, 164, 164);
    margin-bottom: 1rem;
  }

  .newsletter-form {
    display: flex;
    gap: 0.5rem;
  }

  .newsletter-input {
    background-color: rgba(229, 210, 230, 0.299);
    color: white;
    border: 1px solid gray;
    border-radius: 15px;
    padding: 0.75rem 1rem;
    flex: 1;
    outline: none;
  }

  .newsletter-input:focus {
    border-color: wheat;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
  }

  .newsletter-btn {
    background-image: linear-gradient(#9a97c6 #8884c6);
    color: black;
    border: none;
    border-radius: 10px;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: all ease 0.3s;
  }

  .newsletter-btn:hover {
    font-size: 20px;
  }

  .copyright {
    color: gray;
    border-top: 1px solid gray;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    padding-top: 3rem;
    font-size: 0.9rem;
    text-align: center;
  }

  .footer-links a,
  .footer-section,
  .newsletter p,
  .newsletter-form {
    direction: rtl;
  }

  /* Fix-Bar */

  #fix-bar {
    display: none;
  }

  #Fixbar-button {
    display: none;
  }

  /* Custom Scrollbar */

  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background-color: gray;
    border-radius: 9999px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #6366f1;
    border-radius: 9999px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background-color: #4f46e5;
  }

  /* chenge mode animation */

  main p,
  main h1,
  main h2,
  main h3,
  main h4,
  main h5,
  main h6,
  main details,
  input,
  footer:not(div) {
    transition: 0.45s ease-in;
  }

  /* Tips And Help */
  
  #Supersmall_none,
  #landscape_none {
    display: none;
  }