* {
  margin: 0;
  padding: 0;
  transition: 0.1s linear;
}
a {
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  cursor: pointer;
}
ul {
  list-style: none;
}
body {
  font-family: "Montserrat", "Archivo", sans-serif;
  font-weight: 400;
}
section {
  opacity: 0;
  height: 0;
  transition: opacity 0.5s ease-in-out, height 0.5s ease-in-out;
  overflow: hidden;
}
section.active {
  opacity: 1;
  height: auto;
}
.logo {
  margin-bottom: 96px;
  width: max-content;
}
.logo img {
  max-height: 26px;
}
.sidebar {
  width: 312px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 48px);
  position: fixed;
  z-index: 1;
  justify-content: space-between;
}
.sidebar__nav-list {
  position: absolute;
  top: 139px;
}
.sidebar__nav-item {
  padding: 12px 0;
}
.sidebar__nav-link {
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
}
.theme-switcher {
  font-size: 18px;
  line-height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: max-content;
}
.theme-switcher .icon {
  margin-right: 10px;
}
.content {
  padding: 64px 0px 24px 0;
  margin-left: 360px;
}
#about,
#services,
#works,
#resume,
#contact {
  padding-left: 24px;
}

.title {
  font-size: 48px;
  font-weight: 900;
  max-width: 80%;
  line-height: 56px;
  letter-spacing: -0.8px;
}
h2.title {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  letter-spacing: 0;
}
.description {
  padding: 12px 0;
  font-size: 24px;
  max-width: 80%;
  line-height: 36px;
  letter-spacing: -0.25px;
  font-weight: 400;
}
#about .works__list-item {
  width: max-content !important;
}
.works__item-img {
  max-width: 328px;
  max-height: 246px;
  position: relative;
}
.about__works-slider {
  padding-top: 12px;
}
#about .works__list-item + .works__list-item {
  margin-left: 12px;
}
.about__works-nav {
  float: right;
  padding: 0 24px 12px 0;
}
.arrows::before {
  content: "";
  background-repeat: no-repeat;
  display: block;
  width: 32px;
  height: 32px;
}
.arrow-left::before,
.swiper-button-disabled .arrow-left::before {
  transform: rotate(180deg);
}
.works__inner {
  padding-right: 12px;
}
.works__tab-list {
  position: relative;
  margin: 42px 0 43px 0;
}
.works__tab-btn:first-child {
  padding-left: 0;
}
.works__tab-btn {
  padding: 0 20px;
  font-size: 16px;
  position: relative;
}
.works__tab-list::after {
  content: "";
  bottom: -15px;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
}
.works__tab-btn.active::after {
  content: "";
  bottom: -15px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 1;
  height: 1px;
}
.works__list {
  display: flex;
  flex-wrap: wrap;
}
#works .works__list-item {
  width: max-content;
  height: max-content;
  margin: 0 24px 24px 0;
  position: relative;
}
.works__item-link span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  color: #fff;
  font-size: 24px;
  letter-spacing: -0.25px;
  font-weight: 500;
  transition: opacity 0.3s all;
}
.works__item-link i {
  margin-right: 8px;
}
.works__item-link:hover span {
  opacity: 1;
}
.resume__list {
  margin-top: 40px;
}
.resume__list-item {
  display: flex;
  align-items: start;
  padding-bottom: 24px;
}
.resume__list-item:last-child {
  padding-bottom: 0;
}
.resume__item-period {
  margin-right: 78px;
  font-size: 20px;
  font-weight: 600;
}
.resume__item-info {
  display: flex;
  flex-direction: column;
}
.resume__item-position {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
  margin-bottom: 4px;
}
.resume__item-company,
.resume__tasks-item {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.25px;
}
.resume__tasks-list {
  list-style: disc;
  padding-left: 26px;
}
.resume__item-company {
  margin-bottom: 16px;
}
.resume__tasks-item + .resume__tasks-item {
  padding-top: 4px;
}
.feedback {
  margin-top: 48px;
}
.form-group {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
  max-width: 580px;
}
.form-group:last-child {
  padding-bottom: 0;
}
.form-group label {
  padding-bottom: 4px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  width: max-content;
}
.form-control {
  padding: 16px;
  font-size: 18px;
  border: none;
  outline: 0;
  font-family: "Archivo", "Montserrat", sans-serif;
}
.form-control:focus {
  border: 1px solid #d3902a;
}
.form-control::placeholder {
  color: #9d9690;
}
#contact-message {
  height: 240px;
  resize: none;
}
.form-group label:after {
  content: "*";
  position: absolute;
  top: 0;
  right: -8px;
  font-size: 14px;
  color: #f63232;
}
input[type="submit"] {
  padding: 16px 60px;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
/*Preloader*/

.preloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
}

.preloader__row {
  position: relative;
  top: 50%;
  left: 50%;
  width: max-content;
  height: max-content;
  text-align: center;
  display: flex;
}

.preloader__item {
  position: absolute;
  display: inline-block;
  border-radius: 100%;
  width: 35px;
  height: 35px;
}

.preloader__item:first-child {
  top: 0;
  right: 42.5px;
  bottom: 0;
  animation: preloader-bounce 2s infinite ease-in-out;
  animation-delay: -1s;
}

.preloader__item:nth-child(2) {
  top: 0;
  right: 2.5px;
  bottom: 0;
  animation: preloader-bounce 2s infinite ease-in-out;
  animation-delay: -0.75s;
}

.preloader__item:nth-child(3) {
  top: 0;
  left: 2.5px;
  bottom: 0;
  animation: preloader-bounce 2s infinite ease-in-out;
  animation-delay: -0.5s;
}

.preloader__item:last-child {
  top: 0;
  left: 42.5px;
  bottom: 0;
  animation: preloader-bounce 2s infinite ease-in-out;
  animation-delay: -0.25s;
}

@-webkit-keyframes preloader-bounce {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

@keyframes preloader-bounce {
  0%,
  100% {
    transform: scale(0);
  }

  50% {
    transform: scale(1);
  }
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}
.cards__list {
  display: flex;
  max-width: 80%;
  flex-wrap: wrap;
}
.cards__list-item {
  width: 30%;
  padding: 36px 24px;
  margin: 0 24px 24px 0;
  border-radius: 12px;
}
.cards__item-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cards__item-desc {
  font-size: 16px;
  letter-spacing: 0.5px;
}
.cards__list-item:hover {
  cursor: pointer;
  transform: scale(1.05);
}
.sidebar__nav-link:hover {
  opacity: 0.5;
}
#contact .cards__item-title{
margin-bottom: 0;
}
#contact .cards__list-item{
  padding: 28px 16px;
}