.container {
  display: block;
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 28px;
  aspect-ratio: 600 / 497;
  color: #fff;
}

.project-card h3 {
  color: white;
}

.project-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 40, .35);
}
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 30px 20px;
  text-align: center;
}
.project-card__title {
  margin: 0;
  padding-bottom: 14px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.project-card__text {
  padding-bottom: 26px;
  font-size: 26px;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  color: white;
}
.project-card__btn {
  display: inline-flex;
  justify-content: center;
  min-width: 290px;
  padding: 16px 30px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 8px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.project-card__btn:hover { background: #fff; color: #3a3a3a; }

@media (max-width: 1399.98px) {
  .project-card__title { font-size: 28px; }
  .project-card__text { font-size: 22px; }
  .project-card__btn { min-width: 240px; font-size: 20px; }
}
@media (max-width: 1199.98px) {
  .project-card__title { font-size: 24px; }
  .project-card__text { font-size: 18px; padding-bottom: 20px; }
  .project-card__btn { min-width: 200px; padding: 12px 24px; font-size: 18px; }
}
@media (max-width: 575.98px) {
  .project-card { border-radius: 20px; }
}
