.box1 {
  background-color: #F44336;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  left: 0;
}

.box2 {
  background-color: #E91E63;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  right: 0;
}

.box3 {
  background-color: #9C27B0;
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.box4 {
  background-color: #3F51B5;
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.container {
  background-color: red;
  width: 400px;
  height: 400px;
  position: relative;
}

.box {
  width: 100px;
  height: 100px;
  background-color: blue;
  position: absolute;
  bottom: 150px;
  right: -50px;
}

.sidebar {
    background-color: red;
    position: fixed;
    width: 200px;
    height: 100vh;
    right: 0px;
    top: 0px;
}

.sidebar button {
    position: absolute;
    right: 0px;
}