body._lock {
  overflow-y: hidden;
}
:root {
  --widthBlock: 62.125em;
  --color-idle: #ebf3f6;
  --color-press: #bdd0d7;
}

* {
  font-family: "Gilroy-Bold", Arial, sans-serif;
  cursor: default;
}
h2 {
  font-size: 1.5rem;
  font-weight: 700;
}
body {
  color: #070707f2;
  font-family: "Gilroy-Medium";
  font-size: 1.2rem;
  line-height: 22px;
}
.wrapper {
  margin: 0 auto;
  max-width: 1445px;
}
.nav-burger {
  display: none;
}
.container {
  margin: 0 auto;
  max-width: var(--widthBlock);
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
}
.nav {
  width: 100%;
  scroll-behavior: smooth;
}
.nav-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  border-bottom: 1px solid #828282;
  overflow-y: auto;
}
.nav-item__href {
  font-size: 1.2rem;
  line-height: 22px;
  color: gray;
  transition: all 0.3s;
}
.nav-item__href:hover {
  color: black;
}
.name {
  display: flex;
  flex-direction: column;
  margin-bottom: 105px;
  scroll-behavior: smooth;
}
.name-content {
  display: flex;
  margin: 20px 0;
}

.name-content__heading {
  width: 250px;
  font-family: "Gilroy-Bold", Arial, sans-serif;
  font-size: 2.2rem;
  opacity: 1;
  transition:
    opacity 0.8s ease-in 0.2s,
    transform 0.8s ease-in 0.2s;
}

.name-content__description {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition:
    opacity 0.8s ease-in 0.3s,
    transform 0.8s ease-in 0.3s;
}
.name-content__description {
  display: inline-block;
  color: black;
  transition: all;
}
.name-content__description._translateX {
  color: gray;
}
.name-content__description::after {
  content: "|";
  font-weight: 700;
  padding: 0 1px;
  animation-name: coursor1;
  color: #000000;
  animation-duration: 1s;
  animation-timing-function: step-end;
  animation-iteration-count: infinite;
}
@keyframes coursor1 {
  50% {
    color: #ffffff00;
  }
}
.name-content__description.hidden-pseudo::after {
  visibility: hidden;
}
.picture {
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.name__img {
  width: 100%;
  object-fit: cover;
}
.about-me {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 90px;
  padding: 120px 0 107px 0;
  width: 100%;
  max-width: 100%;
  background-color: var(--color-idle);
  scroll-behavior: smooth;
}
.about-me__heading {
  font-size: 2.2rem;
  line-height: 42px;
  font-weight: 700;
  padding: 20px;
}
.about-me-text-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 62px;
}
.skills + .skills {
  margin-bottom: 110px;
}
.skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-behavior: smooth;
}
.skills__heading {
  margin-bottom: 70px;
}
.skills__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
}
.skils-item {
  flex-basis: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 70px;
}
.skill-wrapper__img {
  margin-bottom: 25px;
  width: 89px;
  height: 89px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position-x: center;
}
.skill-wrapper__text {
  display: flex;
  justify-content: center;
}
.skills__text {
  margin-bottom: 84px;
}
.skils-item {
  flex-basis: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-bottom: 70px;
}
.skill-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  border-radius: 3px;
  opacity: 0;
  transition: all 0.5s ease-in-out;
}
.skill-wrapper._active {
  opacity: 1;
}
.skill-wrapper__img {
  margin-bottom: 25px;
  width: 89px;
  height: 89px;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
  background-position-x: center;
  transition: all 0.3s ease-in-out;
}
.skill-wrapper:hover .skill-wrapper__img {
  transform: scale(1.1);
  filter: drop-shadow(5px 5px 1px rgba(0, 0, 0, 0.5));
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 88px;
}
footer > nav > ul {
  border-top: 1px solid #828282;
  border-bottom: none;
}
.nav-sticy {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
  padding: 10px 0 10px 0;
  border-radius: 5px;
  border: 1px solid #828282;
  background-color: #fff;
  opacity: 0;
  background-color: white;
  visibility: hidden;
  transition:
    opacity 0.3s ease-in,
    visibility 0.3s ease-in,
    background-color 0.1s ease-in-out;
  z-index: 10;
}
.nav-sticy__static {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */
  border-radius: 5px;
  top: 5px;
  right: 5px;
  border: 1px solid #828282;
  background-color: #fff;
  background-color: white;
  transition: opacity 0.3s;
  z-index: 10;
}
.nav-sticy__list-static {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.nav-sticy__item-static + .nav-sticy__item-static {
  border-left: 1px solid #828282;
}
.nav-sticy:hover {
  background-color: var(--color-idle);
}
/* .nav-sticy.draggable {
  background-color: var(--color-idle);
} */
.nav-sticy._active {
  opacity: 1;
  visibility: visible;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 1);
  border: 1px solid #828282;
}
.nav-sticy._active.draggable {
  opacity: 0.9;
  box-shadow: 5px 5px 1px rgba(0, 0, 0, 0.5);
  border: 1px solid #828282;
}
.nav-sticy-list {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.nav-sticy-item {
  position: relative;
  display: flex;
  flex-grow: 0;
  flex-direction: row-reverse;
  align-items: center;
  padding-bottom: 60px;
  width: 60px;
  height: 40px;
  background-color: white;
  border-bottom: 1px solid #828282;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s;
}

.nav-sticy-item:first-child {
  border-top: 1px solid #828282;
}
.nav-sticy-item:hover {
  background-color: var(--color-idle);
}
.nav-sticy-item:active {
  background-color: var(--color-press);
}
.nav-sticy-item__href {
  display: flex;
  position: absolute;
  top: 12px;
  right: 0;
  align-items: center;
  padding-right: 70px;
  width: 0;
  height: 40px;
  color: rgba(128, 128, 128, 0);
  font-size: 1.4rem;
  font-family: "Gilroy-Bold", Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  transition:
    width 0.3s ease-in,
    opacity 0.3s ease-in;
}

.nav-sticy-item:hover .nav-sticy-item__href {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  opacity: 1;
  visibility: visible;
}

.portfolio {
  text-align: center;
  margin-bottom: 100px;
}
.portfolio__heading {
  margin-bottom: 100px;
}
.portfolio__text {
  text-decoration: underline;
  opacity: 0.5;
}

.noDraggable {
  display: none;
}
@media (max-width: 1400px) {
  .wrapper {
    padding: 0 60px;
  }
}
@media (max-width: 1024px) {
  .wrapper {
    padding: 0 60px;
  }
}
@media (max-width: 768px) {
  .wrapper {
    padding: 0 20px;
  }
  body {
    font-size: 16px;
    line-height: 20px;
  }
  .nav-sticy__static {
    display: flex;
    top: 5px;
    right: 20px;
  }
  .name {
    margin-bottom: 0;
  }
  .about-me {
    padding: 50px 0 50px 0;
    margin-bottom: 50px;
  }
  .skills__heading {
    margin-bottom: 35px;
  }
  .skills__text {
    margin-bottom: 35px;
  }
  .skils-item {
    flex-basis: 33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 35px;
  }
  .name-content__description._translateX {
    transform: translateX(calc((100% - 100%) / 2));
  }
  .picture {
    height: 500px;
  }
  .nav-sticy {
    display: none;
  }
  header,
  footer {
    display: none;
  }
}
@media (max-width: 700px) {
  .picture {
    width: 100%;
    height: 450px;
  }
}
@media (max-width: 538px) {
  .picture {
    width: 100%;
    height: 350px;
  }
}
@media (max-width: 520px) {
  .nav-sticy__static {
    top: 5px;
    right: 31%;
    left: 31%;
  }
  .name {
    margin-top: 40px;
  }
  .name-content {
    justify-content: center;
  }
}
