.image-with-form {
  position: relative;
  display: inline-block; /* Or 'block' depending on your layout needs */
}
 
.image-with-form img {
  display: block; /* Removes bottom margin/whitespace */
  width: 100%; /* Or your desired width */
}
 
.form-container {
  position: absolute;
  top: 0; /* Or other value to position the form */
  left: 0; /* Or other value to position the form */
}
 
.form-container form {
  /* Style the form as needed */
  padding: 10px;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
  text-align: center;
}