/*****************************************************************************
/* Variables couleurs
/****************************************************************************/
:root {
    --light-pink: #f3a3d8;
    --light-purple: #cd3f9d;
    --dark-purple: #57113f;
    --darkest-purple: #3a0c2a;
    --light-yellow: #ffffac;
    --light-blue: #57c7e1;
    --white: #efffff;
}

/*****************************************************************************
/* Font
/****************************************************************************/
@font-face {
    font-family: 'Roboto';
    src: url(../fonts/roboto/Roboto-Regular.ttf) format('truetype');
    font-weight: 400;
}

/*****************************************************************************
/* Personnalisations globales
/****************************************************************************/

body {
    font-family: Arial, sans-serif;
    background-color: var(--dark-purple);
    color: var(--white);
    text-align: center;
    margin: 20px;
}

header {
    background-color: lavenderblush;
    color: var(--dark-purple);
    padding: 20px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

strong {
    color: var(--light-yellow);
}

#presentation {
    text-align: center;
}

h1,
h2 {
    color: var(--light-yellow);
}

h2 {
    text-align: center;
    border: solid var(--light-pink);
    border-radius: 20px;
    font-size: large;
    padding: 10px;
}

h3 {
    font-size: large;
    padding: 10px;
}

table {
    width: 100%;
    align-items: center;
}

.article .nom {
    text-align: left;
    display: block;
    margin-left: 0;
    padding-left: 50px;
    padding-right: 0px;
}

.article .prix {
    text-align: center;
    padding-left: 10px;
}

.article .conseil {
    text-align: center;
}

.article .ingredients {
    text-align: left;
    padding-left: 50px;
}

.section table tr td {
    padding: 0 10px;
    text-align: left;
}

em {
    color: var(--light-blue);
}

nav ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

a {
    color: var(--light-purple);
    text-decoration: none;
    font-weight: bold;
}

footer {
    background-color: lavenderblush;
    padding: 10px;
    color: var(--dark-purple);
    margin-top: 20px;
    border-radius: 20px;
}

button {
    background-color: var(--light-blue);
    color: var(--dark-purple);
    padding: 10px 20px;
    margin: 20px 10px 20px 0;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:hover {
    background-color: var(--light-purple);
    color: var(--light-yellow);
}

form {
    background-color: #3a0c2a;
    border-radius: 20px;
    text-align: left;
    width: 90%;
    max-width: 100%;
    padding: 20px;
    margin: auto;
    margin-top: 20px;
}

form h2 {
    text-align: left;
    border: none;
    border-radius: 0;
    font-size: large;
    color: var(--white);
    padding: 0;
    margin-bottom: 40px;
}

form input,
form textarea {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 5px;
}

form textarea {
    min-height: 80px;
}

#formbottom {
    display: block;
    text-align: right;
    padding-top: 0px;
}

.mySlides {
    display: none;
    border-radius: 20px;
    margin: 20px 0;
    width: 100%;
}

.box {
    max-width: 100%;
}

iframe {
    max-width: 100%;
    border: 0;
}

#boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

#alerte {
    font-size: 30px;
}

#contacttel {
	color: #ffffac;
}

/* Version Mobile -  crans < 600px */
@media (max-width: 600px) {
    body {
        text-align: left;
        /* Pour  viter que tout soit centr  inutilement */
        font-size: 15px;
    }

    table {
        width: 100%;
        /* La table prend toute la largeur sur mobile */
        max-width: none;
        /* Supprime la largeur max pour  viter les coupures */
    }

    tr {
        display: flex;
        flex-direction: initial;
        /* Empile les  l ments verticalement */
        align-items: center;
        border-bottom: none;
        /* S paration des  l ments */
        padding-bottom: 10px;
    }

    td,
    th {
        display: block;
        /* Met chaque  l ment sur une nouvelle ligne */
        width: 100%;
        text-align: center;
        /* Centre les textes pour  viter des espaces vides */
    }

    .nom .detail {
        font-size: 16px;
        font-weight: bold;
    }

    .article .nom {
        text-align: left;
        display: block;
        margin-left: 0;
        padding-left: 10px;
        padding-right: 0px;
    }

    .article .prix {
        text-align: center;
        padding-left: 10px;
    }

    .article .conseil {
        text-align: center;
    }

    .article .ingredients {
        text-align: left;
        padding-left: 10px;
    }
}