﻿body {
  background: linear-gradient(to bottom, #db6319, #f3943c, #ea5f2c);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

p {
  margin-left: 40px;
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  text-align: center;
  color: #2b1810;
}

h2, h3 {
  font-family: 'Open Sans', sans-serif;
  color: #2b1810;
  margin-left: 40px;
}

ul, li, td {
  list-style: circle;
  color: #2b1810;
  padding-left: 40px;
}

#auteur {
  text-align: right;
  padding-right: 40px;
}

.header {
  text-align: center;
  padding: 0;
  background-color: #ffa500;
}

.logo {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
}

.iframe {
  display: block;
  width: 480px;
  margin: 0 auto;
}

a:link, a:visited, a:hover, a:active, a:focus {
  font-family: 'Bebas Neue', sans-serif;
}

a:link {
  color: #351307;
  text-decoration: none;
}

a:visited {
  color: #351307;
}

a:hover {
  color: #963c00;
  text-decoration: underline;
}

a:active, a:focus {
  color: #000000;
}
.ingredients-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.ingredients-header {
    text-align: center;
    margin-bottom: 2rem;
}

.ingredients-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2b1810;
    margin-left: 0;
}

.ingredients-header p {
    color: #5d3a2a;
    font-size: 1rem;
    margin-left: 0;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ingredient-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ingredient-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #db6319, #f3943c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ingredient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.ingredient-card:hover::before {
    transform: scaleX(1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.image-d-ingrédient {
    width: 100%;
    aspect-ratio: 1;
    background: #fef5e7;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-d-ingrédient img {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.ingredient-card:hover .image-d-ingrédient img {
    transform: scale(1.08);
}

.quantité-de-l-ingrédient {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #db6319;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.nom-de-l-ingrédient {
    font-size: 0.95rem;
    color: #2b1810;
    font-weight: 500;
    line-height: 1.4;
}

.ingredient-detail {
    font-size: 0.85rem;
    color: #5d3a2a;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .ingredients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .ingredient-card {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}