/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

.header__wrapper {
  background-image: linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)), url(../img/header-bg.jpg);
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
}

.header__inner {
  max-width: 60%;
  margin: 0 auto;
  border-left: 5px solid #ffc815;
}

.header__item {
  margin-left: 20px;
}

.header__suptitle {
  color: #ffc815;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
}

.header__title {
  font-size: 60px;
}

.header__title span {
  text-transform: uppercase;
}

.header__subtitle {
  position: relative;
  margin-top: 15px;
  display: flex;
  align-items: center;
}

.header__subtitle-text {
  font-size: 36px;
  margin-right: 20px;
}

.header__subtitle-wrapper {
  position: relative;
}

.header__subtitle-btn {
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 6px;
  border: 2px solid #ffc815;
  font-size: 24px;
  color: #ffc815;
  transition: 0.5s;
  overflow: hidden;
}

.header__subtitle-btn:hover {
  color: #fff;
}

.header__subtitle-btn:hover .header__subtitle-btn--top {
  top: 0;
  left: 0;
}

.header__subtitle-btn:hover .header__subtitle-btn--right {
  bottom: 0;
  left: 0;
}

.header__subtitle-btn:hover .header__subtitle-btn--bottom {
  top: 0;
  right: 0;
}

.header__subtitle-btn:hover .header__subtitle-btn--left {
  bottom: 0;
  right: 0;
}

.header__subtitle-btn span {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 200, 21, 0.5);
  transition: 0.5s;
  z-index: -1;
}

.header__subtitle-btn--top {
  top: -100%;
  left: -100%;
}

.header__subtitle-btn--right {
  bottom: -100%;
  left: -100%;
}

.header__subtitle-btn--bottom {
  top: -100%;
  right: -100%;
}

.header__subtitle-btn--left {
  bottom: -100%;
  right: -100%;
}

@media (max-width: 1080px) {
  .header__inner {
    max-width: 80%;
  }
}

@media (max-width: 990px) {
  .header__suptitle {
    font-size: 32px;
  }
  .header__title {
    font-size: 56px;
  }
  .header__subtitle-text {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .header__inner {
    max-width: 100%;
  }
  .header__suptitle {
    font-size: 26px;
  }
  .header__title {
    font-size: 48px;
  }
  .header__subtitle-text {
    font-size: 26px;
  }
  .header__subtitle-btn {
    padding: 10px 15px;
    letter-spacing: 6px;
    font-size: 18px;
  }
}

@media (max-width: 544px) {
  .header__suptitle {
    font-size: 22px;
  }
  .header__title {
    font-size: 42px;
  }
  .header__subtitle-text {
    font-size: 22px;
  }
}

@media (max-width: 479px) {
  .header__inner {
    text-align: center;
  }
  .header__title {
    font-size: 32px;
  }
  .header__subtitle {
    flex-direction: column;
  }
  .header__subtitle-text {
    margin-right: 0;
  }
  .header__subtitle-wrapper {
    width: 100%;
  }
  .header__subtitle-btn {
    text-align: center;
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    transform: translateY(0%);
  }
}

.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: 80px;
  background-color: #2a2b2d;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.nav.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

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

.nav__menu {
  overflow: auto;
  display: flex;
  text-align: center;
  list-style: none;
}

.nav__menu.active {
  display: block;
}

.nav__menu-list {
  padding: 30px 0px;
}

.nav__menu-link {
  position: relative;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  transition: all 300ms ease;
}

.nav__menu-link:before {
  position: absolute;
  content: '';
  width: 0%;
  height: 100%;
  background: #ccb65e;
  top: 0;
  left: 50%;
  z-index: -1;
  transition: all 0ms ease;
}

.nav__menu-link:hover:before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  background: #ccb65e;
  top: 0;
  left: 0%;
  z-index: -1;
  transition: all 300ms ease;
}

.nav__burger {
  display: none;
  position: relative;
  width: 40px;
  height: 30px;
}

.nav__burger:hover:before, .nav__burger:hover:after {
  transition: .2s linear;
  background-color: #ffc815;
}

.nav__burger:hover span {
  transition: .2s linear;
  background-color: #ffc815;
}

.nav__burger:before, .nav__burger:after {
  content: '';
  background-color: #ccc;
  position: absolute;
  right: 0px;
  z-index: 10;
  width: 100%;
  height: 4px;
  transition: .2s linear;
}

.nav__burger:before {
  top: 0;
}

.nav__burger:after {
  bottom: 0;
}

.nav__burger span {
  background-color: #ccc;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0px;
  width: 100%;
  height: 4px;
  transition: .2s linear;
}

.nav__burger.active span {
  transform: translateX(-30px);
  opacity: 0;
}

.nav__burger.active:before {
  top: 13px;
  transform: rotate(45deg);
}

.nav__burger.active:after {
  bottom: 13px;
  transform: rotate(-45deg);
}

.nav-fixed .logo {
  transition: .3s linear;
  opacity: 1;
}

@media (max-width: 990px) {
  .nav__menu {
    display: none;
    padding-top: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: #2a2b2d;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }
  .nav__menu-list {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .nav__burger {
    display: block;
  }
}

@media (max-width: 767px) {
  .nav {
    height: 60px;
  }
  .nav__menu {
    padding-top: 60px;
  }
}

@media (max-width: 479px) {
  .nav {
    height: 45px;
  }
  .nav__menu {
    padding-top: 45px;
  }
  .nav__burger {
    width: 30px;
    height: 20px;
  }
  .nav__burger:before, .nav__burger:after {
    height: 2px;
  }
  .nav__burger span {
    height: 2px;
  }
  .nav__burger.active:before {
    top: 9px;
  }
  .nav__burger.active:after {
    bottom: 9px;
  }
}

.about__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.about__img {
  flex: 0 0 300px;
}

.about__img img {
  display: block;
  max-width: 100%;
  max-height: 400px;
  margin: 0 auto;
  border-radius: 10px;
}

.about__content {
  flex: 1 1 70%;
}

.about__content-name {
  font-size: 30px;
}

.about__content-text {
  line-height: 30px;
  font-size: 18px;
}

.about__content-text strong {
  font-size: 24px;
}

.about__content-text span {
  color: #000;
  border-bottom: 2px solid #ffc815;
  font-weight: 700;
}

.about__content-menu {
  padding-left: 20px;
  font-size: 16px;
}

.about__content-list {
  margin-bottom: 7px;
}

.about__content-description {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 990px) {
  .about__img {
    order: -1;
  }
}

.skills {
  border-top: 2px solid #ddd;
}

.skills__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.skills__card {
  margin: 0 15px 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  height: 330px;
  border-right: 10px;
  background: linear-gradient(0deg, #22252c, #313741, #22252c);
  cursor: pointer;
  text-align: center;
  overflow: hidden;
  transition: .5s ease;
}

.skills__card .skills-percent__svg circle:nth-child(2) {
  stroke-dashoffset: 1;
  stroke: #63e2ff;
}

.skills__card:nth-child(1) .skills-percent__svg circle:nth-child(2) {
  stroke: #FF6900;
}

.skills__card:nth-child(2) .skills-percent__svg circle:nth-child(2) {
  stroke: #0693E3;
}

.skills__card:nth-child(3) .skills-percent__svg circle:nth-child(2) {
  stroke: #d9e021;
}

.skills__card:nth-child(4) .skills-percent__svg circle:nth-child(2) {
  stroke: #63e2ff;
}

.skills__card:nth-child(5) .skills-percent__svg circle:nth-child(2) {
  stroke: #FF3300;
}

.skills__card:nth-child(6) .skills-percent__svg circle:nth-child(2) {
  stroke: #990000;
}

.skills__card:nth-child(7) .skills-percent__svg circle:nth-child(2) {
  stroke: #03d8ac;
}

.skills__card:nth-child(8) .skills-percent__svg circle:nth-child(2) {
  stroke: #ed1e91;
}

.skills__card:hover {
  transform: translateY(-15px);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.5);
}

.skills__card:hover .skills-number__title {
  color: #fff;
}

.skills__card:before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  height: 100%;
  width: 100%;
  pointer-events: none;
  background-color: rgba(255, 255, 255, 0.3);
}

.skills-percent {
  position: relative;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: #222;
  box-shadow: inset 0px 0px 50px #000;
}

.skills-percent__svg {
  position: relative;
  width: 150px;
  height: 150px;
  transform: rotate(-85deg);
}

.skills-percent__svg circle {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #191919;
  stroke-width: 10;
  stroke-linecap: round;
  transform: translate(5px, 5px);
}

.skills-percent__svg circle:nth-child(2) {
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
}

.skills-number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.skills-number__title {
  color: #777;
  font-size: 24px;
  transition: .5s ease;
}

.works {
  border-top: 2px solid #ddd;
  background-color: #fff;
}

.works__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.works__item {
  border: 3px dashed #000;
  overflow: hidden;
  position: relative;
  display: block;
  flex-basis: 360px;
  max-height: 250px;
  transition: 0.3s ease all;
}

.works__item:hover {
  cursor: pointer;
  opacity: 0.7;
}

.works__item:hover .works__item-img {
  transform: scale(1.3);
}

.works__item-img {
  display: block;
  max-width: 100%;
  height: 100%;
  transition: 0.3s ease all;
}

.works__text {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
}

.works__link:hover {
  opacity: 0.7;
}

.contacts {
  border-top: 2px solid #ddd;
}

.contacts__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px 50px;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 252px;
}

.contacts__item a {
  margin-top: 20px;
  text-decoration: none;
  color: #2c3e50;
}

.contacts__item-title {
  margin-top: 20px;
  font-size: 28px;
}

.contacts__item-img {
  width: 100px;
  margin: 0 auto;
  border-radius: 50%;
  background: #2c3e50;
}

.contacts__item-img img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.contacts__link:hover {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #000;
}

body.lock {
  overflow: hidden;
}

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

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

ul, ol {
  padding: 0;
  margin: 0;
}

button {
  font-family: 'Roboto Slab', serif;
  cursor: pointer;
  outline: none;
  background-color: transparent;
  border: none;
}

.logo {
  position: relative;
  z-index: 20;
  opacity: 0;
  font-size: 30px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 3px -3px 9px rgba(0, 0, 0, 0.5);
}

.logo span {
  color: #19bd9b;
}

@media (max-width: 479px) {
  .logo {
    font-size: 26px;
  }
}

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

.section {
  padding: 100px 0px 70px;
}

.title {
  text-align: center;
  position: relative;
  margin-bottom: 80px;
  font-size: 48px;
  color: #2a2b2d;
}

.title span {
  color: #19bd9b;
}

@media (max-width: 767px) {
  .title {
    margin-bottom: 60px;
    font-size: 42px;
  }
  .section {
    padding: 60px 0px 50px;
  }
}

@media (max-width: 479px) {
  .title {
    margin-bottom: 40px;
    font-size: 36px;
  }
}
