@charset "UTF-8";
/*! normalize.css v8.0.0 | 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;
}

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

  font-size: 2em;
}

/* 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 {
  /* 1 */
  font-size: 1em;
  font-family: monospace, monospace;
  /* 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] {
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;

  border-bottom: none;
  /* 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 {
  /* 1 */
  font-size: 1em;
  font-family: monospace, monospace;
  /* 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 {
  position: relative;

  font-size: 75%;
  line-height: 0;
  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 {
  /* 1 */
  margin: 0;
  /* 1 */

  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  font-family: inherit;
  /* 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 {
  padding: 0; 

  border-style: none;
}

/**
 * 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 {
  /* 2 */
  display: table;
  box-sizing: border-box;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 1 */

  color: inherit;
  /* 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"] {
  /* 1 */
  outline-offset: -2px;

  -webkit-appearance: textfield;
  /* 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 {
  /* 1 */
  font: inherit;

  -webkit-appearance: button;
  /* 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;
}

body {
  font-size: 16px;
  line-height: 24px;
  font-family: "Open Sans", "Arial", sans-serif;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Чтобы картинки не вылазили за родительский блок */
img {
  max-width: 100%;
  height: auto;
}

/* Скрытие элементов с сохранением доступности */
.visually-hidden {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden;

  border: 0 !important;

  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.header {
  height: 200px;

  background: url(../../img/bg.jpg) no-repeat;
  background-position: top center;
  background-size: cover;
}

.header__heading {
  margin: 0;
  padding-top: 80px;

  font-weight: 300;
  font-size: 40px;
  line-height: 44px;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 1200px) {
  .header {
    height: 150px;
    margin-bottom: 30px;
  }
  .header__heading {
    padding-top: 55px;

    font-size: 30px;
    line-height: 42px;
  }
}

@media (max-width: 768px) {
  .header__heading {
    padding: 55px 30px 0;

    font-size: 28px;
    line-height: 34px;
  }
}

.hello {
  display: flex;
  justify-content: space-between;
  width: 960px;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 0 110px;
}
@media (max-width: 1200px) {
  .hello {
    width: 640px;
    padding: 0 54px;
  }
}
@media (max-width: 768px) {
  .hello {
    width: 320px;
    padding: 0;
  }
}

.hello__photo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40%;
}

.hello__img {
  width: 298px;
  height: 298px;

  border: 4px solid #3333ff;
  border-radius: 50%;
}

.hello__information {
  width: 55%;
  margin-right: 30px;
}

.hello__title {
  margin: 0 0 15px;

  font-weight: 300;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}

.hello__list {
  margin: 0;
  padding: 0;

  list-style: none;
}
.hello__list--marginb {
  margin-bottom: 40px;
}

.hello__item {
  position: relative;

  font-weight: 400;
}

.hello__link {
  position: absolute;
  left: 120px;

  padding-right: 0;

  color: black;
  text-decoration: none;
}
.hello__link:hover {
  color: #3333ff;
}

@media (max-width: 1200px) {
  .hello {
    flex-wrap: wrap;
  }
  .hello__photo {
    width: 100%;
    margin-bottom: 20px;
  }
  .hello__img {
    width: 200px;
    height: 200px;
  }
  .hello__information {
    width: 100%;
    margin-right: 0;
  }
  .hello__title {
    margin: 0 auto 15px;
  }
}

@media (max-width: 768px) {
  .hello__title {
    font-size: 18px;
    line-height: 24px;
  }
  .hello__link {
    left: 115px;
  }
}

.skills {
  width: 960px;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 0 110px;
}
@media (max-width: 1200px) {
  .skills {
    width: 640px;
    padding: 0 54px;
  }
}
@media (max-width: 768px) {
  .skills {
    width: 320px;
    padding: 0;
  }
}

.skills__heading {
  position: relative;

  margin: 0 0 50px;

  font-weight: 300;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  text-transform: uppercase;
}
.skills__heading::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;

  width: 110px;
  height: 20px;
  margin-left: -55px;

  background-image: url(../../img/zigzag.svg);
  background-repeat: no-repeat;
  transform: rotate(-180deg);
}

.skills__list {
  margin: 0;
  padding: 0;

  list-style: none;
}

.skills__subtitle {
  font-weight: 300;
  font-size: 24px;
  line-height: 32px;
  text-align: center;
  text-transform: uppercase;
}

.skills__item {
  position: relative;

  margin: 0;
  padding: 0 0 0 20px;
}
.skills__item::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;

  width: 6px;
  height: 6px;

  background-color: #3333ff;
  border-radius: 50%;
}
.skills__item--separator {
  margin-bottom: 30px;
}

.skills__submenu {
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .skills__heading {
    margin-bottom: 40px;

    font-size: 18px;
    line-height: 24px;
  }
  .skills__heading::after {
    top: 30px;
    left: 50%;

    width: 90px;
    height: 14px;
    margin-left: -45px;
  }
}

.projects {
  width: 960px;
  margin: 0 auto;
  margin-bottom: 50px;
  padding: 0 110px;
}
@media (max-width: 1200px) {
  .projects {
    width: 640px;
    padding: 0 54px;
  }
}
@media (max-width: 768px) {
  .projects {
    width: 320px;
    padding: 0;
  }
}

.projects__heading {
  position: relative; 

  margin: 0 0 50px;

  font-weight: 300;
  font-size: 30px;
  line-height: 42px;
  text-align: center;
  text-transform: uppercase;
}
.projects__heading::after {
  content: "";
  position: absolute;
  top: 40px;
  left: 50%;

  width: 110px;
  height: 20px;
  margin-left: -55px;

  background-image: url(../../img/zigzag.svg);
  background-repeat: no-repeat;
  transform: rotate(-180deg);
}

.projects__wrapper {
  display: flex;
  flex-wrap: wrap; 
  justify-content: space-between;
}

@media (max-width: 768px) {
  .projects__heading {
    margin-bottom: 40px;

    font-size: 18px;
    line-height: 24px;
  }
  .projects__heading::after {
    top: 30px;
    left: 50%;

    width: 90px;
    height: 14px;
    margin-left: -45px;
  }
}

.project {
  width: 45%;
  margin-bottom: 30px;
  padding: 20px 20px 0;

  border: 1px solid lightgray;
}

.project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.project__title {
  margin: 0 0 15px;

  font-weight: 300;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
}

.project__img {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.project__icon {
  display: block;
  margin: 0 auto 10px;
}

.project__icons {
  margin-bottom: 5px;

  text-align: center;
}

.project__page-list {
  display: flex;
  justify-content: space-around;
  margin: 0 0 30px;
  padding: 0;

  list-style: none;
}

.project__page-item {
  margin: 0;
  padding: 0;
}

.project__page-link {
  color: black;
}
.project__page-link:hover {
  color: #3333ff;
}

.project__list {
  margin: 0 0 30px;
  padding: 0;

  list-style: none;
}

.project__item {
  position: relative;

  margin: 0;
  padding: 0 0 0 22px;
}
.project__item::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;

  width: 14px;
  height: 1px;

  background-color: #000000;
}

@media (max-width: 1200px) {
  .project {
    width: 100%;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .project__content {
    min-height: 430px;
  }
  .project__title {
    font-size: 18px;
    line-height: 24px;
  }
}

.btn {
  display: block;
  box-sizing: border-box;
  width: 80%;
  margin: 0 auto 15px;
  padding: 12px 40px;

  font-weight: 300;
  font-size: 16px;
  line-height: 22px;
  text-align: center;
  color: white;
  text-transform: uppercase;
  text-decoration: none;

  background-color: #3333ff;
  border: 2px solid #3333ff;
  border-radius: 5px;
  cursor: pointer;
}
.btn--last {
  margin-bottom: 25px;
}
.btn:hover {
  box-shadow: 10px 10px 20px rgba(51, 51, 255, 0.2);
}
.btn:active {
  box-shadow: 10px 10px 20px rgba(51, 51, 255, 0.2);
}

@media (max-width: 768px) {
  .btn {
    width: 100%;

    font-size: 14px;
    line-height: 22px;
  }
}

.footer {
  height: 80px;

  background-color: #ebebeb;
}

.footer__copyright {
  font-size: 14px;
  line-height: 80px;
  text-align: center;
}
