html {
  font-family: "Helvetica", Arial, sans-serif;
}

body {
  max-width: 700px;
  background-color: #EADDCA;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

a {
  color: #0057E9;
  text-decoration: none
}

a:hover {
  text-decoration: underline;
}

p {
  color: #36454F;
}

h1 {
  color: #341C09;
  margin: 1rem 0px 0px 0px;
}

.subheading, .search-block{
  color: #341C09;
  margin: 0.3rem 0px 1rem 0px;
  overflow-wrap: break-word;
}

.card a, .tag {
  color: #5D4037;
}

.card h2 a {
  color: #B4743B;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 320px;
}

.header-title {
  padding: 5px 10px 5px 0px;
  border-radius: 4px;
}

.header-title a{
  color: indianred;
  font-size: 30px;
}

.recipes, .cards-area, .recipes-list {
  display: flex;
  flex-direction: row;
  align-items: space-between;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 15px;
}

@media (max-width: 720px){
  .recipes, .cards-area, .recipes-list {
  flex-direction: column;
  align-items: center;
  flex-wrap: none;
  }
}

.card {
  border: 4px double black;
  border-radius: 1.5rem;
  padding: 0rem 1rem 1rem 1rem;
  background-color: #EFCDDA;
  width: 290px;
}

.shopping-list-grid,
.shopping-list-recipes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: 100%;
}

.shopping-list-section,
.shopping-list-create,
.shopping-list-actions,
.shopping-list-panel {
  width: 100%;
}

.shopping-list-actions {
  margin: 1rem 0;
  padding-top: 0.75rem;
  border-top: 2px solid #c59b77;
}

.shopping-list-actions h3 {
  margin: 0 0 0.4rem 0;
  color: #5D4037;
  font-size: 1rem;
}

.shopping-list-actions p {
  margin: 0.2rem 0;
}

.shopping-list-feedback {
  display: none;
  font-size: 0.95rem;
}

.shopping-list-feedback[data-status] {
  display: block;
}

.shopping-list-feedback[data-status="success"] {
  color: #2f6f3e;
}

.shopping-list-feedback[data-status="error"] {
  color: #8b1e1e;
}

.stacked-form,
.shopping-list-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.inline-form {
  margin: 0;
}

.shopping-list-actions .inline-form {
  margin-bottom: 0.4rem;
}

.stacked-form input {
  max-width: 320px;
  padding: 0.5rem;
}

.stacked-form button,
.inline-form button {
  padding: 0.55rem 0.85rem;
  border: 1px solid #5D4037;
  border-radius: 0.5rem;
  background-color: #fff6ef;
  cursor: pointer;
}

.stacked-form button {
  width: fit-content;
}

.inline-form button:disabled {
  cursor: wait;
  opacity: 0.75;
}

.inline-form[data-added="true"] button {
  background-color: #dcefdc;
  border-color: #6f9273;
}

.shopping-list-card h3 {
  color: #B4743B;
}

.shopping-ingredient-list {
  padding-left: 1.25rem;
}

.shopping-list-detail-card {
  width: 100%;
  margin-bottom: 1rem;
}

.shopping-list-detail-card h4 {
  margin-bottom: 0.5rem;
}

.shopping-list-summary {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 2px solid #c59b77;
}

@media (max-width: 380px){
  .card{
    width: 240px;
  }
  h1 {
    font-size: 1.5rem;
  }
}

.recipe-info {
  display: flex;
  gap: 1rem;
  justify-content: space-around;
}

.recipe-title {
  color: #B4743B;
}

.recipe-columns h2 {
  margin: 10px 10px 0px 10px;
  text-decoration: underline;
}
