@charset "UTF-8";
/* Reset and base styles  */
@import url(https://fonts.googleapis.com/css?family=Manrope:300,regular,700,800);
@import url(https://fonts.googleapis.com/css?family=Inter:regular,700);
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

/* Links */
a, a:link, a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

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

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

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

address {
  font-style: normal;
}

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

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

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

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

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

label {
  cursor: pointer;
}

legend {
  display: block;
}

/* font-family: 'Inter', sans-serif; */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: #000;
}

a, a:link, a:visited {
  color: #0F7DFF;
}

a:focus,
button:focus {
  outline-offset: 1px;
  outline: #005fcc auto 1px;
}

.container {
  width: 1230px;
  padding: 0 15px;
  margin: 0 auto;
}
@media (max-width: 1250px) {
  .container {
    width: 768px;
  }
}
@media (max-width: 796px) {
  .container {
    /* width: 360px; */
    width: 100%;
  }
}

html,
body {
  min-height: 100vh;
}

.sticky-footer {
  display: flex;
  flex-direction: column;
}

.footer {
  margin-top: auto;
}

.header {
  padding: 40px 0;
}
@media (max-width: 1250px) {
  .header {
    padding: 30px 0;
  }
}

.header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  -moz-column-gap: 30px;
       column-gap: 30px;
  row-gap: 20px;
}

.header__logo {
  flex-shrink: 0;
}

.main {
  display: flex;
  flex-direction: column;
  row-gap: 50px;
  margin-bottom: 80px;
}
@media (max-width: 1250px) {
  .main {
    margin-bottom: 60px;
    row-gap: 40px;
  }
}
@media (max-width: 796px) {
  .main {
    margin-bottom: 40px;
  }
}

.footer {
  padding: 20px 0;
  background-color: #000;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 796px) {
  .footer {
    font-size: 12px;
  }
}
.footer a {
  color: rgba(255, 255, 255, 0.75);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 10px;
}

.none {
  display: none !important;
}

@media (max-width: 1250px) {
  .visible-desktop {
    display: none;
  }
}

.visually-hidden {
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
          clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.no-scroll {
  overflow-y: hidden;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-3 {
  margin-bottom: 3em;
}

.mb-4 {
  margin-bottom: 4em;
}

.mb-5 {
  margin-bottom: 5em;
}

.title-1 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  color: #000;
}
@media (max-width: 1250px) {
  .title-1 {
    font-size: 26px;
  }
}
@media (max-width: 796px) {
  .title-1 {
    font-size: 22px;
    line-height: 1.3;
  }
}

.title-2 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  color: #000;
}
@media (max-width: 796px) {
  .title-2 {
    font-size: 24px;
  }
}

.title-3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  color: #000;
}

.btn-telegram, a.btn-telegram {
  padding: 10px 20px;
  display: flex;
  -moz-column-gap: 10px;
       column-gap: 10px;
  align-items: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  border-radius: 80px;
  background-color: #039BE5;
  transition: all 0.2s ease-in;
}
.btn-telegram:hover, a.btn-telegram:hover {
  background-color: #036a9e;
}

.btn-link, a.btn-link {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 3px;
  background-color: #F2F2F2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #000;
  text-align: left;
  display: flex;
  -moz-column-gap: 5px;
       column-gap: 5px;
  align-items: center;
  transition: background-color 0.2s ease-in;
}
@media (max-width: 796px) {
  .btn-link, a.btn-link {
    padding: 10px;
  }
}
.btn-link:hover, a.btn-link:hover {
  background-color: #dedede;
}
.btn-link--wide, a.btn-link--wide {
  width: 100%;
}

.tags {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.3;
  color: #6b9db9;
}

.logo {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
  max-width: 100%;
}

.logo__title {
  font-weight: 800;
  font-size: 32px;
  line-height: 1;
  color: #000;
}

.logo__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #6b9db9;
}

.socials {
  display: flex;
  -moz-column-gap: 20px;
       column-gap: 20px;
  align-items: center;
}
.socials li {
  transition: all 0.2s ease-in;
}
.socials li:hover {
  opacity: 0.6;
}

.info {
  display: flex;
  -moz-column-gap: 30px;
       column-gap: 30px;
}
@media (max-width: 796px) {
  .info {
    flex-direction: column;
    row-gap: 20px;
  }
}

.info__about, .info__skills {
  flex: 1;
}

.info-block {
  padding: 30px 30px 50px;
  background-color: #FBFBFB;
  font-size: 14px;
  line-height: 1.6;
}
@media (max-width: 1250px) {
  .info-block {
    padding: 20px;
  }
}
.info-block--accent {
  background-color: #F1F8FB;
}
.info-block p + p {
  margin-top: 15px;
}
@media (max-width: 796px) {
  .info-block p + p {
    margin-top: 10px;
  }
}

.info-block__title {
  margin-bottom: 20px;
}

.info-block__badges {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.info-block__list ul {
  line-height: 1.3;
}
.info-block__list ul li + li {
  margin-top: 10px;
}
.info-block__list ul li {
  position: relative;
  padding-left: 15px;
}
.info-block__list ul li::before {
  content: "•";
  position: absolute;
  left: 0px;
  top: 0px;
}

.badge {
  padding: 3.5px 6px;
  height: 19px;
  border-radius: 2px;
  background-color: #414141;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  color: #fff;
}
.badge--html {
  background-color: #414141;
}
.badge--css {
  background-color: #39A0FF;
}
.badge--scss {
  background-color: #DD6ADF;
}
.badge--gulp {
  background-color: #EC473C;
}
.badge--js {
  background-color: #FFCE20;
  color: #000;
}
.badge--react {
  background-color: #33D6F0;
}
.badge--node {
  background-color: #67CF00;
}
.badge--php {
  background-color: #B07FED;
}
.badge--wordpress {
  background-color: #0F8CC6;
}

.portfolio {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}
@media (max-width: 796px) {
  .portfolio {
    row-gap: 20px;
  }
}

.portfolio__projects {
  /* display: flex;
  flex-wrap: wrap;
  gap: 30px; */
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
}

.project {
  position: relative;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  transition: all 0.2s ease-in;
}
.project:hover {
  opacity: 0.8;
}
.project:hover .project__img {
  transition: all 0.2s ease-in;
  background-color: #e2e2e2;
}

.project__img {
  height: 210px;
  background-color: #f6f6f6;
  background-image: url("./../img/projects/laptop.svg");
  background-position: center center;
  background-size: auto;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project__img img {
  margin: -7px 0 0 -1px;
  width: 216px;
  height: 138px;
}

.project__content {
  display: flex;
  flex-direction: column;
  row-gap: 5px;
}
.project__content a {
  color: #000;
}
.project__content a::after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
}

.project__desc {
  font-size: 14px;
  line-height: 1.3;
}
@media (max-width: 1250px) {
  .project__desc {
    line-height: 1.5;
  }
}

.cta {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 25px;
  background-color: #F0F5F9;
  border-radius: 10px;
}
@media (max-width: 796px) {
  .cta {
    padding: 40px 0;
    row-gap: 20px;
  }
}

.cta__desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1;
}
.cta__desc p + p {
  margin-top: 1em;
}

.top-link {
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #000;
  border-radius: 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease-in;
}
.top-link--visible {
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 796px) {
  .top-link {
    right: 10px;
    bottom: 10px;
  }
}

.modal {
  display: none;
  position: relative;
  width: 768px;
  background-color: #fff;
  color: #000;
}
@media (max-width: 1250px) {
  .modal {
    width: 738px;
  }
}
@media (max-width: 796px) {
  .modal {
    max-width: calc(100% - 30px);
  }
}

.modal__img {
  height: 370px;
  background-color: #f6f6f6;
  background-image: url("./../img/projects/laptop-big.svg");
  background-position: center center;
  background-size: auto;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal__img img {
  margin-top: -12px;
  width: 382px;
  height: 240px;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (max-width: 579px) {
  .modal__img {
    /* min = 246px, max = 285px
       Viewport Range: min = 360px, max=579 (точка перелома)

       PS: clamp применен для адаптивного изменения лэптопа с изображением
       проекта на устройствах с маленькой шириной экрана
    */
    height: clamp(15.375rem, 11.368rem + 17.808vw, 17.813rem);
    background-image: url("./../../img/projects/laptop.svg");
    background-size: 80%;
  }
  .modal__img img {
    margin-top: -6px;
    width: 61%;
    /* height: clamp(7.188rem, -0.518rem + 34.247vw, 11.875rem); */
    /* height: clamp(6.875rem, -1.344rem + 36.53vw, 11.875rem); */
    /* height: clamp(7rem, -1.014rem + 35.616vw, 11.875rem); */
    /* height: clamp(7.188rem, -0.518rem + 34.247vw, 11.875rem); */
    /* height: clamp(6.875rem, -1.344rem + 36.53vw, 11.875rem); */
    /* height: clamp(8.563rem, 3.117rem + 24.201vw, 11.875rem); */
    /* min = 137px, max = 220px 
     Viewport Range: min = 360px, max=579 (точка перелома)
    */
    height: clamp(8.563rem, 0.035rem + 37.9vw, 13.75rem);
  }
}
.modal__img.lawyer__img {
  margin-top: -7px;
}

.modal__content {
  padding: 20px 40px 30px;
}
@media (max-width: 796px) {
  .modal__content {
    padding: 20px;
  }
}

.modal__title {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
}
@media (max-width: 796px) {
  .modal__title {
    font-size: 22px;
  }
}

.modal__text {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.3;
}
.modal__text a {
  text-decoration: underline;
}
.modal__text p + p {
  margin-top: 15px;
}
.modal__text * + ul {
  margin-top: 15px;
}
@media (max-width: 1250px) {
  .modal__text * + ul {
    margin-top: 10px;
  }
}
.modal__text ul li {
  position: relative;
  padding-left: 20px;
}
.modal__text ul li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  display: block;
  width: 4px;
  height: 4px;
  background-color: #0F7DFF;
  border-radius: 50%;
}
.modal__text ul li + li {
  margin-top: 10px;
}
@media (max-width: 796px) {
  .modal__text {
    line-height: 1.5;
  }
}

.modal__tags {
  margin-bottom: 20px;
}

.modal__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 796px) {
  .modal__links {
    flex-direction: column;
    align-items: stretch;
  }
}

.fancybox__content {
  padding: 0 !important;
}/*# sourceMappingURL=main.css.map */