/*
Theme Name: heartonomy-wp-theme
Theme URI: http://heartonomy.com
Author: Rudd Zwolinski
Author URI: http://heartonomy.com
Description: A wordpress theme for the Heartonomy site.
Version: 2.0
License: None
License URI: http://example.com
Tags: no-tags-for-you
Text Domain: heartonomy-wp-theme

This is some text.
*/

/*
 ***************
 ** CSS RESET **
 ***************
 */

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
 ********************
 ** GENERAL STYLES **
 ********************
 */

img {
    max-width: 100%;
}

body {
    max-width: 960px;
    margin: auto;
    color: #262626;
    font: 18px Ubuntu;
    text-shadow: 0px 0px 1px rgba(128,128,128,0.01);
}

body.home {
    max-width: 100%;
}

a {
    color: #cc3333;
    text-decoration: none;
    transition: color 0.25s;
}
a:hover {
    color: #ee5555;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.embed-container.instagram {
    padding-bottom: 120%;
}

.embed-container.vine {
    padding-top: 0;
    padding-bottom: 100%;
}

.embed-container iframe,
.embed-container embed,
.embed-container object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*
 ********************
 ** VARIOUS PLACES **
 ********************
 */

.appstore {
    text-align: center;
    margin: 20px 0;
}

.appstore img {
    width: 270px;
    height: 80px;
}

/*
 ************
 ** HEADER **
 ************
 */

#hfc_header {
text-align: center;
background: #ce3334;
padding-top: 1.8em;
padding-bottom: 1.8em;
color: white;
position: relative;
margin-top: 69px;
margin-bottom: 65px;
}

#hfc_header::before {
    content: "";
    background: url("http://heartonomy.com/wp-content/themes/heartonomy-wp-theme/images/ted-arcade.png");
    display: inline-block;
    width: 124px;
    height: 128px;
    position: absolute;
    top: -69px;
    left: 70px;
    background-size: 124px 128px;
    background-repeat: no-repeat;
}

#hfc_header a {
color: white;
text-decoration: underline;
}

#header {
    max-width: 960px;
    margin: 25px auto 25px auto;
}

#header-main {
    width: 33.333333%;
    margin: 0 auto;
}

#header a {
    display: block;
}

#header img {
    display: block;
    position: relative;
    bottom: 0;
    transition: bottom 0.25s;
}

#header a:hover img {
    bottom: 5px;
}

/*
 ****************
 ** FRONT PAGE **
 ****************
 */

.heart-words {
    margin: 25px auto 50px auto;
    text-align: center;
    text-transform: uppercase;
    font: 18px Quicksand;
}

.game-highlight {
    display: block;
    position: relative;
    overflow: hidden;
    margin: 25px 0;
}

.parallax-layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.impoppable-highlight {
    background: url(images/impoppable-background-repeat.png) repeat fixed center 0;
    background-size: 250px 250px;
}
.nofancy .impoppable-highlight {
    background-attachment: scroll;
}
.impoppable-radial {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, #ccfbff 40%, #b3ccff 70%) fixed center center, #ccfbff;
}
.nofancy .impoppable-radial {
    background-attachment: scroll;
}
.impoppable-highlight-content {
    max-width: 1265px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.impoppable-highlight-content img {
    display: block;
}

.starlicker-highlight {
    background: url(images/starlicker-background.jpg) repeat-y fixed center center;
    background-size: cover;
}
.nofancy .starlicker-highlight {
    background-attachment: scroll;
}
.starlicker-highlight-content {
    max-width: 1265px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.starlicker-highlight-content img {
    display: block;
}

.tilewild-highlight {
    background: #000;
}
.tilewild-highlight-content {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.tilewild-highlight-content img {
    display: block;
}
.tilewild-background-layer {
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.tilewild-background-layer img {
    width: 1300px;
    display: block;
    margin: 0 auto;
}
.parallax-tilewild {
    background: url(images/tilewild-parallax-repeat-2.png) repeat fixed 76px 76px;
}
.nofancy .parallax-tilewild {
    background-attachment: scroll;
}
.parallax-tilewild2 {
    background: url(images/tilewild-parallax-repeat.png) repeat fixed 0 0;
}
.nofancy .parallax-tilewild2 {
    background-attachment: scroll;
}

.game-highlight-background img {
    display: block;
}

.game-highlight-logo {
    width: 25%;
    margin: 0 auto;
}

.game-highlight-logo img {
    display: block;
}

.full-portfolio {
    text-align: center;
    margin: 50px auto;
}

.full-portfolio-link {
    display: inline-block;
}

.full-portfolio-link .full-portfolio-button {
    position: relative;
    bottom: 0;
    text-align: center;
    background-color: #cc3333;
    color: #fff;
    font: 22px Quicksand;
    text-transform: uppercase;
    padding: 25px 50px;
    border-radius: 50px;
    transition: background-color 0.25s, bottom 0.25s;
}
.full-portfolio-link:hover .full-portfolio-button {
    background-color: #ee5555;
    bottom: 5px;
}

.heart-separator {
    background: url(images/heartonomy-hearts-separator.png) no-repeat 50% top;
    background-size: 19px 15px;
    width: 19px;
    height: 15px;
    margin: 25px auto;
}

.hire-us {
    margin: 50px 0;
    font-family: Quicksand;
    padding: 50px 25px;
    background: #262626;
    color: #fff;
    text-align: center;
}

.hire-us-header {
    text-transform: uppercase;
    font-size: 36px;
}

.hire-us-message {
    font-size: 22px;
    max-width: 840px;
    margin: 25px auto;
}

.hire-us-social-icon {
    display: inline-block;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0 5px;
    position: relative;
    bottom: 0;
    transition: bottom 0.25s, color 0.25s;
    color: #fff;
    background-color: #cc3333;
    width: 75px;
    height: 75px;
    border-radius: 100px;
    padding: 10px;
}
.hire-us-social-icon:hover {
    bottom: 5px;
    color: #fff;
    background-color: #ee5555;
}

/*
 ***********************
 ** BLOG / GAME PAGES **
 ***********************
 */

#content {
    width: 75%;
    margin: 0 auto;
}

#front-page-content {
    width: 100%;
}

#content h1 {
    text-align: center;
    font: 48px Comfortaa;
    margin: 25px 0;
}

.post, #content .page {
    margin: 25px 0;
    padding: 0 10px;
}

.post .entry-title {
    font: 36px Comfortaa;
    text-align: center;
}

.post.single-page .entry-title {
    font-size: 48px;
}

#content .page .entry-title {
    font: 48px Comfortaa;
    text-align: center;
}

.post .entry-meta {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.post p, #content .page p {
    margin: 15px 0;
    line-height: 1.3em;
    font-weight: 300;
}

.post h2, #content .page h2 {
    font: 36px Comfortaa;
}

#content .page h2 {
    margin-bottom: 25px;
}

.post h3, #content .page h3 {
    margin: 10px 0;
    font: 28px Comfortaa;
}

.nav:after {
    visibility: hidden;
    display: block;
    content: "";
    clear: both;
    height: 0;
}

.nav .nav-left {
    float: left;
}

.nav .nav-right {
    float: right;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

#content ul {
    list-style: disc;
    margin-left: 20px;
}

/*
 ****************
 ** GAME PAGES **
 ****************
 */

.page-template-gamepage #header {
    margin: 25px auto;
}

.gamepage#content .page {
    margin-top: 25px;
}

.gamepage .post h2, .gamepage .page h2 {
    display: none;
}

.gamepage h3 {
    text-align: center;
}

.gamepage p {
    text-align: center;
}

/*
 ********************
 ** PORTFOLIO PAGE **
 ********************
 */

.page-template-portfoliopage #header {
    margin: 25px auto 25px auto;
}

.portfolio-group {
    padding: 0 25px;
}

.portfolio-group:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.portfolio-group-title {
    text-align: center;
    font: 32px Quicksand;
    margin-bottom: 25px;
}

.portfolio-piece {
    float: left;
    margin-right: 6.25%;
    margin-bottom: 6.25%;
    width: 29.16666667%;
}

.portfolio-piece:nth-child(3n+3) {
    margin-right: 0;
}

.portfolio-piece:nth-child(3n+1) {
    clear: left;
}

.portfolio-piece-main-link {
    display: block;
}

.portfolio-piece-image img {
    border-radius: 10px;
    position: relative;
    bottom: 0;
    transition: bottom 0.25s;
}
.portfolio-piece-main-link:hover img {
    bottom: 5px;
}

.portfolio-piece img {
    display: block;
}

.portfolio-piece-text {
    text-align: center;
}

.portfolio-piece-text h3 {
    font: 24px Quicksand;
}

.portfolio-piece-text p {
    font-size: 16px;
    font-weight: 300;
}

/*
 ************
 ** FOOTER **
 ************
 */

#footer {
    margin-top: 50px;
    text-align: center;
    font-size: 18px;
    line-height: 1.5em;
}

#footer-press {
    font-weight: 700;
}

#copyright {
    font-weight: 300;
}

#heartonomy-loves-you {
    display: inline-block;
    font-family: "Courier New", sans-serif;
    padding: 3px 3px 2px 3px;
    border-radius: 8px;
    font-size: 12px;
    width: 18px;
    background-color: #cc3333;
    color: #fff;
    line-height: 1em;
}

/*
 *********************
 ** SMALLER SCREENS **
 *********************
 */

/* Front Page */

@media only screen and (max-width: 1088px) {
     #hfc_header {
        padding-top: 3.4em;
    }
}
@media only screen and (max-width: 768px) {
    #header-main {
        width: 50%;
    }
    .impoppable-highlight {
        background-size: 125px 125px;
    }
}
@media only screen and (max-width: 480px) {
    #header {
        margin: 25px auto 12.5px auto;
    }
    #header-main {
        width: 50%;
    }
    .heart-words {
        margin: 12.5px auto 25px auto;
    }
    .full-portfolio {
        margin: 25px auto;
    }
    .full-portfolio-link {
        font-size: 18px;
    }
    .hire-us {
        margin: 25px 0;
        padding: 25px;
    }
    .hire-us-header {
        font-size: 24px;
    }
    .hire-us-message {
        font-size: 16px;
    }
    #footer {
        margin-top: 25px;
    }
}
@media only screen and (max-width: 360px) {
    .heart-words {
        font-size: 14px;
    }
    .game-highlight {
        margin: 12.5px auto;
    }
    .full-portfolio {
        margin: 12.5px auto;
    }
    .full-portfolio-link .full-portfolio-button {
        padding: 10px 25px;
    }
    .hire-us {
        margin: 12.5px 0 12.5px 0;
    }
    .hire-us-social-icon {
        width: 50px;
        height: 50px
    }
    .impoppable-highlight {
        background-size: 62.5px 62.5px;
    }
}

/* Portfolio Page */
@media only screen and (max-width: 640px) {
    .portfolio-group {
        max-width: 300px;
        margin: 0 auto;
    }
    .portfolio-piece {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
        float: none;
    }
    .portfolio-piece img {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    #content {
        width: 90%;
    }
}

@media only screen and (max-width: 500px) {
    #content {
        width: 100%;
    }
}

@media only screen and (max-width: 320px) {
    #footer {
        font-size: 16px;
    }
}
