*{
   margin: 0;
   padding: 0;
   overflow-y: auto;
}


header {
   display: flex;
   align-items: center;
   gap: 80px;
   height: 50px;
   width: 100vw;
   top: 0;
   position: fixed;
   border-bottom: 0.5px solid black;
   color: black;
   background: whitesmoke;
   z-index: 1000;
}

main {
   margin: 80px 10px 0;
}

/* Back or return button */
.back-btn {
   height: 50px;
   width: 50px;
   border: none;
   background: transparent;
   cursor: pointer;
}

.post-btn {
   display: block;
   margin: 0 auto;
   height: 40px;
   width: 300px;
   background: blue;
   color: white;
   border: none;
   border-radius: 20px;
   cursor: pointer;
}

textarea {
   width: 300px;
   height: 200px;
   border: none;
   background: whitesmoke;
   font-size: 25px;
   font-family: monospace;
   padding: 20px;
   border-radius: 10px;
   outline: none;
}

textarea:focus {
   color: blue;
}

.custom-file-button {
   display: inline-block;
   background-color: #007bff;
   color: white;
   padding: 10px 15px;
   border-radius: 5px;
   cursor: pointer;
   margin-bottom: 10px;
}

.custom-file-button:hover {
   background-color: #0056b3;
}

input[type="file"] {
   display: none;
}

#image-preview {
   margin-top: 10px;
   border: 0.5px solid black;
   background: whitesmoke;
   display: none;
   border-radius: 5px;
}

/* Styling the post container in feeds*/

.post-container {
   background: whitesmoke;
   height: auto;
   width: 100%;
   margin: auto;
   border-radius: 10px;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.profile {
   height: 50px;
   padding-left: 10px;
   display: flex;
   justify-content: left;
   align-items: center;
   gap: 20px;
   background: whitesmoke;
}

.profile-info {
   display: flex;
   flex-direction: column;
   line-height: 1.2;
}

.views-count {
  font-weight: bold;
}

.time-posted {
   color: gray;
}

.profile img {
   height: 40px;
   width: 40px;
   border-radius: 50%;
   background: #808080;
   object-fit: cover;
}

.reactions {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: space-evenly;
   height:  50px;
   bottom: 0;
   border-top: 0.1px thin #000000;
   padding-top: 5px;
   margin-top: 10px;
}

.like-btn, .comment-btn, .share-btn, .views-btn {
   height: 40px;
   width: auto;
   border: none;
   background: transparent;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 4px;
   cursor: pointer;
}

.reactions button svg {
   width: 20px;
   height: 20px;
   stroke-width: 1px;
   transition: fill 0.3s ease;
}

.text-post {
   font-size: 24px;
   margin: 8px;
}

/* Suggested accounts vertical card styling */
.profile-card {
  display: flex;
  flex-direction: column; /* stack items vertically */
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 15px;
  width: 150px; /* fixed width for vertical look */
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
   margin-top: 20px;
}

.profile-card-pic {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
   object-fit: cover;
   border: 1px solid gray;
}

.profile-card-info {
   display: block;
  text-align: center;
  margin-bottom: 10px;
}

.profile-card-info p {
  font-size: 14px;
  color: #555; /* username color */
}

.follow-btn {
  padding: 6px 12px;
  background-color: #1da1f2;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.follow-btn:hover {
  background-color: #0d8ddb;
}