.featured-case-module {
  padding-left: 5%;
  padding-right: 5%;
}

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

.container {
  width: 100%;
  max-width: 1900px;
  flex: 0 auto;
  order: 0;
  justify-content: flex-start;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
  padding-top: 7rem;
  padding-bottom: 7rem;
  display: block;
}

.module-heading {
  width: 100%
}

.module-heading h2 {
  text-align: center;
}

.spacing {
  width: 100%;
  height: 2.5rem; 
}

.case-wrapper {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  justify-content: space-between;
  align-items: flex-end;
  display: flex;
  position: relative;
  overflow: hidden;
}



  .case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  transition: all 0.5s ease-out;  
  }

.case-content-wrapper {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .5) 77%, #000);
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  padding-left: 3rem;
  padding-right: 3rem;
  display: flex;
  position: absolute;
}

.case-name {
  color: #fff !important;
  margin-top: 0 !important; 
  margin-bottom: 0 !important; 
}

.case-teaser {
  color: #fff !important;
}


.case-cta-link {
  text-decoration: none;
}

.case-cta-link:hover {
  text-decoration: none;
}

.case-cta-wrapper {
    display: flex;
    align-items: baseline;
    font-size: 1.125rem;
    color: #fff;
    transition: all 0.2s ease-out;
    text-decoration: none;
    outline: none;
    gap: 1rem;
    padding; 0;
  }
  
.case-cta-wrapper .icon {
    margin-left: 5px;
  }
  

.case-cta-wrapper p{
    font-weight: 400;
  }
.case-cta-wrapper:hover .icon {
    transform: rotate(-45deg);
    transition: all 0.3s ease-out, transform 0.3s ease-out;
  }

.case-cta-wrapper .icon {
  margin-left: 5px;
  transition: all 0.3s ease-out; /* add transition property here */
}


.case-wrapper:hover .case-cta-wrapper .icon {
  transform: rotate(-45deg);
  transition: all 0.3s ease-out, transform 0.3s ease-out;
}

.case-wrapper:hover .case-img {
  transform: scale(1.1); /* add scale property */
  transition: all 0.5s ease-out; /* add transition property with ease-out timing function */
}
  
@media screen and (max-width: 900px) {
  
  .case-content-wrapper{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;   
  }
  
  .case-cta-wrapper {
    margin-top: 1rem; 
  }
  
  .module-heading h2 {
    font-size: 2rem !important;
  }
  
  }

