.carousel-item, .card {
  height: auto;
  min-height: 500px;
}
  
  
  .card-header {
    padding: 0;
  }
  
   
  .card-image {
  height: 400px;
  width: 100%;
  object-fit: cover;
  }
  
  
  .card-title {
    font-size: 28px;
    font-weight: bold;
  }
  
  .card-text {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.5;
    
  }
  
  .card-text p {
    margin-bottom: 0.5rem;
  }
  
  .card-body {
    height: auto;
  }
  
  .btn-primary {
    background-color: #FFA500;
    border-color: #FFA500;
  }
  
  .btn-primary:hover {
    background-color: #FF8C00;
    border-color: #FF8C00;
  }
  
  
  
  .carousel-control-prev {
    left: -4%;
  }
  
  .carousel-control-next {
    right: -4%;
  }
  

  header {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  

  /* Set the font size and style for the header */
.header {
  font-family: 'Tangerine';
  font-size: 8rem;
  font-weight: bold;
  text-align: center;
}

/* Wrap the header text on smaller screens */
@media (max-width: 576px) {
  .header {
    font-size: 4rem;
    word-wrap: break-word;
  }

  .carousel-item, .card {
    height: auto;
    min-height: 0;
  }  
}
  .card-title, .card-text {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    
  }
  
 


/* Ensure the carousel indicators are visible */
.carousel-indicators {
  z-index: 1;
}

/* Reduce the size of the arrow icons */
.carousel-control-prev-icon, .carousel-control-next-icon {
  font-size: 2rem;
}

/* Ensure the recipe card text is not cut off */
.card-text {
  overflow: auto;
}



/* Set a fixed height for the carousel controls */
.carousel-controls {
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

/* Adjust the position of the arrow icons */
.carousel-control-prev i, .carousel-control-next i {
  font-size: 2rem;
  color: black;
  margin: 0 20px;
}

/* Position the previous arrow on the left and the next arrow on the right */
.carousel-control-prev {
  margin-left: 20px;
}

.carousel-control-next {
  margin-right: 20px;
}
