/* START MEDIA QUERIES */
/* TABLETS AND SMALL LAPTOPS */
@media screen and (max-width: 1200px) {
  aside {
    position: fixed;
    left: -100%;
    background: var(--color-white);
    width: 18rem;
    z-index: 3;
    box-shadow: 1rem 3rem 4rem var(--color-light);
    height: 100vh;
    padding-right: var(--card-padding);
    display: none;
    animation: showMenu 400ms ease forwards;
  }
  @keyframes showMenu {
    to {
      left: 0;
    }
  }
  aside .logo {
    margin-left: 1rem;
  }
  aside .logo h2 {
    display: inline;
  }
  aside .sidebar h3 {
    display: inline;
  }
  aside .sidebar a {
    width: 100%;
    height: 3.4rem;
  }
  aside .sidebar a:last-child {
    position: absolute;
    bottom: 5rem;
  }
  aside .close {
    display: inline-block;
    cursor: pointer;
  }
  
  main {
    margin-top: 5rem;
    padding: 0 15%;
  } 

  /************************************************************/
    /************************************************************/
  /* order таблица история прогнозов */
  main .order {
    display: flex;
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }
  main .order table {
    width: 100%;
    margin: 0;
    font-size: 11px; /* Устанавливаем размер шрифта на 8 пикселей */
  }
  /************************************************************/
  /************************************************************/
  /* recent-updates информационный блок обновлений на портале */
  .right .recent-updates {
    display: flex;
  }
  .right .recent-updates h2 {
    display: none;
  }
  /***********************************************************/


  .right .top {
    position: fixed;
    top: 0;
    left: 0;
    align-items: center;
    padding: 0 0.8rem;
    height: 4.6rem;
    background: var(--color-white);
    width: 100%;
    margin: 0;
    z-index: 2;
    box-shadow: 0 1rem 1rem var(--color-light);
  }
  .right .top .menu-none {
    position: absolute;
    left: 0;
    margin-bottom: 1.85rem;
  }
  .right .top .theme-toggler {
    width: 4.4rem;
    position: absolute;
    left: 78%;
  }
  .right .top .profile .info {
    display: none;
  }
  .right .top button {
    display: inline-block;
    background: transparent;
    cursor: pointer;
    color: var(--color-dark);
    position: absolute;
    left: 1rem;
  }
  .right .top button span {
    font-size: 2rem;
  }
  
  /* Wallet */
  main .insights {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  main .expenses {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
  main .income {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
  }
  
}
















/* SMALL TABLETS AND MOBILE */
@media screen and (max-width: 768px) {
  .container {
      width: 100%;
      grid-template-columns: 1fr;
  }
  aside {
      position: fixed;
      left: -100%;
      background: var(--color-white);
      width: 18rem;
      z-index: 3;
      box-shadow: 1rem 3rem 4rem var(--color-light);
      height: 100vh;
      padding-right: var(--card-padding);
      display: none;
      animation: showMenu 400ms ease forwards;
  }
  @keyframes showMenu {
      to {
      left: 0;
      }
  }
  aside .logo {
      margin-left: 1rem;
  }
  aside .logo h2 {
      display: inline;
  }
  aside .sidebar h3 {
      display: inline;
  }
  aside .sidebar a {
      width: 100%;
      height: 3.4rem;
  }
  aside .sidebar a:last-child {
      position: absolute;
      bottom: 5rem;
  }
  aside .close {
      display: inline-block;
      cursor: pointer;
  }

  main {
      margin-top: 5rem;
      padding: 0 5%;
  } 

  /************************************************************/
  /* order таблица история прогнозов */
  main .order {
      display: flex;
      position: relative;
      margin: 3rem 0 0 0;
      width: 100%;
  }
  main .order table {
      width: 100%;
      margin: 0;
  }
  main .order-table {
    font-size: 8px;
  }
  /************************************************************/
  #order--table td:nth-child(2),
  #order--table td:nth-child(3),

  #order--table th:nth-child(2),
  #order--table th:nth-child(3) {
    display: none;
  }

  .right .top {
      position: fixed;
      top: 0;
      left: 0;
      align-items: center;
      padding: 0 0.8rem;
      height: 4.6rem;
      background: var(--color-white);
      width: 100%;
      margin: 0;
      z-index: 2;
      box-shadow: 0 1rem 1rem var(--color-light);
  }
  .right .top .menu-none {
    position: absolute;
    left: 0;
    margin-bottom: 1.85rem;
  }
  .right .top .theme-toggler {
    width: 4.4rem;
    position: absolute;
    left: 80%;
  }
  .right .top .profile .info {
      display: none;
  }
  .right .top button {
      display: inline-block;
      background: transparent;
      cursor: pointer;
      color: var(--color-dark);
      position: absolute;
      left: 1rem;
  }
  .right .top button span {
      font-size: 2rem;
  }
  /* Wallet */
  main .insights {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.6rem;
  }
  main .expenses {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.6rem;
  }
  main .income {
      display: none;
  }
}
/* END MEDIA QUERIES */