@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:300,400,500,700');


* {
    box-sizing: border-box;
}

html, body{ 
    height:100%; 
    width:100%; 
    font-family: 'IBM Plex Sans', sans-serif;
    color:#222; 
    background: #E9E9E9;
    font-size: 16px;
}

body{ 
    margin:0; 
    padding:0; 
}

.container{ 
    height: 100%;
    width: 100%;
    padding: 2em;
}

.content{ 
    box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
    margin: auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.content:after{
    display: block;
    content: " ";
    clear: both;
}

.logo{
    max-width: 160px;
}

.image{
    background: #fff url(/nigelheap-bg.jpg) no-repeat right top;
    background-size: auto 100%;
    min-height: 200px;
}

.image .logo{
    padding: 2em;
}

.text{
    background: #809EAD;
    padding: 1em;
}

.text .logo{
    display: none;
}

a{ 
    color:#fff; 
    text-decoration:none; 
}

p{
    line-height: 1.5;
    margin-bottom: 2em;
}

h3{
    font-weight: 700;
    color: #6F8E9B;
}

.footer{
    max-width: 160px;
    margin:2em auto;
}

.button{
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
    cursor: pointer;
    padding: 25px 80px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: #fff;
    background: #809EAD;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    border: 4px solid #809EAD;
}

.button:hover, .button:active{
    background: #fff;
    color:#809EAD;
}

.hide{
    display: none;
}

ul{
    margin:0 0 2em 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

ul li{
    display: block;    
    width: 50%;
    padding: 0.5em 0;
}

ul li a{
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 90%;
    box-shadow: 0px 0px 2px rgba(255,255,255,0);
    background: #6F8E9B;
    border-radius: 3px;
    padding: 0.5em;
    display: block;
}

ul li a:hover{
    box-shadow: 0px 0px 2px rgba(255,255,255,0.3);
}

@media only screen and (min-width: 900px) {
    .image{
        width: 50%;
        background-size: cover;
    }

    .image .logo{
        display: none;
    }
    
    .text{
        width: 50%;
    }

    .text .logo{
        display: inline-block;
    }
    

    .content{
        flex-direction: row-reverse;
    }
}

