/* Reset */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, textarea, button {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #15202b;
  color: #14171a;
  line-height: 1.5;
}

nav {
  display: flex;
  align-items: flex-start; /* Aligne le contenu au sommet */
  position: fixed;
  flex-direction: column; /* Arrange les éléments verticalement */
  padding: 20px;
  background-color: #1da1f2;
  color: white;
}

nav ul {
  display: flex;
  flex-direction: column; /* Rend la liste verticale */
  list-style: none;
  gap: 15px;
  padding: 0;
}


main {
  margin-left: 15%; /* @todo Décale le contenu principal pour laisser de la place à la barre de navigation */
  max-width: calc(100% - 200px);
  padding: 20px;
  margin-right: 30%;
}

.tweet-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tweet-box textarea {
  width: 100%;
  height: 100px;
  padding: 10px;
  border: 1px solid #e1e8ed;
  border-radius: 4px;
  font-size: 14px;
  resize: none;
}

.tweet-box button {
  align-self: flex-end;
  padding: 10px 20px;
  background-color: #1da1f2;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.tweet-box button:hover {
  background-color: #0d8ddb;
}

.tweets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tweet {
  padding: 15px;
  border: 1px solid #e1e8ed;
  border-radius: 8px;
  background-color: #15202b;
  color: white;
}

.tweet .user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.tweet .user-info .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ccc;
}

.tweet .user-details {
  font-size: 14px;
}

.tweet .user-details strong {
  display: block;
  font-weight: bold;
}

.tweet .user-details span {
  color: #657786;
  font-size: 12px;
}

.tweet .tweet-content {
  font-size: 14px;
}



/* page de connexion */


.form-title {
  text-align: center;
  color: #e50914;
  font-size: 28px;
  margin-bottom: 20px;
}

.form-container {
  display: none;
  margin-top: 20px;
}

.form-container.active {
  display: block;
}


/* Champs de formulaire */

.form-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-container label {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: #bbb;
}

.body-login-container{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 100vh; /* Hauteur de la fenêtre */
  margin-top: 5%;
  margin-bottom: 100px; /* @todo */
}


.login-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
  background-color: #2c2c2c;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

}

.form-container input,
.form-container textarea,

.form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #444;
  background-color: #333;
  color: #111313;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 10px;
}

.form-container input[type="text"]:focus,
.form-container textarea:focus,
.form-container select:focus {
  border-color: #e50914;
  outline: none;
}




/* Bouton d'envoi */
.btn-login {
  padding: 12px;
  background-color: #e50914;
  border: none;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-login {
  background-color: #9b050e;
}

/* Boutons de bascule */
.form-toggle-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.form-toggle-btns button {
  padding: 12px 20px;
  background-color: #555555;
  color: #696969;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-toggle-btns button:hover {
  background-color: #777777;
}



.pp img{
  max-width: 20%;
  height: auto;
}


/* Boutons tweets */

.tweet-buttons-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 10px;
}

.tweet-buttons-container .retweet-button svg {
  width: 24px;
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.tweet-buttons-container .retweet-button svg:hover {
  transform: scale(1.2);
}

.nav-links li a img{
  max-width: 30px !important;
  max-height: 30px !important;
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
}


/* trendeings */

.right-container {
  position: fixed;
  right: 0;
  top: 0;
  background-color: white;
  width: 25%; /* Ajustez selon vos besoins */
  height: 60%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px;
  border-radius: 0 0 20px 20px;
}

.messages-container {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: white;
  width: 25%; /* Ajustez selon vos besoins */
  height: 6%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 20px;
  border-radius: 20px 20px 0 0;
}


