
/* Обшие настройки */

html {
  box-sizing: border-box;
  font-size: 0;
  font-weight: inherit;
}

body {
  width: 1920 px;
  margin: 0;
  padding: 0;
}

/* Обертка */

.wrapper {
  width: 1200px;
  margin: 0 auto;
  background-color: white;
}

/* Навигация + Лого */

.nav-wrapper {
  background-color: #fff;
  margin: 0;
  padding-bottom: 20px;
  position: fixed;
  top: 0;
  width: 1200px;
  height: 50px;
  z-index: 999;
  
}

.logo {
  width: 86px;
  height: 23px;
  padding-top: 28px;
}
.div-wrapper {
  width: 491px;
  position: absolute;
  top: 37px;
  right: 0;
  
}

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

.nav-item {
  list-style: none;
  position: relative;
}

.nav-link {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  color: #95e1d3;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  text-align: center;
}

.nav-link:hover {
  color: #f38181; 
} 

.nav-link:after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: #f38181;
  margin-top: 10px;
  transition: width .5s, left 0.5s;
  } 

.nav-link:hover::after {
  width: 100%;
  }





/* Заголовки секций */

.title {
  font-size: 24px;
  color: #333333;
  font-family: "Kaushan Script", cursive;
  margin-top: 187px;
  text-align: center;
}

.title:first-letter {
  text-transform: uppercase;
}

.title-1 {
  font-size: 24px;
  color: #333333;
  font-family: "Kaushan Script", cursive;
  text-align: center;
}

.title-1::first-letter {
  text-transform: uppercase;
}
.subtitle {
  font-size: 30px;
  color: #333333;
  text-align: center;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-top: 18px;
}

.subtitle:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f38181;
  margin: 39px auto;
}

/* Секция Сервис */

.service {
  width: 1182px;
  height: 340px;
  display: flex;
  flex-direction: row;
  justify-content:	space-between;
  flex-wrap: wrap;
  justify-content:	center;
  margin-left: auto;
  margin-right: auto;

}
.service-box {
  width: 383px;
  display: flex;
  flex-direction: row;
  flex-wrap: none;
  justify-content:	space-between;
  
  }

.service-icon {
  width: 32px;
  height: 32px;
  position: relative;
  margin-left: auto;
  margin-right: 22px;
}

.text-box {display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content:	flex-start;}



.service-title {
  font-size: 14px;
  color: #333333;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1px;
  margin-top: 0;
 }

.service-text {
  font-size: 15px;
  line-height: 24px;
  color: #999999;
  margin-top: 15px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  margin-top: 15px;
}

.text {
  width: 980px;
  margin: 37px auto;
  text-align: center;
  font-size: 15px;
  line-height: 24px;
  color: #999999;
  margin-top: 0;
  margin-bottom: 0;
}

/* Секция Комманда */

.wrapper-team {
  margin-top: 95px;
  width: 100%;
  display: inline-flex;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-direction: row;
}

.card {
  width: 380px;
  height: 545px;
  display: flex;
  flex-direction: column;
position: relative;
}

.img-item {
  width: 380px;
  height: 470px;
  background-color: #95e1d3;
   position: absolute;
}

.img {
  width: 380px;
  height: 470px;
  position: relative;
 
}

.grad {
  width: 380px;
  height: 470px;
  position: absolute;
  top: 0;
  opacity: 0;

}

@keyframes move {
  from {

  }

  to {
margin-top: -10px;
margin-left: -10px;
  }
}
.img-item:hover .img {
  animation-duration: 0.2s;
  animation-name: move;
  animation-fill-mode: forwards;
}

.img-item:hover .grad {
  background: linear-gradient(to top, #fce38a, #f38181);
  opacity: 0.9;
  animation-duration: 0.2s;
  animation-name: move;
  animation-fill-mode: forwards;
}



.share {
  display: flex;
  flex-direction: row;
  position: absolute;
  top: 205px;
  left: 80px;
  opacity: 1;
 /*  transition-property: transform;
  transition-duration: 0.2s; */
  /* необходимо разобраться с хувер */
}

.img-item:hover .share{
  animation-duration: 0.2s;
  animation-name: move;
  animation-fill-mode: forwards;
  /* transform: translate(-10px, -10px); */
}

.share-icon {
  width: 56px; 
  height: 56px;
  background-color: #fce38a;
  margin-right: 2px;
  position: relative;
  opacity: 0;
 }

.img-item:hover .share-icon {
     opacity: 1;
 }



.share-icon:hover{
background-color: #95e1d3;

 }

.img-icon {
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
}




.item-name {
  font-size: 14px;
  color: #333333;
  text-align: center;
  text-transform: uppercase;
  padding-top: 28px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
 position: relative;
 top: 500px;

}

.item-position {
  font-size: 15px;
  line-height: 24px;
  color: #999999;
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-weight: 300i;
  position: relative;
top: 514px;



}

/* Подвал */

.fotter {
  width: 100%;
  height: 64px;
  border-top: 1px solid #999999;
  background-color: #fff;
  position: relative;
  margin-top: 83px;
}
.fotter-text {
  font-size: 14px;
  line-height: 64px;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.fotter-text-red {
  font-size: 14px;
  line-height: 64px;
  color: #f38181;
}

.button-wrapper {
  position: absolute;
  top: 10px;
  right: 0;
}

.textarea {
  width: 227px;
  height: 37px;
  font-size: 15px;
  color: #cccccc;
  border: 1px solid #cccccc;
  line-height: 24px;
  outline: none;
}
input[type="text"]::placeholder {
  color: #ffd595;
  font-size: 15px;
  color: #cccccc;
}

.button-submit {
  width: 150px;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  color: white;
  background-color: #95e1d3;
  outline: none;
  border: none;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

