/* style.css */

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    line-height: 1.6;
    font-size: 1rem;
  }
  
  header {
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  nav li {
    margin: 0 1rem;
  }
  
  nav a {
    text-decoration: none;
    color: black;
    font-weight: bold;
  }
  
  .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  
  .gauche {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
  }
  
  .identity-photo {
    text-align: center;
  }

  .identity-photo img {
    max-width: 70%;
    height: auto;
  }
  
  .inscription-form {
    width: 100%;
    margin-top: 1.5rem;
  }
  .anim-tourne {
    animation: tourne 6s ease-in-out 0s 3;
  }
  
  @keyframes tourne {
    0%   { transform: rotate(0deg); }
    90%  { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .livre-photo img {
    padding-top: 0.2rem;
    height: auto;
    box-shadow: 7px 5px 5px grey;
  }

  .vers-livre {
    margin-top: 1rem;
    text-align: center;
  }
  
  .vers-livre a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    border-bottom: 1px solid black;
  }
  
  .texte {
    flex: 1 1 400px;
    max-width: 600px;
  }
  
  .inscription-form {
    border: 1px solid #ccc;
  }
  .inscription-form > div {
    padding: 1rem;
  }
  
  .inscription-form input {
    display: inline;
    padding: 0.5rem;
    margin-top: 0.2rem;
    box-sizing: border-box;
    border: 1px solid #aaa;
  }
  
  .titreform {
    font-size: 1.2rem;
    margin: 0 0 0.5rem 0;
    color:rgb(0, 0, 0);
    font-weight: bold;
  }

  .note {
    font-size: 0.7rem;
    color: #444;
    margin-top: 0.5rem;
  }
  
  .vers-livre {
    text-align: center;
    margin-top: 2rem;
  }
  
  .vers-livre a {
    text-decoration: none;
    font-weight: bold;
    color: black;
    border-bottom: 1px solid black;
  }
  
  section {
    padding: 1rem;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
    font-size: 0.8rem;
  }

  .message, #inscription-form-message {
    font-weight: bold;
  }
  .rouge {
    color:crimson;
  }
  .vert {
    color:forestgreen;
  }
  

/* --- Champs du formulaire --- */
#contact-form input, #contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* --- Bouton envoyer --- */
button {
  background: rgb(0, 255, 149);
  color: black;
  border: rgb(0, 255, 149) 1px solid;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 5px;
}
button:hover {
  border: #000 1px solid;
}


  

  
  /* Responsive */
  @media (max-width: 700px) {
    .wrapper {
      flex-direction: column;
      align-items: center;
    }
  
    .texte {
      text-align: left;
      padding: 0 1rem;
    }
  }
  
  @media (min-width: 700px) {
    .identity-photo {
        text-align: right;
    }
  }