@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.woff2") format("woff2"), url("../fonts/Montserrat-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.woff2") format("woff2"), url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.woff2") format("woff2"), url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter24pt-Regular.woff2") format("woff2"), url("../fonts/Inter24pt-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.woff2") format("woff2"), url("../fonts/Roboto-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-base: 'Montserrat', sans-serif;
  --font-secondary: 'Inter', sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --color-base: #3c3c3c;
  --color-base-dark: white;
  --accent-color: #fb6d3a;
}
:root .dark-mode {
  color: var(--color-base-dark);
  background-color: #444444;
}
:root {
  --default-animation: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --change-lang-animation: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-style: normal;
  font-weight: var(--fw-regular);
  box-sizing: border-box;
  overflow-x: hidden;
  color: var(--color-base);
  background-color: #f5f7fa;
  transition: color var(--default-animation), background-color var(--default-animation), opacity var(--default-animation);
}
body.open {
  overflow: hidden;
}
body.change-lang {
  opacity: 0;
}
@media screen and (min-width: 1200px) {
  body {
    margin: 8px;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: color var(--default-animation), background-color var(--default-animation);
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

button {
  color: inherit;
  background-color: transparent;
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: color var(--default-animation), background-color var(--default-animation), border var(--default-animation);
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.container {
  display: flex;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transform: translateX(-100%);
  width: 100vw;
  color: #ffffff;
  background-color: #1e2939;
}
.sidebar.open {
  transform: translateX(0%);
}
@media screen and (max-width: 1199.98px) {
  .sidebar {
    overflow-y: auto;
    height: 100vh;
    padding-bottom: 50px;
  }
}
@media screen and (min-width: 1200px) {
  .sidebar {
    position: static;
    transform: translateX(0%);
    width: 370px;
    padding-top: 40px;
  }
}

.my-photo {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media screen and (min-width: 768px) {
  .my-photo {
    width: 370px;
  }
}

.sidebar__content-box {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 30px 0 50px 27px;
}
@media screen and (max-width: 365px) {
  .sidebar__content-box {
    padding: 30px 0 50px 15px;
  }
}
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .sidebar__content-box {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 768px;
    padding: 50px 27px 50px 27px;
  }
}

.sidebar__content-box > div {
  width: 100%;
}
@media screen and (min-width: 768px) and (max-width: 1199.98px) {
  .sidebar__content-box > div:nth-last-child(-n+2) {
    display: inline-block;
    width: auto;
  }
}

.sidebar__title {
  font-weight: var(--fw-bold);
  font-size: 22px;
  margin-bottom: 10px;
}

.contacts-list {
  font-size: 14px;
}

.contacts-list__item + .contacts-list__item {
  margin-top: 7px;
}

.contacts-list__type {
  display: inline-block;
  font-weight: var(--fw-bold);
  font-size: 15px;
  width: 78px;
  margin-right: 5px;
}

.contacts-list__link {
  opacity: 0.5;
  padding: 4px 0;
}

.skills-list {
  list-style: inside;
}

.skills-list__item {
  color: var(--accent-color);
}

.skills-list__item + .skills-list__item {
  margin-top: 3px;
}

.skills-list__text {
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
}

.content {
  position: relative;
  width: 100%;
  padding: 54px 15px 15px 15px;
  background-color: #ffffff;
  box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: color var(--default-animation), background-color var(--default-animation);
}
body.dark-mode .content {
  background-color: #313233;
}
@media screen and (min-width: 1200px) {
  .content {
    padding: 0 30px 15px 90px;
  }
}

.topbar {
  padding-top: 15px;
  background-color: inherit;
}
@media screen and (max-width: 1199.98px) {
  .topbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: calc(100vw - 30px);
    padding-bottom: 15px;
  }
}
@media screen and (min-width: 1200px) {
  .topbar {
    flex-direction: row;
  }
}

.topbar-wrapper {
  display: flex;
  flex-direction: row-reverse;
  justify-content: right;
  align-items: center;
  gap: 15px;
  transition: transform 850ms linear;
}
@media screen and (max-width: 1199.98px) {
  .topbar-wrapper {
    padding: 0 8px;
  }
}
.topbar-wrapper.open-sidebar-mobile {
  transform: translateX(200%);
}
.topbar-wrapper.open-sidebar-mobile::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -75%;
  width: 70%;
  height: 1.5px;
  background-color: #313233;
}
body.dark-mode .topbar-wrapper.open-sidebar-mobile::before {
  background-color: #fff;
}

.language-box {
  position: relative;
  min-width: 77.61px;
  height: 29px;
}

.selector-language {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px;
  padding: 3px;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  border: 2px solid var(--color-base);
  background-color: white;
}
body.dark-mode .selector-language {
  border: 2px solid rgb(184, 174, 174);
  background-color: rgb(133, 133, 133);
}

.selector-language__text {
  font-weight: var(--fw-semibold);
  font-size: 15px;
  display: inline-block;
}

.selector-language__chevron {
  fill: currentColor;
  transition: transform var(--default-animation);
}
.selector-language.open .selector-language__chevron {
  transform: rotateZ(-180deg);
}

.language-list {
  position: absolute;
  top: 14.5px;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  border: 2px solid var(--color-base);
  border-radius: 0 0 13px 13px;
  background-color: rgb(224, 224, 224);
  transition: border var(--default-animation), background-color var(--default-animation), max-height var(--default-animation);
}
.language-list::before {
  content: "";
  display: block;
  height: 10.5px;
}
body.dark-mode .language-list {
  border: 2px solid rgb(184, 174, 174);
  background-color: rgb(133, 133, 133);
}

.language-list__button {
  font-weight: var(--fw-semibold);
  font-size: 15px;
  width: 100%;
  height: 28px;
}

.language-list__item + .language-list__item .language-list__button {
  border-top: 2px solid var(--color-base);
  height: 32px;
}
body.dark-mode .language-list__item + .language-list__item .language-list__button {
  border-top: 2px solid rgb(184, 174, 174);
}

.theme-select {
  position: relative;
  width: 50px;
  height: 25px;
  border-radius: 13px;
  color: white;
  border: 2px solid rgb(99, 99, 99);
  transition: color var(--default-animation), border var(--default-animation);
}
.theme-select.dark {
  color: black;
  border: 2px solid var(--accent-color);
}

.theme_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 1.6px;
  border-radius: 100%;
  background-color: rgb(168, 168, 168);
  transition: left var(--default-animation), background-color var(--default-animation), opacity var(--default-animation), visibility var(--default-animation), pointer-events var(--default-animation);
}
.theme_icon > svg {
  fill: currentColor;
}

.theme_icon.__dark {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.theme-select.dark .theme_icon {
  left: 54%;
  background-color: #96300b;
}

.theme-select.dark .theme_icon.__dark {
  opacity: 1;
  visibility: visible;
  pointer-events: visible;
}

.open-sidebar {
  font-family: "Roboto", sans-serif;
  position: absolute;
  left: 8px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
@media screen and (min-width: 1200px) {
  .open-sidebar {
    display: none;
  }
}
.open-sidebar.__sidebar {
  position: static;
  flex-direction: row-reverse;
  margin: 0 0 0 auto;
  padding: 15px;
}
.open-sidebar > svg {
  transform: rotateZ(45deg);
  transition: transform var(--default-animation);
}
.open-sidebar.__sidebar > svg {
  transform: rotateZ(-135deg);
}

.about {
  padding: 25px 0;
}
@media screen and (min-width: 1200px) {
  .about {
    padding: 40px 0;
  }
}

.about_position {
  font-weight: var(--fw-bold);
  font-size: 20px;
  margin-bottom: 5px;
}
@media screen and (min-width: 1200px) {
  .about_position {
    margin-bottom: 10px;
  }
}

.about_name {
  font-weight: var(--fw-bold);
  font-size: 30px;
  margin-bottom: 12px;
}
@media screen and (min-width: 1200px) {
  .about_name {
    font-size: 35px;
    margin-bottom: 25px;
  }
}

.about_description {
  font-size: 13px;
  line-height: 21px;
}
@media screen and (min-width: 1200px) {
  .about_description {
    font-size: 14px;
    line-height: 24px;
  }
}

.portfolio__title {
  font-weight: var(--fw-bold);
  font-size: 25px;
  margin-bottom: 30px;
}
@media screen and (min-width: 1200px) {
  .portfolio__title {
    font-size: 27px;
    margin-bottom: 19px;
  }
}

.projects__item {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  min-height: 350px;
  padding: 10px 10px;
  border-radius: 8px;
  box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.25);
}
body.dark-mode .projects__item {
  border: 1px solid var(--accent-color);
  box-shadow: none;
}

.projects__item + .projects__item {
  margin-top: 30px;
}

.projects__links-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.projects-link {
  font-weight: var(--fw-bold);
  font-size: 20px;
  text-decoration: underline;
}

.visit-website {
  display: none;
  font-weight: var(--fw-semibold);
  padding: 8px 10px;
  border-radius: 5px;
  color: #fff;
  background-color: #313233;
  border: 1px solid #313233;
}
@media screen and (min-width: 1200px) {
  .visit-website {
    display: block;
  }
}
.visit-website:hover {
  color: #313233;
  background-color: transparent;
}
body.dark-mode .visit-website {
  color: var(--accent-color);
  background-color: transparent;
  border: 1px solid var(--accent-color);
}
body.dark-mode .visit-website:hover {
  color: #313233;
  background-color: var(--accent-color);
}

.projects__description {
  font-size: 14px;
  max-width: 420px;
}
@media screen and (min-width: 1200px) {
  .projects__description {
    font-size: 16px;
  }
}
.projects__description:nth-child(2n) {
  margin: auto 0 18px 0;
}
.projects__description:nth-last-child(1n) > h5 {
  display: inline;
}

p.projects__description {
  font-weight: var(--fw-medium);
  max-width: none;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(172, 172, 172, 0.7843137255);
}

div.projects__description > p {
  line-height: 23px;
}

.projects-thumbnail {
  position: relative;
  margin: 15px auto 0 auto;
  width: 210px;
  height: 121.85px;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.25);
  transition: top var(--default-animation), right var(--default-animation), bottom var(--default-animation), width var(--default-animation), height var(--default-animation), box-shadow var(--default-animation);
}
.projects-thumbnail.active {
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
  -webkit-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
  -moz-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
}
@media screen and (min-width: 1200px) {
  .projects-thumbnail {
    position: absolute;
    bottom: 10px;
    right: 10px;
    margin: 0;
  }
  .projects-thumbnail.active {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 680px;
    height: 400px;
    box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
    -webkit-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
    -moz-box-shadow: 0px 0px 20px 6px rgba(0, 0, 0, 0.73);
  }
}

.projects-thumbnail__close {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
  border-radius: 100%;
  color: black;
  background-color: rgba(129, 129, 129, 0.7333333333);
  position: absolute;
  top: 5px;
  right: 5px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: color var(--default-animation), opacity var(--default-animation), visibility var(--default-animation), pointer-events var(--default-animation);
}
@media screen and (min-width: 1200px) {
  .projects-thumbnail__close {
    padding: 5px;
  }
}
.projects-thumbnail__close > svg {
  fill: currentColor;
}
@media screen and (max-width: 1199.98px) {
  .projects-thumbnail__close > svg {
    width: 18px;
    height: 18px;
  }
}
.projects-thumbnail__close:hover {
  color: #fff;
}

.thumbnail__visit-text {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 100%;
  padding: 3px 5px;
  overflow: hidden;
  border-radius: inherit;
  position: absolute;
  right: 0;
  bottom: 0;
  font-weight: var(--fw-semibold);
  font-size: 10px;
  color: inherit;
  background-color: rgb(247, 218, 165);
  transition: opacity 350ms linear, visibility 350ms linear, pointer-events 350ms linear, background-color var(--default-animation);
}
@media screen and (max-width: 1199.98px) {
  .thumbnail__visit-text {
    height: 17.5px;
  }
}
@media screen and (min-width: 1200px) {
  .thumbnail__visit-text {
    font-size: 15px;
    width: auto;
    border-radius: 5px 5px 0 5px;
  }
}
body.dark-mode .thumbnail__visit-text {
  background-color: #444444;
}

.projects-thumbnail.active .projects-thumbnail__close,
.projects-thumbnail.active .thumbnail__visit-text {
  opacity: 1;
  visibility: visible;
  pointer-events: unset;
}/*# sourceMappingURL=style.css.map */