html {
    margin: 0;
    font-size: 16px;
    line-height: 20px;
}
* {
    position: relative;
    padding: 25px 25px 20px;
    margin: 0;
    border-radius: 4px;
}
body {
    min-width: 430px;
    border: 2px dashed #c7e4ff;
    width: 700px;
    margin-left: auto;
    margin-right: auto;
}
:not(:last-child) {
    margin-bottom: 20px;
}
footer, header, main {
    background-color: #f3faff;
    border: 2px solid #7fc1ff;
}
h1 {
    font-size: 20px;
    border: 2px solid #ff994f;
}
h1, p {
    background-color: #fff;
}
article, aside, nav, section {
    background-color: #f9f7ff;
    border: 2px solid #9779ec;
}
p {
    border: 2px solid #f36dff;
}
::before {
    position: absolute;
    top: 8px;
    left: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 12px;
    letter-spacing: .04em;
}
body::before, footer::before, header::before, html::before, main::before {
    color: #7fc1ff;
}
html::before {
  content: "html";
  }
body::before {
  content: "body";
  }
header::before {
    content: "header";
}
h1::before {
    content: "h1";
    color: #ff994f;
}
nav::before, section::before {
    color: #9779ec;
}
p::before {
    color: #f36dff;
    content: "p";
}
section::before {
    content: "section";
}
nav::before {
    content: "nav";
}
footer::before {
    content: "footer";
}
   