body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
    margin: 0;
    background: transparent url(../img/background-480.jpg) top center repeat;
    color: #222;
}

h1 {
    margin: 0;
}

article {
    /*text-align: justify;*/
}

aside {
    font: 14px/23px Helvetica, Helvetica Neue, Arial;
}

article, aside {
    width: 100%;
    margin: 0;
}

article a {
    font-weight: bold;
}

ul {
    list-style-type: none;
    padding: 0 0 0 20px;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none;
    color: #222;
}

.heading-image {
    width: 215px;
    height: 410px;
    background: transparent url(../img/headings/480.png) top center no-repeat;
    margin: 0 auto;
}

.header-container {
    width: 100%;
    margin: 0 auto;
}

.main-container {
    width: 90%;
    margin: 0 5%;
}

.clear {
    clear: both;
}

.icon {
    background-color: transparent;
    background-image: url(../img/icons/sprite.png);
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    display: block;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.icon a {
    display: block;
    width: 50px;
    height: 50px;
}

.icon.twitter {
    background-position: 0px 0px;
}

.icon.facebook {
    background-position: -55px 0px;
}

.icon.instagram {
    background-position: -109px 0px;
}

.icon.github {
    background-position: -163px 0px;
}

.icon.youtube {
    background-position: -217px 0px;
}

.icon.lastfm {
    background-position: -271px 0px;
}

.icon.skype {
    background-position: 0px -54px;
}

.icon.spotify {
    background-position: -55px -54px;
}

.icon.xbox {
    background-position: -109px -54px;
}

.icon.flickr {
    background-position: -164px -53px;
}

.icon.linkedin {
    background-position: -217px -53px;
}

.icon.strava {
    background-position: -271px -54px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (-o-min-device-pixel-ratio: 3/2), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
        body {
            background-image: url(../img/background-480@2x.jpg);
            background-size: 480px 1780px;
            -moz-background-size: 480px 1780px;
        }

        .heading-image {
            width: 215px;
            height: 410px;
            background: transparent url(../img/headings/480@2x.png) top center no-repeat;
            background-size: 215px 410px;
            -moz-background-size: 215px 410px;
        }

        .icon {
            background-image: url(../img/icons/sprite@2x.png);
            background-size: 321px 104px;
            moz-background-size: 321px 104px;
        }
}

@media only screen and (min-width: 480px) {
    body {
        background: transparent url(../img/background-768.jpg) top center repeat;
    }

    .heading-image {
        width: 479px;
        height: 495px;
        background: transparent url(../img/headings/768.png) top center no-repeat;
        background-size: 479px 495px;
        moz-background-size: 479px 495px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5) and (min-width: 768px), only screen and (-o-min-device-pixel-ratio: 3/2) and (min-width: 768px), only screen and (min--moz-device-pixel-ratio: 1.5) and (min-width: 768px), only screen and (min-device-pixel-ratio: 1.5) and (min-width: 768px) {
        body {
            background-image: url(../img/background-768@2x.png);
            background-size: 768px 1780px;
            moz-background-size: 768px 1780px;
        }

        .icon {
            background-image: url(../img/icons/sprite@2x.png);
            background-size: 321px 104px;
            moz-background-size: 321px 104px;
        }
}

@media only screen and (min-width: 768px) {
    body {
        background: transparent url(../img/background-desktop.jpg) top center repeat;
    }

    article {
        width: 70%;
        float: left;
    }

    aside {
        width: 25%;
        float: right;
    }

    .heading-image {
        width: 751px;
        height: 578px;
        background: transparent url(../img/headings/desktop.png) top center no-repeat;
        background-size: 751px 578px;
        -moz-background-size: 751px 578px;
    }
}

@media only screen and (min-width: 1140px) {
/* ===============
    Maximal Width
   =============== */

    body {
        font: 14px/23px Helvetica, Helvetica Neue, Arial;
    }

    .main-container {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    article {
        width: 800px;
        float: left;
    }

    aside {
        width: 200px;
        float: right;
    }
}

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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