body {
  font-family: Arial, sans-serif;
  background-color: #f5f8fa;
  color: #333;
  width: 800px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background-color: #55acee;
  border-radius: 5px;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 24px;
}

.tweet {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  /* Ajoute un interligne de 150% */
  line-height: 1.5;
}

.tweet:first-of-type {
  margin-top: 20px;
}

/* Utilisation de ::before pour insérer le nom d'utilisateur */
.tweet::before {
  content: "@olivier";
  font-weight: bold;
  color: #55acee;
  display: block;
  margin-bottom: 5px;
}

.tweet .user {
  font-weight: bold;
  color: #55acee;
  /* Cache le contenu utilisateur dans le HTML */
  display: none;
}

.tweet .content {
  margin-top: 5px;
  /* read-more   */
  display: inline;

  display: inline-block; /* Assure que la div s'adapte à la taille de l'image */
  min-height: 100%; /* La div aura au moins la hauteur de l'image */
  /*width: auto; /* La largeur s'ajuste automatiquement */
  width: 100%; /* La largeur s'ajuste automatiquement */
}

.tweet .content img {
  display: block; /* Supprime l'espace en dessous de l'image */
  /*width: 100%; /* L'image prend toute la largeur de la div */
  height: 120px; /* La hauteur de l'image s'ajuste automatiquement */
}

.tweet .read-more,
.tweet .read-less {
  color: #55acee;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
}

.tweet .read-more:hover,
.tweet .read-less:hover {
  text-decoration: underline;
}

.tweet .timestamp {
  color: #999;
  font-size: 12px;
  margin-top: 5px;
}

.hashtag {
  color: #999;
}

footer {
  text-align: center;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  margin-top: 20px;
}

footer p {
  margin: 0;
  color: #999;
}
