/*desktop*/
@media (min-width : 1025px) {
  .menu-burger {
    display : none;
  }
}

/*tablet*/
@media (min-width : 768px) and (max-width : 1024px) {
  .customer-sidebar__container .menu > * {
    width : 255px;
  }

  .wrapper__inner:not(.active) .customer-sidebar__container.links {
    width  : 0;
    height : 0;
  }

  #wrapper .wrapper__inner:not(.active) {
    gap : 0;
  }

  #main #content {
    grid-template-columns : 0 1fr;
  }

  #content .menu.active {
    padding-right : 30px;
  }

  #main #content.active {
    grid-template-columns : 285px 1fr;
  }

  .customer-sidebar__container .menu-burger.active {
    left: 280px;
  }

  .customer-sidebar__container .menu-burger {
    top        : 15px;
    z-index    : 1;
    left       : 0;
    transition : all .4s ease-out;
  }
}

/*mobile and tablet*/
@media (max-width : 1024px) {
  #main #content {
    padding : 0 25px;
  }

  .customer-sidebar__container .greeting {
    padding-top : 0;
  }

  .customer-sidebar__container .greeting .logout-link {
    display : none;
  }

  .customer-sidebar__container .greeting p {
    width : 100%;
    order : 3;
  }

  .greeting:not(.active) {
    opacity : 0;
  }

  /*ANIMATION */
  .customer-sidebar__container .menu.active {
    opacity : 1;
  }

  .customer-sidebar__container .menu {
    padding  : 0;
    opacity  : 0;
    overflow : hidden;
  }
}

/*phone*/
@media (max-width : 768px) {
  #wrapper .wrapper__inner {
    flex-direction : column;
  }

  .customer-sidebar__container .menu-burger {
    cursor   : pointer;
    position : absolute;
    padding  : 25px;
    top      : -27px;
    z-index  : 1;
  }

  .customer-sidebar__container .menu-burger > .lines {
    width           : 30px;
    height          : 25px;
    display         : flex;
    flex-flow       : column;
    justify-content : space-between;
    align-items     : center;
  }

  .customer-sidebar__container .menu-burger > .lines > .line {
    width            : 100%;
    height           : 2px;
    position         : relative;
    background-color : var(--color-black-default);
    transition       : all .4s ease-out;
  }

  .customer-sidebar__container .menu-burger > .lines > .line:nth-child(2) {
    transform-origin : left;
  }

  .customer-sidebar__container .menu-burger.active > .lines > .line:first-child {
    transform : translate(-5px, 7px) rotate(-45deg);
    width     : 68%;
  }

  .customer-sidebar__container .menu-burger.active > .lines > .line:nth-child(2) {
    width   : 0;
    opacity : 0;
  }

  .customer-sidebar__container .menu-burger.active > .lines > .line:last-child {
    transform : translate(-5px, -3px) rotate(45deg);
    width     : 68%;
  }

  .customer-sidebar__container .greeting {
    display : none;
  }

  #main #content {
    grid-template-rows    : 0 1fr;
    grid-template-columns : 1fr;
  }

  #main #content.active {
    grid-template-rows : auto 1fr;
  }

  .customer-sidebar__container .menu {
    top            : unset;
    position       : relative;
    display        : flex;
    flex-direction : column;
    height         : 0;
  }

  .customer-sidebar__container .menu.active {
    height : fit-content;
  }

  .customer-sidebar__container .menu-burger {
    right : 0;
  }

  .customer-sidebar__container .menu-burger.active > .lines > .line:first-child {
    transform : translate(0px, 12px) rotate(-45deg);
    width     : 100%;
  }

  .customer-sidebar__container .menu-burger.active > .lines > .line:last-child {
    transform : translate(0px, -11px) rotate(45deg);
    width     : 100%;
  }
}
