
body {
    font-family: 'Varela', sans-serif;
    margin: 0; /*removes margin at top of page*/
}
.main-head {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/watercloseup-cameronkirby.jpg'), no-repeat;
    background-size: cover;
    display: flex;
    flex-wrap: wrap;
}
.logo {
   margin: 5% 0 2% 3%;
}
.logo img {
	height: 125px;
    min-width: 125px;
}
.tagline {
    color: #fff;
    font-size: 2em;
    text-align: center;
    padding: 0 15px;
}
main a {
    text-decoration: none;
    color: #000;
}
main h1 {
    text-align: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    letter-spacing: 2px;
    min-width: 100%;
    color: #000;
}
.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.portfolio-head {
    text-align: center;
    margin-top: 6%;
    margin-bottom: 1%;
}


/*-------Begin css flip-----------*/
.flipper-container {
    perspective: 1000px;
    margin-bottom: 2%;
}
/*flip on touch*/
.flipper-container.hover .flipper {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.flipper-container, .portfolio-content-back {
    width: 300px;
    height: 300px;
}
/*flip speed*/
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;
    position: relative;
}
/*hide back during swap*/
.portfolio-content-front, .portfolio-content-back {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
/*front, placed above back*/
.portfolio-content-front {
    z-index: 2;
    -webkit-transform: rotateY(0deg);
    transform: rotateY(0deg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 298px;
    width: 298px;
    border: solid 1px #dbdbdb;
}
#sacred-tree-site {
    background-image: url('../img/sacredTreeSite-2.jpg');
}
#oakwood-site {
    background-image: url('../img/oakwoodWeb.jpg');
}
/*back, initially hidden*/
.portfolio-content-back {
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
    text-align: center;
    background-color: #00334d;
    color: #fff;
}
/*End css flip*/

.portfolio-content-back {
    font: 300 1.25em 'Open Sans', sans-serif;
}
.portfolio-content-back a {
    color: white;
}
.portfolio-content-back span{
    padding: 3%;
    font-weight: 700;
    letter-spacing: .115em;
}
.description {
    margin: 12% 5% 30% 5%;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}
.call-to-action {
    font-size: 2em;
    padding: 7%;
    text-align: center;
    line-height: 200%;
}
.call-to-action span {
    color: #199499
}
footer {
    background: #00334d; 
    width: 100%;
    margin: 0 auto;
}
.container {
    text-align: center; 
}
.container p {
    font-size: 2em;
    color: white;
    margin-top: 0;
    margin-bottom: 4%;
}
.contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.email {
    margin-bottom: 4%;
}
.email a {
    text-align: center;
    text-decoration: none;
    color: white;
    font-size: 1.1em;
}
.social {
    padding: 1.5% 0 4%;
}
.social a {
    padding-right: 2%;
    padding-left: 2%;
}
.social img {
    height: 25px;
}

/*-----------Portfolio CSS-------------*/


h3 {
    margin-top: 3%;
    text-align: center;
}
.static-container, .wordpress-container {
    padding: 0;
    margin: 0;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    justify-content: space-around;
}
.wordpress-container {
    margin-bottom: 5%;
}
.example-child {
    width: 298px;
    height: 298px;
    padding: 5px;
    margin-top: 10px;
    margin-bottom: 5%;
    font-size: .85em;
}
.example-child img {
    width: 298px;
    height: 298px;
    border: solid 1px #dbdbdb;
}
.example-child a:link, a:hover {
    color: #3399ff;
}


/*-----------Media Queries-------------*/ 

@media only screen and (min-width: 599px) {
    .portfolio-head {
        margin-right: 4%;
        margin-left: 4%;
    }
}
@media only screen and (min-width: 715px) {
    .main-head {
        flex-wrap: nowrap;
    }
    .logo {
        display: flex;
    }
    .tagline {
        display: flex;
        align-items: center;
        margin: 0 5%;
    }
}
@media only screen and (min-width: 754px) {  
    .email {
        margin-bottom: 0;
    }
}
@media only screen and (min-width: 769px) {
    /*flip on hover*/
    .flipper-container:hover .flipper {
        -webkit-transform: rotateY(180deg);
        transform: rotateY(180deg);
    }
}
@media only screen and (min-width: 959px) {
    .mobile {
        display: none;
    }
    .desktop {
        display: block;
    }
}


@media handheld and (orientation: landscape) {
    .portfolio-head h2 {
        background-color: red;
    }
    .flipper-container:hover .flipper {
        -webkit-transform: initial;
        transform: rotateY(180deg);
} }



