:root {
    --font-fam: 'Poppins', sans-serif;

    --font-color: rgb(231, 231, 231);
    --background-back: black;
    --header: rgba(40, 38, 40, 0.6);
    --background-box: rgb(30, 29, 29);
    --box-shadow-main: rgb(70, 69, 69);
    --border-main: grey;
    --color-faeden: #FFC857;
    --color-pfoten: #40E0D0;
    --color-pixel: #9B5DE5;
    --color-aromen: #FF6347;
    --color-box: #1f2426;
}


.content-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  flex-direction: column;
    
}
.title h2 {
  color: var(--color-aromen);
}

.recipe-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  
} 

.recipe-wrapper a {
  text-decoration: none;
  color: var(--font-color);
}

.recipe-card {
  border: 2px solid var(--color-aromen);
  border-radius: 12px;
  margin: 15px;
  padding: 15px;
  max-width: 350px;
  background-color: var(--color-box);
  box-shadow: 0 0 0 2px rgba(254, 65, 65, 0.2);
}

.recipe-card p {
  text-align:left;
  font-size: clamp(12px, 1vw, 16px);
}

article img {
  width: 100%;
  aspect-ratio: 380 / 220;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid rgba(254, 65, 65, 0.2);
  margin: 0 auto; 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* show.php */


.rec-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 25px;
  background-color: var(--background-box);
  border-radius: 15px; 

 }
.rec-container a {
  text-decoration: none;
  color: var(--font-color);
}

.main-rec {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-aromen);
  width: 90%;
  margin-inline: auto; 
  
  
}
.main-rec img {
  display: block;
  margin-inline: auto;
  margin-bottom: 30px;
  aspect-ratio: 4/2;
  width: 85%;
  object-fit:cover;
  border-radius: 15px;
  border: 2px solid var(--color-aromen);
  box-shadow: 0 8px 20px rgba(255, 99, 71, 0.25);
  }


.grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem; 

}

.grid h3 {
  color: var(--color-aromen);
}

.ingridinet-card, .step-card {
    display: flex;
    flex-direction: column;
   justify-content: flex-start;
    border-radius: 12px;
    padding-left: 25px;
    background: var(--color-box);
    
  
}

.ingridinet-card {
  max-width: 550px; 
  border-right: 1px solid var(--color-aromen);

}

.toolbar {
  display: grid;
  align-items: left;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.toolbar label {
  font-weight: 600;
  color: var(--font-color);
}
.toolbar button {
  border: none;
  background: rgba(255, 99, 71, 0.15);
  color: var(--font-color);
  font-size: 1rem;
  font-weight: 600;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  cursor: pointer; 
}

.toolbar button:hover {
  background: rgba(255, 99, 71, 0.25);
}

.toolbar input[type="text"] {
  width: 40px;
  text-align: center;
  height: 30px;
  border: 1px solid var(--color-aromen);
  border-radius: 10px;
  background: var(--color-box);
  color: var(--font-color);
  font-weight: 600;
  outline: none;
}

li {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
  
}

.ingridients .amt   { min-width: 40px; text-align: right; }
.ingridients .unit  { min-width: 85px;}
.ingridients .name  { flex: 1; }
.ingridients .note  { color: #aaa; font-style: italic; }

.badge {
  border: 1px solid var(--border-main, #666); 
  border-radius: 999px; 
  padding: .1rem .5rem; 
  font-size: .8rem;
}

.steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 25px;
  gap: .1px;
}
