.case-study {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-study__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  position: relative;
}

.case-study__card {
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover; 
  background-blend-mode: color, multiply, normal;
  border-radius: 15px;
  height: 400px;
  margin: 1rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex-wrap: wrap;
  color: white;
  transition: filter .7s;
  position: relative;
}

.case-study__card:hover {
  filter: unset;
}

.case-study__card__tag {
  position: absolute;
  top: 16px;
  left: 50px;
  background-color: #E90029 !important;
  padding: .4rem .75rem;
  z-index: 5;
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
}

.case-study__card__title {
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 37px;
}
.case-study__card__subtitle {
  font-weight: normal;
  font-size: 14px;
  line-height: 17px;
  margin-top: 2rem;
}
.case-study__title {
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 30px;
  line-height: 37px;

  text-align: center;
  letter-spacing: -1px;
  margin: 2rem 0;

  color: #e90020;
}
  .case-study__subtitle {
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 18px;
  line-height: 23px;

  color: #000000;
  display: block;
}
.case-study__button {
  background: white;
  border: 2px solid #E90029;
  box-sizing: border-box;
  border-radius: 1px;
  color: #E90029;
  padding: 18px 26px;
  font-family: Montserrat;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 25px;
  margin: 1rem 0;
  cursor: pointer;
}

.case-study__button__text {
  color: #E90029;
}
.case-study__button__text:hover {
  color: #E90029;
}

.case-study__button:hover {
  border: 4px solid #E90029;
  padding: 16px 24px;
}

.link {
  color: white;
  width: 40%;
}

.button__link {
  color: white;
}

@media screen and (max-width: 900px) {
  .link {
    width: 100%;
  }
    .case-study__card__title {
    font-size: 12px;
    padding-bottom: 2px;
}
  .case-study__card__subtitle {
  display: none;
  }