.__project {
  padding: 5rem 32px 7.5rem 32px;
  background-color: rgba(255, 255, 255, 0.9);
}
.__project__header {
  margin-bottom: 32px;
}

.__project__header__button {
  display: inline-flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.project-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  color: var(--primary-blue);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-btn), var(--shadow-btn-1);
}

.project-button img {
  width: 40px;
  height: 40px;
  transition: all 0.3s ease-in-out;
  filter: invert(42%) sepia(93%) saturate(1352%) hue-rotate(162deg)
    brightness(94%) contrast(101%);
  -webkit-mask-image: url("/assets/svg/contact.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("/assets/svg/contact.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.__project__content {
}
.__project__post {
  gap: 2rem;
  border-radius: var(--radius-lg);
  padding: 20px;
  background-color: var(--bs-white);
  box-shadow: 0px 50px 200px -40px rgba(0, 0, 0, 0.6);
}
.__project__post__img {
  width: 100%;
}
.__project__post__img img {
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: var(--radius-lg);
  border: 2px solid var(--bs-white);
  box-shadow: 10px 24px 34px 0px rgba(185, 233, 250, 0.3);
}
.__project__post__content {
  padding-bottom: 27.06px;
}
.__project__post__content__img img {
  max-width: 156px;
  max-height: 54.69px;
}

.__project__post__content__txt {
  height: 90%;
}
.__project__post__content__text {
  margin-top: 32px;
}
.__project__post_title {
  margin-bottom: 24px;
  color: #161925;
  max-width: 530px;
}
.__project__post_title,
.__project__item__title {
  line-height: var(--leading-medium);
}
.__project__post__txt {
  color: var(--text-gray);
  max-width: 572px;
}

.__project__list {
  margin-top: 18px;
}

.__project__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-third);
  margin: 0;
  padding: 0;
}

.__project__item {
  gap: 2rem;
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 2px solid var(--bs-white);
  background-color: var(--bs-white);
  box-shadow: 0px 50px 200px -40px rgba(0, 0, 0, 0.6);
  list-style: none;
}

.__project__item__img img {
  max-width: 140px;
  background-repeat: no-repeat;
  background-size: cover;
  height: 52%;
  border-radius: var(--radius-lg);
  border: 2px solid var(--bs-white);
  box-shadow: 10px 24px 34px 0px rgba(185, 233, 250, 0.3);
}

.__project__item__title {
  margin-top: 23px;
  color: #161925;
  max-width: 530px;
}

.__project__item__description {
  margin-top: 8px;
  color: var(--text-gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 400px;
}

.__project__item__button {
  margin-top: 23px;
}
.__project__item {
  transition: all 0.3s ease;
}

.__project__post:hover,
.__project__item:hover {
  transform: translateY(-5px);
}
.__project_btn {
}
@media (max-width: 1439px) and (min-width: 769px) {
  .__project__item__img > .img-fluid {
    display: none !important;
  }
}
@media (max-width: 991px) and (min-width: 769px) {
.__project__post{
  flex-direction: column;
}
.__project__grid{
  display: flex;
  flex-direction: column;
} 
}
@media (max-width: 768px) {
  .__project {
    padding: 32px 0;
  }
  .__project__header {
    margin-bottom: 24px;
  }
  .__project__header__title {
    text-align: center;
  }
  .__project__content {
  }
  .__project__post {
    width: 100%;
    gap: var(--gap-third);
    padding: 16px;
    flex-direction: column;
  }
  .__project__post__img img {
    max-width: 100%;
    border-width: 2px;
    min-height: 0;
    width: 100%;
  }
  .__project__post__content {
    padding-bottom: 0;
  }
  .__project__post__content__img img {
    min-width: 142.6px;
    max-height: 100%;
  }
  .__project__post__content__text {
    margin-top: 16px;
  }
  .__project__post_title {
    font-size: var(--text-sm) !important;
    letter-spacing: 0%;
  }
  .__project__post__txt {
    font-size: var(--text-xs);
    line-height: var(--leading-xs);
    letter-spacing: 0%;
    max-width: max-content;
  }
  .__project__list {
    margin-top: 16px;
    padding-right: 0;
  }
  .__project__grid {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-secondary);
  }
  .__project__item {
    flex-direction: column;
    gap: 24px;
    padding: 16px;
  }

  .__project__item__img {
    display: flex;
    gap: var(--gap-primary);
    align-items: center;
    justify-content: center;
  }
  .__project__item__img img {
    max-width: 140px;
    height: 140px;
    border-radius: 12.86px;
    border-width: 1.29px;
  }
  .__project__item__img .img-fluid {
    display: block !important;
    box-shadow: none;
    max-width: 70px;
    height: 80px;
    border-radius: 0;
    border-width: 0;
  }
  .__project__item__title {
    font-size: var(--text-sm) !important;
    letter-spacing: 0%;
  }
  .__project__post_title,
  .__project__item__title {
    line-height: var(--leading-normal);
  }
  .__project__item__description {
    font-size: var(--text-xs);
    max-width: 100%;
  }

  .project-button span {
    font-size: var(--text-xs);
  }
}
