#outerImageContainer {
  position: relative;
  height: 65vh;
  max-width: 1920px;
  margin-inline: auto;
  margin-top: -10vh;
  padding-top: 10vh;
  background-image: url("../assets/crane.jpg");
  background-size: cover;
  background-repeat: no-repeat;

  
}


#imageCardContainer {
  z-index: 2;
  width: 100%;
  position:absolute;
  bottom: 0;
  display: flex;
  flex-direction: row;
  justify-content:space-evenly;
}


.imageCard {
  width: 40%;
  aspect-ratio: 2/1;
  margin-bottom: -15vmin;
  background: linear-gradient(0deg, hsla(0,0%,100%,.4),hsla(0,0%,100%,.3) 5%,rgba(246,249,252,.3) 10%,#f6f9fc 20%);
  transition: 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cta {
  align-self: flex-start;
  font-size: clamp(1rem, 1.4vw, 40px);
  font-weight: 600;
  color: black;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease-in-out;
}

.imageCard:hover .cta {
  color: #004999;
  border-bottom: 2px solid #004999;
}


.imageCard:hover {
  box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%);
  transform:translateY(-1em)
}



.imageCardContent {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

/* Headline */
.imageCardContent h2 {
  width: 15ch;
  font-size: clamp(1.2rem, 2.2vw, 50px);
  color: rgb(82, 82, 82);
  font-family: "montserratBold";
  line-height: 0.7;
  margin: 0;
  padding-bottom: 0.5rem;
}


.imageCardContent h3 {
  font-size: clamp(1rem, 1.5vw, 40px);
  font-weight: 500;
  color: grey;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin: 0;
}


.imageCardContent p {
  font-size: clamp(0.8rem, 1.1vw, 20px);
  line-height: 1.6;
  color: #333;
  flex-grow: 1;
  margin: 0;
}





@media (max-width: 1000px) {
  #outerImageContainer {
    height: auto;
  }

  #imageCardContainer {
    position: relative;
    bottom: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 2em;
  }

  .imageCard {
    display: block;
    width: 100%;
    margin-bottom: 0;
    border-radius: 1.2em;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
}





