FF;
    }

    @media (max-width: 768px) {
      body {
        padding: 30px;
      }
    }

    .block {
      width: 150px;
      height: 150px;
      border: 5px solid;
      box-sizing: border-box;
    }

    .first {
      position: relative;
      z-index: 1;
      background-color: #2E9AFF;
    }

    .second {
      margin-top: -50px;
      margin-left: 50px;
      background-color: #FF8630;
    }

    .third {
      margin-top: -50px;
      background-color: #F498AD;
    }
  </style>
</head>
<body