html {
  scroll-behavior: smooth; 
}
@font-face {
  font-family: 'Mariupol';
  font-weight: 400;
  src: url('assets/fonts/Mariupol-Regular.ttf');
}
@font-face {
  font-family: 'Mariupol';
  font-weight: 700;
  src: url('assets/fonts/Mariupol-Bold.ttf');
}
* {
  box-sizing: border-box;
  font-family: 'Mariupol';
  margin: 0;
  padding: 0;
}
body {
  min-width: 326px;
  background-color: #7abfc9;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
.button-up {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 105%;
  right: 28px;
  background: #157988;
  height: 42px;
  width: 42px;
  border-radius: 12px;
  transition: all .3s linear;
  box-shadow: 0px 0px 11px 0px rgb(0 0 0 / 60%);
  border: 2px solid transparent;
}
.button-up__icon {
    width: 30px;
    height: 30px;
    transform: rotate(270deg);
}
.button-up__icon path {
    fill: #157988;
    stroke-width: 1;
    stroke: #7abfc9;    
    transition: fill 0.3s linear;
}
.button-up__icon:hover path{
    fill: #7abfc9;
}
.button-up:hover {
  box-shadow: 0 1px 40px rgb(0 0 0 / 70%);
  border: 2px solid #063a42;
}
.button-up.scrolled {
  top: calc(100vh - 57px);
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 15px;
}
.header {
  margin: 3px 0;
}
.header__toggle-menu {
  display: none;
}
.header__toggle-menu::before {
  content: "";
  display: block;
  width: 60%;
  border-bottom: 3px solid #7abfc9;
  position: absolute;
  left: 20%;
  top: 25%;
  transition: all .3s linear;
}
.header__toggle-menu::after {
  content: "";
  display: block;
  width: 60%;
  border-bottom: 3px solid #7abfc9;
  position: absolute;
  left: 20%;
  bottom: 25%;
  transition: all .3s linear;
}
.header__toogle-item {
  border-bottom: 3px solid #7abfc9;
  position: absolute;
  left: 20%;
  top: calc(50% - 1.5px);
  width: 60%;
  transition: all .3s linear;
}
.header__toggle-menu.open::after  {
  transform: rotate(-45deg) translate(6px, -5.5px);
}
.header__toggle-menu.open::before  {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}
.header__toggle-menu.open  .header__toogle-item {
  width: 0;
}
.nav__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.nav__links {
  padding: 0 10px;
}
.links {
  display: inline-block;
  position: relative;
  padding: 0 5px;
  line-height: 25px;
  font-size: 16px;
  text-decoration: none;
  transition: .3s;
  color: #157988;
}
.links::after, 
.links::before {
  display: block;
  content: "";
  background-color: #063a42;
  height: 1px;
  width: 0%;
  left: 50%;
  position: absolute;
  transition: .3s;
  transform: translateX(-50%);
}
.links:hover::after,
.links:hover::before {
  width: 100%;
}
.links:hover {
  color: #063a42;
}
.main__container {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
}
.section {
  width: calc(50% - 4px);
  background-color: #77b6c0;
  border: 2px solid transparent;
  border-radius: 30px 30px;
  padding: 10px 20px;
  transition: border .4s linear, box-shadow .4s linear;
  line-height: 22px;
  font-size: 16px;
  margin-bottom: 4px;
}
.section:hover {
  box-shadow: 0 1px 40px rgb(0 0 0 / 35%);
  border: 2px solid #063a42;
}
.section__title {
  font-size: 22px;
  line-height: 25px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #157988;
  margin-bottom: 5px;
}
.profile {
  display: flex;
  justify-content: space-around;
  width: 100%;
  flex-wrap: wrap;
  align-items: center;
}
.profile__photo-wrapper {
  border-radius: 50%;
  box-shadow: 0px 0px 11px 0px rgb(0 0 0 / 60%);
  width: 250px;
  height: 250px;
  transition: all .4s linear;
  border: 2px solid transparent;
}
.profile__photo-wrapper:hover {
  box-shadow: 0 1px 40px rgb(0 0 0 / 70%);
  border: 2px solid #063a42;
}
.profile__photo {
  width: 100%;
}
.profile__title {
  color: #157988;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 5px;
  line-height: 50px;
  text-align: center;
  text-transform: uppercase;
}
.profile__subtitle {
  color: #157988;
  font-weight: 400;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  line-height: 30px;
  font-size: 22px;
}
li {
  list-style-type: none;
}
ul:not(.contacts__list, .nav__list) li:before {
  color: #157988;
  content: "•";
  padding-right: 7px;
}
.icons {
  width: 16px;
  margin-bottom: -2px;
}
.about-me__description {
  text-indent: 20px;
  text-align: justify;
}
.work-history {
  width: 100%;
}
.work-history__job {
  width: 100%;
  margin-bottom: 15px;
  line-height: 22px;
  font-size: 16px;
}
.work-history__job:last-of-type {
  margin-bottom: 0;
}
.bold {
  font-weight: 700;
}
.skills {
  display: flex;
  column-gap: 10px;
  line-height: 22px;
  font-size: 16px;
}
.skills__list {
  flex: 1 1 auto;
}
.footer {
  margin: 5px auto;
}
.footer__links {
  padding: 0 0 0 10px;
}
.language__selector {
  position: fixed;
  top: 4px;
  right: 28px;
  text-align: center;
  transition: top 0.1s linear;
}
.language__local {
  text-decoration: none;
  padding: 5px;
  color: #000;
  transition: color .2s linear;
  line-height: 22px;
  font-size: 16px;
  border: 1px solid transparent;
}
.language__active {
  border: 1px solid #157988;
  border-radius: 10px;
  color: #157988;
}
.language__local:hover {
  color: #157988;
}
@media only screen and (max-width: 1440px) {
  .language__selector {
    top: 40px;
  }
}
@media only screen and (min-width: 768px) {
  .language__selector.scrolled {
    display: none;
  }
}
@media only screen and (max-width: 767px) {
  .header__toggle-menu {
    position: fixed;
    top: 15px;
    right: 28px;
    display: block;
    background: #157988;
    height: 42px;
    width: 42px;
    border-radius: 12px;
    transition: all .3s linear;
    z-index: 2;
    box-shadow: 0px 0px 11px 0px rgb(0 0 0 / 60%);
    border: 2px solid transparent;
    cursor: pointer;
  }
  .header__toggle-menu:hover {
    box-shadow: 0 1px 40px rgb(0 0 0 / 70%);
    border: 2px solid #063a42;
  }
  .section {
    width: 100%;
  }
  .nav {
    z-index: 1;
    width: 100%;
    height: 100vh;
    padding: 72px 0;
    transition: left .3s linear;
    position: fixed;
    top: 0;
    left: 100%;
    font-size: 24px;
    background-color: #7abfc9;
    text-align: center;
  }
  .nav__list {
    flex-direction: column;
  }
  .nav__item .links {
    line-height: 35px;
    font-size: 22px;
    margin-bottom: 20px;
  }
  .language__selector {
    position: static;
    display: flex;
    justify-content: center;
  }
  .language__local {
    line-height: 25px;
    font-size: 22px;
  }
}
@media (hover: none) {
  .button-up:hover {
    box-shadow: 0px 0px 11px 0px rgb(0 0 0 / 60%);
    border: 2px solid transparent;
  }
  .section:hover {
    border: 2px solid #7abfc9;
    box-shadow: none;
  }
  .header__toggle-menu:hover {
    border: 2px solid #7abfc9;
    box-shadow: none;
  }
  .links:hover::after, .links:hover::before {
    width: 0%;
  }
  .language__local:hover {
    color: #000;
  }
  .profile__photo-wrapper:hover {
    box-shadow: 0px 0px 11px 0px rgb(0 0 0 / 60%);
    border: 2px solid transparent;
  }
  .links:hover {
    color: #157988;
  }
  .button-up__icon:hover path{
    fill: #157988;
}
}
@supports (height: 100dvh) {
  .button-up.scrolled {
    top: calc(100dvh - 57px);
  }
}
.nav.open {
  left: 0%;
}

#my-projects {
  text-align: justify;
}