* {
  box-sizing: border-box;
  margin: 0px;
}

header {
  padding: 0.5rem;
  background: linear-gradient(45deg, #7cd4f8, #8aa6f5);
}

.sticky {
  padding: 0.3rem;
}

:root {
  --search: #dce6f1;
  --header_text: rgba(0, 0, 0, 0.9);
  --font_header_icon_size: 1.6rem;
  --para_font_size: 0.8rem;
  --para_color: rgba(0, 0, 0, 0.6);
  --para_font_weight: 400;
  --header_font_weight: 600;

  --message: rgba(0, 0, 0, 0.6);
  --message_font_size: 0.8rem;
  --sidebar_title_size: 0.8rem;
  --message_font_weight: 500;
  --list_background: #e9e5df;

  --border_color: rgba(0, 0, 0, 0.15);
  --para_color: rgba(0, 0, 0, 0.6);
}

body {
  background-color: rgb(245 253 255);
}

.bi {
  font-size: var(--font_header_icon_size);
}

.info {
  position: absolute;
  top: -6;
  right: -5;
  background-color: brown;
  color: white;
  padding: 1px 3px;
  font-weight: 600;
  border-radius: 6px;
}

/* sidebar */

.sidebar {
  padding: 0 !important;
  border-radius: 10px;
  border: 1px solid black;
  display: flex;
  flex-direction: column;
}

.profile_header {
  background-image: url("back.jpg");
  height: 70px;
}

.sidebar_first_col > .profile_info {
  text-align: center;
  padding: 0px 20px;
  padding-bottom: 10px;
}

.sidebar_first_col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 2px solid rgba(0, 0, 0, 0.15);
  margin-bottom: 10px;
  width: 100%;
  background-color: #ddf4ff;
}

.profile_info > p {
  padding: 2px;
}

.connections {
  padding: 8px;
  width: 100%;
}
.viewed {
  padding: 8px;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.connections:hover {
  background: var(--list_background);
  cursor: pointer;
}

.viewed:hover {
  background: var(--list_background);
  cursor: pointer;
}

.sidebar_footer {
  display: flex;
  align-items: center;
  padding: 10px;
}

.sidebar_footer > i {
  margin-right: 10px;
  font-size: medium;
}

.sidebar_access {
  padding: 10px;
  font-size: var(--sidebar_title_size);
  border: 1px solid lightgray;
  border-left: none;
  width: 100%;
  border-right: none;
}
a {
  text-decoration: none;
  color: black;
}

.sidebar_access:hover {
  cursor: pointer;
  background-color: var(--list_background);
}

a:hover {
  color: blue;
}

.sidebar_second_col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: fit-content;
  flex-wrap: wrap;
  border: 2px solid rgba(0, 0, 0, 0.15);
  background-color: #ddf4ff;
}

.title_text:hover {
  text-decoration: underline;
}

.sidebar_title {
  margin: 10px;
  font-size: var(--message_font_size);
}
.sidebar_second_text {
  padding: 3px 10px;
  font-size: 0.9rem;
  color: grey;
  font-weight: 500;
}

.sidebar_second_text:hover {
  background-color: var(--list_background);
}

.sidebar_second_col,
.sidebar_first_col {
  border-radius: 8px;
}

/* Activites */

.new_list {
  background-color: white;
  margin-bottom: 2px;
  display: flex;
  flex-direction: column;
  align-items: stretch;

  padding: 1px 10px;

  justify-content: center;

  width: 100%;
}

.new_list:hover {
  background-color: var(--list_background);
  cursor: pointer;
}

.activity {
  background-color: #ddf4ff !important;
  border: none;
}

.act_title {
  font-size: 0.9rem;
  font-weight: 600;
}
.news {
  border: 2px solid var(--border_color);
  height: fit-content;
  margin-bottom: 15px;
  background-color: white;
  border-radius: 8px;
  padding-bottom: 10px;
}

.news_title {
  font-weight: 600;
}

.account_name {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.8rem;
}

.account_feed {
  display: flex;
  flex-direction: row;
  margin-top: 5px;
  padding: 10px 5px;
  border-bottom: 1px solid lightgray;
  flex-wrap: wrap;
}
.account_picture {
  height: 40px;
  object-fit: contain;
}
.account_info {
  margin-left: 5px;
}
.follow {
  padding: 5px;
  text-align: center;
  font-size: var(--message_font_size);
  font-weight: 500;
  margin-top: 5px;
  border-radius: 50px;
  border: 1px solid black;
}

.follow:hover {
  background-color: var(--list_background);
  cursor: pointer;
}

.news_head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  padding-bottom: 0px;
}

.small_screen {
  display: none;
}

.option_text {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  height: fit-content;
  padding: 5px 0px;
  position: absolute;
  left: -190px;

  background-color: white;
  border-radius: 10px;
  border: 1px solid lightgray;
  width: 250px;
}

.dropdown .title {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px;
  padding-bottom: 5px;
}
.list {
  padding: 8px 10px;
  font-size: small;
}

.list:hover {
  text-decoration: underline;
  background-color: var(--list_background);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.bdr_bottom {
  border-bottom: 0.2px solid rgba(0, 0, 0, 0.15);
}

.dropdown_profile {
  display: flex;
  flex-direction: row;
  height: fit-content;
  padding: 10px;
}

.profile_view_button {
  border: 1px solid blue;
  text-align: center;
  padding: 5px;
  margin: 10px;

  border-radius: 500px;
}

@media screen and (max-width: 650px) {
  .sidebar,
  .activity {
    display: none;
  }
  .mainbody {
    margin: 0px 5px;
    display: grid;
    grid-template-columns: 1fr;
  }
  .header {
    margin: 0px;
    padding: 10px;
  }
  .nav_text {
    display: none;
  }

  .search_input {
    display: none;
  }
  .search_box {
    background-color: white !important;
  }

  .height_right_2 > .nav_link,
  .right_nav_text {
    display: none;
  }
  .small_screen {
    display: block;
    padding: 5px;
    border-radius: 50px;
  }
  .small_screen:hover {
    background-color: lightgray;
    cursor: pointer;
  }
  .bi-grid-3x3-gap-fill {
    display: none;
  }

  .post_box {
    margin-top: 20px;
  }

  .drop {
    display: block !important;
  }

  body::-webkit-scrollbar {
  }
}

@media screen and (min-width: 650px) and (max-width: 1000px) {
  .sidebar {
    display: none;
  }
  .header {
    margin: 0px;
    padding: 10px;
  }
  .mainbody {
    display: grid;
    margin: 0px 10px;
    margin-top: 15px;
    grid-template-columns: 1fr 0.5fr;
  }
  .small_screen {
    display: block;
    padding: 5px;
    border-radius: 50px;
  }
  .search_input {
    display: none;
  }
  .search_box {
    background-color: white !important;
  }

  .right_nav_text {
    display: none;
  }
}

@media screen and (min-width: 375px) and (max-width: 649px) {
  .jobs,
  .network {
    display: none;
  }
}

/* Main body */

.mainbody {
  padding-top: 6rem;
  margin: 0 25px 140px;
  display: grid;
  grid-template-columns: 20% 50% 25%;
  grid-gap: 16px;
}

.sidebar,
.posts,
.activity {
  background-color: white;
  padding: 10px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  border: 2px solid var(--border_color);
}

/* .sidebar{
    border:none;
    background-color: #e9e5df;
}
.activity{
    padding:0px;
    border:none;
} */

.sidebar {
  display: grid;
  grid-template-rows: 1fr;
  grid-row-gap: 5px;
}

.sidebar,
.activity {
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
}

.posts {
  background: transparent;
  padding: 0px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.all-posts {
  overflow-y: auto;
  height: 125vh;
}

.post_item {
  background-color: white;

  border: 2px solid var(--border_color);

  height: fit-content;
}
.post_item_header {
  padding: 10px;
}
.box1,
.act {
  height: 300px;
}

.profile {
  height: 50px;
  border-radius: 50%;
}

.post_input {
  width: 90%;
  padding: 15px;
  border: 1px solid #6e6558;
  border-radius: 500px;
  outline: none;
  color: black;
}

.post_input:hover {
  background: transparent;
}

.input_blocks {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.input_option {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.post_box {
  padding: 15px;
  background-color: #76a6bc;
  margin-bottom: 20px;
  border-radius: 10px;
  color: var(--para_color);
  font-weight: 400;
}
.input_text {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.option {
  margin-right: 10px;
}

.post_item {
  margin-bottom: 10px;
}
.input_option {
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
}
.input_option:hover {
  background: rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.post_item_owner > a {
  text-decoration: none;
  color: black;
  font-size: 1.4 rem;
  font-weight: 600;
}
.post_item_owner > a:hover {
  color: blue;
}

.post_item_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.post_item_info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post_item_body_info {
  padding-left: 10px;
  padding-right: 10px;
}

.post_item_body_info > p {
  font-size: 0.8rem;
}
.post_item_header > i:hover {
  cursor: pointer;
  background-color: lightgray;
  border-radius: 500px;
}

.post_item_body_info > p {
  padding: 10px 0px;
  font-size: 1.05rem;
  color: black;
}

.post_item_body_video > video {
  object-fit: contain;
  width: 400px;
}

.post_item_footer {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  border-top: 1px solid lightgray;
  flex-wrap: wrap;
}

.post_item_footer > .footer_item {
  margin-right: 10px;
  color: black;
  font-size: 0.8 rem !important;
}

.footer_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.footer_item:hover {
  background-color: lightgrey;
  padding: 10px;
  cursor: pointer;
}

.footer_item > i {
  font-weight: 600;
  color: var(--message);
  font-size: 1.2rem;
  margin-right: 5px;
}

.post_item_comment_info {
  display: flex;
  margin: 4px 0px;
  height: 1.5rem;
  padding-left: 10px;
  padding-right: 10px;
  /* align-items: center; */
}

.post_item_comment_info > span {
  line-height: 2;
  margin-left: 10px;
  font-size: 15px;
}
