html {
    background: #050505;
    -webkit-font-smoothing: antialiased;
}

body {
    background: #050505;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: whitesmoke;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    margin-top: 1.3em;
}

a {
    color: darkgray;
    text-decoration: none;
}

a:hover {
    color: lightgray;
    text-decoration: underline;
}

b, strong {
    font-weight: 600;
}

samp {
    display: none;
}

img {
    animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
    background: transparent;
    border: 10px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    display: block;
    margin: 1.3em auto;
    max-width: 95%;
}

@keyframes colorize {
    0% {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    100% {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
    }
}

header {
    background-image: url(header4.gif);
    background-position: center;
    background-repeat: repeat;
    min-height: 420px;
    background-size: cover;
    margin: 0;
    padding: 0;
    width: 100%;
}

nav.title {
    margin-top: 22px;
    background-image: url(title.png);
    background-size: 250px;
    background-position: center;
    background-repeat:no-repeat;
}

section {
    padding-left: 20px;
    padding-right: 20px;
}

section.links ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

section.links ul li {
    display: inline-flex;  
    padding: 0 5px 0 px;
    font-size: 10px;
}


footer {
    position: absolute;
    bottom: 0;
    text-align: left;
}

section.contact a {
    font-size: 10px;
}

p.smallprint {
    font-size: 8px;
    color: gray;
    
}

@media screen and (max-width: 420px) {
    div.screen-only {
        display: none;
    }
    
    div.device-only {
        display: block;
    }
    
    header {
        min-height: 130px;
    }
    
    nav.title {
        margin-top: 20px;
        background-size: cover;
    }
    
    section.hero {
        min-height: 130px;
    }
    
    nav.title {
        margin-top: 22px;
        background-image: url(title.png);
        background-size: contain;
        background-position: center;
        background-repeat:no-repeat;
        background-size: 250px;
    }
    
    section.links ul li, section.contact a, p.smallprint {
        font-size: 22px;
    }
    
    section.hero {
        background-image: url(lowres.jpg);
        background-position: center;
        min-height: 660px;
        background-size: cover;
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

@media screen and (min-width: 820px) {
    header {
        background-position: top center;
        background-size: cover;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    section.links ul li {
        font-size: 14px;
    }

}
