﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 580px;
    margin: 16px auto;
    border: 1px solid #231f20;
    padding: 40px 50px 45px;
    overflow: hidden;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    background: #004071 url(background.jpg) top right no-repeat;
    position: relative;
}

article div {
    margin: 30px 0 0;
}

footer {
    position: absolute;
    bottom: 25px;
    right: 50px;
    z-index: 1;
}

.color {
    color: #6ecff6;
    font-size: 21px;
}

p {
    margin: 0 0 16px;
}

h1 {
    margin: 0 30px 8px 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

h1 + p {
    margin-bottom: 25px;
}

h2 {
    font-size: 80px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 10px;
}

a {
    color: #fff;
    text-decoration: none;
}

img {
    max-width: 100%;
}

@media all and (max-width: 579px) {
    #wrapper {
        padding: 16px;
        border: none;
        margin: 0 auto;
    }

    footer {
        position: static;
        padding: 16px 0 0;
    }

    article div {
        margin: 30px 0 0;
    }

    h1 {
        margin: 0 0 16px;
    }

    h2 {
        margin: 0 0 20px;
        font-size: 50px;
    }

    article>p br {
        display: none;
    }
}