html,
body {
  padding: 0px;
  margin: 0px;
  height: 100%;
}

html,
body,
input,
button,
select,
textarea {
  font: 17px/1.2 'Open Sans', sans-serif;
  color: #444;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 300;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
  margin: 0px;
  font-weight: 700;
  line-height: 1.5;
  color: #535351;
}

h1,
h2,
h3 {
  letter-spacing: -1px;
}

a {
  color: #3c80c3;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:active,
a:focus {
  color: #1e4062;
}

p {
  line-height: 1.4;
  margin-top: 7px;
}

pre code {
  font-family: Monaco, Menlo, monospace;
  padding: 25px 20px;
  background-color: #fafaf8;
  overflow: auto;
  display: block;
  font-size: 14px;
}

hr {
  border-top: 1px solid #e2e2e2;
  border-right: none;
  border-bottom: none;
  border-left: none;
  margin: 10px 0 30px 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* mobile size */
.container {
  width: 100%;
  padding: 0px;
  margin: 0px auto;
}

div.bg {
  background-color: #000;
}

div.bg > div.container {
  height: 100%;
}

div.bg {
  background: url(img/bg.jpg) no-repeat center center fixed; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  height: 100%;
  width: 100%;
  position: fixed;
  overflow: scroll;
}

header {
  width: 100%;
  padding-top: 30px;
  text-align: center;
  margin-bottom: 10px;
}

header a,
header a:hover {
  color: #fff;
  text-decoration: none;
}

h1#logotype {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -1px;
}

main {
  background-color: #fff;
  padding: 20px;
  min-height: 100%;
}

header ul.menu {
  margin: 10px 10px 15px 0px;
  padding: 0px;
  text-align: center;
  font-weight: 700;
  font-size: 12px;
}

header ul.menu li {
  list-style-type: none;
  line-height: 1.5;
  display: inline-block;
  margin: 0px 5px;
}

@media only screen and (min-width: 600px) {
  header ul.menu {
    margin: 15px 0px 15px 0px;
  }
}

.posts h2,
.page-title {
  margin-bottom: 30px;
  font-size: 40px;
}

.posts h2.post-title {
  font-size: 25px;
}

.post {
  padding-bottom: 10px;
  border-bottom: 1px solid #efefec;
  margin-bottom: 50px;
}

span.post-meta {
  font-size: 0.7em;
  color: #9EABB3;
}

h2.post-title,
h1.post-title {
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -1px;
  margin-bottom: 5px;
}

h2.post-title a {
  color: #535351;
}

h2.post-title a:hover {
  color: #121210;
  text-decoration: none;
}

img.post-image {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}



/* tablet size */
@media only screen and (min-width: 600px) {
  .container {
    width: 540px;
    padding: 0px 20px;
  }
  main {
    padding: 30px;
  }
}

.pagination {
    position: relative;
    width: 80%;
    max-width: 700px;
    margin: 4rem auto;
    font-size: 1rem;
    color: #9EABB3;
    text-align: center;
}

.pagination a {
    color: #9EABB3;
}

/* Push the previous/next links out to the left/right */
.older-posts,
.newer-posts {
  position: absolute;
  display: inline-block;
  padding: 5px 10px;
  border: #EBF2F6 1px solid;
  text-decoration: none;
  border-radius: 2px;
  transition: border ease 0.3s;
}

.older-posts {
    right: 0;
}

.page-number {
    display: inline-block;
    padding: 6px 0;
}

.newer-posts {
    left: 0;
}

.older-posts:hover,
.newer-posts:hover {
    border-color: #ccc;
    color: #666;
    text-decoration: none;
}

.post-footer {
  padding-top: 7px;
  margin-top: 50px;
  border-top: 1px solid #efefec
}

.post-footer .share a {
  font-size: 0.5em;
  display: inline-block;
  margin: 5px 5px 0px 0px;
  background-color: #677279;
  padding: 5px 10px;
  border-radius: 2px;
  color: #fff;
  font-weight: 300;
}

.post-footer .share a:hover {
    background-color: #50585D;
    text-decoration: none;
}

input {
  border: 1px solid #e2e2e0;
  padding: 5px 10px;
  line-height: 1.5;
}


/*
* author
*/

.author-profile {
  min-height: 150px;
  margin-bottom: 50px;
}

.author-photo {
  float: left;
  border-radius: 300px;
  width: 150px;
  margin-right: 25px;
}

.author-stats {
  font-size: 50%;
  font-weight: 300;
  margin-left: 10px;
}

.author-meta {
  font-size: 70%;
}

/* desktop size */
@media only screen and (min-width: 960px) {
  .container {
    width: 800px;
  }

  header {
    width: 100px;
    float: left;
    position: fixed;
    padding-top: 50px;
  }

  main {
    width: 640px;
    float: right;
    padding: 50px;
    -webkit-box-shadow: inset -2px 0px 3px -2px rgba(33, 33, 31, 0.2),
                        inset  2px 0px 3px -2px rgba(33, 33, 31, 0.2);
    box-shadow: inset -2px 0px 3px -2px rgba(33, 33, 31, 0.2),
                inset  2px 0px 3px -2px rgba(33, 33, 31, 0.2);
  }
}

/* clearfix */
.container:after {
  content: " ";
  display: table;
  clear: both;
}

.container {
  *zoom: 1;
}