:root {
  --radius: 4px;
  --color-blue: rgba(6,124,203, 1);
  --color-blue-opacity: rgba(6,124,203, .15);
  --color-dark: rgba(0, 0, 0, .85);
  --color-dark-opacity: rgba(0, 0, 0, .15);
  --color-orange: rgb(255, 80, 32);
  --color-orange-opacity: rgba(255, 80, 32, .15);
  --linkLineColor: rgba(0, 0, 0, .1);
  --linkColor: var(--color-dark);
  --linkUnderline: rgba(0, 96, 160, .15);
  --linkColorHover: var(--color-blue);
  --linkColorSelected: var(--color-dark);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
}

body,
h1,
h2,
p,
blockquote {
  margin: 0;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding: 20px 40px 40px;
  box-sizing: content-box;
  line-height: 1.3;
  color: var(--color-dark);
}
@media screen and (max-width: 767px) {
  main {
    padding: 12px 24px 24px;
  }
}

article h1,
article .h1 {
  font-size: 32px;
  margin-bottom: 11px;
}
article h2,
article .h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
article h2:not(:first-child),
article .h2:not(:first-child) {
  margin-top: 10px;
}
article h3,
article .h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
article h3:not(:last-child),
article .h3:not(:last-child) {
  margin-top: 31px;
}
article p,
article .p {
  font-size: 16px;
}
article p:not(:last-child),
article .p:not(:last-child) {
  margin-bottom: 14px;
}
article p + ul {
  margin: -12px 0 12px;
}

ul {
  margin: 0;
  padding-left: 30px;
}

a, .link {
  text-decoration: none;
}
a:not(a.link-tag, a.link-reset, .link.link-tag, .link.link-reset), .link:not(a.link-tag, a.link-reset, .link.link-tag, .link.link-reset) {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue-opacity);
}
a:not(a.link-tag, a.link-reset, .link.link-tag, .link.link-reset):hover, .link:not(a.link-tag, a.link-reset, .link.link-tag, .link.link-reset):hover {
  border-bottom-color: var(--color-blue);
}
a.link-tag, .link.link-tag {
  display: inline-flex;
  color: black;
  border-width: 1px;
  border-style: solid;
  padding: 4px 8px;
  border-radius: var(--radius);
  font-size: 14px;
}

blockquote,
.blockquote {
  color: #6A737D;
  border-left: 4px solid #DFE2E5;
  padding-left: 16px;
}
blockquote:not(:last-child),
.blockquote:not(:last-child) {
  margin-bottom: 18px;
}

table {
  padding: 0;
  border-collapse: collapse;
  margin-bottom: 12px;
}
table th,
table td {
  border-bottom: 1px solid var(--color-dark-opacity);
  padding: 6px 0 2px 0;
}

figure {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 0;
}
figure img {
  border-radius: var(--radius);
}
figure figcaption {
  text-align: right;
  font-size: 12px;
}

.gallery {
  display: flex;
  gap: 16px;
}
@media screen and (max-width: 600px) {
  .gallery {
    flex-direction: column;
  }
}
.gallery figure {
  margin: unset;
}

pre {
  margin-bottom: 12px;
}

code:not([class*=lang]) {
  padding: 0.2em 0.4em;
  border-radius: 6px;
  font-family: "Menlo";
  font-size: 85%;
  background-color: rgba(27, 31, 35, 0.05);
  margin: 0 0 24px;
}

.siblings {
  max-width: 640px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

@font-face {
  font-family: "Menlo";
  src: url("../fonts/Menlo/Menlo-Regular.eot") format('embedded-opentype'),
       url("../fonts/Menlo/Menlo-Regular.woff2") format('woff2'),
       url("../fonts/Menlo/Menlo-Regular.woff") format('woff'),
       url("../fonts/Menlo/Menlo-Regular.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
}
code[class*=language-],
pre[class*=language-] {
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  line-height: 1.5;
  text-align: left;
  direction: ltr;
  color: #24292e;
  /* color: #00ff00 */
  word-wrap: normal;
  white-space: pre;
  -moz-tab-size: 4;
    -o-tab-size: 4;
       tab-size: 4;
}

pre[class*=language-] {
  border-radius: 6px;
  background-color: #f6f8fa;
  padding: 16px;
  font-size: 85%;
  line-height: 1.45;
  overflow-y: scroll;
}

.token.punctuation {
  color: #24292e;
}

.token.namespace,
.token.class-name,
.token.function {
  color: #6f42c1;
}

.token.keyword {
  color: #d73a49;
}

.token.operator {
  color: #005cc5;
}

.token.comment {
  color: #6a737d;
}

.token.string {
  color: #032f62;
}

.token.shebang {
  color: #6a737d;
}

.token.number {
  color: #005cc5;
}

*.language-shell > .token.builtin.class-name {
  color: #005cc5;
}

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

.header-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
}

.header-avatar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-avatar__source {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
}
.header-avatar__title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.header-lead {
  margin-top: 4px;
}

.header-contacts {
  display: flex;
  gap: 16px;
}

.header-menu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 235px;
  padding-left: 0;
}
.header-menu__item {
  list-style: none;
}
.header-menu__list:first-child .header-menu__link {
  border-color: transparent;
  color: white;
}
.header-menu__divider {
  border: 1px solid #8C3BF3;
  margin: 8px 0;
  opacity: 0.5;
  border-radius: var(--radius);
}

.font-sm {
  font-size: 12px;
}

.bg-pink {
  background-color: #F33B7D;
}

.bd-pink {
  border-color: #F33B7D;
}

.bg-purple {
  background-color: #8C3BF3;
}

.bd-purple {
  border-color: #8C3BF3;
}

.bg-blue {
  background-color: #195CC1;
}

.bd-blue {
  border-color: #195CC1;
}

.color-black {
  color: black;
}

.article-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}
.article-header h1, .article-header .h1 {
  margin-bottom: unset;
}

.article-body > p,
.article-body > figure {
  max-width: 640px;
}

.article-footer {
  margin-top: 16px;
}
.article-footer .article__date {
  font-size: 14px;
}

.showcase {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.showcase__title {
  font-size: 32px;
  margin-bottom: 0;
}

.showcase-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  flex-basis: calc(20% - 20px);
  gap: 6px;
  color: var(--black);
  transition: color linear 150ms;
}
@media screen and (max-width: 1024px) {
  .showcase-item {
    flex-basis: calc(25% - 18px);
  }
}
@media screen and (max-width: 768px) {
  .showcase-item {
    flex-basis: calc(33.333% - 16px);
  }
}
@media screen and (max-width: 420px) {
  .showcase-item {
    flex-basis: calc(50% - 12px);
  }
}
.showcase-item__title {
  font-size: 16px;
  margin: unset;
}
.showcase-item__caption {
  font-size: 14px;
}

.showcase-image {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  transition: border-color linear 150ms;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.showcase-image__source {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer {
  margin-top: auto;
}
.footer-copyright {
  font-size: 12px;
}