.cardContainer { display: flex; align-items: center; height: 130px; margin-top: 30px; border-radius: 10px; border: 2px solid #e0a500; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); background-color: #fff; transition: transform 0.3s; } .cardContainer:hover { transform: scale(1.01); } .userReviewIndicator { font-weight: bold; color: lightsalmon; display: block; margin-bottom: 5px; } .userFavoriteIndicator { font-weight: bold; color: lightsalmon; display: inline-block; margin-bottom: 5px; } .imgContainer { width: 150px; height: 100%; border-top-left-radius: 8px; border-bottom-left-radius: 8px; overflow: hidden; border-right: 2px solid #e0a500; margin-right: 0; } .img { width: 100%; height: 100%; object-fit: cover; display: block; } .contentContainer { display: flex; justify-content: space-between; align-items: center; width: 100%; padding-left: 15px; } .textSection { width: 300px; padding-right: 10px; flex-grow: 1; } .recipeName { font-size: 1.2rem; color: #333; margin-bottom: 8px; } .reviewText { font-size: 1rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; } .userFavoriteCuisineText { font-size: 1rem; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: 10px; } .ratingSection { display: flex; align-items: center; justify-content: flex-end; margin-left: auto; } .starRating { display: flex; } .star { font-size: 1.5rem; color: #ccc; margin-right: 4px; transition: color 0.3s ease; } .star.active { color: #FFA550; } @media (max-width: 768px) { .cardContainer { flex-direction: column; height: auto; margin-top: 20px; } .imgContainer { width: 100%; height: 150px; border-right: none; border-bottom: 2px solid #e0a500; } .textSection { width: 50%; } .description { padding: 10px; overflow-y: auto; } .favoriteButton { width: 100%; height: 40px; } } .favoriteButton { display: inline-flex; margin-right: 15px; align-items: center; justify-content: center; background-color: #FFA550; color: white; border: none; border-radius: 50%; width: 43px; height: 43px; cursor: pointer; font-size: 1.5em; transition: all 0.3s ease; box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1); }