/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:focus,
:active {
  outline: none;
}
a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  font-family: Arial, Helvetica, sans-serif;
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}
button {
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
a,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
ul li {
  list-style: none;
}
img {
  vertical-align: top;
}

/*--------------------*/
.wraper {
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
}

.header {
  background-image: url(/img/dark-bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 100px 50px;
}
.header__items {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__item {
}
.header__subtitle {
  font-size: 24px;
  margin-bottom: 30px;
}
.header__title {
  font-size: 40px;
}
.header__socialnetwork a {
  margin-right: 10px;
}
.header__socialnetwork a img {
  transition: 0.3s ease-in-out;
}
.header__socialnetwork a:last-child {
  margin-right: 0;
}
.header__socialnetwork a:hover img {
  transform: scale(1.2);
}
.content__title {
  font-size: 24px;
  padding: 50px 50px 20px;
}
.project__item {
  position: relative;
  border-top: 1px solid #8c8c8c;
}
.project__image img {
  object-fit: cover;
  width: 100%;
}
.project__block {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 50px 0;
}
.project__item-bg {
  top: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: top;
  background-size: 100%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.77, 0.125, 0.265, 1.04), opacity 0.5s cubic-bezier(0.77, 0.125, 0.265, 1.04);
  will-change: transform;
  pointer-events: none;
}
.project__item:hover .project__item-bg {
  opacity: 1;
  transform: translateY(0);
}
.project__label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
  font-size: 40px;
  color: #fff;
  min-height: 200px;
  padding: 0 50px;
  text-align: right;
}
.project__item:hover .project__label {
  color: #000;
}
@media (max-width: 767px) {
  .project__label {
    min-height: 90px;
  }
  .header__socialnetwork a{
    margin-right:0;
  }
  .header__socialnetwork{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .header{
    padding: 60px 30px;
  }
  .content__title {
    padding: 20px 30px;
  }
}
