/*! cтили обновлены 12.01.24 */
/* https://onlinetextcompare.com - для сравнения стилей */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
main {
  display: block;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted currentColor;
  text-decoration: underline dotted currentColor;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
/* montserrat-300*/
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/montserrat-v18-latin_cyrillic-300.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v18-latin_cyrillic-300.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v18-latin_cyrillic-300.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-300.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v18-latin_cyrillic-300.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v18-latin_cyrillic-300.svg#Montserrat")
      format("svg"); /* Legacy iOS */
}
/* montserrat-300-italic */
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/montserrat-v18-latin_cyrillic-300italic.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v18-latin_cyrillic-300italic.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v18-latin_cyrillic-300italic.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-300italic.woff")
      format("woff"),
    /* Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-300italic.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v18-latin_cyrillic-300italic.svg#Montserrat")
      format("svg"); /* Legacy iOS */
}
/* montserrat-regular-400 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/montserrat-v18-latin_cyrillic-regular.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v18-latin_cyrillic-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v18-latin_cyrillic-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-regular.woff") format("woff"),
    /* Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v18-latin_cyrillic-regular.svg#Montserrat")
      format("svg"); /* Legacy iOS */
}
/* montserrat-700 */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/montserrat-v18-latin_cyrillic-700.eot"); /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/montserrat-v18-latin_cyrillic-700.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/montserrat-v18-latin_cyrillic-700.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v18-latin_cyrillic-700.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/montserrat-v18-latin_cyrillic-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/montserrat-v18-latin_cyrillic-700.svg#Montserrat")
      format("svg"); /* Legacy iOS */
}
html {
  min-height: 100vh;
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
}
@media screen and (max-width: 1199.98px) {
  html {
    font-size: 87.5%;
  }
}
:root {
  --codewars-white: #ffffff;
  --codewars-black: #212121;
  --codewars-darkgray: #323337;
  --codewars-red: #B1361E;
  --codewars-yellow: #ECB613;
  --codewars-blue: #1F87E7;
  --codewars-violet: #866CC7;
  --codewars-transparent: rgba(255, 255, 255, .05);
  --codewars-text: #A6A6A8
}
html.light-theme {
  --text: #2a2d2e;
  --text-second: #72787a;
  --wrapper-bg: #eaf3f6;
  --white-black: #fff;
  --purple: #7443ff;
  --turquoise: #3fbda3;
  --orange: #dc5d32;
}
html.dark-theme {
  --text: #f0fafd;
  --text-second: #d3dbde;
  --wrapper-bg: #262a2b;
  --white-black: #303436;
  --purple: #9c27b0;
  --turquoise: #288a93;
  --orange: #dc5d32;
}
*,
:after,
:before {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
}
body.no-scroll {
  position: fixed;
  width: 100%;
  overflow-y: scroll;
}
body.no-scroll::-webkit-scrollbar-track {
  background-color: var(--turquoise);
}
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.21);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--purple);
  height: 15px;
}
h1,
h2,
h3,
h4,
h5,
h6,
li,
ul,
ol,
p {
  margin: 0;
}
nav,
menu,
header,
footer,
aside,
article,
section,
aside,
figure,
figcaption {
  display: block;
}
img,
picture {
  max-width: 100%;
}
input,
textarea,
button {
  font-family: inherit;
}
button {
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  color: inherit;
}
a {
  text-decoration-color: var(--purple);
  color: var(--purple);
}
ul,
ol {
  display: block;
}
ul li {
  list-style: square;
}
.visually-hidden {
  position: fixed;
  transform: scale(0);
}
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--wrapper-bg);
}
.container {
  width: 96%;
  max-width: 1400px;
  margin: 0 auto;
}
@media screen and (max-width: 575.98px) {
  .container {
    width: 94%;
  }
}
.content {
  flex-grow: 1;
}
.section {
  padding: 3.75rem 0;
}
@media screen and (max-width: 991.98px) {
  .section {
    padding: 2.5rem 0;
  }
}
@media screen and (max-width: 575.98px) {
  .section {
    padding: 2rem 0;
  }
}
.header {
  width: 100%;
  background-color: var(--white-black);
}
.header__inner {
  height: 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  display: block;
  height: 6rem;
  width: 6rem;
  cursor: pointer;
  background-size: 100% 100%;
}
@media screen and (max-width: 575.98px) {
  .header__logo {
    height: 4.5rem;
    width: 4.5rem;
    position: relative;
    top: -5px;
  }
}
.header__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
@media screen and (max-width: 991.98px) {
  .header__text {
    margin-bottom: 2rem;
  }
}
@media screen and (max-width: 575.98px) {
  .header__text {
    display: none;
    margin-bottom: 0;
    margin-top: 0;
  }
}
.header__title {
  font-size: 4.5rem;
  color: var(--text);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
.header__title:after {
  content: "";
  width: 90%;
  display: block;
  height: 8px;
  background: linear-gradient(
    90deg,
    var(--turquoise) 10%,
    var(--orange) 50%,
    var(--purple) 100%
  );
  margin: 1.25rem auto;
}
.header__desc {
  font-size: 1.25rem;
}
.nav {
  width: 100%;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -500px;
  left: 0;
  z-index: 10;
  background-color: rgba(42, 45, 46, 0.85);
  border-bottom: 8px solid rgba(0, 0, 0, 0);
  -o-border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image-slice: 1;
  transition: all 0.5s cubic-bezier(1, -0.27, 0, 1.26);
}
.nav.active {
  top: 0;
}
@media screen and (max-width: 575.98px) {
  .nav.active {
    height: 3rem;
    top: 5rem;
  }
}
@media screen and (max-width: 991.98px) {
  .nav {
    justify-content: flex-start;
    padding-left: 2vw;
  }
}
@media screen and (max-width: 575.98px) {
  .nav {
    justify-content: space-between;
    padding: 0 2vw;
  }
}
.nav:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: rgba(42, 45, 46, 0.85);
}
.nav__link {
  display: flex;
  position: relative;
  font-size: 2rem;
  font-weight: 700;
  color: #f0fafd;
  text-decoration: none;
  line-height: 1;
  transition: color 0.3s ease;
  padding: 1.875rem 0;
}
.nav__link:not(:last-child) {
  margin-right: 1.5rem;
}
@media screen and (max-width: 575.98px) {
  .nav__link:not(:last-child) {
    margin-right: 0;
  }
}
.nav__link:hover,
.nav__link:focus {
  color: var(--purple);
}
@media screen and (max-width: 1199.98px) {
  .nav__link {
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 991.98px) {
  .nav__link {
    font-size: 1.125rem;
  }
}
@media screen and (max-width: 575.98px) {
  .nav__link {
    font-size: 1rem;
    padding: 1rem 0;
  }
}
.nav__link:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: var(--purple);
  left: 0;
  bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.nav__link:hover:after,
.nav__link:focus:after {
  opacity: 1;
}
@media screen and (max-width: 575.98px) {
  .nav__link:hover:after,
  .nav__link:focus:after {
    display: none;
  }
}
.controls {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 15;
}
@media screen and (max-width: 991.98px) {
  .controls {
    top: -5px;
  }
}
@media screen and (max-width: 575.98px) {
  .controls {
    top: 0;
  }
}
.controls__search,
.controls__switcher {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 1.5rem;
  color: var(--purple);
  cursor: pointer;
  padding: 0;
  margin: 0 1.875rem 0 0;
}
.controls__search.active,
.controls__search:hover {
  color: var(--turquoise);
}
.controls__switcher:hover {
  color: var(--orange);
}
html.dark-theme .controls__switcher {
  color: var(--orange);
}
.burger-menu {
  width: 2rem;
  position: relative;
  padding: 1rem;
}
.burger-menu__item {
  width: 100%;
  height: 4px;
  background-color: var(--purple);
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
  transition: all 0.4s linear;
}
.burger-menu__item:before,
.burger-menu__item:after {
  content: "";
  width: 100%;
  height: 4px;
  background-color: var(--purple);
  display: block;
  position: absolute;
  left: 0;
  transition: all 0.3s linear;
}
.burger-menu__item:before {
  top: 10px;
}
.burger-menu__item:after {
  top: -10px;
}
.burger-menu.active .burger-menu__item {
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.15s linear;
}
.burger-menu.active .burger-menu__item:after {
  top: 0;
  transform: rotate(45deg);
  background-color: #d52424;
}
.burger-menu.active .burger-menu__item:before {
  top: 0;
  transform: rotate(-45deg);
  background-color: #d52424;
}
#blog .post-list {
  display: none;
}
.blog {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(334px, 1fr));
  grid-auto-rows: 1fr;
  grid-gap: 1.5rem;
  margin-bottom: 3.75rem;
}
@media screen and (max-width: 991.98px) {
  .blog {
    margin-bottom: 2.5rem;
  }
}
@media screen and (max-width: 575.98px) {
  .blog {
    grid-auto-rows: auto;
    margin-bottom: 2rem;
  }
}
.blog__item {
  display: grid;
  grid-template: auto auto auto 1fr auto/1fr;
  grid-auto-flow: row;
  text-align: center;
  background-color: var(--white-black);
  box-shadow: 0px 5px 6px 0px rgba(34, 60, 80, 0.2);
}
.blog__header {
  border-bottom: 2px solid var(--purple);
  margin-bottom: 1.875rem;
}
@media screen and (max-width: 991.98px) {
  .blog__header {
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 575.98px) {
  .blog__header {
    margin-bottom: 0.5rem;
  }
}
.blog__link {
  display: block;
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.blog__img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.2s linear;
}
.blog__img:hover,
.blog__img:focus {
  transform: scale(1.1);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}
.blog__link:focus .blog__img {
  transform: scale(1.1);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
}
.blog__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  padding: 0 1.875rem;
  margin-bottom: 0.375rem;
}
@media screen and (max-width: 1199.98px) {
  .blog__title {
    padding: 0 1.25rem;
  }
}
@media screen and (max-width: 575.98px) {
  .blog__title {
    padding: 0 1rem;
  }
}
.blog__title-text {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.875rem;
  text-decoration: none;
}
.blog__title-text:before {
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  right: -10px;
  bottom: 0;
  background-color: var(--turquoise);
  z-index: -1;
  opacity: 0.7;
  transform: skew(-15deg) scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.5s cubic-bezier(1, -0.27, 0, 0.99);
}
.blog__title-text:hover:before,
.blog__title-text:focus:before {
  transform: skew(-15deg) scaleX(1);
  transform-origin: bottom left;
}
.blog__date {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 0.5rem;
}
.blog__text {
  max-height: 4.375rem;
  font-size: 0.875rem;
  color: var(--text-second);
  line-height: 24px;
  grid-auto-rows: 1fr;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1.875rem 0;
  margin-bottom: 1.25rem;
}
@media screen and (max-width: 1199.98px) {
  .blog__text {
    padding: 0 1.25rem 0;
  }
}
@media screen and (max-width: 575.98px) {
  .blog__text {
    padding: 0 1rem 0;
    margin-bottom: 0.5rem;
  }
}
.blog__footer {
  width: 100%;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  padding: 0 1.875rem 1.875rem;
}
@media screen and (max-width: 1199.98px) {
  .blog__footer {
    padding: 0 1.25rem 1.25rem;
  }
}
@media screen and (max-width: 575.98px) {
  .blog__footer {
    padding: 0 1rem 1rem;
  }
}
.blog__tags {
  display: flex;
  align-items: baseline;
}
.tags__icon {
  font-size: 0.625rem;
  margin-right: 0.25rem;
}
.tags__item {
  font-weight: 700;
  margin-right: 0.25rem;
}
.date__icon {
  margin-right: 0.25rem;
}
.footer {
  background-color: var(--white-black);
  color: var(--text);
}
.footer__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.copyright {
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem 0;
}
.copyright__link {
  color: var(--purple);
  text-decoration: none;
}
.arrow__up {
  display: none;
  position: fixed;
  right: 8px;
  bottom: 100px;
  background-color: rgba(0, 0, 0, 0);
  cursor: pointer;
  font-size: 2.25rem;
  padding: 0;
  border: 0;
  color: var(--purple);
}
.arrow__up--active {
  display: block;
}
.arrow__up::after {
  content: "Up!";
  display: block;
  opacity: 0;
  font-size: 0.875rem;
  transition: all 0.3s linear;
}
.arrow__up:hover::after {
  opacity: 1;
}
.open-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 25;
  display: none;
}
.open-img.active {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.open-img__wrapper {
  max-width: 80%;
  max-height: 80%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}
@media screen and (max-width: 991.98px) {
  .open-img__wrapper {
    max-width: 90%;
    max-height: 90%;
  }
}
.open-img__controls {
  position: absolute;
  top: 4px;
  right: 4px;
}
#openImgPic {
  max-height: 100%;
}
#openImgBtn,
#closeImgBtn {
  height: 2.625rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  color: #2a2d2e;
  border: 3px solid var(--orange);
  border-radius: 0.25rem;
  background-color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.2s linear;
}
#openImgBtn:hover,
#closeImgBtn:hover {
  color: #fff;
  background-color: var(--purple);
}
.error {
  min-height: 450px;
}
.error__title {
  margin-top: 3.125rem;
}
.pagination {
  width: 100%;
  display: flex;
  justify-content: space-around;
  padding: 0;
}
.pagination li {
  text-align: center;
  list-style: none;
  text-decoration: none;
}
.pagination li a {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  opacity: 0.9;
  border: 1px solid var(--turquoise);
  border-radius: 8px;
  transition: 0.2s;
  padding: 0.75rem 1rem;
}
@media screen and (max-width: 991.98px) {
  .pagination li a {
    font-size: 0.875rem;
    padding: 0.625rem 0.875rem;
  }
}
@media screen and (max-width: 575.98px) {
  .pagination li a {
    font-size: 0.625rem;
    padding: 0.5rem 0.75rem;
  }
}
.pagination li a:hover,
.pagination li a:focus {
  background-color: var(--turquoise);
  border-color: var(--turquoise);
}
.pagination li.active a {
  background-color: var(--turquoise);
  border-color: var(--turquoise);
  color: #fff;
}
.post {
  color: var(--text);
  background-color: var(--white-black);
  border-bottom: 5px solid rgba(0, 0, 0, 0);
  -o-border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image-slice: 1;
  box-shadow: 0px 5px 6px 0px rgba(34, 60, 80, 0.2);
  padding: 4rem 3.25rem 2rem 3.25rem;
}
@media screen and (max-width: 991.98px) {
  .post {
    padding: 3.5rem 2.75rem 1.5rem 2.75rem;
  }
}
@media screen and (max-width: 575.98px) {
  .post {
    padding: 1.75rem 1.25rem 1.75rem 1.25rem;
  }
}
.post__container {
  max-width: 85ch;
  margin: 0 auto;
}
.post h1 {
  font-size: 3rem;
  border-left: 0.5rem solid var(--purple);
  padding-left: 1rem;
  margin-bottom: 3rem;
}
@media screen and (max-width: 575.98px) {
  .post h1 {
    font-size: 2rem;
    padding-left: 0.75rem;
    margin-bottom: 2rem;
  }
}
.post h2,
.post h3 {
  font-size: 2.5rem;
  margin: 2.5rem 0 1.875rem;
}
.post h2::before,
.post h3::before {
  content: "#";
  color: var(--purple);
  margin-right: 0.25rem;
}
@media screen and (max-width: 575.98px) {
  .post h2,
  .post h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
  }
}
.post h3 {
  font-size: 2rem;
  margin: 2.25rem 0 1.75rem;
}
.post h3::before {
  content: "##";
}
@media screen and (max-width: 575.98px) {
  .post h3 {
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem;
  }
}
.post p {
  margin-top: 1.75rem;
}
@media screen and (max-width: 575.98px) {
  .post p {
    margin-top: 1rem;
  }
}
.post blockquote {
  font-size: 15px;
  border-left: 5px solid var(--turquoise);
  padding: 1.125rem 1.875rem;
  margin: 0 0 2rem;
}
.post blockquote p {
  margin: 0;
}
.post pre {
  color: #17a020;
  font-size: 0.8125rem;
  background-color: #000;
  overflow: hidden;
  padding: 0.5rem;
  margin: 1rem 0;
}
@media screen and (max-width: 575.98px) {
  .post pre {
    margin: 0.75rem 0;
  }
}
.post em {
  color: var(--orange);
}
.post code {
  color: #17a020;
}
.post a {
  font-weight: bold;
}
.post ul,
.post ol {
  margin-top: 1.25rem;
}
@media screen and (max-width: 575.98px) {
  .post ul,
  .post ol {
    margin-top: 1rem;
  }
}
.post li {
  margin-top: 0.5rem;
}
.post img {
  display: block;
  margin: 0 auto;
  outline: 4px solid var(--turquoise);
}
.post img:hover {
  cursor: pointer;
}
.post iframe {
  display: block;
  margin: 2rem auto;
}
@media screen and (max-width: 575.98px) {
  .post iframe {
    margin: 1.25rem auto;
  }
}
.post-tags {
  color: var(--purple);
  background-color: var(--white-black);
  text-transform: uppercase;
  box-shadow: 0px 5px 6px 0px rgba(34, 60, 80, 0.2);
  padding: 2rem 3.25rem;
  margin: 0 auto 3.75rem auto;
}
@media screen and (max-width: 575.98px) {
  .post-tags {
    display: none;
  }
}
.post hr {
  height: 0;
  border: none;
  border-top: 1px solid #c5d5d5;
  padding: 0;
  margin-top: 2rem;
}
@media screen and (max-width: 575.98px) {
  .post hr {
    margin-top: 1rem;
  }
}
.form-inline {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 6rem;
  left: -3000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.28s ease 0.5s;
  z-index: 5;
  background-color: rgba(42, 45, 46, 0.85);
  padding: 3rem;
}
@media screen and (max-width: 575.98px) {
  .form-inline {
    top: 8rem;
  }
}
.form-inline.active {
  left: 0;
}
.form-control {
  width: 100%;
  max-width: 70vw;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  color: #2a2d2e;
  text-decoration: none;
  border: 8px solid rgba(0, 0, 0, 0);
  animation: linear 2s linear infinite;
  border-image-slice: 1;
  background-color: #fff;
  transition: all 0.2s ease;
  outline: none;
  padding: 0.5rem 1.5rem;
  margin-bottom: 2.5rem;
}
.form-control:hover,
.form-control:focus {
  animation-play-state: paused;
}
.form-inline select {
  display: none;
}
.form-inline .btn {
  width: 7.5rem;
  height: 2.625rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1rem;
  text-transform: uppercase;
  text-align: center;
  color: #2a2d2e;
  border: 8px solid rgba(0, 0, 0, 0);
  border-radius: 0.5rem;
  background-color: #fff;
  outline: none;
  cursor: pointer;
  transition: all 0.2s linear;
}
.form-inline .btn:hover,
.form-inline .btn:focus {
  color: #fff;
  background-color: var(--purple);
}
@keyframes linear {
  0% {
    border: 8px solid rgba(0, 0, 0, 0);
    -o-border-image: linear-gradient(
      to left,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image: linear-gradient(
      to left,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image-slice: 1;
  }
  50% {
    border: 8px solid rgba(0, 0, 0, 0);
    -o-border-image: linear-gradient(
      to right,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image: linear-gradient(
      to right,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image-slice: 1;
  }
  100% {
    border: 8px solid rgba(0, 0, 0, 0);
    -o-border-image: linear-gradient(
      to left,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image: linear-gradient(
      to left,
      var(--turquoise),
      var(--orange),
      var(--purple)
    );
    border-image-slice: 1;
  }
}
.results {
  max-width: 85ch;
  color: var(--text);
  background-color: var(--white-black);
  border-bottom: 5px solid rgba(0, 0, 0, 0);
  -o-border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image: linear-gradient(to left, var(--turquoise), var(--purple));
  border-image-slice: 1;
  box-shadow: 0px 5px 6px 0px rgba(34, 60, 80, 0.2);
  padding: 3.25rem 3.25rem 2rem 3.25rem;
  margin: 2.5rem auto 2.5rem;
}
.results .pagination {
  margin-top: 2.5rem;
}
@media screen and (max-width: 991.98px) {
  .results {
    padding: 3.5rem 2.75rem 1.5rem 2.75rem;
  }
}
@media screen and (max-width: 575.98px) {
  .results {
    padding: 1.75rem 1.25rem 1.75rem 1.25rem;
  }
}
.results__title {
  margin: 0rem 0 2rem;
}
.results__list h2 {
  display: none;
}
.results__list mark {
  background-color: rgba(220, 92, 50, 0.6980392157);
}
.results__list .post-list {
  padding-left: 1rem;
}
.cv .wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  min-height: 100vh;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
.cv .cv__input {
  display: none;
}
.cv .cv__label {
  color: #42454a;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0;
  background-color: #ebecec;
  cursor: pointer;
  transition: all 0.2s ease-out;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.75rem;
}
.cv .cv__label:hover {
  background-color: #fff;
}
.cv .cv__label[for="ru"] {
  right: 4.375rem;
}
.cv .cv__input[id="ru"]:checked ~ .cv-header .cv-header__info_ru {
  display: flex;
}
.cv .cv__input[id="en"]:checked ~ .cv-header .cv-header__info_en {
  display: flex;
}
.cv .cv__input[id="ru"]:checked ~ .sidebar .skills_ru {
  display: block;
}
.cv .cv__input[id="en"]:checked ~ .sidebar .skills_en {
  display: block;
}
.cv .cv__input[id="ru"]:checked ~ .content .info_ru {
  display: block;
}
.cv .cv__input[id="en"]:checked ~ .content .info_en {
  display: block;
}
.cv .cv__input:checked + .cv__label {
  color: var(--purple);
}
.cv .cv-header {
  width: 100%;
  display: flex;
}
.cv .cv-header__logo {
  width: 32%;
  min-height: 400px;
  background-color: #42454a;
  background-image: url("https://www.transparenttextures.com/patterns/diagonal-striped-brick.png");
}
@media screen and (max-width: 991.98px) {
  .cv .cv-header__logo {
    width: 0;
    min-height: 350px;
  }
}
@media screen and (max-width: 575.98px) {
  .cv .cv-header__logo {
    min-height: 250px;
  }
}
.cv .cv-header__photo {
  width: 100%;
  display: flex;
  -o-object-fit: cover;
  object-fit: cover;
}
.cv .cv-header__info {
  width: 68%;
  display: none;
  flex-direction: column;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  background-color: #42454a;
  letter-spacing: 8px;
  line-height: 1.2;
  text-transform: uppercase;
  padding: 5%;
}
.cv .cv-header__info_ru {
  font-size: 2.25rem;
}
@media screen and (max-width: 991.98px) {
  .cv .cv-header__info {
    width: 100%;
  }
}
@media screen and (max-width: 575.98px) {
  .cv .cv-header__info {
    font-size: 0.75rem;
    text-align: center;
  }
}
.cv .cv-header__person {
  font-weight: normal;
  margin-bottom: 1.25rem;
}
.cv .cv-header__person span {
  font-weight: 800;
}
.cv .cv-header__prof {
  font-size: 2.125rem;
  text-transform: none;
  margin-bottom: 0.875rem;
}
.cv .sidebar {
  width: 32%;
  background-color: #ebecec;
  padding: 4.375rem 2rem 1.875rem;
}
@media screen and (max-width: 575.98px) {
  .cv .sidebar {
    width: 100%;
    order: 2;
  }
}
.cv .skills {
  display: none;
}
.cv .content {
  width: 68%;
  align-self: stretch;
  border-right: 8px solid #42454a;
  padding: 4.375rem 2rem 1.875rem;
}
@media screen and (max-width: 575.98px) {
  .cv .content {
    width: 100%;
    border-right: none;
  }
}
.cv .info {
  display: none;
}
.cv .cv-title {
  font-size: 1.875rem;
  color: #43454b;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.cv .cv-list {
  padding-left: 2.5rem;
  margin-bottom: 1.25rem;
}
@media screen and (max-width: 991.98px) {
  .cv .cv-list {
    padding-left: 1.25rem;
    margin-bottom: 0.625rem;
  }
}
.cv .cv-list__item {
  list-style: square;
  margin-bottom: 0.75rem;
}
.cv .cv-skills-subtitle {
  margin-bottom: 1rem;
}
.cv .cv-icons {
  display: flex;
  justify-content: space-evenly;
}
.cv section {
  margin-bottom: 1.875rem;
}
.cv a {
  font-weight: bold;
}
.cv i {
  font-size: 0.9375rem;
}
.cv pre {
  color: #90ee90;
  background-color: #42454a;
  border-radius: 8px;
  padding: 0.625rem;
}
.projects__container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
}
.projects .sidebar {
  height: 100%;
  width: 30%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease-in-out;
}
@media screen and (max-width: 991.98px) {
  .projects .sidebar {
    width: 100%;
  }
}
.projects .sidebar .sidebar__slide {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-right: 8px solid #fff;
  padding: 0 2rem;
}
@media screen and (max-width: 991.98px) {
  .projects .sidebar .sidebar__slide {
    border-right: none;
  }
}
.projects .sidebar__title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.projects .sidebar__links {
  margin-bottom: 1rem;
}
.projects .sidebar__link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 1.125rem;
  color: #aaa;
  text-decoration: none;
  background-color: #fff;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
  padding: 0.75rem;
  margin: 0 0.25rem;
}
.projects .sidebar__link:hover {
  color: var(--purple);
}
.projects .sidebar__text {
  font-size: 0.875rem;
  text-align: center;
  margin-bottom: 1rem;
}
.projects .sidebar__tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  padding: 0;
  margin-bottom: 2rem;
}
.projects .sidebar__tag {
  list-style: none;
  margin: 0.25rem 0.5rem;
}
.projects .main-slide {
  width: 70%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 30%;
  transition: transform 0.5s ease-in-out;
}
@media screen and (max-width: 991.98px) {
  .projects .main-slide {
    width: 0;
  }
}
.projects .main-slide__item {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #eae4e4;
  padding: 2%;
}
.projects .main-slide__img {
  max-width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
.projects button {
  background-color: #fff;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.9375rem;
}
.projects button:hover {
  color: var(--purple);
}
.projects button:focus {
  outline: none;
}
.projects__container .projects-controls button {
  position: absolute;
  left: 30%;
  transition: all 0.2s ease-in-out;
  z-index: 20;
}
.projects__container .projects-controls .down-button {
  transform: translateX(-118%);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  bottom: 8%;
}
@media screen and (max-width: 991.98px) {
  .projects__container .projects-controls .down-button {
    left: 100%;
    bottom: 8%;
    transform: translateX(-100%);
    padding: 1.5rem;
  }
}
.projects__container .projects-controls .up-button {
  transform: translateX(-118%);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  top: 8%;
}
@media screen and (max-width: 991.98px) {
  .projects__container .projects-controls .up-button {
    top: 92%;
    left: 0;
    transform: translate(0, -100%);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 1.5rem;
  }
}
.home-link {
  display: flex;
  align-items: baseline;
  cursor: pointer;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  font-size: 1rem;
  color: #aaa;
  text-decoration: none;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
  border-bottom-right-radius: 5px;
  padding: 0.9375rem;
}
.home-link:hover {
  color: var(--purple);
}
/*! добавил cтили страницы codewars + status bar 05.05.24 */
.codewars {
  min-height: 100vh;
  color: #ffffff;
  color: var(--codewars-white);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden
}
.codewars__parallax {
  z-index: -1;
  position: absolute;
  width: 105%;
  height: 105%;
  background-image: url('https://web-vm.ru/themes/web-vm-new/assets/images/codewars/codewars-bg.jpg');
  background-position: center center;
  background-size: cover
}
.codewars__header {
  height: 12vh;
  background-color: #212121;
  background-color: var(--codewars-black)
}
.codewars__header-inner {
  display: flex;
  padding: 2vh 0
}
.codewars__img-wrapper {
  display: inline-flex;
  width: 8vh;
  height: 8vh
}
.codewars__form {
  width: 100%;
  display: flex;
  color: #A6A6A8;
  color: var(--codewars-text);
  -moz-column-gap: 10px;
  column-gap: 10px
}
.codewars__form-search {
  width: 100%;
  color: inherit;
  border: none;
  text-align: center;
  background-color: #323337;
  background-color: var(--codewars-darkgray)
}
.codewars__form-select {
  color: inherit;
  border: none;
  text-align: center;
  background-color: #323337;
  background-color: var(--codewars-darkgray)
}
.codewars__form-btn {
  color: inherit;
  border: 2px solid #323337;
  border: 2px solid var(--codewars-darkgray)
}
.codewars__form-btn:hover {
  color: #B1361E;
  color: var(--codewars-red)
}
.codewars__content {
  flex-grow: 1;
  align-items: center;
  justify-items: center;
  place-items: center;
  padding: 8vh 0 4vh
}
.codewars__table {
  width: 100%;
  max-height: 70vh;
  display: block;
  overflow-y: scroll;
  background-color: rgba(255, 255, 255, .05);
  background-color: var(--codewars-transparent);
  border: none;
  border-collapse: collapse
}
.codewars__table::-webkit-scrollbar {
  width: 8px
}
.codewars__table::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .05);
  background: var(--codewars-transparent)
}
.codewars__table::-webkit-scrollbar-thumb {
  background-color: #212121;
  background-color: var(--codewars-black)
}
.codewars__table-head {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 4rem;
  color: #A6A6A8;
  color: var(--codewars-text);
  border-bottom: 2px solid #212121;
  border-bottom: 2px solid var(--codewars-black);
  background-color: #323337;
  background-color: var(--codewars-darkgray)
}
.codewars__table-head th:not(:first-child) {
  border-left: 2px solid #212121;
  border-left: 2px solid var(--codewars-black)
}
.codewars__table-cell {
  text-transform: capitalize;
  border-bottom: 2px solid #212121;
  border-bottom: 2px solid var(--codewars-black);
  padding: 1rem
}
.codewars__table-cell_centered {
  text-align: center
}
.codewars__table-cell[data-kyu] {
  line-height: 1;
  font-weight: bold;
  font-size: .875rem;
  position: relative
}
.codewars__table-cell[data-kyu]::after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 60%;
  width: 60%;
  border: 2px solid #ffffff;
  border: 2px solid var(--codewars-white);
  border-radius: 50px
}
.codewars__table-cell[data-kyu="6 kyu"],
.codewars__table-cell[data-kyu="5 kyu"] {
  color: #ECB613;
  color: var(--codewars-yellow)
}
.codewars__table-cell[data-kyu="6 kyu"]::after,
.codewars__table-cell[data-kyu="5 kyu"]::after {
  border-color: #ECB613;
  border-color: var(--codewars-yellow)
}
.codewars__table-cell[data-kyu="4 kyu"],
.codewars__table-cell[data-kyu="3 kyu"] {
  color: #1F87E7;
  color: var(--codewars-blue)
}
.codewars__table-cell[data-kyu="4 kyu"]::after,
.codewars__table-cell[data-kyu="3 kyu"]::after {
  border-color: #1F87E7;
  border-color: var(--codewars-blue)
}
.codewars__table-cell[data-kyu="2 kyu"],
.codewars__table-cell[data-kyu="1 kyu"] {
  color: #866CC7;
  color: var(--codewars-violet)
}
.codewars__table-cell[data-kyu="2 kyu"]::after,
.codewars__table-cell[data-kyu="1 kyu"]::after {
  border-color: #866CC7;
  border-color: var(--codewars-violet)
}
.codewars__table-cell[data-status] {
  color: rgba(0, 0, 0, 0);
  position: relative
}
.codewars__table-cell[data-status=true]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2rem;
  width: 2rem;
  background-image: url(assets/image/codewars/codewars-logo.png);
  background-position: center;
  background-size: contain
}
.codewars__table-cell[data-status=false]::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2rem;
  width: 2rem;
  background-image: url(assets/image/codewars/codewars-logo.png);
  background-position: center;
  background-size: contain;
  filter: grayscale(80%)
}
.codewars a {
  font-weight: bold;
  color: #B1361E;
  color: var(--codewars-red);
  text-decoration: none
}
#bar {
  width: 0;
  height: 5px;
  background: linear-gradient(to left, var(--turquoise), var(--purple));
  position: fixed;
  top: 0;
  transition: width .25s ease;
  z-index: 50
}
