@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
/*** Fonts ***/
/*** Colors ***/
/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

/* Links */
a, a:visited {
  text-decoration: none;
  display: inline-block;
}

a:hover {
  text-decoration: none;
}

a:focus,
a:active {
  outline: none;
}

/* Common */
aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Form */
input, textarea, button, select {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button, input[type=submit] {
  display: inline-block;
  box-shadow: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

.container {
  max-width: 1140px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  /* Tablet - big*/
  /* Tablet */
  /* Mobile */
}
.container--fluid {
  max-width: unset;
}
.container--no-padding {
  padding: 0;
}
@media (max-width: 1139px) {
  .container {
    width: 900px;
  }
}
@media (max-width: 899px) {
  .container {
    width: 768px;
  }
}
@media (max-width: 767px) {
  .container {
    width: 320px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 1.3;
}

.lock {
  overflow: hidden;
}

.none {
  display: none !important;
}

.title {
  font-size: 78px;
  font-weight: 700;
  line-height: 1;
}

.section-title {
  font-size: 54px;
  font-weight: 700;
}

.section-title-42px {
  font-size: 42px;
  font-weight: 700;
}

.svg-cv {
  width: 42px;
  height: 42px;
  fill: #000;
}

.svg-ln {
  width: 32px;
  height: 32px;
  fill: #000;
}

.svg-git {
  width: 42px;
  height: 42px;
  fill: #212121;
}

.svg-ln, .svg-git {
  transition: opacity 0.2s ease-in;
}
.svg-ln:hover, .svg-ln:active, .svg-ln:focus, .svg-git:hover, .svg-git:active, .svg-git:focus {
  opacity: 0.75;
}

.svg-tg, .svg-vk, .svg-fb, .svg-inst, .svg-wa {
  width: 48px;
  height: 48px;
}

.svg-inst {
  pointer-events: none;
}

.logo {
  display: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

/* Кнопка наверх */
.backtop-btn {
  z-index: 100;
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  bottom: 15px;
  right: 10px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fbdc4d;
  transition: transform 0.2s ease-in;
}
.backtop-btn img {
  width: 24px;
  height: 24px;
}
.backtop-btn:hover {
  transform: scale(1.1);
}

/* Блок соц иконок*/
.socials {
  display: flex;
  align-items: center;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
.socials a {
  transition: opacity 0.2s ease-in;
}
.socials a:hover, .socials a:active, .socials a:focus {
  opacity: 0.75;
}

/* Ссылки */
.link {
  position: relative;
  font-size: 22px;
  color: #1a71d2;
  transition: color 0.2s ease-in;
}
.link:hover {
  color: #ff543e;
}

.link-muted {
  text-decoration: underline;
  color: #fff;
}

/* Градиент текста*/
.grad-border {
  display: inline;
  background-repeat: no-repeat;
  background-position: center bottom 15px;
  background-size: 100% 12px;
  background-image: linear-gradient(to right, #fbdc4d, #fbdc4d);
}

h2.grad-border {
  background-size: 100% 8px;
  background-position: center bottom 10px;
}

.timeline-item__title.grad-border {
  background-size: 100% 6px;
  background-position: center bottom 4px;
}

/**** Форма ****/
.move-quot {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(-50%, -50%);
  max-width: 200px;
}

.error {
  color: #ff543e;
  font-size: 18px;
  font-weight: 700;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  box-shadow: 0 0 0px 1000px #fff inset;
}

.nav-icon {
  width: 40px;
  height: 25px;
  display: none;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.nav-icon__middle {
  position: relative;
  width: 40px;
  height: 5px;
  background-color: rgb(0, 0, 0);
}
.nav-icon__middle::before, .nav-icon__middle::after {
  content: "";
  position: absolute;
  left: 0;
  width: 40px;
  height: 5px;
  transition: transform 0.2s ease-in, top 0.2s linear 0.2s;
  background-color: rgb(0, 0, 0);
}
.nav-icon__middle::before {
  top: -10px;
}
.nav-icon__middle::after {
  top: 10px;
}

/* Active state */
.nav-icon.nav-icon--active {
  z-index: 6;
  position: fixed;
  top: 33px;
  right: 12px;
}

.nav-icon.nav-icon--active .nav-icon__middle {
  background-color: transparent;
}
.nav-icon.nav-icon--active .nav-icon__middle::before, .nav-icon.nav-icon--active .nav-icon__middle::after {
  top: 0;
  transition: top 0.2s linear, transform 0.2s ease-in 0.2s;
  background-color: rgb(0, 0, 0);
}
.nav-icon.nav-icon--active .nav-icon__middle::before {
  transform: rotate(45deg);
}
.nav-icon.nav-icon--active .nav-icon__middle::after {
  transform: rotate(-45deg);
}

.button {
  padding: 0 40px;
  height: 64px;
  border-radius: 50px;
  background-color: #eff7fc;
  line-height: 64px;
  font-size: 20px;
  font-weight: 700;
  color: #000;
  transition: background-color 0.2s ease-in;
}
.button:hover, .button:focus {
  background-color: #d1edff;
}
.button:active {
  background-color: #b0dcf8;
}
.button--accent {
  background-color: #fbdc4d;
}
.button--accent:hover, .button--accent:focus {
  background-color: #ffeb8d;
}
.button--accent:active {
  background-color: #f5d22d;
}

.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  -moz-column-gap: 100px;
       column-gap: 100px;
}

.nav li {
  font-size: 20px;
  font-weight: 600;
}

.nav a {
  transition: color 0.2s ease-in;
  color: #000;
}
.nav a:hover {
  color: #ff543e;
}

.nav-mobile__list {
  row-gap: 28px;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
}
.nav-mobile__list a {
  color: #000;
}

.nav-mobile__contacts {
  display: none;
}

.header-intro {
  z-index: 1;
  position: relative;
}

.header-intro__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.header-intro__text {
  padding-top: 19px;
  max-width: 542px;
}

.header-intro__title {
  margin-bottom: 30px;
}

.header-intro__desc {
  margin-bottom: 30px;
  max-width: 542px;
}
.header-intro__desc:last-of-type {
  display: none;
}
.header-intro__desc p {
  font-size: 22px;
  line-height: 1.6; /* 35.2px */
}
.header-intro__desc p + p {
  margin-top: 15px;
}

.header-intro__buttons {
  display: flex;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.header-intro__buttons > * {
  flex-grow: 0;
}

.header-intro__img {
  box-shadow: 40px 40px rgba(255, 255, 255, 0.5);
  overflow: hidden;
}
.header-intro__img img {
  width: 475px;
  height: 410px;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
}

.header-banner {
  z-index: 0;
  position: relative;
  margin-top: -156px;
}
.header-banner img {
  margin: 0 auto;
  -o-object-fit: cover;
     object-fit: cover;
  height: 759px;
  pointer-events: none;
}

.header-about {
  margin-top: -151px;
  padding-top: 120px;
}

.header-about__content {
  display: flex;
}

.header-about__column:first-child {
  width: 635px;
}
.header-about__column:last-child {
  margin-left: 30px;
}

.header-about__subtitle {
  margin-bottom: 30px;
}

.header-about__skills li {
  font-size: 22px;
}
.header-about__skills li:not(:last-child) {
  margin-bottom: 10px;
}
.header-about__skills li::before {
  content: "—";
  padding-right: 5px;
}

.header-about__socials {
  margin-bottom: 15px;
}

.portfolio-card {
  position: relative;
  max-width: 350px;
  height: 296px;
  color: #000;
  cursor: pointer;
}
.portfolio-card a {
  color: #000;
}

.portfolio-card__link {
  margin-bottom: 16px;
}
.portfolio-card__link::before {
  z-index: 5;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.portfolio-card__img {
  position: relative;
  overflow: hidden;
}
.portfolio-card__img::before {
  position: absolute;
  z-index: 1;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(-100%);
  transition: transform 0.2s ease-in;
  background-color: rgba(255, 221, 85, 0.75);
}
.portfolio-card__img img {
  width: 350px;
  height: 220px;
  transition: transform 0.4s ease-in;
  pointer-events: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.portfolio-card__img span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease-in;
  display: inline-block;
  padding: 14px 20px;
  min-width: 208px;
  border-radius: 80px;
  background-color: #ef6857;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #fff;
  opacity: 0;
}

.portfolio-card__text {
  height: 60px;
  overflow: hidden;
}
.portfolio-card__text .portfolio-card__title,
.portfolio-card__text .portfolio-card__desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.portfolio-card__title {
  margin-bottom: 7px;
  position: relative;
  z-index: 10;
  font-size: 24px;
  font-weight: 600;
  transition: color 0.2s ease-in;
}

.portfolio-card__desc {
  font-size: 18px;
}

/* Большие карточки*/
.portfolio-card:first-child,
.portfolio-card:nth-child(2) {
  max-width: 540px;
  height: 463px;
}
.portfolio-card:first-child .portfolio-card__link,
.portfolio-card:nth-child(2) .portfolio-card__link {
  margin-bottom: 20px;
}
.portfolio-card:first-child img,
.portfolio-card:nth-child(2) img {
  width: 540px;
  height: 370px;
}
.portfolio-card:first-child .portfolio-card__text,
.portfolio-card:nth-child(2) .portfolio-card__text {
  height: 73px;
  line-height: 1.3;
}
.portfolio-card:first-child .portfolio-card__title,
.portfolio-card:nth-child(2) .portfolio-card__title {
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
  font-size: 30px;
}
.portfolio-card:first-child .portfolio-card__desc,
.portfolio-card:nth-child(2) .portfolio-card__desc {
  font-size: 20px;
}

/* Ховер по карточке*/
.portfolio-card:hover .portfolio-card__img::before {
  transform: translateY(0);
}
.portfolio-card:hover .portfolio-card__title {
  color: #ff543e;
}
.portfolio-card:hover .portfolio-card__img span {
  z-index: 2;
  opacity: 1;
}

.timeline-wrapper {
  width: 890px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item__title {
  font-size: 24px;
  font-weight: 700;
}

/*Общие стили*/
.timeline-item {
  width: 50%;
  position: relative;
}
.timeline-item:not(:last-child) {
  padding-bottom: 60px;
}
.timeline-item::before, .timeline-item::after {
  content: "";
  position: absolute;
}
.timeline-item:first-child::before, .timeline-item:first-child::after {
  top: 7px;
}
.timeline-item::before {
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #e1eef4;
}
.timeline-item::after {
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid #e1eef4;
  background-color: #fff;
}
.timeline-item p {
  font-size: 16px;
  line-height: 1.4; /* 22.4px */
  margin-top: 8px;
}
.timeline-item p:not(:last-child) {
  margin-bottom: 8px;
}
.timeline-item p + * {
  margin-top: 0;
}

.timeline-item:last-child::before {
  display: none;
}

/* Нечетные */
.timeline-item:nth-child(odd) {
  padding-right: 51px;
  text-align: right;
}

.timeline-item:nth-child(odd)::before {
  right: 0;
  transform: translateX(50%);
}

.timeline-item:nth-child(odd)::after {
  right: 0;
  transform: translateX(50%);
}

/* Четные */
.timeline-item:nth-child(even) {
  margin-left: auto;
  padding-left: 51px;
}

.timeline-item:nth-child(even)::before {
  left: 0;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even)::after {
  left: 0;
  transform: translateX(-50%);
}

.contact-form {
  padding: 50px 62px;
  width: 540px;
  box-shadow: 0 20px 100px -10px rgba(160, 206, 237, 0.75);
  background-color: #fff;
}

.contact-form__item {
  position: relative;
}
.contact-form__item + .contact-form__item {
  margin-top: 42px;
}
.contact-form__item:last-child {
  margin-top: 30px;
}
.contact-form__item textarea {
  height: 162px;
}

.fake-placeholder {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  font-size: 22px;
  line-height: 1;
  color: #9d9d9d;
  transition: all 0.2s ease-in;
  pointer-events: none;
}
.fake-placeholder--active {
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  color: #eca73f;
  transform: translateY(-100%);
}

.form-input {
  height: 39px;
  width: 100%;
  border-bottom: 2px solid #e5e5e5;
}
.form-input:active, .form-input:focus, .form-input:valid {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: #000;
}
.form-input:active, .form-input:focus {
  border-bottom-color: #ff543e;
}

.contact-form__success {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.header-top {
  padding-top: 63px;
  padding-bottom: 62px;
}

.header-top__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-top__social {
  display: flex;
  align-items: center;
  -moz-column-gap: 26px;
       column-gap: 26px;
}

.header {
  padding-top: 20px;
  padding-bottom: 90px;
}

.portfolio {
  padding-top: 80px;
  padding-bottom: 90px;
  background: linear-gradient(0deg, #F5FBFF 0%, #F5FBFF 100%), #F4F8F9;
}

.portfolio__title {
  margin-bottom: 65px;
}

.portfolio__cards {
  display: flex;
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 50px;
  flex-wrap: wrap;
}

.timeline__content {
  padding-top: 80px;
  padding-bottom: 80px;
}

.timeline__header {
  margin-bottom: 70px;
  text-align: center;
}

.contacts {
  position: relative;
  z-index: 1;
  padding-top: 70px;
  padding-bottom: 90px;
  background: linear-gradient(0deg, #f5fbff 0%, #f5fbff 100%), #f4f8f9;
  overflow: hidden;
}

.contacts__header {
  margin-bottom: 60px;
  text-align: center;
}

.contacts__row {
  display: flex;
  justify-content: space-between;
  -moz-column-gap: 30px;
       column-gap: 30px;
}

.contacts__column:last-child {
  position: relative;
  flex-grow: 1;
}

.contacts__img {
  z-index: -1;
  position: absolute;
  max-width: 400px;
  top: -61px;
  right: -142px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contacts__list {
  margin-bottom: 34px;
  line-height: 1.6;
}
.contacts__list li + li {
  margin-top: 22px;
}
.contacts__list span {
  display: inline-block;
  width: 103px;
  font-size: 22px;
  font-weight: 600;
}
.contacts__list a {
  margin-left: 85px;
}

.contacts__text {
  margin-bottom: 32px;
  width: 538px;
  font-size: 18px;
  line-height: 1.6;
}
.contacts__text p + p {
  margin-top: 8px;
}

.footer {
  padding-top: 40px;
  padding-bottom: 50px;
  background-color: #333;
}

.footer__copyright {
  width: 825px;
  font-size: 16px;
  line-height: 1.5; /* 24px */
}

.footer__date {
  margin-bottom: 10px;
  line-height: 1.4; /* 22.4px */
  color: #fff;
}

.footer__text {
  color: #b0b0b0;
}

.mix-block__controls {
  margin-bottom: 33px;
}

.mix-block__btn {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #9ec2d0;
  background-color: transparent;
}
.mix-block__btn:not(:last-child) {
  margin-right: 70px;
}
.mix-block__btn.control-active {
  color: #000;
}
.mix-block__btn:hover, .mix-block__btn:active {
  color: #ff543e;
}

/* Tablet-big*/
@media (max-width: 1139px) {
  .title {
    font-size: 58px;
  }
  .title.grad-border {
    background-position: center bottom 10px;
    background-size: 100% 10px;
  }
  .section-title {
    font-size: 42px;
  }
  h2.grad-border {
    background-position: center bottom 6px;
  }
  .section-title-42px {
    font-size: 32px;
  }
  .link {
    font-size: 18px;
  }
  .button {
    padding-left: 26px;
    padding-right: 26px;
    height: 58px;
    line-height: 58px;
    font-size: 20px;
  }
  .svg-git {
    width: 36px;
    height: 36px;
  }
  .svg-ln {
    width: 28px;
    height: 28px;
  }
  /**** Header-top ***/
  .header-top {
    padding-bottom: 60px;
  }
  .header-top__social {
    align-items: flex-start;
    -moz-column-gap: 29px;
         column-gap: 29px;
  }
  .nav ul {
    -moz-column-gap: 50px;
         column-gap: 50px;
  }
  .nav li {
    font-size: 18px;
  }
  /**** Header ***/
  .header {
    padding-top: 0;
    padding-bottom: 0;
  }
  .header-intro__title {
    margin-bottom: 21px;
  }
  .header-intro__text {
    padding-top: 5px;
    max-width: 420px;
  }
  .header-intro__desc {
    margin-bottom: 28px;
  }
  .header-intro__desc p {
    font-size: 18px;
  }
  .header-intro__desc p + p {
    margin-top: 10px;
  }
  .header-intro__img {
    box-shadow: unset;
  }
  .header-intro__img img {
    width: 376px;
    height: 325px;
  }
  .header-banner {
    margin-top: -85px;
  }
  .header-banner img {
    height: 475px;
  }
  .header-about {
    margin-top: -92px;
    padding-top: 80px;
    padding-bottom: 60px;
    z-index: 1;
    position: relative;
  }
  .header-about .socials {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
  .header-about .socials svg, .header-about .socials object {
    width: 48px;
    height: 48px;
  }
  .header-about__content {
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
  .header-about__column:first-child {
    width: 495px;
  }
  .header-about__column:last-child {
    margin-left: 0;
  }
  .header-about__subtitle {
    margin-bottom: 20px;
  }
  .header-about__skills li {
    font-size: 18px;
  }
  .header-about__socials {
    margin-bottom: 16px;
  }
  /**** Portfolio ****/
  .portfolio {
    padding-top: 40px;
    padding-bottom: 61px;
  }
  .portfolio__title {
    margin-bottom: 40px;
  }
  .portfolio__cards {
    row-gap: 40px;
  }
  /**** Portfolio-card ****/
  .portfolio-card {
    width: 270px;
    height: 224px;
  }
  .portfolio-card__link {
    margin-bottom: 10px;
  }
  .portfolio-card__img img {
    width: 270px;
    height: 169px;
  }
  .portfolio-card__text {
    height: 45px;
  }
  .portfolio-card__title {
    margin-bottom: 4px;
    font-size: 18px;
  }
  .portfolio-card__desc {
    font-size: 14px;
  }
  .portfolio-card:first-child,
  .portfolio-card:nth-child(2) {
    width: 420px;
    height: 366px;
  }
  .portfolio-card:first-child .portfolio-card__img span,
  .portfolio-card:nth-child(2) .portfolio-card__img span {
    font-size: 18px;
  }
  .portfolio-card:first-child img,
  .portfolio-card:nth-child(2) img {
    width: 420px;
    height: 288px;
  }
  .portfolio-card:first-child .portfolio-card__text,
  .portfolio-card:nth-child(2) .portfolio-card__text {
    height: 58px;
  }
  .portfolio-card:first-child .portfolio-card__title,
  .portfolio-card:nth-child(2) .portfolio-card__title {
    margin-bottom: 6px;
    font-size: 24px;
  }
  .portfolio-card:first-child .portfolio-card__desc,
  .portfolio-card:nth-child(2) .portfolio-card__desc {
    font-size: 16px;
  }
  /****** Timeline ******/
  .timeline__content {
    padding-top: 65px;
    padding-bottom: 65px;
  }
  .timeline__header {
    margin-bottom: 50px;
  }
  .timeline-wrapper {
    width: 774px;
  }
  .timeline-item__title {
    font-size: 20px;
  }
  .timeline-item:first-child::before, .timeline-item:first-child::after {
    top: 1px;
  }
  .timeline-item p {
    margin-top: 7px;
  }
  .timeline-item p:not(:last-child) {
    margin-bottom: 10px;
  }
  .timeline-item p, .timeline-item strong {
    font-size: 14px;
  }
  /***** Contacts *****/
  .contacts {
    padding-top: 40px;
    padding-bottom: 66px;
  }
  .contacts__header {
    margin-bottom: 40px;
  }
  .contacts__list {
    margin-bottom: 25px;
  }
  .contacts__list li + li {
    margin-top: 16px;
  }
  .contacts__list span {
    width: 85px;
    font-size: 18px;
  }
  .contacts__list a {
    margin-left: 36px;
    font-size: 18px;
  }
  .contacts__text {
    width: 420px;
    font-size: 16px;
  }
  .contacts__text p + p {
    margin-top: 5px;
  }
  .contact-form::before {
    top: -95px;
  }
  .contact-form {
    padding: 40px 50px;
    width: 400px;
  }
  .contact-form__success {
    font-size: 16px;
  }
  /***** Footer *****/
  .footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .footer__copyright {
    font-size: 14px;
  }
  .footer__date {
    margin-bottom: 10px;
    font-size: 16px;
  }
}
/* Tablet */
@media (max-width: 899px) {
  .title {
    font-size: 42px;
  }
  .title.grad-border {
    background-position: center bottom 7px;
    background-size: 100% 8px;
  }
  h2.grad-border {
    background-position: center bottom 3px;
  }
  .section-title {
    font-size: 32px;
  }
  .section-title-42px {
    font-size: 24px;
  }
  .logo,
  .nav-icon {
    display: flex;
  }
  .button {
    display: none;
  }
  .socials {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
  .socials svg,
  .socials object {
    width: 38px;
    height: 38px;
  }
  .header-top {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  /**** Mobile nav ****/
  .header-top__social {
    display: none;
  }
  .nav-mobile__contacts {
    display: block;
  }
  .nav-mobile__contacts .socials {
    margin-bottom: 20px;
  }
  .nav-mobile {
    z-index: 5;
    position: fixed;
    display: flex;
    justify-content: flex-end;
    top: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: rgba(37, 73, 116, 0.8);
    transform: translateX(100%);
    transition: transform 0.3s ease-in;
  }
  .nav-mobile.nav-mobile--active {
    transform: translateX(0);
  }
  .nav-mobile__content {
    padding: 30px 15px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 320px;
    background-color: #fff;
  }
  .nav ul {
    flex-direction: column;
    -moz-column-gap: 0;
         column-gap: 0;
    row-gap: 28px;
    align-items: flex-start;
  }
  .header-intro__title {
    margin-bottom: 10px;
  }
  .header-intro__text {
    padding-top: 3px;
  }
  .header-intro__content {
    align-items: center;
  }
  .header-intro__text {
    max-width: 354px;
  }
  .header-intro__desc {
    margin-bottom: 0;
  }
  .header-intro__desc p {
    font-size: 16px;
  }
  .header-intro__desc p + p {
    margin-top: 5px;
  }
  .header-intro__img img {
    width: 290px;
    height: 250px;
  }
  .header-banner {
    margin-top: -90px;
  }
  .header-banner img {
    height: 403px;
  }
  .header-about {
    padding-bottom: 40px;
  }
  .header-about__subtitle {
    margin-bottom: 23px;
  }
  .header-about__socials {
    margin-bottom: 15px;
  }
  .header-about .socials {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
  .header-about .socials svg,
  .header-about .socials object {
    width: 38px;
    height: 38px;
  }
  .header-about__column:first-child {
    width: 354px;
  }
  .header-about__skills li {
    font-size: 16px;
  }
  .header-about__skills li::before {
    content: "";
    padding-right: 0;
  }
  /**** Portfolio ****/
  .portfolio {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  .portfolio__title {
    margin-bottom: 30px;
  }
  .portfolio__cards {
    row-gap: 20px;
  }
  /**** Portfolio-card ****/
  .portfolio-card {
    width: 226px;
    height: 213px;
  }
  .portfolio-card__img img {
    width: 226px;
    height: 140px;
  }
  .portfolio-card__text {
    height: 63px;
  }
  .portfolio-card__desc {
    -webkit-line-clamp: 2;
  }
  .portfolio-card:first-child,
  .portfolio-card:nth-child(2) {
    width: 354px;
    height: 235px;
  }
  .portfolio-card:first-child .portfolio-card__link,
  .portfolio-card:nth-child(2) .portfolio-card__link {
    margin-bottom: 10px;
  }
  .portfolio-card:first-child img,
  .portfolio-card:nth-child(2) img {
    width: 354px;
    height: 180px;
  }
  .portfolio-card:first-child .portfolio-card__text,
  .portfolio-card:nth-child(2) .portfolio-card__text {
    height: 58px;
  }
  .portfolio-card:first-child .portfolio-card__title,
  .portfolio-card:nth-child(2) .portfolio-card__title {
    margin-bottom: 4px;
    font-size: 18px;
  }
  .portfolio-card:first-child .portfolio-card__desc,
  .portfolio-card:nth-child(2) .portfolio-card__desc {
    font-size: 14px;
  }
  /****** Timeline ******/
  .timeline__content {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .timeline__header {
    margin-bottom: 40px;
  }
  .timeline-wrapper {
    width: 384px;
  }
  .timeline-item {
    width: unset;
  }
  .timeline-item:not(:last-child) {
    padding-bottom: 45px;
  }
  .timeline-item__title.grad-border {
    background-position: center bottom 2px;
  }
  /* Нечетные */
  .timeline-item:nth-child(odd) {
    padding-right: 0;
    padding-left: 44px;
    text-align: left;
  }
  .timeline-item:nth-child(odd)::before {
    right: 0;
    left: 17px;
    transform: translateX(-50%);
  }
  .timeline-item:nth-child(odd)::after {
    left: 0;
    transform: none;
  }
  /* Четные */
  .timeline-item:nth-child(even) {
    margin-left: 0;
    padding-left: 44px;
  }
  .timeline-item:nth-child(even)::before {
    left: 17px;
    transform: translateX(-50%);
  }
  .timeline-item:nth-child(even)::after {
    transform: none;
  }
  /***** Contacts *****/
  .contacts {
    padding-bottom: 35px;
  }
  .contacts__header {
    margin-bottom: 20px;
  }
  .contacts__list {
    margin-bottom: 28px;
  }
  .contacts__list li + li {
    margin-top: 10px;
  }
  .contacts__list span {
    display: block;
    width: unset;
    font-size: 16px;
  }
  .contacts__list a {
    margin-left: 0;
    font-size: 16px;
  }
  .contacts__text {
    width: 290px;
    font-size: 14px;
  }
  .contacts__text p + p {
    margin-top: 5px;
  }
  .contact-form {
    padding: 35px 40px;
  }
  .contact-form__success {
    font-size: 14px;
  }
  .contacts__img {
    display: none;
  }
  /***** Footer *****/
  .footer__copyright {
    width: 738px;
  }
  .footer__text {
    line-height: 1.5;
  }
  .footer__text p + p {
    margin-top: 15px;
  }
}
/* Mobile */
@media (max-width: 767px) {
  .title {
    font-size: 32px;
  }
  .title.grad-border {
    background-position: center bottom 4px;
    background-size: 100% 8px;
  }
  .timeline-item__title.grad-border {
    background-position: center bottom 1px;
  }
  /*** Header ****/
  .header-top .container {
    width: 100%;
  }
  .header-intro__text {
    padding-top: 2px;
  }
  .header-intro__title {
    margin-bottom: 18px;
  }
  .header-intro__content {
    flex-direction: column;
  }
  .header-intro__desc:nth-child(2) {
    display: none;
  }
  .header-intro__desc:last-child {
    display: block;
  }
  .header-intro__img {
    margin-bottom: 10px;
  }
  .header-banner {
    margin-top: 0;
  }
  .header-banner img {
    height: 168px;
  }
  .header-about {
    margin-top: -70px;
  }
  .header-about__subtitle {
    margin-bottom: 21px;
  }
  .header-about__content {
    -moz-column-gap: 0;
         column-gap: 0;
    flex-direction: column;
  }
  .header-about__column {
    margin-bottom: 30px;
  }
  .header-about__column:first-child {
    width: unset;
  }
  .header-about__column:last-child {
    margin-bottom: 0;
  }
  /**** Portfolio ****/
  .mix-block__btn {
    display: none;
  }
  .portfolio__cards {
    row-gap: 30px;
    -moz-column-gap: 0;
         column-gap: 0;
  }
  .portfolio-card {
    width: 290px;
    height: 235px;
  }
  .portfolio-card__img {
    width: 290px;
    height: 180px;
  }
  .portfolio-card__img img {
    width: 290px;
    height: 180px;
  }
  .portfolio-card__text {
    height: 45px;
  }
  .portfolio-card:first-child,
  .portfolio-card:nth-child(2) {
    width: 290px;
    height: 235px;
  }
  .portfolio-card:first-child img,
  .portfolio-card:nth-child(2) img {
    width: 100%;
    height: 180px;
  }
  .portfolio-card:first-child .portfolio-card__text,
  .portfolio-card:nth-child(2) .portfolio-card__text {
    height: 58px;
  }
  .portfolio-card:first-child .portfolio-card__title,
  .portfolio-card:nth-child(2) .portfolio-card__title {
    margin-bottom: 4px;
    font-size: 18px;
  }
  .portfolio-card:first-child .portfolio-card__desc,
  .portfolio-card:nth-child(2) .portfolio-card__desc {
    font-size: 14px;
  }
  /****** Timeline ******/
  .timeline {
    overflow-x: hidden;
  }
  .timeline-wrapper {
    width: 100%;
    margin-left: unset;
    margin-right: unset;
  }
  .timeline-item__title {
    font-size: 20px;
  }
  .timeline-item:first-child::before, .timeline-item:first-child::after {
    top: 0;
  }
  .timeline-item p {
    font-size: 14px;
    margin-top: 7px;
  }
  .timeline-item p + * {
    margin-top: 10px;
  }
  .timeline-item p + p {
    margin-top: 7px;
  }
  /***** Contacts *****/
  .contacts__row {
    flex-direction: column;
    row-gap: 49px;
  }
  .contacts__list {
    margin-bottom: 25px;
  }
  .contacts__list li + li {
    margin-top: 10px;
  }
  .contacts__list span {
    display: block;
    width: unset;
    font-size: 16px;
  }
  .contact-form__img {
    display: none;
  }
  .contact-form {
    padding: 44px 15px 40px;
    width: 100%;
  }
  .contact-form .button {
    width: 100%;
  }
  textarea.form-input:valid {
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
  }
  .fake-placeholder {
    font-size: 18px;
  }
  .form-item + .form-item {
    margin-top: 20px;
  }
  .form-item:last-child {
    margin-top: 30px;
  }
  .form-item textarea {
    height: 188px;
  }
  .form-input {
    height: 30px;
  }
  .contacts__text {
    margin-bottom: 20px;
  }
  .contacts__text p + p {
    margin-top: 5px;
  }
  /***** Footer *****/
  .footer__copyright {
    width: unset;
  }
  .footer__text p + p {
    margin-top: 15px;
  }
  .backtop-btn {
    bottom: 20px;
    right: 10px;
  }
}/*# sourceMappingURL=main.css.map */