body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}

.container {
  display: flex;
  max-width: 1000px; /* Set your desired maximum width */
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.profile {
  width: 150px; /* Set your desired fixed width */
  padding: 20px;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-picture {
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile h2 {
  margin-bottom: 0px; /* Adjust the margin as needed */
  font-weight: bold;
}

.profile p {
    margin: 5px 0;
    color: #888;
    
}

.profile p3 {
    margin: 5px 0;
    margin-top: 5px;
    
}

.profile-picture img {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.profile p2 {
  margin-top: 10px;
  font-size: 10px; /* Set your desired font size for the bio */
  color:  #71736f;

}

a {
  color: #888; /*default color for unvisited links*/
  text-decoration: none; /*remove underline from links*/
}

a:hover {
  text-decoration: underline; /*underline links on hover*/
}

a:visited {
  color: #666;/*set the color for visited links*/
}

.profile a {
  display: block; /* Make links block-level elements to stack vertically */
  text-align: center; /* Center the text */
  margin-bottom: 2px; /* Add some space between links */
  text-decoration: none; /* Remove underlines */
  color: #333; /* Set the text color */
  font-size: 0.8em;
}

.profile a:hover {
  text-decoration: underline; /* Underline links on hover */
}

.microblog {
  flex: 1;
}

.compose {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.compose textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.compose button {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.post {
  border: 1px solid #ccc;
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 10px;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  max-width: 765px; /* Adjust the max-width to your preference */
}

.post .profile-picture {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
  overflow: hidden;
}

.post .user-info {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  min-width: 100px; /* Set a minimum width for user info */
}

.post .display-name {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0px;
}

.post .handle {
  color: #888;
  margin-top: 0;
  margin-bottom: 0px;
  font-size: 0.8em;
}

.post .tweet-content {
  flex: 1; /* Allow tweet content to take remaining space */
  margin: 0px;
  font-size: 0.8em; /* Adjust the font size to your preference */
  color: #333; /* Adjust the text color to your preference */
  font-family: 'Arial', sans-serif; /* Adjust the font family to your preference */
  /* Add any other styles you want to apply to the tweet content */
}

.post .tweet-content img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 10px 0;
}

.post .timestamp {
  font-size: 0.6em;
  color: #555;
  margin-left: auto;
}

.post p {
  margin: 0;
}

/* Add/Update this style to your CSS */
#backButton {
  display: flex;
  margin: 20px auto;
  align-self: flex-start; /* Align with the left edge of the container */
  background-color: #fff; /* White background */
  color: #000; /* Black text color */
  padding: 8px 12px; /* Smaller padding */
  border: 1px solid #000; /* Add a black border */
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px; /* Smaller font size */
 

}


/* Add the following styles to target elements only on the permalink page */
html.permalink-page .microblog .post .user-info {
  display: none;
}

/* Add the following styles to target elements only on the permalink page */
.permalink-page .microblog .post {
  flex-direction: column;
}

.permalink-page .microblog .post .user-info {
  display: none;
}

.permalink-page .microblog .post .tweet-content {
  width: 100%; /* Ensure the tweet content takes full width */
}

.permalink-page .microblog .post .timestamp {
  margin-top: 10px; /* Adjust the spacing as needed */
}

/* Add this to your existing CSS file or create a new one if needed */

.about-page .microblog .post .tweet-content {
  width: 100%; /* Ensure the tweet content takes full width */
  text-align: center; /* Center the text within the container */
  margin: 0 auto; /* Center the container horizontally using auto margins */
}

.about-page .microblog .post .tweet-content p {
  max-width: 700px; /* Set a maximum width for the paragraphs, adjust as needed */
  margin: 0 auto; /* Center the paragraphs horizontally */
}

.about-page .profile a {
  display: block;
  text-align: center;
  margin-bottom: 2px;
  text-decoration: none;
  color: #333;
  font-size: 0.8em;
}

.about-page .profile a:hover {
  text-decoration: underline;
}

.about-page .microblog .posts {
  padding: 20px; /* Adjust the padding as needed */
}

/* Add these styles to your existing styles.css file */

.gallery-page .container {
  display: flex;
  max-width: 1000px; /* Set your desired maximum width */
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.gallery-page .profile {
  width: 150px; /* Set your desired fixed width */
  padding: 20px;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gallery-page .profile a {
  display: block;
  text-align: center;
  margin-bottom: 2px;
  text-decoration: none;
  color: #333;
  font-size: 0.8em;
}

.gallery-page .microblog .posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Set to four columns */
  gap: 10px; /* Adjust the gap between images as needed */
  padding: 20px;
}

.gallery-page .thumbnail {
  max-width: 100%;
  height: auto;
  margin: 5px;
}

.gallery-page img:hover {
  opacity: 0.8; /* Add a hover effect if desired */
}

/* Add this to your styles.css file */
.thumbnail-container {
  text-align: center;
}

.thumbnail-title {
  margin-top: 5px;
  font-size: 0.8em;
  color: #888;
}
