* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}

html,
body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    font-size: 24px; /**/
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
    font-family: inherit;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    display: block;
    margin: auto;
    vertical-align: top;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: 700;
    margin-top: 20px;
}

/**************************************************************/

#top-nav, #top-nav a {
    background-color: #111;
    color: antiquewhite;
    padding: 7px;
}
.burger {
    width: 100%;
    text-align: right;
}
#top-nav__checkbox {
    display: none;
}
[for="top-nav__checkbox"] {
    font-weight: bold;
    font-size: 40px;
}
#top-nav ul {
    display: none;
    text-align: left;
}
#top-nav__checkbox:checked + label + ul {
    display: block;
}
#top-nav li {
    line-height: 45px;
    border-bottom: solid #777 2px;
}

main {
    padding: 5px;
}

h1 {
    font-size: 32px;
    margin: 40px 0;
}

h2 {
    font-size: 30px;
    margin: 20px 0;
}

h3 {
    font-size: 28px;
    margin: 20px 0;
}

ul.marked li {
    list-style: square inside;
    padding: 7px 0 7px 15px;
}

p {
    padding: 10px 2px;
}

footer {
    margin-top: 80px;
    background-color: #555;
    color: #fff;
    min-height: 200px;
    padding: 5px;
}

footer a {
    color: #fff;
}