/* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* 12/29/2014*/
/* Grid */
.container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 85%;
    padding: 0; }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 80%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }
}

/* Base Styles */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%; }
body {
  line-height: 1.6;
  color: #222; }


/* Typography
–––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-bottom: 3rem;
  font-weight: 400; }
h1 { line-height: 1.2;  letter-spacing: -.1rem;}
h2 { line-height: 1.25; letter-spacing: -.1rem; }
h3 { line-height: 1.3;  letter-spacing: -.1rem; }
h4 { line-height: 1.35; letter-spacing: -.08rem; }
h5 { line-height: 1.5;  letter-spacing: -.05rem; }
h6 { line-height: 1.6;  letter-spacing: 0; }

p { margin-top: 0; }

/* Links
–––––––––––––– */
a { color: #1EAEDB; }
a:hover { color: #0FA0CE; }

/* Forms
–––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 65px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }

/* Lists
–––––––––––––– */
ol { list-style: decimal; }
ol, ul { margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
  margin: 1.5rem 0 1.5rem 3rem;
  font-size: 90%; }
li { margin-bottom: 1rem; }

/* Code
–––––––––––––– */
code {
  padding: .2rem .5rem;
  margin: 0 .2rem;
  font-size: 90%;
  white-space: nowrap;
  background: #F1F1F1;
  border: 1px solid #E1E1E1;
  border-radius: 4px; }
pre > code {
  display: block;
  padding: 1rem 1.5rem;
  white-space: pre; }

/* Tables
–––––––––––––– */
th,
td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }

/* Spacing
–––––––––––––– */
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
  margin-bottom: 2.5rem; }

/* Misc
–––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
  border-top: 1px solid #DDD; }

/* My custom CSS */
body {
  font-size: 18px;
}

h1 { font-size: 5.5rem; color: #333; text-align: center; }
h2 { font-size: 4.14rem; }
h3,h2 > a { font-size: 3.1rem; } /* h3 and home page links */
h4,h5,h6 { font-size: 2.4rem; }

/* Fix fonts on tiny screens */
@media all and (max-width: 415px) {
  h1 { font-size: 4.5rem }
  h2 { font-size: 3.5rem }
  h3 { font-size: 2.5rem }
}

img {
  max-width: 95%;
  height: auto;
  display: block;
  margin: auto;
  border: 0;
}

.tags img {
    display: inline;
}

header,
footer {
  margin: 4rem 0;
  text-align: center;
}

main {
  margin: 4rem 0;
}

.container {
  width: 90%;
  max-width: 690px;
}

.header-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 4px solid #EEE;
}

.header-logo img:hover {
  border-color: #FFF;
}

.entry-title a {
  text-decoration: none;
}

.entry-meta {
  margin: -1rem 0 3rem 0;
  font-size: 1.5rem;
  color: #666;
}

pre code {
  font-size: 1.5rem;
  overflow: auto;
  white-space: pre;
}

blockquote {
  border-left: 1px solid #777;
  font-style: italic;
  padding: 0 0 0 3rem;
}

.pagination a, .tags a {
  color: #666;
  text-decoration: none;
}

#newer-post, #newer-page, #older-post, #older-page {
  width: 49%;
  display: inline-block;
  vertical-align: middle;
}

#newer-post, #newer-page {
  text-align: right;
}

.footer-link {
  margin: 2rem 0;
}

.footer-link a {
  padding: 1rem;
}

.hr {
  height: 1px;
  margin: 4rem 0;
  background: #EEE;
  background: linear-gradient(to right, white, #DDD, white);
}

hr { width: 40% }

/** Dark Mode */
@media screen and (prefers-color-scheme: dark) {
  body {
    background-color: #2F2F2F;
    color: #DDD;
  }
  
  h1,h2 { color: #EEE; }
  
  .entry-meta, .pagination a, .tags a {
    color: #BBB;
  }

  code {
      background: #222;
      border: 1px solid #333;
      color: #EEE;
  }
}
