* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    background: #f8f8f8;
}

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #e85d04;
}

.logo,
.site-header a {
    color: white;
    text-decoration: none;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav a {
    margin-left: 15px;
}

main {
    max-width: 1100px;
    min-height: 500px;
    margin: 30px auto;
    padding: 20px;
    background: white;
}

.site-footer {
    padding: 20px;
    text-align: center;
    background: #333;
    color: white;
}

.recette {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

.recette .description {
    font-family: "Courgette", cursive;
    font-size: 1em;
    font-style: italic;
    margin: 0 auto 30px;
    padding-bottom: 24px;
    max-width: 700px;
    text-align: center;
}

.recette .description::before,
.recette .description::after {
    content: '"';
    color: #a22580;
    font-size: 1.5em;
}

.boxtitre {
    width: 100%;
    text-align: center;
}

.boxtitre h1 {
    color: #a22580;
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.recette-informations {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: flex-start;
}

.box {
    box-sizing: border-box;
    width: 100%;
    max-width: 400px;
    min-height: 220px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    background: linear-gradient(
        to bottom,
        rgba(241, 241, 241, 0.9),
        rgba(241, 241, 241, 0.2)
    );
    border: 1px solid #a6ce2f;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.box:hover {
    background: #fff;
    border-color: #a22580;
}

.box h2 {
    color: #a22580;
    margin-top: 0;
}
.box img {
  border: solid 2px rgba(166, 206, 47, 0.7);
  width: 220px;
  height: 150px;
  margin-top: 10px;
}

/* line 213, ../../resources/sass/base/_grid.scss */
.box img:hover {
  border: solid 2px rgba(203, 107, 176, 0.7);
}
.recette ul,
.recette ol {
    text-align: left;
    padding-left: 25px;
}

.recette li {
    margin-bottom: 10px;
}
.image-recette {
    width: 100%;
    max-width: 500px;
    height: auto;
    padding: 10px;
}

.image-recette img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border: 2px solid #a22580;
}
.recette ul li {
    list-style-image: url("../img/Icones/rond-violet.png");
}

.etape ol {
    padding-left: 35px;
}

@media (max-width: 768px) {
    .recette-informations {
        flex-direction: column;
    }

    .box {
        max-width: 100%;
    }

    .boxtitre h1 {
        font-size: 25px;
    }

    .recette .description {
        margin-left: 0;
    }
}