/* ==========================================================================
  Main stylesheet for cpodemayo.com
  Author: Charlotte Koh
  Also includes goodness from:
    normalize.css v2.1.2 | MIT License | git.io/normalize
  ========================================================================== */



/* ==========================================================================
   Base
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, main, 
nav, section, summary {
  display: block;
}
html {
  padding: 0 25px 50px;
  background-color: #fff;
}
body {
  max-width: 820px;
  min-width: 200px;
  margin: 0 auto;
}



/* ==========================================================================
   Typography
   ========================================================================== */ 
html {
  color: #5d5d5d;
  font-family: 'Droid Sans', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
h1 {
  margin-bottom: .75em;
  font-size: 2em;
  letter-spacing: 2px;
  text-transform: uppercase;
}
h2 {
  margin-bottom: 1em;
  color: #404040;
  font-size: 1.5em;
  font-weight: normal;
}
p {
  margin: 1.5em 0;
}
.contact {
  margin: 0;
  padding: 0;
  list-style: none;
}



/* ==========================================================================
   Links
   ========================================================================== */
a {
  border-bottom: 1px dotted #404040;
  background: transparent;
  color: #5d5d5d;
  font-weight: bold;
  text-decoration: none;
}
a:focus {
  outline: thin dotted;
}
a:active,
a:hover {
  outline: 0;
  border-bottom: 1px solid #404040;
  color: #404040;
}
  


/* ==========================================================================
   Illustration
   ========================================================================== */
.home {
  margin-top: 25px;
  padding-top: 200px;
  background: url('../img/super-charlotte-mini.jpg') no-repeat center top;
}



/* ==========================================================================
   Banner 
   ========================================================================== */
header {
  min-width: 100%;
  position: absolute;
  left: 0;
  overflow: hidden;
  background-color: #404040;
}
.banner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 25px;
  color: #fff;
  text-align: center;
  background-color: #404040;
}
.content {
  margin-top: 4.5em;
}



/* ==========================================================================
   Media Queries
   - Adjustments for illustration, banner and content
   ========================================================================== */
@media screen and (min-width: 700px) {
  .home {
    margin: 75px auto 100px;
    padding-top: 65px;
    z-index: 1;
    background: url('../img/super-charlotte.png') no-repeat right top;
  }
  header {
    z-index: -1;
  }
  .banner {
    text-align: left;
  }
  .content {
    width: 50%;
  }
}
@media screen and (min-width: 850px) {
  .content {
    width: 60%;
  }
}