:root {
  --font-family: "DMSans", sans-serif;
  --ff-second: "Poppins", sans-serif;
  --content-width: 1170px;
  --container-offset: 15px;
  --container-width: calc(var(--content-width) + (var(--container-offset) * 2));
  --light-color: hsl(238, 20%, 93%);
  --light-color-weak: hsl(238, 20%, 85%);
  --dark-color: hsl(240, 11%, 18%);
  --dark-color-weak: hsla(0, 0%, 45%, 0.7);
  --accent-color: hsl(238, 79%, 64%);
  --accent-color-dark: hsl(238, 79%, 55%);
  --accent-color-light: hsl(238, 79%, 75%);
  --accent-color-transparent: hsl(238, 79%, 64%, 0.3);
  --line-color: hsl(220, 7%, 16%);
  --shadow-color: rgba(0, 0, 0, 0.25);
  --text-color-primary: var(--light-color);
  --text-color-secondary: var(--light-color-weak);
  --bg-color: var(--dark-color);
  --fz-title: clamp(2.75rem, 4vw + 1rem, 3.75rem);
  --fz-subtitle-big: 2.5rem;
  --fz-subtitle: 1.5rem;
  --fz-subtitle-small: 1.25rem;
  --fz-text: 1.125rem;
  --fz-text-xs: 0.8125rem;
  --gap: 1rem;
}

@media (max-width: 768px) {
  :root {
    --fz-title: clamp(2.25rem, 4vw + 1rem, 3.25rem);
    --fz-subtitle-big: 2rem;
    --fz-subtitle: 1.25rem;
    --fz-subtitle-small: 1.125rem;
    --fz-text: 1rem;
  }
}
/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable */
.custom-checkbox__field:checked + .custom-checkbox__content::after {
  opacity: 1;
}

.custom-checkbox__field:focus + .custom-checkbox__content::before {
  outline: 2px solid #f00;
  outline-offset: 2px;
}

.custom-checkbox__field:disabled + .custom-checkbox__content {
  opacity: 0.4;
  pointer-events: none;
}

/* stylelint-disable */
/* stylelint-disable */
/* stylelint-disable value-keyword-case */
@font-face {
  font-family: "DMSans";
  src: url("../fonts/../fonts/DMSans_18pt-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "DMSans";
  src: url("../fonts/../fonts/DMSans_18pt-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "DMSans";
  src: url("../fonts/../fonts/DMSans_18pt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/../fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
}

/* Remove list styles on ul */
ul,
ol {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4,
h5, h6 {
  text-wrap: balance;
  font-size: inherit;
  font-weight: inherit;
}

/* a elements remove styles */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
  object-fit: cover;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

button, input[type=submit] {
  display: inline-block;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

.page {
  height: 100%;
  max-width: 100vw;
  font-family: var(--font-family, sans-serif);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
.page[data-theme=light] {
  --text-color-primary: var(--dark-color);
  --text-color-secondary: var(--dark-color-weak);
  --hero-color-accent: var(--accent-color-dark);
  --bg-color: var(--light-color);
  --bg-color-hero: var(--dark-color-weak);
  --theme-icon-color: var(--dark-color-weak);
  --theme-icon-hover-color: var(--light-color-weak);
}
.page[data-theme=dark] {
  --text-color-primary: var(--light-color);
  --text-color-secondary: var(--light-color-weak);
  --hero-color-accent: var(--accent-color);
  --bg-color: var(--dark-color);
  --bg-color-hero: var(--dark-color);
  --bg-color-hero: var(--dark-color-weak);
  --theme-icon-color: var(--light-color-weak);
  --theme-icon-hover-color: var(--dark-color-weak);
}

.page__body {
  margin: 0;
  min-width: 320px;
  max-width: 100vw;
  min-height: 100%;
  font-size: 16px;
}

.is-hidden {
  display: none !important; /* stylelint-disable-line declaration-no-important */
}

.btn-reset {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.input-reset {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;
  background-color: #fff;
}
.input-reset::-webkit-search-decoration, .input-reset::-webkit-search-cancel-button, .input-reset::-webkit-search-results-button, .input-reset::-webkit-search-results-decoration {
  display: none;
}

.visually-hidden {
  position: absolute;
  overflow: hidden;
  margin: -1px;
  border: 0;
  padding: 0;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.container {
  margin: 0 auto;
  padding: 0 var(--container-offset);
  max-width: var(--container-width);
}

.js-focus-visible :focus:not(.focus-visible) {
  outline: none;
}

.centered {
  text-align: center;
}

.dis-scroll {
  position: fixed;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  -ms-scroll-chaining: none;
  overscroll-behavior: none;
}

.page--ios .dis-scroll {
  position: relative;
}

.main,
.about,
.projects,
.skills,
.contacts {
  color: var(--text-color-primary);
  background-color: var(--bg-color);
}

.main,
.header,
.hero,
.about,
.projects,
.skills,
.contacts,
.footer {
  -webkit-transition: background-color 300ms linear, color 300ms linear;
  transition: background-color 300ms linear, color 300ms linear;
}

.btn {
  --shadow-color: var(--dark-color);
  display: inline-block;
  padding-block: 0.75em;
  border-radius: 0.75em;
  color: inherit;
  font-size: var(--fz-text);
  line-height: 1.4;
}

.section-padding {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.section__title {
  margin-bottom: 1em;
  font-weight: 700;
  font-size: var(--fz-title);
  line-height: 1.3;
  text-align: center;
  background-image: -webkit-gradient(linear, left top, right top, color-stop(40%, var(--accent-color-dark)), color-stop(55%, var(--accent-color-light)));
  background-image: linear-gradient(to right, var(--accent-color-dark) 40%, var(--accent-color-light) 55% 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme=dark] .section__title {
  background-image: -webkit-gradient(linear, left top, right top, color-stop(40%, var(--light-color-weak)), color-stop(55%, var(--accent-color)));
  background-image: linear-gradient(to right, var(--light-color-weak) 40%, var(--accent-color) 55% 70%);
}

@media (max-width: 1024px) {
  .section__title {
    margin-bottom: 0.5em;
  }
}
.subtitle {
  font-weight: 700;
  font-size: var(--fz-subtitle-big);
  line-height: 1.3;
}

.subtitle-medium {
  font-weight: 700;
  font-size: var(--fz-subtitle);
  line-height: 1.3;
}

.subtitle-small {
  font-weight: 700;
  font-size: var(--fz-subtitle-small);
  line-height: 1.3;
}

.card__title {
  font-weight: 700;
  font-size: var(--fz-subtitle);
  line-height: 1.3;
}

.graph-modal__container {
  color: var(--text-color-primary);
  background-color: var(--bg-color);
}

.graph-modal__close {
  background-color: var(--dark-color-weak);
  background-color: var(--accent-color-transparent);
  background-position: 50% 50%;
  background-size: 70%;
  background-repeat: no-repeat;
  border-radius: 5px;
}

@-webkit-keyframes fly-in-animation {
  0% {
    -webkit-transform: translateX(-30vw);
    transform: translateX(-30vw);
    opacity: 0;
    -webkit-filter: blur(5px);
    filter: blur(5px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}

@keyframes fly-in-animation {
  0% {
    -webkit-transform: translateX(-30vw);
    transform: translateX(-30vw);
    opacity: 0;
    -webkit-filter: blur(5px);
    filter: blur(5px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
    -webkit-filter: blur(0);
    filter: blur(0);
  }
}
.fly-in {
  -webkit-animation: fly-in-animation linear both;
  animation: fly-in-animation linear both;
  animation-timeline: view(block);
  animation-range: cover 0% contain 30%;
}

@-webkit-keyframes fade-in-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.fade-in {
  -webkit-animation: fade-in-animation linear both;
  animation: fade-in-animation linear both;
  animation-timeline: view(block);
  animation-range: cover 15% contain 40%;
}

@-webkit-keyframes horizontal-scroll-animaiton {
  0% {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@keyframes horizontal-scroll-animaiton {
  0% {
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
.horizontal-scroll {
  -webkit-animation: horizontal-scroll-animaiton linear both;
  animation: horizontal-scroll-animaiton linear both;
  animation-timeline: scroll(root);
}

.print-only {
  display: none;
}
@media print {
  .print-only {
    display: block;
  }
}

.print-none {
  display: block;
}
@media print {
  .print-none {
    display: none;
  }
}

.link {
  position: relative;
  color: currentColor;
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-text);
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
  z-index: 10;
}
.link::after {
  content: "";
  position: absolute;
  display: block;
  background-color: var(--accent-color);
  height: 3px;
  width: 0;
  left: 0;
  bottom: -3px;
  -webkit-transition: width 0.3s ease-in;
  transition: width 0.3s ease-in;
}
.link--active {
  color: var(--text-color-primary);
  font-size: 1.125rem;
}
.link--active::after {
  width: 100%;
}
@media (any-hover: hover) {
  .link:not(.nav__link--active):hover::after {
    width: 100%;
  }
}

.scroller {
  margin: 0 auto;
}
.scroller__inner {
  padding-block: 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 1rem;
}
.scroller[data-animated=true] {
  overflow: hidden;
  -webkit-mask: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(20%, white), color-stop(80%, white), to(transparent));
  -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
  mask: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(20%, white), color-stop(80%, white), to(transparent));
  mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}
.scroller[data-animated=true] .scroller__inner {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-animation: scroll var(--_animation-duration, 30s) var(--_animation-direction, forwards) linear infinite;
  animation: scroll var(--_animation-duration, 30s) var(--_animation-direction, forwards) linear infinite;
}
@media (hover: hover) {
  .scroller[data-animated=true] .scroller__inner:hover {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
    overflow: visible;
    -webkit-mask: none;
    mask: none;
  }
}
.scroller[data-speed=slow] {
  --_animation-duration: 40s;
}
.scroller[data-speed=":default"] {
  --_animation-duration: 30s;
}
.scroller[data-speed=fast] {
  --_animation-duration: 20s;
}
.scroller[data-direction=right] {
  --_animation-direction: reverse;
}
.scroller[data-direction=left] {
  --_animation-direction: forwards;
}

@-webkit-keyframes scroll {
  to {
    -webkit-transform: translate(calc(-50% - 0.5rem));
    transform: translate(calc(-50% - 0.5rem));
  }
}

@keyframes scroll {
  to {
    -webkit-transform: translate(calc(-50% - 0.5rem));
    transform: translate(calc(-50% - 0.5rem));
  }
}
.tooltip {
  position: fixed;
  padding: 10px 20px;
  border: 1px solid #b3c9ce;
  border-radius: 4px;
  text-align: center;
  font: italic 14px/1.3 sans-serif;
  color: #333;
  background: #000;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

body::-webkit-scrollbar-thumb {
  cursor: pointer;
}

body::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}

body::-webkit-scrollbar-track {
  background-color: var(--light-color-weak);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--dark-color);
  background-color: var(--accent-color);
  border: 1px solid var(--light-color-weak);
  border-radius: 5px;
}

.header {
  --z-header: 100;
  width: 100%;
  top: 0;
  padding-top: 6px;
  padding-bottom: 3px;
  overflow: hidden;
  position: fixed;
  z-index: var(--z-header);
}
@media (max-width: 940px) {
  .header {
    overflow: visible;
  }
}
.header__container {
  max-width: 95vw;
  padding-block: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}
@media (max-width: 1280px) {
  .header__container {
    padding-block: 0.625rem;
  }
}
.header__container::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  backdrop-filter: blur(100px);
  z-index: calc(var(--z-header) / 10);
  border-radius: 12px;
  -webkit-box-shadow: 0px 1px 3px 1px var(--shadow-color), 0px -1px 3px var(--light-color-weak);
  box-shadow: 0px 1px 3px 1px var(--shadow-color), 0px -1px 3px var(--light-color-weak);
}
.header__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
}
@-webkit-keyframes progress-animation {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
@keyframes progress-animation {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}
.header .progress-bar {
  position: fixed;
  z-index: var(--z-header);
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  background-color: var(--accent-color);
  opacity: 0.7;
  -webkit-animation: progress-animation linear;
  animation: progress-animation linear;
  animation-timeline: scroll();
}

.logo {
  position: relative;
  z-index: 10;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
}
.logo__text {
  color: var(--light-color);
  font-family: var(--ff-second);
  font-size: var(--fz-subtitle);
  pointer-events: none;
  text-shadow: 1px 1px 2px var(--dark-color);
}
.logo__text--bold {
  font-weight: 700;
  letter-spacing: 0.1rem;
}
.logo__text--regular {
  font-weight: 400;
  color: var(--grey-color);
  letter-spacing: 0.03em;
}
@media (max-width: 550px) {
  .logo__text--regular {
    display: none;
  }
}

@media (max-width: 940px) {
  .nav {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    height: 100vh;
    background-color: var(--bg-color);
    width: 100vw;
    -webkit-transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .nav.menu--active {
    display: -ms-grid;
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  .nav .nav__list {
    place-content: center;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }
}
.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 40px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media (max-width: 940px) {
  .nav__list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
@media (max-width: 360px) {
  .nav__list {
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
  }
}
.nav__link {
  position: relative;
  color: var(--text-color-secondary);
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-text);
  text-shadow: 1px 1px 1px var(--dark-color);
  -webkit-transition: color 0.3s ease-in;
  transition: color 0.3s ease-in;
  z-index: 10;
}
.nav__link::after {
  content: "";
  position: absolute;
  display: block;
  background-color: var(--accent-color);
  height: 3px;
  width: 0;
  left: 0;
  bottom: -3px;
  -webkit-transition: width 0.3s ease-in;
  transition: width 0.3s ease-in;
}
.nav__link--active {
  color: var(--text-color-primary);
  font-size: 1.125rem;
}
.nav__link--active::after {
  width: 100%;
}
@media (any-hover: hover) {
  .nav__link:not(.nav__link--active):hover {
    color: var(--text-color-primary);
  }
  .nav__link:not(.nav__link--active):hover::after {
    width: 100%;
  }
}

.nav-ru {
  display: none;
}

[lang=ru] .nav-ru {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
[lang=ru] .nav-en {
  display: none;
}

.burger {
  --burger-width: 30px;
  --burger-height: 30px;
  --burger-line-height: 2px;
  position: relative;
  border: none;
  padding: 0;
  width: var(--burger-width);
  height: var(--burger-height);
  color: #000;
  background-color: transparent;
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 20;
  color: var(--text-color-primary);
}
.burger::before, .burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger::before {
  top: 0;
}
.burger::after {
  top: calc(100% - var(--burger-line-height));
}
.burger__line {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: var(--burger-line-height);
  background-color: currentColor;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active::before {
  top: 50%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active::after {
  top: 50%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, top 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}
.burger--active .burger__line {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

@media (max-width: 940px) {
  .burger {
    display: inline-block;
    z-index: 100;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}
.hero, .hero-ru {
  min-height: 650px;
  height: calc(100vh - 100px);
  display: -ms-grid;
  display: grid;
  place-items: center;
  overflow-y: visible;
  background-color: var(--bg-color-hero);
  background-image: -webkit-image-set("../img/hero_bg.webp" type("image/webp"), "../img/hero_bg.png" type("image/jpg"));
  background-image: image-set("../img/hero_bg.webp" type("image/webp"), "../img/hero_bg.png" type("image/jpg"));
  background-position: center 37%;
  background-repeat: no-repeat;
  clip-path: url(#heroWave);
  -webkit-filter: drop-shadow(0px -10px -15px var(--text-color-primary));
  filter: drop-shadow(0px -10px -15px var(--text-color-primary));
  color: var(--text-color-primary);
  position: relative;
}
.hero__container, .hero-ru__container {
  display: -ms-grid;
  display: grid;
  place-items: center;
  text-align: center;
  -webkit-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
  transform: translateY(-30%);
}
.hero__title, .hero-ru__title {
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: var(--fz-title);
  line-height: 1.4;
}
.hero__title-greeting, .hero-ru__title-greeting {
  display: block;
}
.hero__accent, .hero-ru__accent {
  color: var(--hero-color-accent);
}
.hero__subtitle, .hero-ru__subtitle {
  font-weight: 700;
  font-size: var(--fz-subtitle-big);
}
.hero__text, .hero-ru__text {
  margin-bottom: 2.5rem;
  font-weight: 500;
  font-size: var(--fz-text);
  line-height: 1.4;
}
.hero__btn, .hero-ru__btn {
  --shadow-color: var(--accent-color);
  position: relative;
  overflow: hidden;
  padding-left: 2em;
  padding-right: 1.25em;
  padding-block: 1rem;
  color: var(--light-color-weak);
  font-weight: 500;
  background: linear-gradient(145deg, var(--accent-color), var(--accent-color-dark) 10%, var(--accent-color) 50% 60%, var(--accent-color-dark) 90%);
  background-size: 180%;
  background-position: right;
  -webkit-box-shadow: 4px 4px 6px 0px var(--accent-color-light) inset, -4px -4px 8px 0px var(--accent-color-transparent) inset, -2px -2px 3px 0px var(--dark-color) inset;
  box-shadow: 4px 4px 6px 0px var(--accent-color-light) inset, -4px -4px 8px 0px var(--accent-color-transparent) inset, -2px -2px 3px 0px var(--dark-color) inset;
  clip-path: url(#heroBtn);
  -webkit-transition: background-position 400ms ease-in-out, color 300ms ease-in-out;
  transition: background-position 400ms ease-in-out, color 300ms ease-in-out;
}
.hero__btn::after, .hero-ru__btn::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  direction: rtl;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1000;
  -webkit-box-shadow: -7px -7px 20px 0px var(--light-color-dark), -4px -4px 5px 0px var(--light-color-dark), 7px 7px 20px 0px rgba(0, 0, 0, 0.1333333333), 4px 4px 5px 0px rgba(0, 0, 0, 0.0666666667);
  box-shadow: -7px -7px 20px 0px var(--light-color-dark), -4px -4px 5px 0px var(--light-color-dark), 7px 7px 20px 0px rgba(0, 0, 0, 0.1333333333), 4px 4px 5px 0px rgba(0, 0, 0, 0.0666666667);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (any-hover: hover) {
  .hero__btn:hover, .hero-ru__btn:hover {
    background-position: left;
    color: var(--light-color);
  }
  .hero__btn:hover::after, .hero-ru__btn:hover::after {
    left: auto;
    right: 0;
    width: 100%;
  }
  .hero__btn:hover ~ .hero__btn--tip::after, .hero-ru__btn:hover ~ .hero__btn--tip::after {
    left: auto;
    right: 0;
    width: 100%;
  }
}
.hero__btn--container, .hero-ru__btn--container {
  padding-top: 10px;
  position: relative;
}
.hero__btn--tip, .hero-ru__btn--tip {
  width: 70px;
  height: 20px;
  padding-left: 1.4em;
  padding-top: 2px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
  background-color: var(--accent-color-transparent);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  -webkit-box-shadow: inset 0 2px 10px var(--light-color-weak), inset 1px -3px 5px var(--accent-color-dark);
  box-shadow: inset 0 2px 10px var(--light-color-weak), inset 1px -3px 5px var(--accent-color-dark);
  font-family: sans-serif;
  font-size: var(--fz-text-xs);
  font-weight: 500;
  letter-spacing: 0.09em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  position: absolute;
  top: 0;
  left: 0;
  clip-path: path("M0 0 L70 0 A14 12 0 0 0 55 8 L55 12 A5 8 0 0 1 50 20 L0 20 L0 0 z");
}
@media (max-width: 768px) {
  .hero__btn--tip, .hero-ru__btn--tip {
    width: 60px;
    clip-path: path("M0 0 L60 0 A14 12 0 0 0 49 8 L49 14 A8 7 0 0 1 40 20 L0 20 L0 0 z");
  }
}
.hero__btn--tip::after, .hero-ru__btn--tip::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1000;
  -webkit-box-shadow: -7px -7px 20px 0px var(--accent-color-light);
  box-shadow: -7px -7px 20px 0px var(--accent-color-light);
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}

.hero-ru {
  display: none;
}

[lang=ru] .hero-ru {
  display: -ms-grid;
  display: grid;
}
[lang=ru] .hero {
  display: none;
}

.language {
  z-index: var(--z-header);
  color: var(--text-color-primary);
  width: 30px;
  height: 30px;
  padding: 5px;
  position: relative;
}
.language.is-active {
  overflow: visible;
}
.language.is-active .language__select-wrapper {
  -webkit-transform: translate(0, -24%);
  -ms-transform: translate(0, -24%);
  transform: translate(0, -24%);
}
.language.is-active .language__selected {
  opacity: 0;
}
.language__select:hover .language__selected {
  opacity: 0;
}
.language__select-wrapper {
  padding: 5px;
  display: -ms-grid;
  display: grid;
  row-gap: 10px;
  -webkit-transform: translate(0, -200%);
  -ms-transform: translate(0, -200%);
  transform: translate(0, -200%);
  -webkit-transition: all 0.3s 0.1s;
  transition: all 0.3s 0.1s;
  position: absolute;
  top: 0;
  left: 0;
}
.language__select-option {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  overflow: hidden;
}
.language__select-option img {
  width: 100%;
  height: 100%;
}
.language__selected {
  width: 20px;
  height: 20px;
  -webkit-transition-property: opacity, display;
  transition-property: opacity, display;
  -webkit-transition-duration: 600ms;
  transition-duration: 600ms;
  transition-behavior: allow-discrete;
  opacity: 0;
  border-radius: 5px;
  overflow: hidden;
  position: absolute;
}

[lang=ru] .selected-language-ru {
  opacity: 1;
}
[lang=ru] .selected-language-en {
  opacity: 0;
}

[lang=en] .selected-language-ru {
  opacity: 0;
}
[lang=en] .selected-language-en {
  opacity: 1;
}

.main {
  position: relative;
}
.main::before {
  content: "";
  position: absolute;
  width: 100%;
  bottom: 100%;
  height: var(--header-height);
  background-color: var(--bg-color);
}

.print {
  --line-color: var(--dark-color-weak);
  --subtitle-margin: 0.5rem;
  margin: 0 auto;
  max-width: 210mm;
}
.print__wrapper {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 30% 1fr;
  grid-template-columns: 30% 1fr;
  gap: 20px;
}
.print__icon {
  width: 17px;
}
.print__icon svg {
  width: 100%;
}
.print__subtitle {
  font-size: var(--fz-subtitle-small);
  font-weight: 500;
  text-transform: uppercase;
}
.print__photo {
  margin-inline: auto;
  margin-bottom: 2rem;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}
.print__contacts {
  margin-bottom: 2rem;
  padding-left: 5px;
  position: relative;
}
.print__contacts::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 105%;
  width: 28px;
  background-color: var(--accent-color-transparent);
}
.print__contacts--section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.print__contacts--section:not(:last-child) {
  margin-bottom: 1rem;
}
.print__contacts--title {
  font-weight: 700;
  text-transform: uppercase;
}
.print__skills {
  margin-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  display: -ms-grid;
  display: grid;
  gap: var(--subtitle-margin);
  border-top: 3px solid var(--line-color);
  border-bottom: 3px solid var(--line-color);
}
.print__skills--list li {
  line-height: 1.4;
  position: relative;
  padding-left: 1.5rem;
}
.print__skills--list li::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-color);
  position: absolute;
  translate: -3mm 3.5mm;
}
.print__descr .descr-section {
  padding-left: 1.5rem;
}
.print__descr .descr-section__title {
  margin-bottom: var(--subtitle-margin);
  padding-bottom: 4mm;
  line-height: 1;
  font-size: var(--fz-subtitle);
  font-weight: 500;
  border-bottom: 3px solid var(--line-color);
}
.print__descr .descr-section__text {
  max-width: 70ch;
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-align: justify;
  -ms-hyphens: auto;
  hyphens: auto;
}
.print__descr .descr-section__text:not(:last-child) {
  margin-bottom: 0.5em;
}
.print__descr .descr-section__job {
  margin-bottom: var(--subtitle-margin);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: var(--ff-second);
}
.print__descr .descr-section__job p {
  color: var(--line-color);
}
.print__descr--name {
  margin-bottom: 3rem;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 4px solid var(--line-color);
  position: relative;
}
.print__descr--name-separator {
  height: 1.5rem;
  width: 100%;
}
.print__descr--name .name {
  line-height: 2em;
  text-align: center;
  font-size: var(--fz-subtitle-big);
  font-weight: 400;
  text-transform: uppercase;
}
.print__descr--name .job {
  padding-inline: 1.5em;
  background-color: var(--light-color);
  color: var(--dark-color);
  font-family: var(--ff-second);
  font-size: var(--fz-subtitle);
  font-weight: 400;
  line-height: 1;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 10px;
  z-index: 10;
}
.print__descr--about {
  margin-bottom: 2rem;
}
.print__descr--exp {
  margin-bottom: 2rem;
}
.print__descr--exp li {
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  break-inside: avoid;
  page-break-inside: avoid;
}
.print__descr--exp li:not(:last-child) {
  margin-bottom: 1rem;
}

.divider {
  width: 100%;
  height: 2rem;
  background-color: var(--accent-color-transparent);
}

.projects,
.projects-ru {
  max-width: 100vw;
}
.projects__gallery,
.projects-ru__gallery {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, min(25vw, 30%)));
  gap: 30px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
@media (max-width: 550px) {
  .projects__gallery,
  .projects-ru__gallery {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
  }
}
.projects__project,
.projects-ru__project {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 0.625rem;
  overflow: hidden;
  -webkit-box-shadow: 0 5px 35px var(--shadow-color);
  box-shadow: 0 5px 35px var(--shadow-color);
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease-in-out, scale 0.3s ease-in-out, -webkit-filter 0.3s linear;
  transition: opacity 0.3s ease-in-out, scale 0.3s ease-in-out, -webkit-filter 0.3s linear;
  transition: opacity 0.3s ease-in-out, scale 0.3s ease-in-out, filter 0.3s linear;
  transition: opacity 0.3s ease-in-out, scale 0.3s ease-in-out, filter 0.3s linear, -webkit-filter 0.3s linear;
}
.projects__description,
.projects-ru__description {
  position: absolute;
  top: 0;
  inset: 0;
  padding: 1.5rem;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
  background-color: var(--shadow-color);
  -webkit-box-shadow: 0px 0px 10px var(--shadow-color);
  box-shadow: 0px 0px 10px var(--shadow-color);
  backdrop-filter: blur(10px);
  color: var(--light-color);
  font-family: var(--ff-second);
  font-size: var(--fz-text);
  font-weight: 500;
  letter-spacing: 0.15em;
}
.projects__description p,
.projects-ru__description p {
  margin-bottom: var(--gap);
}
.projects__description ul,
.projects-ru__description ul {
  padding-left: 1em;
  list-style-type: disc;
}
@media (any-hover: hover) {
  .projects__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects__project:not(:hover),
  .projects__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects-ru__project:not(:hover),
  .projects-ru__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects__project:not(:hover),
  .projects-ru__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects-ru__project:not(:hover) {
    -webkit-filter: blur(3px);
    filter: blur(3px);
  }
  .projects__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects__project:not(:hover)::after,
  .projects__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects-ru__project:not(:hover)::after,
  .projects-ru__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects__project:not(:hover)::after,
  .projects-ru__gallery:has(.projects__project:hover,
  .projects-ru__project:hover) .projects-ru__project:not(:hover)::after {
    opacity: 1;
  }
  .projects__project:hover .projects__description,
  .projects-ru__project:hover .projects__description {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
.projects__image,
.projects-ru__image {
  padding: 1em;
  width: 100%;
}
.projects__cover,
.projects-ru__cover {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-position: top;
  object-position: top;
}
.projects__picture,
.projects-ru__picture {
  width: 100%;
  border-radius: 0.625rem;
  overflow: hidden;
  -webkit-box-shadow: 0px 10px 10px var(--shadow-color);
  box-shadow: 0px 10px 10px var(--shadow-color);
  cursor: pointer;
}
.projects__name,
.projects-ru__name {
  padding-inline: 1.25rem;
  padding-top: 0.9375rem;
  padding-bottom: 1.5625rem;
}
@media (any-hover: hover) {
  .projects__project:hover,
  .projects-ru__project:hover {
    scale: 1.05;
  }
}

.projects-ru,
.projects-dialog-ru {
  display: none;
}

[lang=ru] .projects-ru,
[lang=ru] .projects-dialog-ru {
  display: block;
}
[lang=ru] .projects,
[lang=ru] .projects-dialog-en {
  display: none;
}

.project-modal {
  max-height: 80dvh;
  overflow-y: scroll;
  margin-right: -15px;
  padding-right: 15px;
}
.project-modal::-webkit-scrollbar-thumb {
  cursor: pointer;
}
.project-modal::-webkit-scrollbar {
  width: 6px;
  height: 10px;
}
.project-modal::-webkit-scrollbar-track {
  -webkit-margin-before: 2rem;
  margin-block-start: 2rem;
  background-color: var(--light-color-weak);
  border-radius: 10px;
}
.project-modal::-webkit-scrollbar-thumb {
  background-color: var(--dark-color);
  border-radius: 10px;
}
.project-modal__title {
  text-align: center;
}
.project-modal__details {
  margin-bottom: calc(var(--gap) * 1.5);
  display: -ms-grid;
  display: grid;
  gap: var(--gap);
}
.project-modal__details-list {
  padding-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  border-bottom: 1px solid var(--light-color-weak);
}
.project-modal__details-description {
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-text);
}
.project-modal__details-link {
  color: currentColor;
}
.project-modal__features-title {
  font-size: var(--fz-subtitle-small);
}
.project-modal__features-list {
  padding-top: 1rem;
  display: -ms-grid;
  display: grid;
  gap: calc(var(--gap) * 1.5);
}
.project-modal__features-item {
  display: -ms-grid;
  display: grid;
  gap: var(--gap);
}
.project-modal__features-item:not(:last-child) {
  padding-bottom: var(--gap);
  border-bottom: 1px solid var(--light-color-weak);
}
.project-modal__features-description {
  font-family: var(--ff-second);
}
.project-modal__features-image {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  background-color: var(--light-color-weak);
  border-radius: 0.625rem;
}

.dialog {
  display: none;
  background: transparent;
  margin: auto auto;
  padding: 5px;
  width: 100%;
  gap: var(--gap);
  opacity: 0;
  translate: 0 25vh;
  -webkit-transition-property: display opacity;
  transition-property: display opacity;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  transition-behavior: allow-discrete;
}
.dialog[open] {
  display: block;
  opacity: 1;
  translate: 0 0;
}
@starting-style {
  .dialog[open] {
    opacity: 0;
    translate: 0 -25vh;
  }
}
.dialog::-webkit-backdrop {
  backdrop-filter: blur(10px);
}
.dialog::backdrop {
  backdrop-filter: blur(10px);
}
.dialog__close {
  display: block;
  margin: 0 auto;
  margin-top: var(--gap);
  padding-block: 12px;
  padding-inline: 1em;
  background-color: var(--light-color);
  background-image: linear-gradient(45deg, var(--accent-color), var(--dark-color));
  color: var(--light-color);
  text-align: center;
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-subtitle-small);
  -webkit-transition: background-color 0.2s, color 0.2s;
  transition: background-color 0.2s, color 0.2s;
}
@media (any-hover: hover) {
  .dialog__close:hover {
    background-color: var(--light-color-weak);
    color: var(--light-color-weak);
  }
}
.dialog .image {
  margin: 0 auto;
}

.project-roboto .project-modal__features-item:nth-of-type(1) {
  -ms-grid-columns: (1fr)[12];
  grid-template-columns: repeat(12, 1fr);
}
.project-roboto .project-modal__features-item:nth-of-type(1) .project-modal__features-description {
  grid-column: 1/-1;
}
.project-roboto .project-modal__features-item:nth-of-type(1) .projects__image:nth-of-type(1) {
  grid-column: 5/-1;
}
.project-roboto .project-modal__features-item:nth-of-type(1) .projects__image:nth-of-type(2) {
  -ms-grid-column: 1;
  -ms-grid-column-span: 4;
  grid-column: 1/5;
  -ms-grid-row: 2;
  -ms-grid-row-span: 2;
  grid-row: 2/4;
  -ms-grid-row-align: center;
  align-self: center;
}
.project-roboto .project-modal__features-item:nth-of-type(1) .projects__image:nth-of-type(3) {
  grid-column: 7/-1;
}
.project-roboto .project-modal__features-item:nth-of-type(2) {
  -ms-grid-columns: (1fr)[2];
  grid-template-columns: repeat(2, 1fr);
}
.project-roboto .project-modal__features-item:nth-of-type(2) .project-modal__features-description {
  display: -ms-grid;
  display: grid;
  width: 100%;
  text-align: center;
}
.project-roboto .project-modal__features-item:nth-of-type(2) .project-modal__features-description a:first-child {
  -ms-grid-column-align: end;
  justify-self: end;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}
.project-roboto .project-modal__features-item:nth-of-type(2) .project-modal__features-description a:last-child {
  -ms-grid-column-align: center;
  justify-self: center;
  -ms-flex-item-align: end;
  -ms-grid-row-align: end;
  align-self: end;
}

.project-portfolio p {
  text-align: center;
}

.project-dating .project-modal__features-item {
  -ms-grid-columns: (1fr)[1];
  grid-template-columns: repeat(1, 1fr);
  gap: var(--gap) calc(var(--gap) * 2);
}
.project-dating .project-modal__features-item:nth-of-type(n + 2) .project-modal__features-description {
  text-align: center;
}
.project-dating .project-modal__features-item:nth-of-type(n + 2) .project-modal__features-description:nth-of-type(1) {
  grid-column: 1/-1;
}

.project-pairs p {
  text-align: center;
}

.about,
.about-ru {
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-subtitle);
}
.about__description,
.about-ru__description {
  margin: 0 auto;
  padding: 1em 2em;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 60ch;
  text-wrap: balance;
}
.about__description p,
.about-ru__description p {
  margin-bottom: 1em;
}
.about__experience,
.about-ru__experience {
  padding: 1rem 2rem;
}
.about__experience_title,
.about-ru__experience_title {
  text-align: left;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  text-underline-offset: 0.5rem;
  -webkit-text-decoration-style: dotted;
  text-decoration-style: dotted;
}
.about__achievements,
.about-ru__achievements {
  padding-block: 1em;
  list-style-type: disc;
  list-style-position: inside;
}
.about__achievements li,
.about-ru__achievements li {
  padding: 0.5em 2em;
  max-width: 60ch;
  font-weight: 400;
  font-size: var(--fz-text);
}

.about-ru {
  display: none;
}

[lang=ru] .about-ru {
  display: block;
}
[lang=ru] .about {
  display: none;
}

.skills__list,
.skills-ru__list {
  color: var(--accent-color);
  font-weight: 700;
  font-size: var(--fz-text);
}
.skills__item,
.skills-ru__item {
  padding: 1rem;
  background-color: var(--light-color-weak);
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 0.5rem 1rem -0.25rem var(--shadow-color);
  box-shadow: 0 0.5rem 1rem -0.25rem var(--shadow-color);
  cursor: default;
}

.skills-ru {
  display: none;
}

[lang=ru] .skills-ru {
  display: block;
}
[lang=ru] .skills {
  display: none;
}

.contacts__content,
.contacts-ru__content {
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2.5rem;
}
.contacts__content > *,
.contacts-ru__content > * {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: (1fr)[6];
  grid-template-columns: repeat(6, 1fr);
}
.contacts__subtitle,
.contacts-ru__subtitle {
  margin-bottom: 0.3em;
  -ms-grid-column: 1;
  -ms-grid-column-span: 5;
  grid-column: 1/6;
}
.contacts__info,
.contacts-ru__info {
  grid-column: 3/-1;
  color: var(--accent-color);
  font-family: var(--ff-second);
  font-weight: 500;
  font-size: var(--fz-subtitle);
  text-align: right;
}
.contacts__info a,
.contacts-ru__info a {
  color: inherit;
}
@media (max-width: 444px) {
  .contacts__subtitle, .contacts__info,
  .contacts-ru__subtitle,
  .contacts-ru__info {
    grid-column: 1/-1;
    text-align: center;
  }
}

.contacts-ru {
  display: none;
}

[lang=ru] .contacts-ru {
  display: block;
}
[lang=ru] .contacts {
  display: none;
}

.social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 30px;
}
.social__link {
  display: block;
  width: 40px;
  height: 40px;
}
.social__image {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--text-color-primary);
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: fill 0.2s linear;
  transition: fill 0.2s linear;
}
@media (any-hover: hover) {
  .social__image:hover {
    fill: var(--accent-color);
  }
}

.theme-toggle-btn {
  --size: 1.5rem;
  --icon-fill: var(--theme-icon-color);
  --icon-fill-hover: var(--theme-icon-hover-color);
  padding: 4px;
  border: none;
  inline-size: var(--size);
  block-size: var(--size);
  aspect-ratio: 1;
  background-color: var(--bg-color);
  border-radius: 50%;
  -webkit-box-shadow: 0 0 5px var(--bg-color);
  box-shadow: 0 0 5px var(--bg-color);
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  outline-offset: 7px;
  position: relative;
  z-index: var(--z-header);
}
@media (hover: none) {
  .theme-toggle-btn {
    --size: 1.5rem;
  }
}
@media (any-hover: hover) {
  .theme-toggle-btn:hover:is(:hover, :focus-visible) > .sun-and-moon > :is(.moon, .sun) {
    fill: var(--icon-fill-hover);
  }
  .theme-toggle-btn:hover:is(:hover, :focus-visible) .sun-and-moon > .sun-beams {
    stroke: var(--icon-fill-hover);
  }
}
.theme-toggle-btn .sun-and-moon {
  inline-size: 100%;
  block-size: 100%;
  stroke-linecap: round;
  color: var(--text-color-primary);
}
.theme-toggle-btn .sun-and-moon > :is(.moon, .sun, .sun-beams) {
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  -webkit-transition: fill 300ms, stroke 300ms;
  transition: fill 300ms, stroke 300ms;
}
.theme-toggle-btn .sun-and-moon > :is(.moon, .sun) {
  fill: var(--icon-fill);
}
.theme-toggle-btn .sun-and-moon > .sun-beams {
  stroke: var(--icon-fill);
  stroke-width: 2px;
}
.theme-toggle-btn .sun-and-moon .sun {
  -webkit-transition: fill 300ms, -webkit-transform 0.5s ease-in-out;
  transition: fill 300ms, -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, fill 300ms;
  transition: transform 0.5s ease-in-out, fill 300ms, -webkit-transform 0.5s ease-in-out;
}
.theme-toggle-btn .sun-and-moon .sun-beams {
  -webkit-transition: opacity 0.5s ease-in-out, stroke 300ms, -webkit-transform 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out, stroke 300ms, -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, stroke 300ms;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, stroke 300ms, -webkit-transform 0.5s ease-in-out;
}
.theme-toggle-btn .sun-and-moon .moon > circle {
  -webkit-transition: -webkit-transform 0.25s ease-in-out;
  transition: -webkit-transform 0.25s ease-in-out;
  transition: transform 0.25s ease-in-out;
  transition: transform 0.25s ease-in-out, -webkit-transform 0.25s ease-in-out;
}
@supports (cx: 1px) {
  .theme-toggle-btn .sun-and-moon .moon > circle {
    -webkit-transition: cx 0.25s ease-in-out;
    transition: cx 0.25s ease-in-out;
  }
}

[data-theme=dark] .sun-and-moon > .sun {
  -webkit-transform: scale(1.75);
  -ms-transform: scale(1.75);
  transform: scale(1.75);
  -webkit-transition-duration: 0.25s;
  transition-duration: 0.25s;
  -webkit-transition-timing-function: ease-in-out;
  transition-timing-function: ease-in-out;
}
[data-theme=dark] .sun-and-moon > .sun-beams {
  opacity: 0;
  -webkit-transition-duration: 0.15s;
  transition-duration: 0.15s;
}
[data-theme=dark] .sun-and-moon > .moon > circle {
  -webkit-transform: translateX(-7px);
  -ms-transform: translateX(-7px);
  transform: translateX(-7px);
  -webkit-transition-delay: 0.25s;
  transition-delay: 0.25s;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
@supports (cx: 1px) {
  [data-theme=dark] .sun-and-moon > .moon > circle {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    cx: 17px;
  }
}

.footer {
  padding-block: 2.5rem;
  color: var(--text-color-primary);
  background-color: var(--bg-color);
}
.footer__social {
  margin-bottom: 1.25rem;
}
.footer__copy {
  text-align: center;
  font-size: var(--fz-text);
  letter-spacing: 0.2ch;
}
/*# sourceMappingURL=main.css.map */