/* Reset simple */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    color: #fff;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  header {
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
  }
  
  #search {
    width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
  }
  
  main {
    flex: 1;
    display: flex;
    gap: 30px;
    padding: 20px;
    /* Centre verticalement */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  #author-info {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    max-width: 350px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 480px;
  }
  
  #author-info img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
  }
  
  #author-info h2,
  #author-name,
  #author-dates,
  #author-job,
  #author-bio {
    margin-bottom: 10px;
  }
  
  #quote-section {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 300px;
    max-width: 600px;
  }
  
  .container {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    text-align: center;
    color: #fff;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  #quote {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-style: italic;
  }
  
  #author {
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  button {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: rgba(255, 255, 255, 0.95);
  }
  
  /* Cœur favoris */
  #fav-quote {
    font-size: 1.4rem;
    background: transparent;
    border: none;
    color: #e63946;
    padding: 0 0.5rem;
  }
  
  #fav-quote:hover {
    transform: scale(1.2);
    transition: 0.2s;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    main {
      flex-direction: column;
      align-items: center;
    }
  
    #author-info,
    #quote-section {
      max-width: 90%;
      min-width: auto;
      min-height: auto;
    }
  
    #author-info {
      margin-bottom: 20px;
    }
  }