.container {
  width: 1214px;
  margin: 0 auto;
  box-sizing: border-box;
}

.header {
  background-image: linear-gradient(rgba(243, 129, 129, 0.932), rgba(252, 227, 138, 0.884)), url("../img/Layer\ 15-min.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-bottom: 228px;
}


.nav {
  padding: 28px 0 0px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 174px;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: white;
  line-height: 0.8;
}

.menu {
  list-style: none;
  display: flex;
  flex: 1;
  justify-content: flex-end;
  padding: 0;
  margin: 0;

}

.menu__item {
  position: relative;
  text-transform: uppercase;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;

}

/* !!!!! */
.menu li {
  padding: 0 29px;
}

.menu__item::after {
  display: none;
  content: '';
  position: absolute;
  width: 100%;
  height: 3px;
  background: #fce38a;
  left: 0;
  bottom: -12px;
}

.menu__item:focus::after,
.menu__item:hover::after {
  display: block;
}

.menu__item:focus,
.menu__item:hover {
  color: #fce38a;
}

.controls {
  display: flex;
  justify-content: space-around;
  width: 105px;
  height: 18px;
}

.controls__button {
  background: transparent;
  border: none;
  padding: 0;
}

.controls__button-icon {
  width: 18px;
  height: 18px;
  fill: white;
  cursor: pointer;
}

.controls__button-icon:hover {
  fill: #fce38a;
}

.header-content {
  text-align: center;
}

.header-content__headings{
  font-family: 'Kaushan Script', cursive;
  color: white;
  font-size: 70px;
  margin: 0 0 38px;
}

.header-content__title {
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 150px;
  text-transform: uppercase;
  color: white;
  margin: 0 0 110px;
  line-height: 139px;
  letter-spacing: -6px;
}

.header-content__button {
  background: transparent;
  color: white;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px 28px;
  border: 3px solid white;
  cursor: pointer;
}

.header-content__button:hover {
  color: #e78282;
  border-color: #e78282;
}

/* MAIN */

.main {
  padding: 43px 0 80px;
}

.section-services {
  padding-bottom: 84px;
}

.section__headings{
  font-family: 'Kaushan Script', cursive;
  font-size: 24px;
  text-align: center;
  margin: 0 0 15px;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  color: #333333;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 105px;
  position: relative;
}

.section__title::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -40px;
  width: 60px;
  height: 3px;
  background: #f38181;
}

.services {
  min-height: 242px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: space-between;
}

.services__item {
  width: 278px;
  padding-left: 60px;
  position: relative;
}

.services__item::before {
  position: absolute;
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  top: 0;
  left: 0;
  background: no-repeat center;
  color: red;
}

.services__item_bg-img_1::before {
  background-image: url('../img/icon-clock.svg');
}

.services__item_bg-img_2::before {
  background-image: url('../img/icon-line.svg');
}

.services__item_bg-img_3::before {
  background-image: url('../img/icon-computer.svg');
}

.services__item_bg-img_4:before {
  background-image: url('../img/icon-book.svg');
}

.services__item_bg-img_5::before {
  background-image: url('../img/icon-home.svg');
}

.services__item_bg-img_6::before {
  background-image: url('../img/icon-image.svg');
}


.services__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #333333;
  font-weight: 500;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 0.9;
}

.services__text {
  margin: 0;
  color: #999999;
  font-size: 15px;
  font-weight: 300;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}


.section-our-team_description {
  text-align: center;
  padding: 0 110px 86px;
  
}

.block-our-team {
  display: flex;
  justify-content: space-between;
}


.wrapper-background {
  background-color: #95e1d3;
  width: 380px;
  height: 470px;
  position: relative;
  margin-bottom: 24px;
}

.developer-photo {
  width: 380px;
  height: 470px;
  margin-bottom: 27px;
}

.photo-overlay {
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(#f38181dc, #fce38ada);
}

.photo-overlay__item {
  width: 55px;
  height: 56px;
  background-color: #fce38a;
  border: 1px solid #f9bc8785;
}

.photo-overlay__item:hover {
  background-color: #f38181;
}

.photo-overlay__link {
  text-decoration: none;
  display: block;
  width: 55px;
  height: 56px;
}

.photo-overlay_icon {
  display: block;
  width: 26px;
  height: 27px;
  padding: 15px;
  fill: #f38181;
}

.photo-overlay__item:hover .photo-overlay_icon {
  fill: white;
}


.wrapper-background:hover .developer-photo {
  transform: translate(-10px, -10px);
  transition: 1s;
}

.wrapper-background:hover .photo-overlay {
  opacity: 1;
  transition: 1s;
}

.developer-name {
  font-family: 'Montserrat', sans-serif;
  font-weight:500;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-align: center;
}

.developer-profession {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #c6c6c6;
  margin: 0;
  font-style: italic;
  text-align: center;
}

.footer {
  padding: 10px 0 10px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright-info {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #4d4d4d;
}

.footer_pink-word {
  font-family: 'Montserrat', sans-serif;
  font-size: 400;
  color: #f38181;
}


.subscription-form {
  font-size: 0;
  height: 40px;
}

.subscription-form__input-email {
  width: 230px;
  height: 40px;
  font-size: 15px;
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  padding-left: 10px;
  border: 1px solid #e5e5e5;
  border-right: 0;
  box-sizing: border-box;
}

.subscription-form__input-email::placeholder {
  color: #e5e5e5;
  font-size: 15px;
}


.subscription-form__input-submit {
  width: 150px;
  padding: 11px 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: center;
  background: #95e1d3;
  color: white;
  font-size: 14px;
  font-weight: 500;
  border: transparent;
  cursor: pointer;
}

@media (min-resolution: 192dpi),
(min-resolution:2dppx) {
  .header {
    background-image: linear-gradient(rgba(243, 129, 129, 0.932), rgba(252, 227, 138, 0.884)), url("../img/Layer\ 15@2x-min.jpg");
    background-size: cover;
  }
}

