.page-layout {
  max-width: 1512px;
  width: 80%;
  margin: 160px auto;
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.page-layout .sidebar {
  position: fixed;
  left: 10%;
  max-width: 250px;
  width: 20%;
}

.page-layout .main {
  max-width: 600px;
  width: 60%;
}

.page-layout .nav {
  position: fixed;
  right: 10%;
  max-width: 145px;
  width: 20%;
  height: calc(100% - 200px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 1350px) {
  .page-layout .sidebar {
    left: 5%;
  }
}

@media screen and (max-width: 1280px) {
  .page-layout {
    margin: 100px auto;
  }
}

@media screen and (max-width: 1090px) {
  .page-layout .sidebar {
    left: 1%;
  }

  .page-layout .nav {
    right: 5%;
  }
}

@media screen and (max-width: 767px) {
  .page-layout {
    margin: 300px auto 0;
    width: 100%;
  }

  .page-layout .sidebar {
    position: absolute;
    top: -235px;
    left: 18px;
    z-index: 9;
  }

  .page-layout .main {
    width: 100%;
  }

  .page-layout .nav {
    position: absolute;
    top: -235px;
    right: 10%;
    width: 100px;
    height: auto;
    justify-content: flex-start;
    z-index: 10;
  }
}
