@import url(http://weloveiconfonts.com/api/?family=entypo);
@import url(http://fonts.googleapis.com/css?family=Oswald:400,700);
@import url(http://fonts.googleapis.com/css?family=Vollkorn:400,400italic);

/* entypo */
[class*="entypo-"]:before {
    font-family: 'entypo', sans-serif;
}

*, *:before, *:after {
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-family: "Vollkorn", Georgia, serif;
    font-size: 21px;
    line-height: 1.4;
    background-color: #fff;
}

a {
    color: #777;
}

h1, h2, h3 {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.1;
}

h1 {
    font-size: 5em;
    font-weight: 700;
    margin: 0 0 .5em;
}

h1 img.logo {
    margin-left: .25em;
}

h1 span {
    display: block;
    font-family: "Vollkorn", Georgia, serif;
    font-size: .5em;
    font-weight: 400;
    font-style: italic;
}

.container {
    max-width: 960px;
    margin: 1em auto;
}

/* copied to styles.css */
#header-bar {
    margin-top: 2em;
    margin-bottom: 0;
}
#header-bar a.go-home {
    background: url('../images/panda_logo_30x24.png') no-repeat 0 0;
    text-transform: uppercase;
    color: #ccc;
    text-decoration: none;
    opacity: .8;
    padding-left: 40px;
    margin-left: -40px;
}
#header-bar a.go-home:hover {
    opacity: 1;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.pump {
    font-size: 1.1em;
}

article {
    padding: 3em 0;
}

#hero,
#screencast,
#how {
    background-color: #e0e0e0;
}

.screencast-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}
.screencast-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer {
    padding: 3em 0 1em;
    clear: both;
}

footer ul {
    list-style: none;
    margin: 0 0 3em;
    padding: 0;
}

footer li {
    float: left;
    display: block;
    width: 33%;
    padding: 0 .5em;
    text-align: center;
}

footer p {
    font-size: .83em;
    text-align: center;
}

#hero header {
    text-align: center;
}

#hero h1 {
    font-size: 7em;
    margin-bottom: 0;
}

header h2 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 2em;
    font-weight: 400;
}

#why ul,
#what ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#why strong {
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    margin-right: .33em;
}

#why li {
    clear: both;
    font-size: 1.5em;
    margin-bottom: 1em;
    padding-left: 5em;
}

#why .icon,
#why li img {
    float: left;
    font-size: 3em;
    width: 1em;
    text-align: center;
    margin: -.25em .5em 0 -1.5em;
}

#why li img {
    margin-top: 0;
}

#what h2,
#how h2 {
    margin: 0 0 1em 0;
}

#what li {
    width: 30%;
    float: left;
    font-size: 1.2em;
    margin: 0 1.5% 1.5em;
    padding-left: 1.5em;
}

#what p {
    clear: both;
    font-size: 1.2em;
    margin-top: .5em;
    text-align: center;
}

#what .icon {
    float: left;
    font-size: 1em;
    text-align: center;
    margin: 0 .5em 0 -1.5em;
}

ol {
    counter-reset: li;
    margin: 0;
    padding: 0;
}

#how ol {
    padding: 0 4em;
}

ol > li {
    font-size: 1.2em;
    position: relative;
    margin: 0 0 1.5em 2em;
    list-style: none;
}
ol > li:before {
    content: counter(li); /* Use the counter as content */
    counter-increment: li; /* Increment the counter by 1 */
    /* Position and style the number */
    position: absolute;
    font-family: "Oswald", "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    font-size: .75em;
    top: -.4em;
    left: -3em;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 2.5em;
    height: 2.5em;
    /* Some space between the number and the content in browsers that support
       generated content but not positioning it (Camino 2 is one example) */
    margin-right: .5em;
    line-height: 1;
    padding-top: .5em;
    border: 4px solid #777;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #fff;
    font-weight: bold;
    text-align: center;
}

#docs-home div.group {
    float: left;
}

#docs-home ul {
    padding: 0;
    margin-right: 2em;
    list-style: none;
}

#docs-home li {
    font-size: .9em;
    margin-bottom: .33em;
}

#docs-home li a {
    text-decoration: none;
}

@media only screen and (max-width: 1040px) {
    .container {
        margin: 1.5em;
    }
    #header-bar a.go-home {
        margin-left: 0;
    }
    #hero h1 {
        font-size: 6em;
    }
    header h2 {
        font-size: 2.5em;
    }
}

@media only screen and (max-width: 870px) {
    body {
        font-size: 18px;
    }
    #how ol {
        padding: 0;
    }
    ol > li {
        margin-left: 3em;
    }
    #docs-home ul {
        margin-right: 3em;
    }
    #docs-home li {
        font-size: 1em;
    }
}

@media only screen and (max-width: 640px) {
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 4em;
    }
    #hero h1 {
        font-size: 5em;
    }
    header h2 {
        font-size: 2.2em;
    }
    #what li {
        width: auto;
        float: none;
        margin: 0 1em 1.5em;
    }
    #what p {
        margin: .5em 1em;
        text-align: left;
    }
    #docs-home li {
        font-size: 1.2em;
    }
}

@media only screen and (max-width: 540px) {
    h1 span {
        margin-top: .5em;
    }
    #why .icon,
    #why li img {
        font-size: 1em;
        width: 1em;
        text-align: center;
        margin: 0 .5em 0 -1.5em;
    }
    #why li img {
        margin-top: .33em;
    }
    #why li {
        padding-left: 1.5em;
    }
    #docs-home ul {
        margin-right: 0;
    }
}

@media only screen and (max-width: 480px) {
    #hero h1 {
        font-size: 4em;
    }
    h1 {
        font-size: 3em;
    }
    footer li {
        float: none;
        width: auto;
        padding: .5em 0;
        text-align: left;
    }
    footer p {
        text-align: left;
    }
    ol > li {
        margin-left: 2em;
    }
}

@media only screen and (max-width: 350px) {
    #hero h1 {
        font-size: 3.5em;
    }
    header h2 {
        font-size: 1.8em;
    }
}