@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f1f0e8;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
}

h1 {
  text-align: center;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}

.controls input,
.controls select {
  padding: 10px;
  width: 48%;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.recipe-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.recipe-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
}

.recipe-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recipe-card .content {
  padding: 15px;
}

.recipe-card h3 {
  margin: 0 0 10px;
}

.recipe-card p {
  margin: 5px 0;
  font-size: 14px;
}

.deleteBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #000;
  /* border: 2px solid #000; */
  color: #f7f7f7;
  border: none;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.5s ease-in-out;
}
.deleteBtn:hover {
  transform: scale(0.9);
  background-color: #dc3545;
  color: #f7f7f7;
}
