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

.home {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 2rem;
  width: 100%;
  max-width: 100vw;
  position: relative;
  overflow-x: hidden;
  padding-top: 0; 

  @media (max-width: 1000px) {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
    padding: 5rem 0rem 0rem 0rem; 
  }

  &__content {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
  }

  &__right {
    width: 250px;
    position: fixed; // fixed on desktop
    top: 0;
    right: 0;
    height: 100vh;
    overflow-y: auto;
    top: 5rem;
    right: 2rem;
    z-index: 2;

    @media (max-width: 1000px) {
      position: relative; 
      width: 100%;
      height: auto;
      margin-top: 0rem; 
      top: auto; // 
      right: auto;
    }
  }
}
