@use "../styles/abstracts/variables";
@use "../styles/abstracts/mixins";

$green: #7a4b20;
$green: #5e3817;
$primary-soft: rgba(122, 75, 32, 0.08);
$text-dark: #1a1a1a;
$text-light: #5f5f5f;
$border: rgba(122, 75, 32, 0.15);

.layout {
  height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
  font-family: variables.$font;
  position: relative;
  // background: #f9fafb;
  background: #F8F8F8;
  overflow-y: scroll;

  @media only screen and (max-width: 1000px) {
    grid-template-columns: 1fr;
    height: 100vh !important;
  }

  &__bottombar {
    display: none;
    @media only screen and (max-width: 1000px) {
      display: block;
    }
  }

  &__sidebar {
    position: fixed;
    z-index: 2;
    width: 280px;

    @media only screen and (max-width: 1000px) {
      width: 70%;
      z-index: 888;
      height: auto;
      top: 5.4rem;
      display: none;
    }
  }

  &__content {
    position: absolute;
    right: 0;
    width: calc(100% - 280px);

    @media only screen and (max-width: 1000px) {
      left: 0;
    }

    &__navbar {
      position: fixed;
      width: calc(100% - 0px);
      z-index: 1;
      background: variables.$col-primary;
      right: 0 !important;
      bottom: 4rem;
      z-index: 888;

      @media only screen and (max-width: 1000px) {
        width: 100%;
      }
    }

    &--children {
      display: grid;
      grid-gap: 12px;
      padding: 2rem;
      padding-left: 1.5rem !important;
      padding-top: 4rem;
      position: relative;
      padding-bottom: 5rem;
      width: 100%;

      @media only screen and (max-width: 1000px) {
        display: flex;
        flex-direction: column;
        padding: 2.5rem 1rem !important;
        width: 100vw;
        padding-top: 1rem !important;
        margin-left: 0;
        padding-bottom: 5rem;
        margin-bottom: 4rem;
      }
    }
  }
}

// ::-webkit-scrollbar {
//   display: none !important;
// }


::-webkit-scrollbar {
  display: none !important;
}
