.project .hero {
  position: relative;
  bottom: 0;
  height: 100vh;
}

.project .hero .backGround {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    165.02deg,
    #3f3e3e -13.02%,
    #181818 38.65%,
    #181818 100%
  );
  z-index: -2;
}

.project .hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 30px;
  min-height: 550px;
  height: 80%;
  color: #ffffff;
  z-index: 4;
}

.project .hero .container h2 {
  font-family: var(--open-sans);
  font-weight: 800;
  line-height: 50px;
  font-size: 40px;
  padding: 0;
  margin-bottom: 23px;
}

.project .hero .container p {
  margin-bottom: 30px;
  font-size: 18px;
  line-height: 25px;
}

.project .hero .container .heroButton {
  display: flex;
  align-items: center;
}

.project .hero .container .heroButton .line {
  background-color: #ffffff;
  height: 2px;
  margin-left: -30px;
  width: 100%;
}

@-webkit-keyframes ButtonMove {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 5px;
  }
  100% {
    margin-top: 0;
  }
}

@keyframes ButtonMove {
  0% {
    margin-top: 0;
  }
  50% {
    margin-top: 5px;
  }
  100% {
    margin-top: 0;
  }
}

.project .hero .container .heroButton .button_container {
  position: relative;
  width: 54px;
  height: 54px;
  margin-right: 5px;
  margin-left: 20px;
}

.project .hero .container .heroButton .button_container .button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  padding: 0;
}

.project .hero .container .heroButton .button_container .button img {
  width: 17px;
  height: 22px;
  -webkit-animation: ButtonMove infinite 1s;
  animation: ButtonMove infinite 1s;
}

.project .hero .container .heroButton .button_container .button_back {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  top: 5px;
  left: 5px;
  z-index: -1;
}

.project .cover {
  padding: 65px 30px 40px 30px;
}

.project .cover .imageBlock {
  width: 100%;
}

.project .cover .imageBlock img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.project .content {
  padding: 0 30px 65px 30px;
  font-size: 18px;
  line-height: 25px;
}

.project .content p {
  padding: 10px 0;
}

.project .content a {
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s linear;
}

.project .content a:hover {
  opacity: 0.7;
}

.project .wp-block-image img {
  border-radius: 11px;
}

@media screen and (min-width: 750px) {
  .project .hero .container {
    margin: auto;
    padding: 0 50px;
    max-width: calc(var(--global_container_width) + 100px);
  }

  .project .hero .container h2 {
    font-size: 70px;
    line-height: 70px;
    max-width: 400px;
    margin-bottom: 35px;
  }

  .project .hero .container p {
    margin-bottom: 102px;
    font-size: 20px;
    line-height: 25px;
    max-width: 470px;
  }

  .project .hero .container .heroButton {
    width: 200%;
    transform: translateX(-50%);
  }

  .project .hero .container .heroButton .button_container {
    width: 71px;
    height: 71px;
  }

  .project .hero .container .heroButton .button_container .button {
    width: 71px;
    height: 71px;
  }

  .project .hero .container .heroButton .button_container .button img {
    width: 22px;
    height: 29px;
  }

  .project .hero .container .heroButton .button_container .button_back {
    width: 71px;
    height: 71px;
  }

  .project .cover {
    max-width: calc(var(--global_container_width) + 100px);
    margin: auto;
    padding: 218px 50px 40px 50px;
  }

  .project .cover .imageBlock {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    max-width: 1000px;
    max-height: 573px;
    margin: auto;
    border-radius: 11px;
  }

  .project .cover .imageBlock img {
    border-radius: 11px;
  }

  .project .content {
    padding: 0 50px 40px 50px;
    max-width: var(--global_container_width);
    margin: auto;
  }
}

@media screen and (max-width: 500px) {
  .wp-block-gallery.has-nested-images.is-cropped
    figure.wp-block-image:not(#individual-image) {
    align-self: inherit;
    width: 100%;
  }
}
