* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Source Code Pro', monospace;
    background: #111;
    color: #ddd;
    width: 100%;
}

h1 {
    text-align: center;
    font-size: 3rem;
    font-family: 'Roboto Mono', Courier, monospace;
}

h2 {
    padding: 1rem 2rem;
    font-family: 'Roboto Mono', Courier, monospace;
}

h3 {
    font-weight: bolder;
}

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    width: 100%;
}

li {
    padding: 1rem 2rem;
    width: 100%;
}

fieldset {
    border: 2px solid rgb(167, 166, 164);
    border-radius: 2px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background-color: black;
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255, 255, 255, .02) 10px, rgba(255, 255, 255, .02) 20px);
}

fieldset>legend {
    border: 2px solid rgb(167, 166, 164);
    border-radius: 2px;
    background-color: black;
}

fieldset>legend>h3 {
    padding: 1px 10px;
    margin: 0;
}

fieldset:hover, fieldset:active, fieldset:focus,
fieldset:hover>*, fieldset:active>*, fieldset:focus>* {
    border-color: rgb(255, 207, 104);
    filter: drop-shadow(0 0 0.3rem rgba(255, 207, 104, 0.5));
}

fieldset div {
    max-width: 40rem;
    margin: 0 2rem;
    word-break: keep-all;
}

fieldset img {
    margin-top: calc(-2rem + 20px);
}

fieldset a {
    margin: 2rem 0;
}

fieldset a:hover {
    font-weight: bolder;
}

a {
    color: #eef;
}

a:hover {
    color: #eee;
}

main {
    min-height: calc(100vh - 20rem);
}

article {
    max-width: 80em;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

section {
    margin: 60px 0;
}

section img {
    max-width: 100%;
}

footer {
    width: 100%;
    height: 10rem;
    border-top: 2px solid rgba(255, 255, 255, 0.04);
    background: #555;
    margin: 0;
    margin-top: 5rem;
    box-sizing: border-box;
    font-size: 0.7rem;
    position: relative;
    bottom: 0;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.footer_icon {
    height: 2rem;
    transition: 0.3s;
    padding: 0.1rem;
    margin: 0 0.4rem;
    border: none;
    opacity: 0.7;
}

.footer_icon:hover,
.footer_icon:focus {
    transform: scale(1.1);
    padding: 0.1rem;
    margin: 0 0.4rem;
    border: none;
}

@media (max-width: 1100px) {
    fieldset {
        justify-content: center;
        flex-direction: column;
    }

    fieldset img {
        margin-top: 1rem;
        margin-left: 2rem;
        margin-right: 2rem;
        max-width: calc(100% - 4rem);
        height: auto;
    }
}