/** VARIABLES **/
:root {
  --sans-font: 'Poppins', sans-serif;
  --serif-font: 'Lora', serif;

  /* light mode colors */
  --color-mode: 'light';
  --background-color: #fff;
  --background-secondary-color: #f7f7f7;
  --title-color: #222;
  --text-color: #333;
  --meta-color: #666;
  --link-color: #008bea;

  /* tag colors */
  --tag-default-background: #e4f7ed;
  --tag-default-text: #3e986c;

  --tag-remote-work-background: #f7ede4;
  --tag-remote-work-text: #98793e;

  --tag-health-background: #ffe7fa;
  --tag-health-text: #a461c5;

  --tag-productivity-background: #e4eaf7;
  --tag-productivity-text: #3e5598;

  --tag-angel-investment-background: #e4f5f7;
  --tag-angel-investment-text: #3e8f98;

  --tag-culture-background: #f7e4e4;
  --tag-culture-text: #bf3333;

  --tag-starting-up-background: #ebe4f7;
  --tag-starting-up-text: #5b2ea0;

  --tag-opacity: 0.9;
  --tag-opacity-hover: 1;
}

/* dark mode colors */
[data-theme='dark'] {
  --background-color: #222831;
  --background-secondary-color: #2d3642;
  --title-color: #eee;
  --text-color: #ccc;
  --meta-color: #999;
  --link-color: #1ca3ff;

  /* tag colors */
  --tag-default-background: #3e986c;
  --tag-default-text: #e4f7ed;

  --tag-remote-work-background: #98793e;
  --tag-remote-work-text: #f7ede4;

  --tag-health-background: #a461c5;
  --tag-health-text: #ffe7fa;

  --tag-productivity-background: #3e5598;
  --tag-productivity-text: #e4eaf7;

  --tag-angel-investment-background: #3e8f98;
  --tag-angel-investment-text: #e4f5f7;

  --tag-culture-background: #bf3333;
  --tag-culture-text: #f7e4e4;

  --tag-starting-up-background: #5b2ea0;
  --tag-starting-up-text: #ebe4f7;

  --tag-opacity: 0.6;
  --tag-opacity-hover: 0.8;
}

/** RESET **/

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, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline; }

*:focus {
    outline: 0; }

ol, ul {
    list-style: none; }

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: separate;
    border-spacing: 0;
    vertical-align: middle; }

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle; }

q, blockquote {
    quotes: "" ""; }
q:before, q:after, blockquote:before, blockquote:after {
    content: ""; }

a img {
    border: none; }

body {
    line-height: 1.5;
    font-family: 'Georgia','Times','Times New Roman',serif;
    color: var(--text-color);
    font-size: 81.25%;
    background-color: var(--background-color);
}

h1 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 3em;
    line-height: 1;
    margin-bottom: 0.5em; }
h1 img {
    margin: 0; }

h2 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 2em;
    margin-bottom: 0.75em; }

h3 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 1em; }

h4 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 1.2em;
    line-height: 1.25;
    margin-bottom: 1.25em; }

h5 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1.5em; }

h6 {
    font-weight: normal;
    color: var(--title-color);
    font-size: 1em;
    font-weight: bold; }

h2 img, h3 img, h4 img, h5 img, h6 img {
    margin: 0; }

p {
    margin: 0 0 1.5em; }
p img.left {
    display: inline;
    float: left;
    margin: 1.5em 1.5em 1.5em 0;
    padding: 0; }
p img.right {
    display: inline;
    float: right;
    margin: 1.5em 0 1.5em 1.5em;
    padding: 0; }

/* previous: #36c */
a {
  text-decoration: none;
  color: var(--link-color);
}
a:visited,
a:focus,
a:active {
    color: var(--link-color);
  }
a:hover {
  text-decoration: underline;
  color: var(--link-color);
}

blockquote {
    margin: 1.5em;
    font-style: italic; }

strong {
    font-weight: bold; }

em {
    font-style: italic; }

dfn {
    font-style: italic;
    font-weight: bold; }

sup, sub {
    line-height: 0; }

abbr, acronym {
    border-bottom: 1px dotted #666; }

address {
    margin: 0 0 1.5em;
    font-style: italic; }

del {
    color: #666; }

pre {
    margin: 1.5em 0;
    white-space: pre; }

pre, code, tt {
    font: 1em 'andale mono', 'lucida console', monospace;
    line-height: 1.5; }

li ul, li ol {
    margin: 0; }

ul, ol {
    margin: 0 1.5em 1.5em 0;
    padding-left: 3.333em; }

ul {
    list-style-type: disc; }

ol {
    list-style-type: decimal; }

dl {
    margin: 0 0 1.5em 0; }
dl dt {
    font-weight: bold; }

dd {
    margin-left: 1.5em; }

table {
    margin-bottom: 1.4em;
    width: 100%; }

th {
    font-weight: bold; }

thead th {
    background: #c3d9ff; }

th, td, caption {
    padding: 4px 10px 4px 5px; }

tr.even td {
    background: #e5ecf9; }

tfoot {
    font-style: italic; }

caption {
    background: #eee; }

.quiet {
    color: #666666; }

.loud {
    color: #111111; }

/** OVERALL FRAMING **/
@media screen and (min-width: 640px){
  #frame {
    max-width: 850px;
  }
}
#frame {
    margin: 0 auto;
    padding: 25px 5%;
}

#frame {
    position: relative;
}


/** HEADER **/

header {
  font-family: var(--sans-font);
}

header div.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-evenly;
  width: calc(100% - 80px);
  margin: 0 auto;
  height: 100px;
  align-items: center;
}

header.responsive div.header-inner {
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

header.responsive div.header-title {
  height: 100px;
}

header div.header-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.responsive div.header-title {
}

header div.header-title-name {
  display: flex;
  align-items: center;
}
header div.header-title-name a {
  line-height: 1;
}

header img.header-profile-picture {
  width: 50px;
  margin-right: 15px;
  border-radius: 10%;
}

header h1 {
  font-weight: 600;
  font-size: 25px;
  line-height: 30px;
  margin: 0;
}
header h1 a {
  color: var(--title-color);
}
header h1 a:visited,
header h1 a:focus,
header h1 a:hover,
header h1 a:active {
  color: var(--title-color);
}

header div.header-nav {
  font-weight: 400;
  font-size: 20px;
  margin-right: 40px;
}

header div.header-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 30px;
}

header.responsive div.header-nav ul {
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
}

header div.header-nav ul li:not(:first-child) {
  margin-left: 20px;
}

header.responsive div.header-nav ul li:not(:first-child) {
  margin-left: 0;
}

header div.header-nav ul li a {
  color: var(--meta-color);
}

header div.header-nav ul li a.nav-current {
  text-decoration: underline;
}

header div.header-title-menu {
  display: none;
}

header a.icon {
  color: var(--meta-color);
  font-size: 20px;
}

@media screen and (max-width: 850px){

  header div.header-nav ul li {
    display: none;
  }
  header div.header-title-menu {
    display: inline;
    margin-right: 40px;
  }

  header div.header-title {
    width: 100%;
    height: 100px;
  }

  header.responsive div.header-nav ul li {
    display: block;
    padding: 5px 0;
  }
}

/** HOME **/

#home-frame {
    margin: 0 auto;
    position: relative;
    margin-bottom: 50px;
}

#homebio {
  padding-top: 30px;
}

#homebio div.homebio-sections {
  flex-wrap: wrap;
}

#homebio div.homebio-section.bio {
  width: 600px;
}

#homebio h1 {
    font-size: 40px;
    position: relative;
    top: 5px;
    margin-bottom: 40px;

    font-family: var(--sans-font);
    font-weight: 600;
    line-height: 1.2;
}
#homebio span.more {
  font-size: 20px;
}
#homebio p {
    line-height: 1.5;
    font-size: 21px;
    font-family: var(--serif-font);
}
#homebio p.home-ctas {
  margin-bottom: 45px;
}
#homebio p.home-ctas a {
  margin-right: 20px;
}
#homebio img.profile-picture {
    float: left;
    display: block;
    margin-right: 25px;
    width: 185px;
    border-radius: 5%;
}

@media screen and (max-width: 850px) {
  #homebio {
    padding-top: 0;
  }
  #homebio img.profile-picture {
    float: none;
    margin-bottom: 25px;
  }
}


/** POSTS LIST **/
#posts-list h2 {
  font-size: 30px;
  font-family: var(--sans-font);
  font-weight: 600;
  margin-top: 25px;
  margin-bottom: 25px;
}
#posts-list p {
  margin-bottom: 0px;
  font-family: var(--serif-font);
}
#posts-list p.home-posts-title {
  margin-bottom: 5px;
  font-size: 23px;
}
#posts-list p.home-posts-title a {
  color: var(--text-color);
}
#posts-list p.home-posts-meta {
  margin-bottom: 25px;
  font-size: 17px;
  color: var(--meta-color);
}
.tag {
  display: inline-block;
  padding: 2px 10px 3px;
  border-radius: 20px;
  background-color: var(--tag-default-background); /* #edf5ff; */
  color: var(--tag-default-text);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
a.tag {
  color: var(--tag-default-text);
  opacity: var(--tag-opacity);
  margin-left: 5px;
  position: relative;
  top: -2px;
}
a.tag:hover {
  text-decoration: none;
  opacity: var(--tag-opacity-hover);
}

.tag.tag-remote-work {
  background-color: var(--tag-remote-work-background);
  color: var(--tag-remote-work-text);
}

.tag.tag-health {
  background-color: var(--tag-health-background);
  color: var(--tag-health-text);
}

.tag.tag-productivity {
  background-color: var(--tag-productivity-background);
  color: var(--tag-productivity-text);
}

.tag.tag-angel-investment {
  background-color: var(--tag-angel-investment-background);
  color: var(--tag-angel-investment-text);
}

.tag.tag-culture {
  background-color: var(--tag-culture-background);
  color: var(--tag-culture-text);
}

.tag.tag-starting-up {
  background-color: var(--tag-starting-up-background);
  color: var(--tag-starting-up-text);
}


h1.tag {
  font-size: 25px;
  padding: 8px 20px 9px;
  border-radius: 25px;
  margin: 25px 0;
  opacity: var(--tag-opacity-hover);
}

/** SUBSCRIBE BOX **/

.box {
    background-color: var(--background-secondary-color);
    padding: 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}

.box h3 {
  margin-top: 10px;
}

.box p {

}

.hr {
    background-image: url('https://static.tumblr.com/fw3zutj/n9il22f19/hrule.gif');
    height: 29px;
    width: 500px;
    background-repeat: no-repeat; }


/** PAGINATION **/

.pagination {
    height: 30px;
    margin-top: 10px;
    font-family: 'Lora', serif;
    font-size: 21px;
}
.pagination .older {
    display: inline-block;
}
.pagination .older a {

}
.pagination .older a:hover {

}
.pagination .newer {
    display: inline-block;
    margin-right: 15px;
}
.pagination .newer a {

}
.pagination .newer a:hover {

}

#footer {
    padding-top: 15px;
    padding-bottom: 30px;
    text-align: center;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    text-align: center;
    color: #999;
    margin-bottom: 10px; }
#footer a {
    color: #999;
    text-decoration: none;
    border-bottom: 1px dotted #ccc; }


/* Ghost 2.0 Image & Gallery Styles */
.kg-width-wide .kg-image {
    max-width: 1040px;
}

.kg-width-full .kg-image {
    max-width: 100vw;
}

.kg-image-card,
.kg-gallery-card {
    margin: 0 0 1.5em;
}

.kg-image-card figcaption,
.kg-gallery-card figcaption {
    margin: 1em 1em 1.5em;
    font-size: 15px;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    margin: 1.5em auto;
    max-width: 1040px;
    width: 100vw;
}
 .kg-gallery-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
 .kg-gallery-image img {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}
 .kg-gallery-row:not(:first-of-type) {
    margin: 0.75em 0 0 0;
}
 .kg-gallery-image:not(:first-of-type) {
    margin: 0 0 0 0.75em;
}


/* ------------ Old Tumblr Theme Customer Styles ------------ */

.date {
    height: 20px;
    padding-top: 18px;
    text-transform: none !important;
    font-weight: normal !important;
    font-size: 12px !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}
.date.bottom {
    bottom: 5px;
    top: auto;
    border-top: none;
}

.posts {
  margin: 0 auto;
    margin-top: 30px;
    padding-top: 0 !important;
}

.post {
    position: relative;
    margin-bottom: 75px;
}
.post .post-header-fix {
    width: 100%;
}
.post .post-header-fix a {
    text-decoration: none;
}
.post h2 {
    font-family: 'Poppins', sans-serif;
    font-style: normal !important;
    font-size: 50px !important;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 5px;
}

@media screen and (max-width: 850px) {
  .post h2 {
    font-size: 35px !important;
  }
}

.post h2 a {
    color: #222;
}
.post h2 a:hover {
    text-decoration: underline;
}
p.date-comments {
    margin: 20px 0 40px 0;
    font-size: 17px !important;
    color: var(--meta-color);
    text-align: center;
}

p {
    font-size: 21px;
    font-family: 'Lora', serif;
    line-height: 1.7;
}
hr {
  border : 0;
  height: 2px;
  /* background-image: linear-gradient(to right, var(--background-color), var(--meta-color), var(--background-color)); */
  background-color: var(--background-secondary-color);
  margin-top: 0;
  margin-bottom: 28px;
}
.post p strong {
    font-weight: 700;
}
h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    margin-top: 40px;
    line-height: 1.2;
}
.post h4 {
    font-size: 23px;
}
.permalink a {
    text-indent: -9999px !important;
}
.post ul {
    list-style-type: square;
    font-size: 21px;
}
.post ol {
    font-size: 21px;
}
.post blockquote {
    font-size: 21px;
    line-height: 1.7;
    font-family: 'Lora', serif;
    border-left: 5px solid var(--link-color);
    padding-left: 20px;
}
.post.hash-buffer blockquote:first-of-type {
    border-left: 0px;
    padding: 5px 10px;
    margin-left: 0;
    margin-right: 0;
    font-size: 17px;
    color: var(--meta-color);
    background-color: var(--background-secondary-color);
}
.post img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}


#lessons-list ul {
    margin: 10px 0;
    padding: 0;
    list-style: none;
}
#lessons-list ul li {
    width: 50%;
    float: left;
}
#lessons-list ul li div {
    margin-bottom: 5px;
    background-color: #f5f5f5;
}
#lessons-list ul li div a {
    border: 1px solid #ddd;
    display: block;
    padding: 5px;
    text-decoration: none;
    height: 77px;
}
#lessons-list ul li div a:hover {
    border: 1px solid #ccc;
    -webkit-box-shadow: 0px 0px 5px #ccc;
    -moz-box-shadow: 0px 0px 5px #ccc;
    box-shadow: 0px 0px 5px #ccc;
}
#lessons-list ul li div:nth-child(odd) {
    margin-right: 5px;
}
#lessons-list ul li div:nth-child(even) {
    margin-left: 5px;
}
#lessons-list ul li img {
    float: left;
    margin-right: 5px;
    border: 1px solid #666;
    border-radius: 0;
}
#lessons-list h3 {
    clear: both;
    padding-top: 20px;
    margin: 0;
}



#book-slot {
    padding: 0;
    margin: 0;
    border: 1px solid #eee;
    border-radius: 3px;
    height: 185px;
    padding-top: 50px;
    margin-bottom: 30px;
}
#book-slot li {
    width: 50%;
    float: left;
    display: block;
}
#book-slot li a {
    display: block;
    margin: 0 auto;
    width: 135px;
    text-align: center;
    height: 20px;
    padding-top: 105px;
    padding-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: bold;
    text-shadow: 0 0 1px white;
}
#book-slot #in-person a {
    background-image: url(https://joelg.cc/content/JT8K/aHR0cDovL2YuY2wubHkvaXRlbXMvMFcwUTFQM04xbTFhMzcycDI0MlMvY29mZmVlLnBuZw==);
    background-repeat: no-repeat;
    background-position: 50% 10px;
    margin-left: 74px;
    margin-right: 37px;
}
#book-slot #skype a {
    background-image: url(https://joelg.cc/content/JTBp/aHR0cDovL2YuY2wubHkvaXRlbXMvMzkxbDNLM280NzNjMVYwQzNMMDIvc2t5cGUucG5n);
    background-repeat: no-repeat;
    background-position: 50% 10px;
    margin-left: 37px;
    margin-right: 74px;
}
#book-slot li a:hover {
    padding-top: 103px;
    border: 3px solid #3166CC;
    padding-bottom: 8px;
    box-shadow: 0 0 10px #3166CC !important;
    text-decoration: none;
    background-position: 50% 8px !important;
}
#book-slot #in-person a:hover {
    margin-left: 72px;
    margin-right: 35px;
}
#book-slot #skype a:hover {
    margin-left: 35px;
    margin-right: 72px;
}

div.old-buttons {
  display: none;
}


/* ------------ CSS Added for Ghost ------------ */

/* Ghost v3 Styles - Update to include your own */
.kg-width-wide,
.kg-width-full,
.kg-gallery-container,
.kg-gallery-row,
.kg-gallery-image {
    /* Add custom gallery styles here */
}
.kg-bookmark-card,
.kg-bookmark-container,
.kg-bookmark-content,
.kg-bookmark-title,
.kg-bookmark-description,
.kg-bookmark-metadata,
.kg-bookmark-icon,
.kg-bookmark-author,
.kg-bookmark-publisher,
.kg-bookmark-thumbnail {
    /* Add custom bookmark styles here */
}

#mc_embed_signup form {
    padding: 0!important;
}
#mc_embed_signup input {
  display: inline !important;
  border-radius: 5px !important;
  background-color: var(--background-color);
  border: 2px solid var(--meta-color) !important;
  color: var(--title-color);
  font-size: 19px !important;
  padding: 10px !important;
  line-height: 21px !important;
  font-weight: normal !important;
}
#mc_embed_signup input[type=email] {
  float: left;
  width: 350px !important;
  margin-right: 20px !important;
}
#mc_embed_signup input[type=email]::placeholder {
  color: var(--meta-color);
}
#mc_embed_signup input[type=submit] {
  width: 50px !important;
  background-color: var(--link-color);
  opacity: 0.9;
  color: var(--title-color);
  height: auto !important;
  width: auto !important;
  font-weight: 700 !important;
  border: 2px solid var(--link-color) !important;
}
#mc_embed_signup input[type=submit]:hover {
  background-color: var(--link-color);
  opacity: 1;
}



/* DARK MODE */
@media (prefers-color-scheme: dark) {
  :root {
    --color-mode: 'dark';
  }
}

.toggle {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 38px;
  right: 30px;
  z-index: 1;
}
@media screen and (max-width: 850px){
  /*.toggle {
    top: 37px;
    right: 70px;
  }*/
}
.toggle i {
  color: var(--meta-color);
}

[data-theme='dark'] .toggle .moon {
  display: none;
}
[data-theme='light'] .toggle .sun {
  display: none;
}
