* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
  text-decoration: none;
  font-family: Roboto, Arial, Helvetica, sans-serif;
}

body a {
  color: #1da1f2;
  text-decoration: none;
}

body {
  background: #15202b;
  color: white;
  font-size: 16px;
}

#wrapper {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0px 0px 1px #8899a6;
}

header {
  z-index: 0;
}

header img {
  max-width: 100%;
}

/* header profile*/

#c-img {
  background-color: #15202b;
  height: 235px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#p-img {
  position: absolute;
  top: 195px;
  left: 15px;
  max-width: 92px;
  border-radius: 100%;
}

/* about */

#about {
  margin-top: 46px;
  padding: 14px;
}

.name {
  font-weight: bolder;
  font-size: 18px;
}

.id {
  color: #8899a6;
  font-size: 14px;
  margin-top: 2px;
}

.bio {
  font-size: 14px;
  line-height: 18px;
  margin-top: 10px;
}

/* navigation */

nav {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.link {
  font-weight: bolder;
  color: #8899a6 !important;
  padding: 1rem 2rem;
  border-bottom: 2px solid transparent;
}

.link.active {
  color: #1da1f2 !important;
  border-bottom: 2px solid #1da1f2;
}

/* main & cards */

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 99fr;
  box-shadow: 0px 1px 0px 0px #8899a694 !important;
  max-width: 600px;
  overflow: hidden;
}

.card-author-img {
  width: 40px;
  border-radius: 100%;
  margin-right: 1rem;
}

.card-author-meta {
  display: flex;
  grid-gap: 5px;
  align-items: center;
  margin-bottom: 5px;
}

.card-author-name {
  font-size: 14px;
  font-weight: bolder;
}

.card-author-id,
.card-date {
  color: #8899a6;
  font-size: 14px;
}

.card-author-id {
  margin-left: 4px;
}

.card-date {
  margin-left: 5px;
}
.card-text-content {
  font-size: 14px;
  line-height: 18px;
}

.card-text-content img {
  max-width: 150px;
  padding: 5px 5px 0px 0px;
  cursor: zoom-in;
}

/* lightbox */

#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
}

#lightbox.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  padding: 4px;
  background-color: black;
  border: 2px solid white;
}

@media screen and (max-width: 375px) {
  .card-author-id,
  .card-date {
    font-size: 12px;
  }
  .card-author-id {
    display: none;
  }
}

/* md syntax  */

.markdown-body .highlighter-rouge {
  width: calc(50px + 50vw);
  max-width: 500px;
}

.highlighter-rouge .highlight {
  margin-top: 5px;
}

.highlighter-rouge .highlight .highlight {
  overflow-x: auto;
}

pre {
  background: #00110d !important;
  padding: 12px 13px;
}

code {
  margin: 0 2px;
  padding: 3px 5px;
  color: #437b91;
  border-radius: 2px;
  white-space: pre;
  background-color: #00110d;
}

blockquote {
  border-left: 4px solid #1da1f2;
  padding: 0 15px !important;
  margin: 0px;
}

strong {
  font-weight: bold;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: break-all !important;
  margin: 20px 0;
  padding-bottom: 0.3em;
  line-height: 1.2;
  text-align: left;
  font-weight: bold;
  color: #1da1f2;
  position: relative;
}

h1 {
  font-size: 20px !important;
}

h2 {
  font-size: 18px !important;
}

ul,
ol {
  padding-left: 30px;
}

li {
  line-height: 24px;
}

hr {
  height: 4px;
  padding: 0;
  margin: 16px 0;
  background-color: #e7e7e7;
  border: 0 none;
  overflow: hidden;
  box-sizing: content-box;
  border-bottom: 1px solid #ddd;
}

.highlight .hll {
  background-color: #333333;
}
.highlight {
  color: #ffffff;
}
.highlight .c {
  color: #008800;
  font-style: italic;
  background-color: #0f140f;
} /* Comment */
.highlight .err {
  color: #ffffff;
} /* Error */
.highlight .g {
  color: #ffffff;
} /* Generic */
.highlight .k {
  color: #fb660a;
  font-weight: bold;
} /* Keyword */
.highlight .l {
  color: #ffffff;
} /* Literal */
.highlight .n {
  color: #ffffff;
} /* Name */
.highlight .o {
  color: #ffffff;
} /* Operator */
.highlight .x {
  color: #ffffff;
} /* Other */
.highlight .p {
  color: #ffffff;
} /* Punctuation */
.highlight .cm {
  color: #008800;
  font-style: italic;
  background-color: #0f140f;
} /* Comment.Multiline */
.highlight .cp {
  color: #ff0007;
  font-weight: bold;
  font-style: italic;
  background-color: #0f140f;
} /* Comment.Preproc */
.highlight .c1 {
  color: #008800;
  font-style: italic;
  background-color: #0f140f;
} /* Comment.Single */
.highlight .cs {
  color: #008800;
  font-style: italic;
  background-color: #0f140f;
} /* Comment.Special */
.highlight .gd {
  color: #ffffff;
} /* Generic.Deleted */
.highlight .ge {
  color: #ffffff;
} /* Generic.Emph */
.highlight .gr {
  color: #ffffff;
} /* Generic.Error */
.highlight .gh {
  color: #ffffff;
  font-weight: bold;
} /* Generic.Heading */
.highlight .gi {
  color: #ffffff;
} /* Generic.Inserted */
.highlight .go {
  color: #444444;
  background-color: #222222;
} /* Generic.Output */
.highlight .gp {
  color: #ffffff;
} /* Generic.Prompt */
.highlight .gs {
  color: #ffffff;
} /* Generic.Strong */
.highlight .gu {
  color: #ffffff;
  font-weight: bold;
} /* Generic.Subheading */
.highlight .gt {
  color: #ffffff;
} /* Generic.Traceback */
.highlight .kc {
  color: #fb660a;
  font-weight: bold;
} /* Keyword.Constant */
.highlight .kd {
  color: #fb660a;
  font-weight: bold;
} /* Keyword.Declaration */
.highlight .kn {
  color: #fb660a;
  font-weight: bold;
} /* Keyword.Namespace */
.highlight .kp {
  color: #fb660a;
} /* Keyword.Pseudo */
.highlight .kr {
  color: #fb660a;
  font-weight: bold;
} /* Keyword.Reserved */
.highlight .kt {
  color: #cdcaa9;
  font-weight: bold;
} /* Keyword.Type */
.highlight .ld {
  color: #ffffff;
} /* Literal.Date */
.highlight .m {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number */
.highlight .s {
  color: #0086d2;
} /* Literal.String */
.highlight .na {
  color: #ff0086;
  font-weight: bold;
} /* Name.Attribute */
.highlight .nb {
  color: #ffffff;
} /* Name.Builtin */
.highlight .nc {
  color: #ffffff;
} /* Name.Class */
.highlight .no {
  color: #0086d2;
} /* Name.Constant */
.highlight .nd {
  color: #ffffff;
} /* Name.Decorator */
.highlight .ni {
  color: #ffffff;
} /* Name.Entity */
.highlight .ne {
  color: #ffffff;
} /* Name.Exception */
.highlight .nf {
  color: #ff0086;
  font-weight: bold;
} /* Name.Function */
.highlight .nl {
  color: #ffffff;
} /* Name.Label */
.highlight .nn {
  color: #ffffff;
} /* Name.Namespace */
.highlight .nx {
  color: #ffffff;
} /* Name.Other */
.highlight .py {
  color: #ffffff;
} /* Name.Property */
.highlight .nt {
  color: #fb660a;
  font-weight: bold;
} /* Name.Tag */
.highlight .nv {
  color: #fb660a;
} /* Name.Variable */
.highlight .ow {
  color: #ffffff;
} /* Operator.Word */
.highlight .w {
  color: #888888;
} /* Text.Whitespace */
.highlight .mf {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number.Float */
.highlight .mh {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number.Hex */
.highlight .mi {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number.Integer */
.highlight .mo {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number.Oct */
.highlight .sb {
  color: #0086d2;
} /* Literal.String.Backtick */
.highlight .sc {
  color: #0086d2;
} /* Literal.String.Char */
.highlight .sd {
  color: #0086d2;
} /* Literal.String.Doc */
.highlight .s2 {
  color: #0086d2;
} /* Literal.String.Double */
.highlight .se {
  color: #0086d2;
} /* Literal.String.Escape */
.highlight .sh {
  color: #0086d2;
} /* Literal.String.Heredoc */
.highlight .si {
  color: #0086d2;
} /* Literal.String.Interpol */
.highlight .sx {
  color: #0086d2;
} /* Literal.String.Other */
.highlight .sr {
  color: #0086d2;
} /* Literal.String.Regex */
.highlight .s1 {
  color: #0086d2;
} /* Literal.String.Single */
.highlight .ss {
  color: #0086d2;
} /* Literal.String.Symbol */
.highlight .bp {
  color: #ffffff;
} /* Name.Builtin.Pseudo */
.highlight .vc {
  color: #fb660a;
} /* Name.Variable.Class */
.highlight .vg {
  color: #fb660a;
} /* Name.Variable.Global */
.highlight .vi {
  color: #fb660a;
} /* Name.Variable.Instance */
.highlight .il {
  color: #0086f7;
  font-weight: bold;
} /* Literal.Number.Integer.Long */
