body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

h1, h2 {
  margin: 0;
}

p {
  margin: 0.5em 0;
}
a {
  text-decoration: none;
}
a:visited{
  color: black;
}

.header {
  background-color: #ff6347;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 1.5em;
}

.howto-grid {
  display: grid;
  gap: 0px;
  padding: 20px;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}

.recipe-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;

}

.recipe-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.recipe-card h2 {
  font-size: 1.5em;
  margin: 15px 0 10px;
}

.recipe-card p {
  padding: 0 15px 20px;
  color: #555;
}

.recipe-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}


.recipe-card a {
  display: inline-block;
  background-color: #ff6347;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px 0;
}

.recipe-card a:hover {
  background-color: #ff4500;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: relative;
  bottom: 0;
  width: 100%;
}
