.box-1 {
  background-color: red;
  height: 200px;
}

.box-1, .box-2, .box-3 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-2 {
  position: absolute;
}
.box-3 {
  position: absolute;
}
.box-4 {
  position: relative;
  top: 50px;
  left: 50px;
}
