@import url("pygment.css");

@font-face {
  font-family: "FiraCode";
  font-style: normal;
  font-weight: 400;
  src: local("FiraCode-Regular"),
    url(../fonts/FiraCode-Regular.ttf) format("truetype");
}

@font-face {
  font-family: "FiraCode";
  font-style: normal;
  font-weight: 400;
  src: local("FiraCode-Bold"),
    url(../fonts/FiraCode-Bold.ttf) format("truetype");
}

body {
  font-family: "FiraCode";
  color: #efefef;
  background-color: #222222;
  font-size: 1em;
  line-height: 1.25;
  margin: 0;
  overflow-y: scroll;
}

body a:hover,
body a:focus {
  color: #ff6188;
  text-decoration: underline;
}

.content {
  color: #efefef;
  outline: 0;
}

.content a:hover,
.content a:focus {
  color: #ff6188;
  text-decoration: underline;
}

.content .header {
  padding: 0.5em 1.5em 0.5em;
}

.content h1 {
  font-size: 1.5em;
  font-weight: normal;
}

.content h2 {
  font-size: 1.25em;
  font-weight: normal;
}

.content {
  padding: 0 0 2em 0;
}

h1 {
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  font-size: 2em;
  font-weight: bold;
  color: #78dce8;
}

h2 {
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  font-size: 1.5em;
  font-weight: bold;
  color: #78dce8;
}

h3 {
  margin-block-start: 1em;
  margin-block-end: 1em;
  font-size: 1.17em;
  font-weight: bold;
  color: #78dce8;
}

.article {
  padding: 1em 3em;
}

.article code,
.article pre {
  font-size: 1.2em;
  font-family: monospace;
}

.article pre {
  background-color: #353535;
  border: 1px solid black;
  padding: 1em;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

.article img {
  max-width: 100%;
}

.article h1,
h2,
h3,
h4,
h5,
h6 {
  display: block;
}

.article h1 {
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  font-size: 2em;
  font-weight: bold;
  color: #fc9867;
}

.article h2 {
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  font-size: 1.5em;
  font-weight: bold;
  color: #fc9867;
}

.article h3 {
  margin-block-start: 1em;
  margin-block-end: 1em;
  font-size: 1.17em;
  font-weight: bold;
  color: #fc9867;
}

.article h4 {
  margin-block-start: 1.33em;
  margin-block-end: 1.33em;
  font-size: 1em;
  font-weight: bold;
  color: #fc9867;
}

.article h5 {
  margin-block-start: 1.67em;
  margin-block-end: 1.67em;
  font-size: 0.83em;
  font-weight: bold;
  color: #fc9867;
}

.article h6 {
  margin-block-start: 2.33em;
  margin-block-end: 2.33em;
  font-size: 0.67em;
  font-weight: bold;
  color: #fc9867;
}

.wrap {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navigation {
  justify-content: flex-end;
  font-size: 1.5em;
  padding: 22px 15px 32px;
  display: flex;
  flex-direction: row;
  border-bottom: 1px solid #bebebe;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  padding-left: 48px;
  text-transform: lowercase;
  font-family: "FiraCode";
  font-size: 28px;
  outline: 0;
}

.navigation a:hover,
.navigation a:focus {
  text-decoration: underline;
}

.footer {
  justify-content: center;
  border-top: 1px solid #bebebe;
  margin-top: 15px;
  padding: 15px 15px 15px;
  display: flex;
  flex-direction: row;
}

/* .footer a {
  color: #BEBEBE;
} */

.title {
  flex-grow: 1;
  font-size: 28px;
  line-height: 48px;
  font-family: "FiraCode";
}

.color-green {
  color: #a9dc76;
}

.color-orange {
  color: #fc9867;
}

.color-blue {
  color: #78dce8;
}

.color-red {
  color: #ff6188;
}

.color-yellow {
  color: #ffd866;
}

.color-purple {
  color: #ab9df2;
}

.color-white {
  color: #ffffff;
}

.list {
  font-family: "FiraCode";
  font-size: 1.35em;
  list-style-type: none;
  margin: 0;
}

.list > li {
  position: relative;
  padding-left: 12ch;
}

.date {
  padding-right: 1em;
  position: absolute;
  left: 0;
  color: #ae81ff;
}

.cursor {
  animation: flash 0.75s infinite alternate;
}

@keyframes flash {
  0% {
    opacity: 1;
  }
  49% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

a,
a:visited a:hover,
a:active,
a:link {
  color: rgb(117, 117, 117);
  text-decoration: none;
}

.icons > a {
  line-height: 1.3em;
  font-style: normal;
  font-variant: normal;
  text-transform: lowercase;
  font-size: 1em;
  outline: 0;
  display: inline-block;
}

#github:hover,
#github:focus {
  color: #ffffff;
  animation: 0.45s jump 2 linear;
}

#gitlab:hover,
#gitlab:focus {
  color: #fc6d27;
  animation: 0.45s jump 2 linear;
}

#linkedin:hover,
#linkedin:focus {
  color: #4875b4;
  animation: 0.45s jump 2 linear;
}

#kofi:hover,
#kofi:focus {
  color: #ffffff;
  animation: 0.45s jump 2 linear;
}

#email:hover,
#email:focus {
  color: #6ccaca;
  animation: 0.45s jump 2 linear;
}

.icons {
  padding: 0.25em 1em;
}

/* .icons h1 {
  font-family: 'Firacode';
  font-style: normal;
  font-variant: normal;
} */

@keyframes jump {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-0.075em);
  }
  80% {
    transform: translateY(0.025em);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .nav {
    display: initial;
  }

  .content .no-side-padding-mobile {
    padding-left: 0;
    padding-right: 0;
  }
}
