/* START MEDIA QUERIES */
/* TABLETS AND SMALL LAPTOPS */
@media screen and (max-width: 1200px) {
  .container {
    width: 94%;
    grid-template-columns: 7rem auto 23rem;
  }

  /* Меню панели управления */
  aside .logo h2 {
    display: none;
  }
  aside .sidebar h3 {
    display: none;
  }
  aside .sidebar a {
    width: 5.6rem;
  }
  aside .sidebar a:last-child {
    position: relative;
    margin-top: 1.8rem;
  }

  

  /* 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;
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Liga hockey 
  .right .sales-analytics {
    display: flex;
  } */
  .right .sales-analytics h2 {
    display: none;
  }


  /************************************************************/
  /* recent-updates информационный блок обновлений на портале */
  .right .recent-updates {
    display: flex;
  }
  .right .recent-updates h2 {
    display: none;
  }
  /***********************************************************/



  main .recent-orders {
    display: none;
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 8.8rem;
  }
  main .recent-orders table {
    width: 83vw;
  }
  main .recent-orders table thead tr th:first-child,
  main .recent-orders table thead tr th:last-child {
    display: none;
  }
  main .recent-orders table tbody tr td:first-child,
  main .recent-orders table tbody tr td:last-child {
    display: none;
  }

  /************************************************************/
  /* forecast таблица прогнозов */
  .title-forecast {
    margin-bottom: 1.5rem;
    display: none;
  }
  main .forecast h2 {
    display: none;
  }
  main .forecast {
    display: flex;
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 8.8rem;
  }
  main .forecast table {
    width: 83vw;
  }
  main .forecast table thead tr th:first-child,
  main .forecast table thead tr th:nth-child(3),
  main .forecast table thead tr th:last-child {
      display: none;
  }
  
  main .forecast table tbody tr td:first-child,
  main .forecast table tbody tr td:nth-child(3),
  main .forecast table tbody tr td:last-child {
      display: none;
  }
  /************************************************************/
    /************************************************************/
  /* order таблица история прогнозов */
  .title-order {
    margin-bottom: 1.5rem;
    display: none;
  }
  main .order h2 {
    display: none;
  }
  main .order {
    display: flex;
    width: 94%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 2rem 0 0 8.8rem;
  }
  main .order table {
    width: 83vw;
  }
  main .order table thead tr th:nth-child(2),
  main .order table thead tr th:last-child {
      display: none;
  }
  
  main .order table tbody tr td:nth-child(2),
  main .order table tbody tr td:last-child {
      display: none;
  }
  /************************************************************/
}

/* 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: 8rem;
    padding: 0 1rem;
  } 
  main .recent-orders {
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }
  main .recent-orders table {
    width: 100%;
    margin: 0;
  }
  /************************************************************/
  /************************************************************/
  /* forecast таблица прогнозов */
  .title-forecast {
    margin-bottom: 1.5rem;
    display: none;
  }
  main .forecast {
    display: flex;
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }
  main .forecast table {
    width: 100%;
    margin: 0;
  }
  main .forecast h2 {
    display: none;
  }
  /************************************************************/
    /************************************************************/
  /* order таблица история прогнозов */
  .title-order {
    margin-bottom: 1.5rem;
    display: none;
  }
  main .order {
    display: flex;
    position: relative;
    margin: 3rem 0 0 0;
    width: 100%;
  }
  main .order table {
    width: 100%;
    margin: 0;
  }
  main .order h2 {
    display: none;
  }
  /************************************************************/
  /************************************************************/
  /* recent-updates информационный блок обновлений на портале */
  .right .recent-updates {
    display: flex;
  }
  .right .recent-updates h2 {
    display: none;
  }
  /***********************************************************/


  .right {
    width: 94%;
    margin: 0 auto 4rem;
  }
  .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 .theme-toggler {
    width: 4.4rem;
    position: absolute;
    left: 66%;
  }
  .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;
  }
}
/* END MEDIA QUERIES */