* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    outline: none;
}

body {
    margin: 32px;
    font-family: "helvetica neue", "arial", sans-serif;
    background-color: white;
    color: black;
    font-size: 18px;
    line-height: 1.2;
}

button {
    font-family: "helvetica neue", "arial", sans-serif;
    background-color: white;
    color: black;
    font-size: 18px;
    line-height: 1.2;
    padding: 8px 10px 8px 10px;
    cursor: pointer;
}

button:hover {
    background-color: silver;
}

header button {
    margin-bottom: 8px;
}

main, header, footer {
    width: 60%;
}

div {
    display: none;
}

footer {
    margin-top: 32px;
}

hr {
    border-top: 2px solid black;
    margin-bottom: 8px;
}

h1 {
    border-top: 2px solid black;
    margin: 32px 0 0 0;
    padding-top: 8px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
    width: 100%;
}

h2 {
    border-top: 2px dotted black;
    margin: 32px 0 0 0;
    padding-top: 8px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
    width: 100%;
}

.visible {
    display: flex;
    flex-direction: column;
}

.active {
    background-color: silver;
}

a:link.black,
a:visited.black,
a:hover.black,
a:active.black {
    cursor: pointer;
    text-decoration: none;
    border-bottom: 2px solid black;
    color: black;
}

a:link.blue,
a:visited.blue,
a:hover.blue,
a:active.blue {
    cursor: pointer;
    text-decoration: none;
    color: blue;
    border-bottom: 2px solid blue;
}

.line {
    display: inline-block;
}

.red {
    color: red;
}

.special {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: .1px;
}

img {
    margin-top: 2px;
    width: 100%;
}

#randomizer {
    display: inline-block;
    text-align: left;
    border-bottom: 2px solid black;
    cursor: pointer;
}

@media only screen and (max-width: 800px) {
    main, header, footer {
        width: 100%;
    }
  }