:root{
--themeColor: rgba(255, 55, 116, .5);
--bgColor: #18181b;
--midGrey: #7f7f7f;
--lightOverlay: #313135;
--callouctcolor:dodgerblue;
}
html {
  background-color: var(--bgColor);
  color: rgba(232, 230, 227, 1);
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6em;
  letter-spacing: .9px;
}
body{
  display: block;
  margin: 8px;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

::selection {
  background: var(--themeColor);
  color: #fff;
}

p, ul, .description {
  letter-spacing: .9px;
  line-height: 1.6em;
}

hr {
  border: 0;
  border-top: 3px dotted var(--midGrey);
  margin: 1em 0;
}

blockquote {
  border-left: 3px solid var(--midGrey);
  color: var(--midGrey);
  margin: 0;
  padding-left: 1em;
}

a {
  font-family: 'DM Mono', 'Roboto Mono', monospace;
  border-bottom: 3px solid var(--themeColor);
  color: inherit;
  text-decoration: none;
}
a:hover {
    background-color: var(--themeColor);
    color: #fff;
}
p a {
  font-family: inherit;
}

/* Images */
img {
  max-width: 100%;
}

figure {
  box-sizing: border-box;
  display: inline-block;
  margin: 0;
  max-width: 100%;
}

figure img {
  max-height: 500px;
}

@media screen and (min-width: 600px) {
  figure {
    padding: 0 40px;
  }
}

figure h4 {
  font-size: 1rem;
  margin: 0;
  margin-bottom: 1em;
}

/* Code blocks */
code {
  padding: .15rem .3rem;
  background-color: var(--lightOverlay);
  border-radius: 3px;
}

pre {
  /* background-color: #ececec; */
  background-color: var(--lightOverlay);
  line-height: 1.4;
  overflow-x: auto;
  padding: 1rem;
  border-radius: 3px;
}

.highlight pre ::selection {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
}

pre code {
  background-color: transparent;
  color: inherit;
  font-size: 100%;
  padding: 0;
}

/* Containers */
.content {
  margin-bottom: 4em;
  margin-left: auto;
  margin-right: auto;
  max-width: 800px;
  padding: 0 1ch;
  word-wrap: break-word;
}

@media screen and (min-width: 978px) {
  .content {
    margin-left: 4rem;
  }
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 1em 0;
}

header .main {
  font-size: 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Mono', 'Roboto Mono', monospace;
  margin-top: 2em;
}

h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.4rem;
}
h3 {
  font-size: 1.2rem;
}
h4 {
  font-size: 1.1rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 1rem;
}

.list-item .title {
  font-size: 1.6rem;
}

.list-item a, .pagination {
  font-family: 'DM Mono', 'Roboto Mono', monospace;
  line-height: 1.3em;
}

nav a {
  margin-right: .5rem;
}

footer {
  margin-top: 1em;
}

.title h1 {
  margin-bottom: 0;
  line-height: 1.1em;
}

time {
  color: var(--midGrey);
  font-family: 'DM Mono', 'Roboto Mono', monospace;
}

article .title {
  margin-bottom: 1em;
}

article .meta {
  font-family: 'DM Mono', 'Roboto Mono', monospace;
}

.tags a{
  border-bottom: 3px solid var(--themeColor); 
}
.tags a:hover{
  color:white;
  background-color: var(--themeColor); 
}
.soc svg{
  max-height: 15px;
}
.soc:hover{
  color: white;
}
