@keyframes heartbeat {

  0%,
  28%,
  70% {
    transform: scale(1)
  }

  14%,
  42% {
    transform: scale(1.1)
  }
}

:root {
  --main-bg: #f2f2f2;
  --secondary-bg: #e5e5e5;
  --context-bg: #ffffff;
  --border-color: #dcdcdc;
  --main-color: #333333;
  --secondary-color: #505050;
  --text-color: #666666;
  --text-color-highlight: #888888;
  --highlight-color: #eb861d;
  --placeholder: #a0a0a0;
  --tag-bg: #ededed;
  --category-bg: #ffd5ff;
  --category-bg2: #a6e6fd;
  --comment-color: #606060;
  --comment-border-color: #cccccc;
  --border-right-color: #ebebeb;
  --active-tab-bg: #f0f0f0;
  --reactions-color: #797979;
  --btn-color: #626262;
  --btn-bgc: #e8e8e8;
  --tab-bdc: #c0c0c0;
  --tab-color: #454545;
  --btn-bdc: #bebebe;
  --reactions-color-hover: #505050;
  --hr-color: #d6d6d6;
  --href-color: inherit;
  --code-block-bg: #f8f8f8;
  --code-block-border: #e1e4e8;
  --code-block-text: #24292e;
  --inline-code-color: #c7254e;
  --inline-code-bg: #f9f2f4;
  --code-lang-bg: rgba(0, 0, 0, 0.05);
  --code-lang-color: #666666;
  --line-number-color: #999999;
  --copy-btn-color: #666666;
  --copy-btn-bg: rgba(255, 255, 255, 0.9);
  --copy-btn-border: rgba(0, 0, 0, 0.1);
  --copy-btn-hover-bg: rgba(255, 255, 255, 1);
  --copy-btn-hover-border: rgba(0, 0, 0, 0.2);
  --copy-btn-success: #28a745;
  --font-sans: 'Roboto', sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow-card: rgba(0, 0, 0, .1) 0 4px 6px -1px, rgba(0, 0, 0, .06) 0 2px 4px -1px;
  --layout-max-width: 1120px
}

html.dark-mode {
  --main-bg: #1c1c1c;
  --secondary-bg: #282828;
  --context-bg: #282828;
  --border-color: #343434;
  --main-color: #ededed;
  --text-color: #7e7e7e;
  --text-color-highlight: #a0a0a0;
  --highlight-color: #ffcf53;
  --tag-bg: #2e2e2e;
  --reactions-color: #949494;
  --comment-border-color: #343434;
  --border-right-color: #202020;
  --btn-bgc: #131313;
  --btn-bdc: #fff26;
  --btn-color: #586069;
  --tab-bdc: #0000;
  --active-tab-bg: #181818;
  --comment-color: #c0c0c0;
  --tab-color: silver;
  --hr-color: #343434;
  --href-color: hsla(0, 0%, 100%, .9);
  --code-block-bg: #1e1e1e;
  --code-block-border: rgba(255, 255, 255, 0.1);
  --code-block-text: #d4d4d4;
  --inline-code-color: #f97583;
  --inline-code-bg: rgba(110, 118, 129, 0.2);
  --code-lang-bg: rgba(255, 255, 255, 0.1);
  --code-lang-color: #959da5;
  --line-number-color: #5a5a5a;
  --copy-btn-color: #959da5;
  --copy-btn-bg: rgba(255, 255, 255, 0.1);
  --copy-btn-border: rgba(255, 255, 255, 0.2);
  --copy-btn-hover-bg: rgba(255, 255, 255, 0.15);
  --copy-btn-hover-border: rgba(255, 255, 255, 0.3);
  --copy-btn-success: #4ade80
}

html.dark-mode * {
  color-scheme: dark
}

*,
body,
h1 {
  margin: 0;
  padding: 0
}

*,
:after,
:before {
  box-sizing: border-box
}

a,
article,
aside,
audio,
b,
code,
details,
div,
dl,
dt,
em,
embed,
footer,
form,
h2,
header,
html,
i,
iframe,
img,
label,
li,
main,
menu,
nav,
object,
p,
pre,
q,
s,
section,
span,
strong,
u,
ul,
var,
video {
  font: inherit;
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0
}

body,
h1 {
  vertical-align: baseline;
  border: 0
}

body {
  line-height: 1;
  font: 400 16px"Roboto", sans-serif;
  font-family: var(--font-sans);
  color: var(--main-color);
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-overflow-scrolling: touch;
  text-rendering: optimizeLegibility;
  -webkit-text-decoration-skip: objects;
  text-decoration-skip: objects
}

h1 {
  font: inherit
}

.code-copy-button.copied span,
article,
aside,
details,
footer,
header,
main,
menu,
nav,
section {
  display: block
}

.code-copy-button.copied svg,
.theme-mode-switcher[data-mode=dark] .theme-mode-switcher__icon.icon-dark,
[hidden] {
  display: none
}

.language-switcher__menu li,
menu,
ul {
  list-style: none
}

q {
  quotes: none
}

q:after,
q:before {
  content: none
}

:root {
  --scroll_width: 17px
}

button {
  font-family: var(--font-sans)
}

.clear {
  clear: both
}

.left {
  float: left
}

.right {
  float: right
}

html {
  height: 100%;
  background: var(--main-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%
}

.wrap {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  min-height: 100%;
  padding-bottom: 80px
}

.main {
  flex: 1 0 auto
}

.cont {
  width: 100%;
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 1rem
}

.flex {
  display: flex;
  align-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-start
}

::-webkit-input-placeholder {
  color: var(--placeholder)
}

.input,
hr {
  display: block;
  width: 100%;
  border: 0
}

.h1,
.input,
h1 {
  font-family: var(--font-sans)
}

.input {
  font-size: 1em;
  height: 35px;
  padding: .5rem 1.25rem;
  border-radius: 1rem;
  outline-style: none;
  background-color: var(--secondary-bg)
}

.h1,
h1 {
  font-size: 40px;
  font-weight: 500;
  color: var(--main-color)
}

*+.h1,
*+h1 {
  margin-top: 1.1em
}

.h2,
h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.75rem;
  color: var(--main-color)
}

*+.h2,
*+h2 {
  margin-top: 1.1em
}

hr {
  height: 1px;
  margin: 40px 0;
  background-color: var(--hr-color)
}

.text-block a,
a {
  text-decoration: none;
  color: var(--comment-color)
}

.code-copy-button {
  position: absolute;
  top: .75em;
  right: .75em;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: .5em;
  padding: .5em .75em;
  font-size: .875em;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: all .2s ease;
  opacity: 0;
  color: var(--copy-btn-color);
  background: var(--copy-btn-bg);
  border: 1px solid var(--copy-btn-border);
  border-radius: 6px;
  backdrop-filter: blur(10px)
}

.text-block pre:hover .code-copy-button {
  opacity: 1
}

.code-copy-button:hover {
  background: var(--copy-btn-hover-bg, rgba(255, 255, 255, 0.15));
  border-color: var(--copy-btn-hover-border, rgba(255, 255, 255, 0.3));
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1)
}

.code-copy-button:active {
  transform: translateY(0);
  box-shadow: none
}

.code-copy-button svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: currentColor
}

.code-copy-button span {
  display: none;
  font-size: .875em
}

.code-copy-button.copied {
  color: var(--copy-btn-success, #4ade80);
  border-color: var(--copy-btn-success, #4ade80)
}

.text-block {
  color: var(--main-color)
}

.text-block a {
  border-bottom: 1px solid currentColor;
  overflow-wrap: break-word;
  color: var(--href-color);
  opacity: .7
}

.text-block a:hover {
  border-color: var(--href-color);
  opacity: 1
}

.text-block b,
.text-block strong {
  font-weight: 700
}

.text-block p {
  margin-bottom: 20px;
  line-height: 1.6
}

.text-block img {
  display: block;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 20px
}

.text-block li img {
  margin-top: 20px
}

.text-block ul {
  margin-bottom: 20px;
  padding-left: 20px
}

.text-block ul li {
  position: relative;
  list-style-type: disc;
  margin-bottom: 10px
}

.text-block code,
.text-block pre {
  font-family: var(--font-mono);
  font-size: .875em
}

.text-block code {
  padding: .125em .25em;
  border-radius: 4px;
  color: var(--inline-code-color, #eb5757);
  background: var(--inline-code-bg, rgba(135, 131, 120, .15));
  font-weight: 500
}

.text-block pre {
  position: relative;
  line-height: 1.6;
  border-radius: 8px;
  overflow: hidden;
  margin: 1.5em 0;
  padding: 0;
  background: var(--code-block-bg, #1e1e1e);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  border: 1px solid var(--code-block-border, rgba(255, 255, 255, 0.1));
  background: var(--code-block-bg) !important
}

.text-block pre code {
  display: block;
  padding: 1.25em 1.5em 1.25em 1.25em;
  background: 0 0;
  color: var(--code-block-text, #d4d4d4);
  font-size: inherit;
  overflow-x: auto;
  font-weight: 400;
  color: var(--code-block-text) !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .2) rgba(255, 255, 255, .05)
}

.text-block pre[data-language]::before {
  content: attr(data-language);
  position: absolute;
  top: 0;
  right: 0;
  padding: .25em .75em;
  background: var(--code-lang-bg, rgba(255, 255, 255, 0.1));
  color: var(--code-lang-color, #a0a0a0);
  font-size: .75em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom-left-radius: 4px;
  z-index: 1
}

.text-block>:last-child {
  margin-bottom: 0
}

.text-block h1,
.text-block h2 {
  margin-top: 20px;
  margin-bottom: 10px
}

.text-block hr {
  border: 0;
  height: 1px;
  background-color: var(--hr-color);
  margin: 24px 0
}

.text-block em {
  font-style: italic
}

.header__search-toggle,
.theme-mode-switcher {
  font-family: "Noto Color Emoji", sans-serif;
  font-size: 1rem;
  font-style: normal;
  cursor: pointer;
  border: 0;
  background: 0 0;
  padding: .25rem
}

.theme-mode-switcher {
  display: inline-flex;
  align-items: center
}

.header__search-toggle {
  margin-right: .5rem
}

.header__search-icon {
  display: inline-block;
  transition: transform .2s ease
}

.header__search-toggle:hover .header__search-icon {
  transform: scale(1.1)
}

.theme-mode-switcher__icon {
  display: inline-block;
  line-height: 1
}

.theme-mode-switcher[data-mode=dark] .theme-mode-switcher__icon.icon-light,
.theme-mode-switcher[data-mode=light] .theme-mode-switcher__icon.icon-dark {
  display: inline-block
}

.theme-mode-switcher[data-mode=light] .theme-mode-switcher__icon.icon-light {
  display: none
}

.header {
  position: sticky;
  z-index: 30;
  top: 0;
  background-color: var(--main-bg);
  box-shadow: rgba(0, 0, 0, .05)0 1px 2px 0
}

.header .cont {
  align-content: center;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  height: 3rem
}

.header__nav {
  display: flex;
  align-items: center;
  gap: .75rem
}

.header__text-logo,
.language-switcher--open .language-switcher__toggle,
.language-switcher__toggle:hover {
  color: var(--main-color)
}

.header__theme-mode-switcher {
  margin-left: 15px
}

.header__link {
  margin-left: 1rem
}

.header__menu-toggle {
  display: none;
  font-family: "Noto Color Emoji", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
  border: 0;
  background: 0 0;
  padding: .25rem;
  margin-left: .5rem;
  color: var(--main-color)
}

.header__menu-icon {
  display: block;
  line-height: 1
}

.language-switcher {
  position: relative;
  margin-left: 1rem;
  display: inline-flex;
  align-items: center;
  font-size: .9375rem
}

.language-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  background: 0 0;
  color: var(--comment-color);
  font-size: inherit;
  line-height: 1.25rem;
  cursor: pointer;
  transition: color .2s ease
}

.language-switcher__label {
  font-size: 1.1rem;
  line-height: 1
}

.language-switcher__label-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0
}

.language-switcher__menu {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  min-width: 8rem;
  padding: .5rem;
  border-radius: var(--radius-sm);
  background: var(--context-bg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
  border: 1px solid var(--border-color);
  display: none;
  z-index: 25
}

.language-switcher__menu[hidden] {
  display: none !important
}

.language-switcher--open .language-switcher__menu {
  display: block
}

.language-switcher__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .6rem;
  border-radius: .5rem;
  color: var(--text-color);
  font-size: .875rem;
  line-height: 1.25rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease
}

.language-switcher--mobile .language-switcher__toggle:hover,
.language-switcher--mobile.language-switcher--open .language-switcher__toggle,
.language-switcher__item.is-active,
.language-switcher__item:hover {
  background-color: var(--secondary-bg);
  color: var(--main-color)
}

.language-switcher__item[aria-selected=true]::after {
  content: "•";
  margin-left: .5rem;
  color: var(--highlight-color)
}

.language-switcher__item[data-available=false] {
  opacity: .7
}

.language-switcher__item-hint {
  font-size: .75rem;
  color: var(--comment-color);
  margin-left: .4rem
}

.language-switcher__item-flag {
  font-size: 1.1rem;
  line-height: 1
}

.language-switcher--mobile {
  width: 100%;
  margin: 0;
  display: block
}

.language-switcher--mobile .language-switcher__toggle {
  width: 100%;
  justify-content: flex-start;
  padding: .5rem 1rem;
  border: 0;
  background: 0 0;
  color: var(--comment-color);
  border-radius: 8px;
  transition: background-color .2s ease, color .2s ease
}

.language-switcher--mobile .language-switcher__menu {
  position: static;
  width: 100%;
  margin-top: .5rem;
  display: none
}

.language-switcher--mobile.language-switcher--open .language-switcher__menu,
.tags a {
  display: block
}

.language-switcher--mobile .language-switcher__item {
  border: 1px solid transparent
}

.mobile-menu {
  position: fixed;
  top: 3rem;
  left: 0;
  right: 0;
  background: var(--main-bg);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  z-index: 50;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out
}

.mobile-menu.active {
  max-height: 200px;
  transition: max-height .3s ease-in
}

.mobile-menu__nav {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.mobile-menu__link {
  padding: .75rem 1rem;
  text-decoration: none;
  color: var(--main-color);
  border-radius: 8px;
  transition: background-color .2s ease;
  font-size: 1rem;
  display: block
}

.mobile-menu__link:hover {
  background-color: var(--secondary-bg)
}

@media (max-width:768px) {
  .header__link--desktop {
    display: none
  }

  .header__menu-toggle {
    display: block
  }

  .header__search-toggle {
    margin-right: .25rem
  }

  .header__theme-mode-switcher {
    margin-left: 0
  }
}

.content {
  display: grid;
  padding: 2rem 0;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem
}

.aside {
  height: calc(100vh - 73px)
}

.aside--left {
  position: sticky;
  top: 63px;
  display: none;
  overflow: scroll;
  grid-column: span 2/span 2;
  scrollbar-width: none;
  -ms-overflow-style: none
}

.content-center {
  grid-column: span 12/span 12
}

.sidebar {
  position: sticky;
  top: 63px;
  overflow: scroll;
  height: calc(100vh - 73px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  grid-column: span 3/span 3
}

.sidebar,
.tags--desktop,
.tags__top {
  display: none
}

.tags__top {
  margin-bottom: .75rem;
  padding: .25rem
}

.tags__top .icon {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal
}

.tags__list {
  display: flex;
  overflow: scroll;
  margin-bottom: 1.5rem;
  gap: .25rem;
  scrollbar-width: none
}

.tags a {
  font-size: .875rem;
  line-height: 1.25rem;
  flex-shrink: 0;
  margin-top: .25rem;
  margin-bottom: .25rem;
  padding: .25rem 1rem;
  cursor: pointer;
  color: var(--text-color);
  border-radius: var(--radius-sm)
}

.tags a[data-active=true] {
  color: var(--main-color)
}

.tags a:hover,
.tags a[data-active=true] {
  background-color: var(--secondary-bg)
}

.search {
  margin-bottom: 1rem;
  transition: all .3s ease-in-out
}

.search.hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0
}

.search__top {
  margin-bottom: .75rem;
  padding: .25rem
}

.search__top-icon {
  font-family: "Noto Color Emoji", sans-serif
}

.categories {
  position: relative
}

.categories__wrapper {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.75rem;
  display: flex;
  align-items: center;
  margin-top: .5rem;
  margin-bottom: .5rem;
  gap: .25rem
}

.categories__description {
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.25rem;
  color: var(--text-color-highlight);
  margin-top: .5rem;
  margin-bottom: 1.25rem;
  opacity: .9
}

.categories__content {
  position: absolute;
  z-index: 40;
  display: none;
  padding: .25rem;
  color: var(--text-color);
  border-radius: var(--radius-sm);
  background-color: var(--main-bg);
  box-shadow: var(--shadow-card)
}

.filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color)
}

.category__item {
  font-size: .875rem;
  line-height: 1.25rem;
  width: -moz-fit-content;
  width: fit-content;
  padding: .25rem .5rem;
  white-space: nowrap;
  cursor: pointer;
  opacity: .9;
  color: var(--secondary-color);
  border-radius: 9999px;
  background-color: var(--category-bg)
}

.category__item--light-blue {
  background-color: var(--category-bg2)
}

.date__item--light-blue {
  background-color: var(--tab-color);
  color: var(--main-bg)
}

.post {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  background-color: var(--context-bg);
  box-shadow: var(--shadow-card)
}

.post:last-child {
  margin-bottom: 0
}

.post__category,
.post__date_right {
  position: absolute;
  z-index: 10;
  top: 1rem
}

.post__category {
  right: 1rem
}

.post__date_right {
  left: 1rem
}

.post__thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  background-color: var(--main-bg)
}

.post__thumbnail img {
  position: absolute;
  width: 100%;
  height: 100%;
  color: transparent;
  inset: 0;
  -o-object-fit: cover;
  object-fit: cover;
  object-position: center top;
  filter: brightness(95%)
}

.post__thumbnail img:hover {
  filter: brightness(100%)
}

.post__content {
  padding: 1rem
}

.post__title {
  margin-bottom: .5rem
}

.post__date {
  font-size: .875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem
}

.post__summary {
  line-height: 2rem;
  display: none;
  margin-bottom: 1rem;
  color: var(--text-color-highlight)
}

.posts-list {
  display: flex;
  align-content: center;
  align-items: stretch;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-bottom: 2rem
}

.title {
  padding: .25rem
}

.title .icon {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal
}

.profile__title {
  margin-bottom: .75rem
}

.profile__content {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 1rem;
  padding: .5rem;
  border-radius: var(--radius-md);
  background-color: var(--context-bg);
  gap: .5rem
}

.profile__content-top {
  position: relative;
  flex-shrink: 0;
  width: 90px;
  height: 90px
}

.author__photo img,
.profile__content-top img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}

.profile__content-top img {
  border-radius: 5px;
  transition: opacity .3s ease
}

.profile__content-mid {
  height: -moz-fit-content;
  height: fit-content
}

.profile__text {
  font-size: .875rem;
  line-height: 1.25rem
}

.box-links,
.box-links__link {
  display: flex;
  border-radius: var(--radius-md)
}

.box-links {
  flex-direction: column;
  padding: .25rem;
  background-color: var(--context-bg)
}

.box-links__link {
  align-items: center;
  padding: .75rem;
  cursor: pointer;
  color: var(--text-color-highlight);
  gap: .75rem
}

.box-links__link svg {
  font-size: 1.5rem;
  line-height: 2rem
}

.box-links__link:hover {
  color: var(--main-color);
  background-color: var(--tag-bg)
}

.box-links__link-name {
  font-size: .875rem;
  line-height: 1.25rem
}

.service__title {
  margin-bottom: .75rem
}

.service__box-links {
  margin-bottom: 2.25rem
}

.contact__title {
  margin-bottom: .75rem
}

.sect404 {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: 1.5rem
}

.sect404__wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  flex-wrap: nowrap;
  padding-top: 5rem;
  padding-bottom: 5rem;
  gap: 2.5rem
}

.sect404__top {
  font-size: 3.75rem;
  line-height: 1;
  display: flex;
  align-items: center
}

.sect404__top .icon {
  font-family: "Noto Color Emoji", sans-serif;
  font-weight: 400;
  font-style: normal
}

.sect404__text {
  font-size: 1.875rem;
  line-height: 2.25rem;
  color: var(--text-color-highlight)
}

.author {
  display: flex;
  align-items: center;
  gap: .5rem
}

.author__photo {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px
}

.author__photo img {
  min-width: 10px;
  min-height: 10px;
  border-radius: 50%;
  -o-object-fit: cover;
  -o-object-position: 50% 50%;
  object-position: 50% 50%
}

.article {
  font-family: var(--font-sans);
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--context-bg);
  box-shadow: var(--shadow-card)
}

.article article {
  max-width: 42rem;
  margin: 0 auto
}

.article .h1,
.article h1 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 2.25rem
}

.article-wrap {
  padding: 2rem 0
}

.article__category {
  margin-bottom: .5rem
}

.article__nav {
  margin-top: 1.5rem;
  color: var(--text-color-highlight)
}

.article__nav-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-bottom: .75rem;
  gap: .75rem
}

.article__nav-top>* {
  min-width: 0
}

.article__nav-top>:nth-child(1) {
  justify-self: flex-start;
  text-align: left
}

.article__nav-top>:nth-child(2) {
  text-align: center
}

.article__nav-top>:nth-child(3) {
  justify-self: flex-end;
  text-align: right
}

.article__date {
  margin-right: .5rem
}

.article__text-block {
  margin-top: 1.5em
}

.post-navigation {
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  margin-top: 3em;
  color: var(--text-color)
}

.post-navigation a {
  color: currentColor
}

.post-navigation a:hover {
  color: var(--main-color)
}

.footer {
  padding-bottom: 2rem
}

.footer__copy {
  font-size: .875rem;
  line-height: 1.25rem;
  color: var(--text-color)
}

.footer__heart {
  display: inline-block;
  color: #e74c3c;
  animation: heartbeat 1.5s ease-in-out infinite;
  transition: transform .2s ease
}

.footer__copy:hover .footer__heart {
  transform: scale(1.3);
  animation-play-state: paused
}

@media (min-width:768px) {

  .post,
  .search {
    margin-bottom: 2rem
  }

  .post__summary {
    display: block
  }

  .article__date {
    margin-left: 0
  }
}

@media (min-width:1024px) {
  .aside--left {
    display: block
  }

  .content-center {
    grid-column: span 7/span 7
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
  }

  .tags--mob {
    display: none
  }

  .tags--desktop,
  .tags__list,
  .tags__top {
    display: block
  }

  .post__thumbnail {
    padding-bottom: 50%
  }

  .profile__content {
    display: block;
    margin-bottom: 2.25rem;
    padding: 1rem
  }

  .profile__content-top {
    width: 100%;
    height: auto
  }

  .profile__content-top::after {
    display: block;
    padding-bottom: 100%;
    content: ""
  }

  .profile__content-mid {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: .5rem
  }

  .profile__text {
    font-size: 1rem;
    line-height: normal
  }

  .footer {
    padding-top: 1rem;
    padding-bottom: 0
  }
}

@media (max-width:768px) {
  .content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: .5rem 0
  }
}

@media (any-hover:hover) {
  .text-block a:hover {
    border-color: transparent
  }
}

.text-block img {
  cursor: zoom-in
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin: 20px 0
}

.pagination__link {
  display: block;
  padding: .5rem .75rem;
  text-decoration: none;
  color: var(--main-color);
  background-color: var(--context-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  transition: background-color .2s ease-in-out
}

.pagination__link:hover {
  background-color: var(--highlight-color);
  color: var(--context-bg)
}

.pagination__link.disabled {
  color: var(--btn-color);
  background-color: var(--btn-bgc);
  cursor: default
}

.pagination__text {
  flex-grow: 1;
  text-align: center
}

@media (max-width:768px) {
  .sidebar {
    display: contents
  }

  .sidebar__service {
    display: none
  }

  .sidebar__profile {
    order: 0
  }

  .content-center {
    order: 1
  }

  .sidebar__contact {
    order: 2;
    padding: 10px;
    background-color: var(--context-bg);
    border-radius: 8px
  }

  .sidebar__footer {
    order: 3
  }

  .footer__copy {
    text-align: center
  }
}

.no-posts {
  color: var(--text-color);
  font-weight: 300;
  font-style: italic
}

.no-posts:after {
  content: "..."
}

.hljs {
  color: var(--code-block-text);
  background: 0 0
}

html.dark-mode .hljs-comment,
html.dark-mode .hljs-quote {
  color: #608b4e;
  font-style: italic
}

html.dark-mode .hljs-built_in,
html.dark-mode .hljs-keyword,
html.dark-mode .hljs-name,
html.dark-mode .hljs-selector-tag,
html.dark-mode .hljs-tag {
  color: #569cd6
}

html.dark-mode .hljs-addition,
html.dark-mode .hljs-attribute,
html.dark-mode .hljs-literal,
html.dark-mode .hljs-section,
html.dark-mode .hljs-string,
html.dark-mode .hljs-template-tag,
html.dark-mode .hljs-template-variable,
html.dark-mode .hljs-title,
html.dark-mode .hljs-type {
  color: #ce9178
}

html.dark-mode .hljs-deletion,
html.dark-mode .hljs-meta,
html.dark-mode .hljs-selector-attr,
html.dark-mode .hljs-selector-pseudo {
  color: #d16969
}

html.dark-mode .hljs-doctag {
  color: #608b4e
}

html.dark-mode .hljs-attr {
  color: #9cdcfe
}

html.dark-mode .hljs-bullet,
html.dark-mode .hljs-link,
html.dark-mode .hljs-symbol {
  color: #569cd6
}

html.dark-mode .hljs-emphasis {
  font-style: italic
}

html.dark-mode .hljs-strong {
  font-weight: 700
}

html.dark-mode .hljs-function {
  color: #dcdcaa
}

html.dark-mode .hljs-class {
  color: #4ec9b0
}

html.dark-mode .hljs-number {
  color: #b5cea8
}

html.dark-mode .hljs-regexp {
  color: #d16969
}

html.dark-mode .hljs-params,
html.dark-mode .hljs-variable {
  color: #9cdcfe
}

html:not(.dark-mode) .hljs-comment,
html:not(.dark-mode) .hljs-quote {
  color: green;
  font-style: italic
}

html:not(.dark-mode) .hljs-built_in,
html:not(.dark-mode) .hljs-keyword,
html:not(.dark-mode) .hljs-name,
html:not(.dark-mode) .hljs-selector-tag,
html:not(.dark-mode) .hljs-tag {
  color: #00f;
  font-weight: 600
}

html:not(.dark-mode) .hljs-addition,
html:not(.dark-mode) .hljs-attribute,
html:not(.dark-mode) .hljs-literal,
html:not(.dark-mode) .hljs-section,
html:not(.dark-mode) .hljs-string,
html:not(.dark-mode) .hljs-template-tag,
html:not(.dark-mode) .hljs-template-variable,
html:not(.dark-mode) .hljs-title,
html:not(.dark-mode) .hljs-type {
  color: #a31515
}

html:not(.dark-mode) .hljs-deletion,
html:not(.dark-mode) .hljs-meta,
html:not(.dark-mode) .hljs-selector-attr,
html:not(.dark-mode) .hljs-selector-pseudo {
  color: #bc2020
}

html:not(.dark-mode) .hljs-attr {
  color: red
}

html:not(.dark-mode) .hljs-function {
  color: #795e26;
  font-weight: 600
}

html:not(.dark-mode) .hljs-class {
  color: #267f99;
  font-weight: 600
}

html:not(.dark-mode) .hljs-number {
  color: #098658
}

html:not(.dark-mode) .hljs-params,
html:not(.dark-mode) .hljs-variable {
  color: #001080
}

.text-block pre code::-webkit-scrollbar {
  height: 8px;
  width: 8px
}

.text-block pre code::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
  border-radius: 4px
}

.text-block pre code::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .2);
  border-radius: 4px
}

.text-block pre code::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, .3)
}
