/* circular crop */
img.headshot {
    object-fit: cover;
    border-radius: 50%;
    height: 250px;
    width: 250px;
    margin: 0em 1em 1em 1em;
    float: right;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    img.headshot {
        object-fit: cover;
        border-radius: 50%;
        /* height: 75%; */
        /* width: 75%; */
        /* margin: 0em 1em 1em 1em; */
        margin: auto;
        display: block;
        float: none;
    }
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
    /* font-weight: 300; */
	color: #2c3e50;
	line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
	/* background-color: #f3f5f7; */
}

a, a:hover {
    color: #1e88e5;
    text-decoration: none;
    font-weight: 500;
}

a.header-anchor {
    font-size: .85em;
    float: left;
    margin-left: -.87em;
    padding-right: .23em;
    margin-top: .125em;
    opacity: 0;
}

h2:hover .header-anchor {
    opacity: 1;
}

html,button,input,select,textarea {
    color: #333;
}

body {
    background-color: #ffffff;
}

/* html {
    color: white;
    color: #f6f8fa;
} */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1rem 0;
    padding: 0;
}

img {
    margin: 10px auto 10px auto;
    max-width: 100%;
    display: block;
}

a img {
    border:none;
}

figure {
    margin: 0;
    text-align: center;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

blockquote {
    margin-left: 0rem;
    /* font-style: italic; */
    /* font-size: 1.4rem; */
    /* font-family: Georgia,bitstream charter,serif; */
    /* border-left: 3px solid; */
    border-left-width: .5rem;
    border-left-style: solid;
    border-color: #1e88e5;
    padding-left: 20px;
    background-color: #f3f5f7;
}

blockquote cite {
    font-size: 70%;
    opacity: .8;
}

blockquote em {
    font-weight: 600;
}

a:hover {
    text-decoration: underline
}

h1,h2,h3,h4,h5,h6 {
    /* font-family: raleway,sans-serif; */
    /* line-height: 1.2; */
    /* color: #333; */
    /* font-weight: 100 */
    font-weight: 600;
    line-height: 1.25;
}

h1 {
    font-size: 2.2rem
}

h2 {
    font-size: 1.8rem;
    border-bottom: 1px solid #eaecef;
}

h3 {
    font-size: 1.4rem
}

h4 {
    font-size: 1rem
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: .9rem;
}

.align-center {
    text-align: center;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.container {
    max-width: 800px;
}

ul {
    padding-left: 15px;
}

ul.flat {
    margin: 0;
    padding: 0;
}

ul.flat li {
    display: inline-block;
    list-style: none;
    margin-left: 0;
}

.prevent-collapse {
    min-height: .1rem
}

.page-title {
    margin: 0;
}

.smaller {
    font-size: 70%;
}

ul {
    list-style: disc inside;
}

.site-title a {
	color: #333;
    font-weight: 600;
	text-decoration: none !important;
    margin-top: 3px;
}

.post ul li {
    margin-bottom: 10px;
}

.post ul li p {
    display: inline;
}

.highlight pre {
    margin-bottom: 0;
    margin-top: 0;
    padding: 20px;
    background-color: transparent !important;
}

.highlight {
    background: 0 0;
    background-color: #282a36;
    border-radius: 5px;
}

pre code {
  display: inline-block;
}
  

.wrapper {
    max-width: 760px;
    margin: 0 auto;
}

.container {
    margin-top: 50px;
}

.header {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.header h1,
.header h2 {
    margin: 0;
    padding: 0;
    font-size: 2rem;
    line-height: 1.3em;
}

.header h2 {
    font-size: 1.125rem;
}

.header nav {
    /* margin-top: 20px; */
    border-top: 1px solid #f4f4f4;
}

.header nav ul,
.header nav li {
    margin: 0;
}

.header nav ul.flat {
    padding: 0;
}

.header nav ul.flat li {
    display: inline-block;
    list-style: none;
    margin-left: 0;
    margin-right: 10px;
    margin-top: 10px;
    text-transform: capitalize;
}

.header .site-title {
  font-size: 1.3em;
  font-weight: 600;

  display: flex;
  justify-content: space-between;
}

.header .site-title nav {
  margin: 0;
  padding: 0;
  border: none;
}

.header .site-title nav ul svg {
	max-height: 15px;
}

.site-title nav ul svg {
	max-height: 15px;
}

.header .site-header {
    display: flex; 
    justify-content: space-between;
}

.header .site-description {
    display: flex;
    justify-content: space-between;
}

.header .site-description nav {
    margin: 0;
    padding: 0;
    border: none;
    min-width: 50px;
    margin-left: 15px;
    font-size: 1.3em;
}

.header .site-description nav ul svg {
    max-height: 18px;
}


.section .section-header {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.recent-posts .posts .post {
    margin-bottom: 30px;
}

.recent-posts .posts .post .meta,
.post .post-header .meta,
.list .posts .post .meta {
    font-size: 14px;
    font-weight: 400;
	color: #999;
	margin-bottom: 4px;
}

.post .post-header {
    margin-bottom: 30px;
}

.post .post-header .title {
    margin: 0;
}

.post-tags a {
	margin-right: 5px;
}

.post .post-header .meta {
    padding-left: 5px;
    /* margin-top: 10px; */
}

.post .draft-label {
    color: #a00;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 6px;
    background-color: #f9f2f4;
}

.post-tags .tags li {
    margin-bottom: 0;
    margin-top: 20px;
}

.post-tags .tags a {
    display: inline-block;
    border: 1px solid #a00;
    border-radius: 4px;
    padding: 0px 6px;
    color: #a00;
    line-height: 20px;
    font-size: 12px;
    text-decoration: none;
    margin: 0 1px;
}

.list .posts .post .meta {
    margin-bottom: 0;
    margin-left: 5px;
}

.footer {
    text-align: right;
    font-size: 0.75em;
    color: #999;
    border-top: 1px solid #f4f4f4;
    padding: 20px 0;
    margin-top: 40px;
}

.page-title {
    margin-bottom: 0;
}

.tag-cloud {
    margin-top: 20px;
}

.tag-cloud a {
    margin-right: 15px;
}

.pagination {
    margin: 0;
    padding: 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.pagination li {
    list-style: none;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.pagination .page-prev {
    margin-right: 20px;
    padding-right: 20px;
}

.pagination .page-item.page-prev {
    text-align: left;
}

.pagination .page-item.page-next {
    text-align: right;
}

table th {
    background-color: #f4f4f4;
}

table th, table td {
    padding: 10px 20px;
    border: 1px solid #dddddd;
}

@media (max-width: 767px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1rem;
    }

    .container {
        margin-top: 10px;
    }
}

.copy-code-button {
    /* color: rgba(255,255,255,.8); */
    /* background-color: rgba(78,78,78,.8); */
    /* border-color: #272822; */
    border: 0px solid;
    border-radius: 5px;
    /* padding-top: 0px;
    padding-bottom: 0px; */
    /* padding: 0px; */

    /* border-radius: var(--radius); */
    /* right-align */
    /* display: block; */
    /* margin-left: auto; */
    /* margin-right: 0; */

    /* margin-bottom: -2px; */
    /* padding: 3px 8px; */
    /* font-size: 14px; */
    /* top: 4px; */
    /* right: 4px;  */
    /* padding: 0 5px; */
    /* float: right; */
    position:absolute;
    font-family:jetbrains mono,ibm plex mono,roboto mono,consolas,monospace;
    font-size:.875rem;
    cursor:text;
    top: 4px;
    right: 4px;
    display: none;
}

.copy-code-button:hover {
    cursor: pointer;
    background-color: #F2F2F2;
}

.copy-code-button:focus {
    /* Avoid an ugly focus outline on click in Chrome,
       but darken the button for accessibility.
       See https://stackoverflow.com/a/25298082/1481479 */
    background-color: #E6E6E6;
    outline: 0;
}

.copy-code-button:active {
    background-color: #D9D9D9;
}

.copy-code-button:hover {
    background-color: #D9D9D9;
}

.highlight:hover .copy-code-button {
    display: block;
}

.highlight pre { 
    margin: 0;
}

/* .highlight pre { */
    /* Avoid pushing up the copy buttons. */
    /* margin: 0; */
/* } */

#toggle-dark-mode {
    float: left;
    position: fixed;
    top: 50px;
    /* left: calc((100vw - var(--main-width) - var(--gap) * 2)/2 - 138px); */
    left: 50%;
    transform: translate(-625%, 0%);
    background: 0 0;
    border: 0;
}

#toggle-dark-mode svg{
    height: 30px;
    width: 30px;
    z-index: 0;
}

#sun {
    fill: rgb(51, 51, 51);
    /* fill: rgb(0, 0, 0); */

}

#moon {
    fill: rgb(245, 245, 245);
    /* fill: rgb(255, 255, 255); */
}