@font-face {
    font-family: "Arsenica";
    src: local("Arsenica"),
        url("../fonts/ArsenicaTrial-Regular.ttf") format("truetype");
}

/* Base Styles (Mobile First) */
body {
    font-family: "Roboto Light", sans-serif;
    margin: 0;
    background-color: #394930;
    color: white;
}

a {
    text-decoration: none;
}

.title {
    font-family: "Arsenica", serif;
    padding: 2em 1em;
    /* Reduced padding for mobile default */
    color: #F4E2CA;
    text-align: center;
    /* Center by default on mobile */
}

.title h1 {
    font-size: 4em;
    /* Smaller font for mobile */
    margin: 0;
    font-weight: normal;
}

.title p {
    font-family: "Roboto Light", sans-serif;
    margin-bottom: 2em;
    font-size: 1.2em;
}

.button {
    font-family: "Roboto Light", sans-serif;
    font-size: 1.2em;
    background-color: #F4E2CA;
    padding: 0.5em 1em;
    color: #0C1E00;
    border-radius: 0.5em;
    transition: 0.3s ease-in-out;
    display: inline-block;
}

.button:hover {
    background-color: #E63F04;
    color: #F4E2CA;
}

.section-tri {
    background-color: #FAB5A0;
    display: flex;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    justify-content: center;
    /* Center on mobile */
    gap: 1em;
    /* Space between buttons */
    padding: 2em 1em;
}

.button-2 {
    font-family: "Roboto Light", sans-serif;
    font-size: 1.2em;
    background-color: #394930;
    padding: 0.5em 1em;
    color: #F4E2CA;
    border-radius: 0.5em;
    border: none;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.button-2:hover {
    background-color: #E63F04;
    color: #F4E2CA;
}

/* Desktop Styles */
@media screen and (min-width: 901px) {
    .title {
        padding: 5em;
        text-align: left;
    }

    .title h1 {
        font-size: 7em;
    }

    .title p {
        margin-bottom: 4em;
    }

    .button {
        font-size: 1.5em;
        padding: 0.5em 1.5em;
    }

    .section-tri {
        justify-content: space-around;
        padding-bottom: 2em;
        padding-top: 2em;
    }

    .button-2 {
        font-size: 1.5em;
        padding: 0.5em 1.5em;
    }
}

.astuce-list {
    background-color: #394930;
    color: #F4E2CA;
}

.astuce-list h2 {
    font-family: "Arsenica", serif;
    font-weight: lighter;
    font-size: 3em;
}

.astuce-list-box {
    display: flex;
    padding: 2em;
    align-content: center;
}

.astuce-list-box div img {
    margin-right: 2em;
    border-radius: 1.5vw;
}

.astuce-list-box div p {
    padding-bottom: 2em;
}

.button-astuce {
    font-family: "Roboto Light", sans-serif;
    font-size: 1.5em;
    border: none;
    background-color: #F4E2CA;
    padding: 0.4em 1.2em 0.4em 1.2em;
    color: #0C1E00;
    border-radius: 0.5em;
    transition: 0.3s ease-in-out;
    cursor: pointer;
}

.button-astuce:hover {
    background-color: #E63F04;
    color: #F4E2CA;
}

.astuce-list-2 {
    background-color: #0C1E00;
    color: #F4E2CA;
    text-align: right;
}

.astuce-list-2 h2 {
    font-family: "Arsenica", serif;
    font-weight: lighter;
    font-size: 3em;
}

.astuce-list-box-2 {
    display: flex;
    justify-content: end;
    padding: 2em;
    align-content: center;
}

.astuce-list-box-2 div img {
    margin-left: 2em;
    border-radius: 1.5vw;
}

.astuce-list-box-2 div p {
    padding-bottom: 2em;
}

.astuce-list-2 {
    display: flex;
    justify-content: flex-end;
}

img.img-astuce {
    height: 15vw;
    width: 15vw;
    object-fit: cover;
}

#section-recette {
    transition: transform 0.2s ease-in-out;
}

/*
#section-recette:hover {
    transform: scale(1.025);
}
*/