 body {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
      height: 100vh;
      background-color: #f1f1f1;
    }
.square1 {
  position:relative;left:100px;top:259px;
      background-color: #2ecc71;
      width: 200px;
      height: 200px;
    }
    .square2 {
      background-color: #ff1717;
      width: 200px;
      height: 200px;
    }