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

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

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

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

h1, h2, h3, h4, p, span {
    font-weight: normal;
}

a {
    text-decoration: none;
}
.titre-astuce{
    font-family: "Arsenica", serif;
    font-size: 9em;
    color: #F4E2CA;
    text-align: center;
}

/* Formulaire */
form {
    width: 80%;
    margin: 5em auto;
    background-color: #F4E2CA;
    padding: 3em;
    border-radius: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.form-section {
    width: 100%;
    margin-bottom: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Label */
form label {
    font-family: "Arsenica", serif;
    font-size: 1.5em;
    color: #394930;
    margin-bottom: 0.5em;
}

/* Champs de saisie */
.input-astuce, form textarea {
    width: 100%;
    padding: 0.8em;
    margin-bottom: 1.5em;
    border: 1px solid #0C1E00;
    border-radius: 0.5em;
    font-size: 1.2em;
    background-color: #FFFFFF;
    color: #0C1E00;
}

form textarea {
    resize: vertical;
    height: 200px;
}

/* Bouton submit */
.submit-astuce {
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: #0C1E00;
    color: #F4E2CA;
    border: none;
    padding: 1.5em 3em;
    font-size: 1.5em;
    border-radius: 0.5em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto; /* Centre le bouton */
}

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


#t_img {
    margin-top: 1em;
}


@media screen and (min-width: 900px) {
    form {
        width: 50%;
    }

    form label {
        font-size: 1.8em;
    }

    form input[type="text"], form textarea, form input[type="file"], form input[type="number"] {
        font-size: 1.3em;
    }

    form input[type="submit"] {
        font-size: 1.8em;
    }
}
