html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    margin: 0 auto;
    max-width: 720px;
    text-align: center;
}

header {
    background: url('../img/doge.jpg') no-repeat;
    border-radius: 60px;
    margin: 50px auto;
    height: 120px;
    width: 120px;
}

article {
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    margin: 50px 25px;
}

article section {
    text-align: left;
}

article noscript section {
    padding-bottom: 50px;
}

article section h1 {
    text-align: center;
}

article section h1 a {
    color: inherit !important;
    text-decoration: none !important;
}

article section sup {
    background: #e0e0e0;
    border-radius: 10px;
    color: #000;
    padding: 2px 5px;
}

article section img {
    margin: 24px auto !important;
    display: block !important;
}

@media (max-width: 720px) {
    article section img {
        width: 100%;
    }
}

article section p:last-child a{
    padding-bottom: 50px;
    font-size: small;
    display: inline-block;
}

article section p:last-child a {
    color: inherit;
    opacity: 0.5;
}

article section p:last-child a:hover {
    text-decoration: underline;
    opacity: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
