.wrapper-padding2 {
  padding: 160px 0px 160px 0;
}

@media screen and (max-width: 1300px) {
  .wrapper-padding2 {
    padding: 80px 0px 80px 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .wrapper-padding2 {
    padding: 40px 0px 40px 0 !important;
  }
}

.projects {
  background-color: rgba(26, 26, 26, 1);
}

.projects-btn {
  position: absolute;
  top: 5px;
  right: 15px;
}

.projects__slider {
  margin: 35px 0 40px 0;
}

@media screen and (max-width: 768px) {
  .projects__slider {
    margin: 30px 0 20px 0;
  }
}

.project__card {
  position: relative;
  height: 460px !important;
}

.project__card>div>img {
  border-radius: 20px;
  width: 100%;
  height: 460px !important;
  filter: brightness(.7);

}

.project__card:hover .project__card-gradient:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 460px;
  border-radius: 20px;
  top: 0;
  left: 0;
  background: transparent;
  background-image: linear-gradient(0deg,
      rgba(131, 31, 10, 0.35) 0%,
      rgba(131, 31, 10, 0.35) 100%);
}

@media screen and (max-width: 768px) {
  .project__card {
    height: 230px !important;
  }

  .project__card>div>img {
    border-radius: 10px;
    height: 230px !important;
  }
}

@media screen and (max-width: 380px) {
  .project__card>div>img {
    width: 330px !important;
  }

  .project__card {
    width: 330px !important;
  }
}

@media screen and (max-width: 350px) {
  .project__card>div>img {
    width: 300px !important;
  }

  .project__card {
    width: 300px !important;
  }
}

.project__block-wrap {
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 15px 25px 30px;
  height: 460px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project__card:hover svg>path {
  stroke: #ef4824;
}

.project__card:hover svg>rect {
  fill-opacity: 1;
}

.project__block-wrap>div>div {
  font-family: "BebasNeue", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 25px;
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  text-align: start;
}

.project__block-wrap>div>p {
  font-family: "Manrope", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
  color: rgba(255, 255, 255, 1);
  margin-top: 10px;
  padding-right: 150px;
}

.project__block-wrap>svg {
  position: absolute;
  top: 15px;
  right: 15px;
}

@media screen and (max-width: 768px) {
  .project__block-wrap>svg {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 768px) {
  .project__block-wrap {
    padding: 10px 10px 15px 20px;
    height: 230px;
  }

  .project__block-wrap>div>div {
    font-size: 20px;
    line-height: 20px;
    padding-right: 70px;
  }

  .project__block-wrap>div>p {
    font-size: 14px;
    line-height: 20px;
    height: 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-right: 0;
  }

  .project__block-wrap>a>svg {
    width: 30px;
    height: 30px;
  }
}

@media screen and (max-width: 375px) {
  .project__block-wrap {
    padding: 15px;
  }
}

.projects-button {
  width: 100%;
  height: 60px;
}

@media screen and (max-width: 1560px) {
  .projects-button {
    width: calc(100% - 10px);
    height: 55px;
  }
}

.projects-button>a {
  padding: 0;
}

.project-btn {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  text-decoration: none;
  text-align: center;
  /*padding-top: 20px;*/
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}