﻿* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}

html {
    min-height: 100%;
}

#wrapper {
    max-width: 750px;
    margin: 12px auto;
    border: 2px solid #00454e;
    background: #fff;
    overflow: hidden;
    color: #00464f;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    position: relative;
}

header {
    position: absolute;
    z-index: 3;
    right: 30px;
    top: 45px;
}

article {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer {
    padding: 16px;
    background: #87c440;
    color: #fff;
    text-align: center;
}

footer a {
    color: #fff;
}

h1 {
    padding: 16px 20px 16px 25px;
    font-size: 32px;
    line-height: 38px;
    font-weight: 400;
    position: absolute;
    z-index: 3;
    left: 0;
    top: 23px;
    color: #fff;
    background: url('./background.jpg') no-repeat 0 0;
    background-size: 100% 100%;
}

h2 {
    font-size: 31px;
    margin: 0 0 16px;
    line-height: 36px;
    font-weight: 400;
}

a {
    color: #00464f;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

footer img {
    position: relative;
    top: -1px;
}

.right {
    width: 50%;
    padding: 136px 30px 20px;
}

.image {
    width: 50%;
}

h1 small {
    display: block;
    font-size: 19px;
    line-height: 23px;
}

.right p {
    font-size: 16px;
    line-height: 24px;
}

@media all and (max-width: 749px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    br {
        display: none;
    }

    .right {
        padding: 135px 16px 20px;
    }
}

@media all and (max-width: 735px) {
    :is(.image, .right) {
        width: 100%;
    }

    header {
        position: static;
        display: flex;
        justify-content: center;
        padding: 16px;
    }

    .image {
        display: flex;
        justify-content: center;
    }

    .right {
        padding: 16px;
    }

    h1 {
        position: static;
        margin-bottom: 15px;
        padding: 15px;
    }
}