.header {
  margin-bottom: 24px;
}

.navbar {
  width: 100%;
  min-height: 48px;
  background-color: var(--default-bg-navbar);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar--fixed {
  background-color: var(--active-bg-navbar);
  box-shadow: var(--navbar-shadow);
}

.navbar__content {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  outline: none;
  font-weight: 700;
  font-size: 28px;
  color: var(--main-color);
  letter-spacing: -0.6px;
}

.theme-btn {
  position: relative;
  width: 48px;
  height: 28px;
  background-color: var(--ui-element-default-color);
  border-radius: 20px;
}
.theme-btn:focus {
  border: solid 1px var(--main-color);
}

.theme-btn__toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  background-color: var(--accent-color);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.2s left ease;
}

.theme-btn__icon {
  width: 22px;
  height: 22px;
  fill: var(--theme-icon);
  transition: all 0.2s ease;
}

.hidden {
  position: absolute;
  transform: scale(0);
}

.first-section {
  padding-bottom: clamp(28px, 5vw, 48px);
}

.first-section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 4vw, 24px);
}

.first-section__border-img {
  width: 157px;
  height: 157px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.first-section__wrapper-img {
  width: 150px;
  height: 150px;
  background-color: var(--accent-color);
  border-radius: 50%;
  overflow: hidden;
}

.first-section__my-name {
  font-weight: 700;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 120%;
  letter-spacing: -1.2px;
}

.first-section__text {
  font-weight: 500;
  font-size: clamp(16px, 4vw, 26px);
  line-height: 150%;
}
.first-section__text-span {
  font-weight: 700;
  color: var(--accent-color);
  text-transform: uppercase;
}

.first-section__link-tegram {
  width: clamp(150px, 37vw, 250px);
  height: clamp(36px, 10vw, 62px);
  font-size: clamp(14px, 4vw, 20px);
  color: var(--main-color);
  background-color: var(--ui-element-default-color);
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: clamp(0px, 3vw, 18px) 0;
  transition: background-color 0.2s ease;
}
.first-section__link-tegram:focus {
  border: solid 1px var(--main-color);
}
@media (hover: hover) and (pointer: fine) {
  .first-section__link-tegram:hover {
    background-color: var(--ui-element-hover-color);
  }
}
.first-section__link-tegram:active {
  background-color: var(--ui-element-hover-color);
}

.first-section__telegram-icon {
  width: clamp(16px, 3vw, 22px);
  height: clamp(16px, 3vw, 22px);
  fill: var(--main-color);
}

.toggle-section__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--section-btn-bg-color);
  border-radius: 20px;
  padding: clamp(10px, 3vw, 20px);
}
.toggle-section__container::before {
  content: "";
  display: block;
  width: clamp(120px, 50vw, 47.8%);
  height: clamp(36px, 10vw, 66px);
  background-color: var(--accent-color);
  border-radius: 10px;
  transition: background-color 0.2s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: clamp(10px, 3vw, 20px);
  pointer-events: none;
  transition: left 0.2s ease;
}
.toggle-section__container.toggle-section__btn--active.toggle-section__container::before {
  left: 50%;
}

.toggle-section__btn {
  width: clamp(120px, 50vw, 50%);
  height: clamp(36px, 10vw, 66px);
  font-size: clamp(14px, 4vw, 20px);
  color: var(--main-color);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}
.toggle-section__btn .toggle-section__span {
  position: relative;
  z-index: 10;
}
.toggle-section__btn:focus {
  border: solid 1px var(--main-color);
}
.toggle-section__btn:hover {
  background-color: var(--ui-element-hover-color);
}
.toggle-section__btn--active {
  color: var(--active-button-color-text);
}

.section-content {
  display: none;
}
.section-content--active {
  display: block;
}

.projects-tabs-btns {
  padding-top: clamp(18px, 3vw, 28px);
  margin-bottom: clamp(18px, 3vw, 28px);
  display: flex;
  justify-content: center;
  -moz-column-gap: clamp(12px, 2vw, 22px);
       column-gap: clamp(12px, 2vw, 22px);
}

.projects-tabs-btns__btn {
  width: clamp(150px, 37vw, 250px);
  height: clamp(36px, 10vw, 62px);
  font-size: clamp(14px, 4vw, 20px);
  color: var(--main-color);
  background-color: var(--ui-element-default-color);
  border-radius: 20px;
  transition: background-color 0.2s ease;
}
.projects-tabs-btns__btn:focus {
  border: solid 1px var(--main-color);
}
@media (hover: hover) and (pointer: fine) {
  .projects-tabs-btns__btn:hover {
    background-color: var(--ui-element-hover-color);
  }
}
.projects-tabs-btns__btn:active {
  background-color: var(--ui-element-hover-color);
}
.projects-tabs-btns__btn--active {
  color: var(--active-button-color-text);
  background-color: var(--accent-color);
}
@media (hover: hover) and (pointer: fine) {
  .projects-tabs-btns__btn--active:hover {
    background-color: var(--hover-button-bg-color);
  }
}
.projects-tabs-btns__btn--active:active {
  background-color: var(--hover-button-bg-color);
}

.projects__content {
  display: none;
}
.projects__content--active {
  display: block;
}

.swiper-buttons {
  padding-top: clamp(18px, 3vw, 28px);
  display: flex;
  -moz-column-gap: clamp(12px, 2vw, 22px);
       column-gap: clamp(12px, 2vw, 22px);
  margin-bottom: clamp(12px, 2vw, 16px);
}

.swiper-buttons__swiper-button-next,
.swiper-buttons__swiper-button-prev {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  width: clamp(25px, 5vw, 35px);
  height: clamp(25px, 5vw, 35px);
  background-color: var(--ui-element-default-color);
  border-radius: 50%;
  color: var(--main-color);
  margin-top: 0;
  cursor: pointer;
}
.swiper-buttons__swiper-button-next:focus,
.swiper-buttons__swiper-button-prev:focus {
  border: solid 1px var(--main-color);
}
@media (hover: hover) and (pointer: fine) {
  .swiper-buttons__swiper-button-next:hover,
  .swiper-buttons__swiper-button-prev:hover {
    background-color: var(--ui-element-hover-color);
  }
}
.swiper-buttons__swiper-button-next:active,
.swiper-buttons__swiper-button-prev:active {
  background-color: var(--ui-element-hover-color);
}

.swiper-buttons__swiper-button-next:after,
.swiper-buttons__swiper-button-prev:after {
  font-family: swiper-icons;
  font-size: clamp(12px, 1.3vw, 14px);
}

.swiper-buttons__swiper-button-prev:after,
.swiper-buttons__swiper-rtl .swiper-button-next:after {
  content: "prev";
}

.swiper-buttons__swiper-button-next:after,
.swiper-buttons__swiper-rtl .swiper-button-prev:after {
  content: "next";
}

.swiper-slide {
  display: flex;
  height: auto;
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: solid 5px var(--border-color);
  border-right: solid 5px var(--border-color);
  border-bottom: solid 5px var(--border-color);
  border-left: solid 5px var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.project .project__overlay::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 50%);
}

.project__image {
  position: relative;
  z-index: 0;
}
.project__image .project__img {
  width: 100%;
  height: clamp(200px, 50vw, 400px);
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
  box-shadow: var(--project-shadow);
}

.project__text {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 20;
  transition: bottom 0.6s ease;
}
.project__text .project__title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 500;
  color: var(--project-title);
  margin-bottom: 8px;
}
.project__text .project__description {
  font-size: clamp(14px, 3vw, 18px);
  color: var(--project-description);
  margin-bottom: 8px;
}
.project__text .project__icon-arrow {
  width: 18px;
  height: 18px;
  fill: var(--project-arrow);
}

.technologies__content {
  display: flex;
  justify-content: space-around;
  gap: clamp(24px, 3vw, 28px);
  flex-wrap: wrap;
}

.technology {
  width: 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.technology__svg {
  margin-bottom: 8px;
  fill: var(--technologies-default-bg-color);
}

.technology__svg-html {
  transition: fill 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .technology__svg-html:hover {
    fill: var(--html-svg);
  }
}
.technology__svg-html:active {
  fill: var(--html-svg);
}

.technology__svg-html-icon-polygon {
  fill: var(--html-svg-two);
}

.technology__svg-html-icon-number {
  fill: var(--html-svg-three);
}

.technology__svg-scss {
  height: 90px;
  transition: fill 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .technology__svg-scss:hover {
    fill: var(--scss-svg);
  }
}
.technology__svg-scss:active {
  fill: var(--scss-svg);
}

.technology__svg-js {
  transition: fill 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .technology__svg-js:hover {
    fill: var(--js-svg);
  }
}
.technology__svg-js:active {
  fill: var(--js-svg);
}

.technology__svg-js-icon {
  fill: var(--js-svg-two);
}

.technology__svg-git {
  transition: fill 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .technology__svg-git:hover {
    fill: var(--git-svg);
  }
}
.technology__svg-git:active {
  fill: var(--git-svg);
}

.technology__svg-git-icon {
  fill: var(--git-svg-two);
}

.technology__text {
  font-size: clamp(14px, 2vw, 18px);
}

.footer {
  width: 100%;
  min-height: 62px;
  background-color: var(--bg-footer);
  margin-top: 14px;
}

.copywriting {
  min-height: 62px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.copywriting__text {
  font-size: 12px;
}

.copywriting__text-span {
  text-transform: uppercase;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CourierNewPS";
  src: url("../fonts/CourierNewPS-BoldMT.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --main-font: "Inter", sans-serif;
  --width-container: 870px;
  --padding-container: 15px;
  --bg-body: #ffffff;
  --main-color: #020202;
  --accent-color: #8000ff;
  --border-color: #dbdbdb;
  --section-btn-bg-color: #f8f8f8;
  --ui-element-default-color: #dedede;
  --ui-element-hover-color: #ededed;
  --hover-button-bg-color: #ab58ff;
  --active-button-color-text: #ffffff;
  --default-bg-navbar: rgba(255, 255, 255, 0);
  --active-bg-navbar: rgba(255, 255, 255, 1);
  --navbar-shadow: 4px 2px 8px rgba(0, 0, 0, 0.2);
  --theme-icon: #ffffff;
  --button-theme-color: #dedede;
  --project-title: #ffffff;
  --project-description: #cccccc;
  --project-arrow: #ffffff;
  --project-shadow: 4px 2px 8px rgba(0, 0, 0, 0.2);
  --technologies-default-bg-color: #b7b4b4;
  --html-svg: #e44f26;
  --html-svg-two: #ebebeb;
  --html-svg-three: #ffffff;
  --scss-svg: #cf649a;
  --js-svg: #f0db4f;
  --js-svg-two: #323330;
  --git-svg: #dd4c35;
  --git-svg-two: #ffffff;
  --bg-footer: #f6f6f6;
}

.change_theme {
  --bg-body: #0d0d0d;
  --main-color: #ffffff;
  --border-color: #333333;
  --section-btn-bg-color: #1d1c1c;
  --ui-element-default-color: #2c2d2d;
  --ui-element-hover-color: #413f3f;
  --default-bg-navbar: rgba(22, 22, 22, 0);
  --active-bg-navbar: rgba(22, 22, 22, 1);
  --button-theme-color: #2c2d2d;
  --bg-footer: #161616;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--main-font);
  font-weight: 400;
  color: var(--main-color);
  background-color: var(--bg-body);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  height: 1000px;
}

.main {
  flex: 1 1 auto;
}

.container {
  max-width: calc(var(--width-container) + var(--padding-container) * 2);
  margin: 0 auto;
  padding-inline: var(--padding-container);
}

.projects,
.technologies {
  padding: clamp(28px, 5vw, 48px) 0;
  border-bottom: solid 15px var(--border-color);
  border-radius: 20px;
}

.projects__contauner,
.technologies__content {
  padding-top: clamp(18px, 3vw, 28px);
}

.section-title {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: clamp(8px, 4vw, 18px);
  align-items: center;
}

.section-title__text {
  font-family: var(--main-font);
  font-weight: 600;
  font-size: clamp(24px, 5vw, 34px);
  line-height: 150%;
  color: var(--main-color);
}

.section-title__description {
  font-size: clamp(14px, 3vw, 24px);
  line-height: 150%;
  font-weight: 500;
  text-align: center;
}

.section-title__span {
  font-family: "CourierNewPS", serif;
  color: var(--accent-color);
}

@media (max-width: 424px) {
  .project__text {
    padding: 14px;
  }
}/*# sourceMappingURL=main.css.map */