﻿html, body {
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

body {
    background: #efefef url(./images/bg.png) 50% 100% no-repeat fixed;
    background-size: contain;
    color: #352626;
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

@font-face {
    font-family: Lobster;
    src: url(./fonts/Lobster-Regular.ttf);
    font-weight: 100;
}

@font-face {
    font-family: Cantarell-Regular;
    src: url(./fonts/Cantarell-Regular.ttf);
    font-weight: 100;
}

h1 {
    font-size: 2em;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

#cards {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0 auto;
}

#centerdiv {
    position: absolute;
    margin-left: -250px;
    margin-top: -100px;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 200px;
}

#centerdiv h1 {
    margin: 90px 0 0 20px;
}

#gregbandy {
    background: url(./images/gbbg.png) no-repeat 50% 50%;
    float: left;
    width: 300px;
    height: 200px;
    font-size: 38px;
    display: inline-block;
    font-family: Lobster, Helvetica, Arial, sans-serif;
    background-size: cover;
}

#about {
    font-size: 18px;
    width: 200px;
    max-height: 200px;
    float: left;
    padding: 48px 0 0 0;
    display: inline-block;
    font-family: Cantarell-Regular, Garamond, Times, serif;
}


a {
    color: #efefef;
    text-decoration: none;
}

a:hover {
    color: #efefef;
    text-decoration: underline;
}

a img {
    border: none;
}

h1 {
    margin: 0;
    text-shadow: 0 1px 2px #444;
}

hr {
    margin: 6px;
    border: 0;
    color: #3a5686;
    background-color: #3a5686;
    height: 1px;
    text-align: left;
}

#wrapper {
    position: relative;
    background: #1a325e;
    width: 1000px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    border-style: solid;
    border-width: 0 1px;
    border-color: #3a5686;
    height: auto;
    min-height: 100%;
    -moz-box-shadow: 0 -10px 10px black;
    -webkit-box-shadow: 0 -10px 10px black;
}

@media only screen and (max-width: 900px) {
    #centerdiv {
        width: 300px;
        margin-left: -150px;
        margin-top: -200px;
    }

    #gregbandy, #about {
        float: none;
        display: block;
        margin: 0 auto;
    }

    #gregbandy h1 {
        margin: 0;
        position: relative;
        bottom: -80px;
        left: 20px;
    }

    #about {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 900px) and (orientation:landscape) {
    #centerdiv {
        width: 460px;
        margin-left: -230px;
        margin-top: -100px;
    }

    #gregbandy, #about {
        float: left;
    }

    #about {
        width: 200px;
        text-align: left;
        padding-top: 64px;
    }
}

@media screen and (max-width: 768px) {
    #gregbandy {
        width: 240px;
    }

    #about {
    }

    h1 {
        font-size: 62px;
    }
}
