/* -------------------------------------------------
   style.css
------------------------------------------------- */

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    text-align: center;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: lighter;
}

body {
    width: 100%;
    background-image: url(../img/background.webp);
    background-repeat: repeat;
    background-size: 100px;
    background-position: 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
p {
    font-size: 1em; !important
    text-decoration: none; 
    color: black;
}
header {
    position: fixed;
    top: 0;
    right: 0;
}

section {
    max-width: 800px;
}

blockquote {
    font-style: italic;
    padding: 1em 3em;
}
#texte {
    margin-top: 50px;
}

#texte p {
    padding: 1em 2em;
}

#gallerie {
    display: flex;
    flex-direction: column;
}

.gallerie-item {
    width: 100%;
    padding: 0 1em;
    margin-bottom: 1em
}

.gallerie-item img {
    max-width: 100%;
}

h1 {
    font-size: 1.7em;
    margin: 1em
}
h2 {
    font-size: 1.5em;
    margin: 1em
}
a {
    font-size: 1.5em;
    margin: 1em;
    font-weight: bold;
}

/* Style global du formulaire */
form {
  max-width: 400px;
  margin: 2rem auto;
  padding: 1.5rem;
}

/* Chaque ligne (label + champ) */
.form-group {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

/* Label à gauche */
label {
  flex: 0 0 100px; /* largeur fixe du label */
/*   font-weight: bold; */
  color: #333;
}

/* Champ à droite */
input[type="text"],
input[type="email"] {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

/* Focus */
input:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 3px rgba(0, 123, 255, 0.4);
}

/* Bouton */
button {
  display: block;
  width: 100%;
  padding: 0.7rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}