* {
  box-sizing: border-box;
}

body {
  font-family: "TT Hoves";
  color: #333;
  background: #fff;
}

.container {
  max-width: 1170px;
  margin: auto;
}

section, footer {
  margin-top: 120px;
}

h1 {
  color: #BDBDBD;
  font-size: 64px;
  font-weight: 300;
  line-height: 64px;
}

button {
  width: 222px;
  height: 71px;
  background: #FFF;
  border: none;
  cursor: pointer;
}

.button {
  position: relative;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

span {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.icon {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translate(-100%, -50%);
  transition: left 0.3s ease;
}

.button:hover .icon {
  left: 120%;
}

.button:hover {
  background-color: rgba(196, 196, 196, 0.9058823529);
  color: #fff;
}

/*! 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, h2, h3, h4, h5, h6, p, ul {
  margin: 0;
}

ul {
  padding: 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;
}

.header {
  padding: 32px 0;
}
.header > .container {
  position: relative;
  display: flex;
  align-items: center;
}
.header__image {
  margin-right: 330px;
}
.header-nav__list {
  display: flex;
  gap: 60px;
  list-style: none;
}
.header-nav__item {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  cursor: pointer;
}
.header-nav__link {
  text-decoration: none;
  color: #333;
}
.header-nav__link::before, .header-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #333;
  transition: all 0.3s;
}
.header-nav__link::before {
  bottom: -5px;
}
.header-nav__link::after {
  top: -5px;
}
.header-nav__link:hover::before, .header-nav__link:hover::after {
  width: 100%;
}
.header-nav__burger {
  display: none;
  height: 20px;
  position: relative;
  width: 30px;
}
.header-nav__line {
  display: flex;
  width: 30px;
  height: 1px;
  background: #333;
}
.header-nav__line--top {
  position: absolute;
  left: 0;
  top: 0;
}
.header-nav__line--mid {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
}
.header-nav__line--bottom {
  position: absolute;
  left: 0;
  bottom: 0;
}

.hidden {
  display: none;
}

.menu__item {
  text-align: center;
}
.menu__item:not(:last-child) {
  margin-bottom: 32px;
}
.menu__link {
  font-size: 20px;
  line-height: 20px;
}

.main > .container {
  display: flex;
}
.main-info {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-top: 336px;
  margin-right: 123px;
}
.main-info__title:last-child {
  color: #333;
  font-weight: 700;
}
.main-wrapper {
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.main-slider__button {
  width: auto;
  padding: 18px 22.5px;
  border: 1px solid #F2F2F2;
  background: #FFF;
  cursor: pointer;
}
.main-slider__button:hover {
  background: #F9F9F9;
}
.main-slider__button:first-child {
  margin-right: 23px;
}
.main-slide {
  display: flex;
  gap: 32px;
}
.main-slide__number {
  color: #BDBDBD;
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
}
.main-slide__number.active {
  color: #333;
}
.main-image {
  position: relative;
  display: inline-block;
}
.main-image__photo {
  display: none;
  width: 779px;
  height: 839px;
  overflow: hidden;
}
.main-image__photo.visible {
  display: block;
}
.main-image__button {
  position: absolute;
  left: 0;
  bottom: 0;
}

.company > .container {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 70px 30px 100px;
  background: #FBFBFB;
}
.company-images {
  display: flex;
  gap: 30px;
}
.company-image {
  display: flex;
  flex-direction: column;
}
.company-image__photo--bottom {
  position: absolute;
  bottom: -30px;
}
.company-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.company-info__describe {
  font-size: 16px;
  font-weight: 300;
  line-height: 25px;
}

.tasks {
  margin-top: 150px;
}

.task {
  display: flex;
  gap: 187px;
  margin-top: 62px;
}
.task-info {
  display: flex;
  align-items: center;
  gap: 30px;
}
.task-info__text {
  min-width: 280px;
  font-size: 22px;
  font-weight: 400;
  line-height: 36px;
}

.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 60px;
}
.projects-grid__image {
  display: block;
}
.projects-grid__button {
  background: #333;
  color: #fff;
  margin-left: auto;
  justify-content: flex-end;
}

.project-item {
  position: relative;
  display: inline-block;
}
.project-item:hover .project-info {
  display: block;
}

.project-info {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.8;
  background: #333;
  display: none;
}
.project-info__text {
  color: #FFF;
  font-style: normal;
  font-weight: 700;
  margin-bottom: 14px;
}
.project-info__button {
  height: auto;
  width: auto;
  background: inherit;
}
.project-info__button--text {
  color: #FFF;
  font-family: "Gothic A1", sans-serif;
  margin-right: 12px;
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contacts-form__wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 369px;
}
.contacts-info {
  display: flex;
  margin-top: 22px;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
}
.contacts__input {
  display: flex;
  gap: 30px;
  width: 100%;
}
.contacts__message {
  width: 100%;
  resize: none;
}
.contacts__input, .contacts__message {
  background: #F3F3F3;
  color: #8D8D8D;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.56px;
  padding: 14px 21px;
  border: none;
}
.contacts__describe {
  padding-left: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0.42px;
}
.contacts__button {
  background: #333;
  color: #fff;
}

.footer {
  background: #2C2C2C;
}
.footer > .container {
  display: flex;
  align-items: start;
  padding: 58px 0;
}
.footer-image {
  margin-right: 100px;
}
.footer-info {
  margin-right: 157px;
}
.footer__title {
  color: #FFF;
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 25px;
}
.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}
.footer-nav__item {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.42px;
}
.footer-nav__link {
  text-decoration: none;
  color: #fff;
}
.footer-contacts {
  margin-right: 70px;
}
.footer-contacts__list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  list-style: none;
}
.footer-contacts__link {
  display: flex;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.footer-contacts__link--map {
  align-items: flex-start;
  gap: 20px;
}
.footer-contacts__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.42px;
}
.footer-contacts__text--map {
  width: 314px;
  height: 72px;
}
.footer-social-network__list {
  display: flex;
  align-items: center;
  gap: 40px;
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 920px;
  }
  .header__image {
    margin-right: 250px;
  }
  .header-nav__list {
    gap: 30px;
  }
  .main > .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
  .main-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    margin-right: 0;
  }
  .main-wrapper {
    gap: 30px;
  }
  .company > .container {
    flex-direction: column-reverse;
  }
  .company-images {
    justify-content: space-evenly;
    gap: 0;
  }
  .company-image {
    gap: 30px;
  }
  .company-image__photo--bottom {
    position: static;
  }
  .tasks {
    margin-top: 120px;
  }
  .task {
    justify-content: space-between;
    gap: 0;
  }
  .projects-grid {
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
  }
  .project-image {
    width: 300px;
    height: 255px;
  }
  .project-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .contacts-image {
    height: 369px;
  }
  .contacts-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .footer > .container {
    justify-content: space-between;
  }
  .footer-image, .footer-info, .footer-contacts {
    margin-right: 0;
  }
  .footer-contacts__text--map {
    width: auto;
  }
}
@media screen and (max-width: 992px) {
  .container {
    max-width: 724px;
  }
  section, footer {
    margin-top: 90px;
  }
  .main > .container {
    width: 90%;
  }
  .main-image__photo {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .header > .container {
    justify-content: space-between;
  }
  .header__image {
    margin-right: 0;
  }
  .company > .container {
    padding: 30px;
  }
  .tasks {
    margin-top: 90px;
  }
  .task {
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
  }
  .task-info__number--first {
    margin-right: 37px;
  }
  .projects-grid {
    justify-content: space-between;
    margin-top: 30px;
  }
  .project-image {
    width: 350px;
  }
  .contacts-form__wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    gap: 10px;
  }
  .contacts-info {
    flex-direction: column-reverse;
  }
  .contacts-group {
    flex-basis: 49%;
  }
  .footer > .container {
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer-social-network {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin: auto;
  }
}
@media screen and (max-width: 768px) {
  .container {
    max-width: 560px;
  }
  h1 {
    font-size: 48px;
  }
  .header-nav__list {
    display: none;
  }
  .header-nav__menu {
    position: absolute;
    top: 62px;
    right: 0;
    left: 0;
    background: #FBFBFB;
    z-index: 999;
    padding: 32px 0px;
    list-style: none;
  }
  .header-nav__burger {
    display: block;
  }
  .main-info__title {
    font-size: 48px;
  }
  .company-image {
    gap: 10px;
  }
  .company-image__photo {
    width: 230px;
  }
  .task {
    margin-top: 20px;
  }
  .task-info__text {
    font-size: 18px;
  }
  .projects-grid {
    margin-top: 20px;
  }
  .project-image {
    width: 270px;
  }
  .footer > .container {
    flex-direction: column;
  }
  .footer-social-network {
    flex-direction: column;
    gap: 0;
    margin: 0;
  }
  .footer-contacts__text--map {
    height: auto;
  }
}
@media screen and (max-width: 576px) {
  .container {
    max-width: 90%;
  }
  section, footer {
    margin-top: 60px;
  }
  h1 {
    font-size: 48px;
    line-height: 1;
  }
  button {
    width: 200px;
    height: 50px;
  }
  .main-wrapper {
    gap: 20px;
  }
  .main-slider__button {
    height: auto;
    padding: 16px 20px;
  }
  .main-info {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .main-info__name {
    display: flex;
    gap: 20px;
  }
  .main-info__title {
    font-size: 32px;
  }
  .company > .container {
    padding: 15px;
  }
  .company-images {
    flex-direction: column;
    gap: 10px;
  }
  .company-image__photo {
    width: auto;
    height: 250px;
    -o-object-fit: cover;
       object-fit: cover;
  }
  .company-info {
    gap: 10px;
  }
  .tasks {
    margin-top: 60px;
  }
  .task-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .task-info__number {
    width: 70px;
  }
  .task-info__number--first {
    width: 50px;
    margin-right: 20px;
  }
  .task-info__text {
    font-size: 16px;
    line-height: 24px;
  }
  .task-info__describe {
    font-size: 14px;
  }
  .projects-grid {
    justify-content: center;
    gap: 10px;
  }
  .projects-grid__button {
    margin: 0;
  }
  .project-image {
    width: 300px;
  }
  .contacts-form {
    gap: 10px;
  }
  .contacts-form__wrapper {
    flex-direction: column;
  }
  .footer > .container {
    gap: 30px;
  }
  .footer__title {
    margin-bottom: 15px;
  }
  .footer-nav__list {
    gap: 10px;
  }
  .footer-contacts__list {
    gap: 10px;
  }
  .footer-social-network__list {
    gap: 20px;
  }
}
@media screen and (max-width: 320px) {
  .container {
    max-width: 90%;
  }
  section, footer {
    margin-top: 30px;
  }
  h1 {
    font-size: 28px;
  }
  button {
    width: 180px;
  }
  .menu__item:not(:last-child) {
    margin-bottom: 20px;
  }
  .menu__link {
    font-size: 16px;
    line-height: 16px;
  }
  .main-wrapper {
    gap: 20px;
  }
  .main-slider__button {
    padding: 12px 16px;
  }
  .main-slide__number {
    font-size: 20px;
  }
  .main-slide__line {
    width: 24px;
    height: 24px;
  }
  .main-info__name {
    gap: 10px;
  }
  .tasks {
    margin-top: 30px;
  }
  .project-image {
    width: 240px;
  }
  .contacts-image {
    height: 250px;
  }
}/*# sourceMappingURL=style.css.map */