@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700,900&display=swap");
/*! 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.
 */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:700|Raleway:400,500|Roboto:700,900&display=swap");
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 {
  -webkit-box-sizing: content-box;
  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 */
  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 {
  -webkit-box-sizing: border-box;
  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] {
  -webkit-box-sizing: border-box;
  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;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  color: #fff;
}

html {
  height: 100%;
  font-size: 10px;
  scroll-behavior: smooth;
}

a,
button {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

body {
  min-height: 100%;
  font-size: 0;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 10px;
}

.section {
  position: relative;
  padding: 50px 0;
}
.section--hero {
  height: 100vh;
  overflow: hidden;
  background-color: #3c4955;
  background-repeat: no-repeat;
  background-position: center;
}
.section__hero {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100vh;
}
.section__about {
  text-align: left;
  max-width: 400px;
  position: relative;
  left: 50%;
}
.section__contacts {
  text-align: center;
}
.section__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.section__content--hero {
  margin: auto;
  padding: 0 50px 50px 100px;
  text-align: center;
}
.section__content--about {
  max-height: 25rem;
  overflow: hidden;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.6rem;
  font-style: inherit;
  color: #fff;
}
.section__content--about p {
  margin: 0;
}
.section__title {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  line-height: inherit;
  font-size: 4.6rem;
  font-style: inherit;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  max-height: 10rem;
  overflow: hidden;
  margin-bottom: 15px;
  min-width: 52.6rem;
}
.section__title--about {
  text-transform: capitalize;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 2;
  font-size: 3rem;
  font-style: inherit;
  color: #fff;
  max-height: 5rem;
  margin-bottom: 10px;
}
.section__title--contacts {
  font-size: 2.6rem;
  color: #48bf72;
  margin-bottom: 5rem;
  max-height: 3rem;
  overflow: hidden;
  min-width: 700px;
}
.section__subtitle {
  text-transform: uppercase;
  font-family: "Lato", sans-serif;
  font-weight: 300;
  line-height: inherit;
  font-size: 3rem;
  font-style: inherit;
  color: #fff;
  padding: 0 20px;
  max-height: 7rem;
  overflow: hidden;
}
.section__subtitle--about {
  text-transform: none;
  padding: 0;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  font-size: 2.2rem;
  font-style: inherit;
  color: #fff;
  margin: 0 0 40px 0;
  max-height: 2.5rem;
}
.section--portfolio {
  padding-bottom: 80px;
}
.section--about {
  padding: 80px 0;
  background-color: #3c4955;
  background-repeat: no-repeat;
  background-position: center;
}
.section--footer {
  background: #3c4955;
}

.btn {
  text-transform: uppercase;
  display: inline-block;
  margin-top: 40px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  line-height: inherit;
  font-size: 1.4rem;
  font-style: inherit;
  color: #48bf72;
  padding: 10px 25px 10px 20px;
  border: 2px solid #48bf72;
  border-radius: 3px;
}
.btn--hero {
  border-color: #48bf72;
  color: #48bf72;
}
.btn--hero:hover, .btn--hero:focus, .btn--hero:active {
  color: #fff;
  border-color: #fff;
}
.btn--about {
  border-color: #3c4955;
  color: #3c4955;
}
.btn--about:hover, .btn--about:focus, .btn--about:active {
  color: #fff;
  border-color: #fff;
}
.btn--contacts {
  margin-top: 30px;
  font-size: 1.4rem;
  display: block;
  padding: 15px auto;
  text-align: center;
  letter-spacing: 2px;
  border-color: #48bf72;
  background-color: #48bf72;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
}
.btn--contacts:hover, .btn--contacts:focus, .btn--contacts:active {
  color: #48bf72;
  background-color: #fff;
}

.menu {
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.menu__item {
  margin: 0 0 0 50px;
}
.menu__item a {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  line-height: inherit;
  font-size: 1.6rem;
  font-style: inherit;
  color: #fff;
  margin-left: 40px;
}
.menu__item a:hover, .menu__item a:active, .menu__item a:focus {
  color: #48bf72;
}
.menu__item + .menu__item:before {
  content: "";
  position: absolute;
  border-left: 1px solid #fff;
  height: 20px;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  -o-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateZ(15deg);
  -ms-transform: rotate(15deg);
  -o-transform: rotateZ(15deg);
  transform: rotateZ(15deg);
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 50%;
  -webkit-transform: translate(-50%);
  -ms-transform: translate(-50%);
  -o-transform: translate(-50%);
  transform: translate(-50%);
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(7, 100px);
  gap: 40px;
  min-width: 76rem;
}
.grid__item--small-w {
  grid-column: span 2;
}
.grid__item--big-w {
  grid-column: span 3;
}
.grid__item--small-h {
  grid-row: span 3;
}
.grid__item--big-h {
  grid-row: span 4;
}

.link {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  display: block;
  position: relative;
}
.link__img {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  opacity: 1;
}
.link__img--wide {
  height: 100%;
  width: auto;
}
.link__img--tall {
  width: 100%;
  height: auto;
}
.link__content {
  outline: 1px solid red;
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #48bf72;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  line-height: inherit;
  font-size: 1.6rem;
  font-style: inherit;
  color: #fff;
  color: transparent;
  background-color: transparent;
  padding: 25px;
  text-align: center;
}
.link__content h3 {
  font-size: 3rem;
  margin: auto;
  margin-bottom: 10px;
  max-height: 7rem;
  overflow: hidden;
}
.link__content p {
  font-weight: 400;
  margin: auto;
  margin-top: 0;
  max-height: 16.2rem;
  overflow: hidden;
}
.link {
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.link:hover .link__content, .link:focus .link__content, .link:active .link__content {
  background-color: rgba(72, 191, 114, 0.5490196078);
  color: #fff;
}
.link:hover .link__img, .link:focus .link__img, .link:active .link__img {
  opacity: 0.1;
}

.bar {
  padding: 0;
  margin-bottom: 50px;
  list-style: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-width: 76rem;
}
.bar__item {
  margin: 0 15px;
}
.bar__link {
  white-space: nowrap;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  line-height: 2.5;
  font-size: 1.6rem;
  font-style: inherit;
  color: #3c4955;
  padding: 10px 20px 10px 15px;
  background-color: #eaeaea;
  border-radius: 3px;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.bar__link:hover, .bar__link:focus, .bar__link:active {
  color: #fff;
  background-color: #48bf72;
}
.bar__item:nth-child(1) .bar__link {
  color: #fff;
  background-color: #48bf72;
}

.symbol {
  fill: rgb(255, 255, 255);
  position: relative;
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

.form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 70rem;
  margin: 0 auto;
}
.form input {
  width: 29rem;
  overflow: hidden;
  padding: 0 25px;
}
.form input::-webkit-input-placeholder {
  color: #a6a5a5;
}
.form input::-moz-placeholder {
  color: #a6a5a5;
}
.form input:-ms-input-placeholder {
  color: #a6a5a5;
}
.form input::-ms-input-placeholder {
  color: #a6a5a5;
}
.form input::placeholder {
  color: #a6a5a5;
}
.form textarea {
  resize: none;
  overflow: hidden;
  padding: 0 25px;
}
.form__input {
  font-weight: 700;
  line-height: 3.125;
  font-size: 1.6rem;
  color: #a6a5a5;
  border: 2px solid #3c4955;
  border-radius: 0 3px 3px 0;
}
.form__input--message {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.form__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
}
.form__container:nth-child(3) {
  margin-top: 3rem;
  width: 100%;
}
.form__symbol {
  border: 2px solid #3c4955;
  border-radius: 3px 0 0 3px;
  height: 100%;
  background-color: #3c4955;
  width: 5rem;
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  position: relative;
}
.form__symbol:before {
  content: "";
  position: absolute;
  left: 100%;
  top: 25px;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  -o-transform: translate(0, -50%);
  transform: translate(0, -50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #3c4955;
}

.filled .form__input:valid + .form__symbol .symbol {
  fill: #48bf72;
}
.filled .form__input:invalid + .form__symbol .symbol {
  fill: red;
}

.copyright {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.6rem;
  font-style: inherit;
  color: #fff;
  max-height: 2.5rem;
  overflow: hidden;
  min-width: 36rem;
}

.socials {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 2.5;
  font-size: 2rem;
  font-style: inherit;
  color: #fff;
  min-width: 40rem;
}
.socials__social {
  display: inline-block;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  margin-left: 4rem;
  text-align: center;
  cursor: pointer;
}
.socials__social:nth-child(1) {
  background: #55acee;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.socials__social:nth-child(1):hover, .socials__social:nth-child(1):focus, .socials__social:nth-child(1):active {
  background: #fff;
}
.socials__social:nth-child(1):hover i, .socials__social:nth-child(1):focus i, .socials__social:nth-child(1):active i {
  color: #55acee;
}
.socials__social:nth-child(2) {
  background: #0976b4;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.socials__social:nth-child(2):hover, .socials__social:nth-child(2):focus, .socials__social:nth-child(2):active {
  background: #fff;
}
.socials__social:nth-child(2):hover i, .socials__social:nth-child(2):focus i, .socials__social:nth-child(2):active i {
  color: #0976b4;
}
.socials__social:nth-child(3) {
  background: #ea4c89;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.socials__social:nth-child(3):hover, .socials__social:nth-child(3):focus, .socials__social:nth-child(3):active {
  background: #fff;
}
.socials__social:nth-child(3):hover i, .socials__social:nth-child(3):focus i, .socials__social:nth-child(3):active i {
  color: #ea4c89;
}
.socials__social:nth-child(4) {
  background: #1769ff;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.socials__social:nth-child(4):hover, .socials__social:nth-child(4):focus, .socials__social:nth-child(4):active {
  background: #fff;
}
.socials__social:nth-child(4):hover i, .socials__social:nth-child(4):focus i, .socials__social:nth-child(4):active i {
  color: #1769ff;
}

.dev-link {
  font-weight: 700;
  -webkit-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.dev-link:hover, .dev-link:focus, .dev-link:active {
  color: #48bf72;
}