.recipe-card {
    width: 100%;
    height: 400px;
    position: relative;
}

.recipe-card-image {
  width: 100%;
  height: 70%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

/* Image loader styling */
.image-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-top-color: #389f6c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.recipe-card-content {
  position: relative;
  width: 80%;
  height: 30%;
  background-color: rgb(255, 255, 255);
  margin: 0 auto;
  margin-top: -5%;
  box-sizing: border-box;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.recipe-card-content::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(0deg, #38a169, #2b6cb0) left bottom no-repeat;
}

.recipe-card-content::after {
  position: absolute;
  content: '';
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(to right, #38a169, #2b6cb0) left bottom no-repeat;
}

.recipe-card-content h2 {
  padding: 0 10px;
  margin: 0;
  margin-bottom: 10px;
  font-size: 34px;
  text-transform: uppercase;
  line-height: 0.8;
  text-align: center;
}

.recipe-card-content-info {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.recipe-card-content-info span {
  margin-right: 10px;
  text-transform: capitalize;
}