@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;
    padding: 0;
}

a {
    text-decoration: none;
}

.title {
    font-family: "Arsenica", serif;
    padding: 2em 1em;
    color: #F4E2CA;
    text-align: center;
}

.title h1 {
    font-size: 4em;
    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;
    cursor: pointer;
}

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

.section-tri {
    background-color: #FAB5A0;
    display: flex;
    flex-wrap: wrap;
    padding: 1em 0;
    /* Reduced padding for mobile */
    justify-content: center;
    gap: 0.5em;
}

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

.section-tri button {
    display: flex;
    justify-content: center;
    /* Center content */
    margin: 0 .2em;
    /* Reduced margin */
}

.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 {
        padding-bottom: 0.5em;
        /* Restore desktop padding */
        padding-top: 0.5em;
    }

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

    .section-tri button {
        justify-content: space-around;
        margin: 0 .5em;
    }
}

/* liste de recette */
.recette-list {
    background-color: #394930;
    color: #F4E2CA;
}

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

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

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

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

.button-recette {
    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-recette:hover {
    background-color: #E63F04;
    color: #F4E2CA;
}

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

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

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

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

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

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

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

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

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