@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* CSS Reset */
*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*,
button,
input,
select,
textarea {
  font-family: 'Roboto', sans-serif;
}

/* Vars */
:root {
  --primary: hsl(0, 0%, 100%);
  --secondary: hsl(0, 0%, 98%);
  --border: hsl(0, 0%, 86%);

  --story-border: hsl(0, 0%, 78%);
  --img-border: hsla(0, 0%, 0%, 0.1);

  --text-dark: hsl(0, 0%, 15%);
  --text-light: hsl(0, 0%, 60%);

  --like: hsl(355, 82%, 61%);
  --link: hsl(204, 100%, 48%);

  --header-height: 44px;
  --nav-height: 44px;
}
:root.darkTheme {
  --primary: hsl(0, 0%, 0%);
  --secondary: hsl(0, 0%, 2%);
  --border: hsl(0, 0%, 15%);

  --story-border: hsl(0, 0%, 44%);
  --img-border: hsla(0, 0%, 100%, 0.1);

  --text-dark: hsl(0, 0%, 98%);
  --text-light: hsl(0, 0%, 60%);
}

/* -------------------------------------------------- */

/* General Styles */
body {
  min-height: 100vh;

  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.posts svg {
  display: block;
}

img {
  max-width: 100%;
}

/* -------------------------------------------------- */

/* Header Navbar */
.header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--primary);

  display: flex;
  justify-content: center;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;

  width: 100%;
  height: 1px;
  background-color: var(--border);
}

.header__content {
  width: 100%;
  max-width: 975px;

  padding: 0 14px;

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

.header__home {
  margin-top: 5px;
}
.header__theme-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.header__theme-button-sun {
  display: none;
}
.header__theme-button-moon {
  display: unset;
}
:root.darkTheme .header__theme-button-sun {
  display: unset;
}
:root.darkTheme .header__theme-button-moon {
  display: none;
}

.header__search {
  width: 216px;
  height: 28px;

  display: none;
  align-items: center;
  position: relative;
}
.header__search svg {
  width: 12px;
  height: 12px;

  position: absolute;
  left: 8px;
}
.header__search input {
  width: 100%;
  height: 100%;
  background-color: var(--secondary);

  padding: 4px 10px 4px 28px;
  border: 1px solid var(--border);
  border-radius: 4px;
  outline: none;

  font-size: 12px;
  font-weight: 300;
  text-decoration: none;
  color: var(--text-light);

  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.header__search input:focus {
  color: var(--text-dark);
}

.header__buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Bottom Navbar */
.navbar {
  width: 100%;
  height: var(--nav-height);
  background-color: var(--primary);

  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.navbar::after {
  content: '';
  position: absolute;
  top: 0;

  width: 100%;
  height: 1px;
  background-color: var(--border);
}

.navbar__button {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar__button.profile-button .profile-button__border {
  width: 28px;
  height: 28px;
  border-width: 2px;
}

/* Main Content */
.main-container {
  background-color: var(--primary);


  display: flex;
  flex: 1;
}

.content-container {
  width: 100%;
  /* max-width: 935px; */



  margin: 0 auto;
  display: flex;
}
.content {
  /* width: 100%;
  max-width: 777px;

  margin: 0 auto; */
  width: 65%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  height: 100vh

}

.content::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.content {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.stories {
  width: 100%;
  background-color: var(--primary);
  padding: 16px 0;
  flex-shrink: 0;

  position: relative;
  overflow: hidden;
}
.stories::after {
  content: '';
  position: absolute;
  bottom: 0;

  width: 100%;
  height: 1px;
  background-color: var(--border);
}
.stories__content {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 16px;
  padding: 0 16px;
  position: relative;

  scroll-behavior: smooth;
  scrollbar-width: none;
}
.stories__content::-webkit-scrollbar {
  display: none;
}

.posts {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.stories__left-button,
.post__left-button,
.stories__right-button,
.post__right-button {
  width: 24px;
  height: 24px;
  display: none;

  background-color: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5));

  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.stories__left-button {
  left: 10px;
}
.stories__right-button {
  right: 10px;
}
.post__left-button {
  left: 16px;
  opacity: 0.7;
}
.post__right-button {
  right: 16px;
  opacity: 0.7;
}

/* Components */
/* Story */
.story {
  background-color: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.story__avatar {
  position: relative;
}
.story__border {
  width: 64px;
  height: 64px;

  fill: none;
  stroke: var(--story-border);
  stroke-width: 1.5;
}
.story--has-story .story__border {
  stroke: url(#--story-gradient);
  stroke-width: 2;
}
.story__picture {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
}
.story__picture::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  border: 1px solid var(--img-border);
  border-radius: 50%;
}

.story__user {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  text-transform: lowercase;

  max-width: 72px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.story--has-story .story__user {
  color: var(--text-dark);
}

/* Post */
.post {
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.post__header {
  background-color: var(--primary);
  border-bottom: 1px solid var(--border);

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}
.post__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.post__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.post__avatar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  border: 1px solid var(--img-border);
  border-radius: 50%;
}
.post__user {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: capitalize;
}
.post__user:hover {
  text-decoration: underline;
}
.post__more-options {
  background-color: transparent;
  border: none;
  cursor: pointer;
}


.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 4px 4px;
  background: #D6D6D6;
  display: block;
  transition: opacity 200ms ease;
  border-radius: 30px;
}


.owl-dots {
  width: 100%;
  position: absolute;
  bottom: 4px;
}
/* .owl-item {height: 0;}    
.owl-item.active {height: auto;} */

.post__medias {
  display: flex;
  overflow-y: hidden;
  overflow-x: auto;

  width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.post__medias::-webkit-scrollbar {
  display: none;
}
.post__media {
  width: 100%;
  flex: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;

}

.post__footer {
  background-color: var(--primary);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.post__buttons {
  display: flex;
  position: relative;
}
.post__button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 22px;
  padding: 8px;
}
.post__button--align-right {
  margin-left: auto;
}
.post__indicators {
  display: flex;
  align-items: center;
  gap: 4px;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
}
.post__indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-light);
}
.post__indicator--active {
  background-color: var(--link);
}

.post__infos {
  display: flex;
  flex-direction: column;
  padding: 0 8px;
  gap: 10px;
}
.post__likes{
  display: flex;
}



.comment_user_DP > img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 100px;
  background: black;
}

.last_comment_row {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}

.comment_box {
  /* width: 50%; */
  margin: 0px 8px;
  background: #eeeeee;
  padding: 4px 12px 4px 6px;
  border-radius: 7px;
}




.side-menu__suggestions-content::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.side-menu__suggestions-content {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.comment_date {
  font-size: 11px;
  text-align: end;
}



.comment_text {
  font-size: 14px;
  margin: 4px 0px;
}

.comment_inp_inner {
  display: flex;
  align-items: center;
  width: 100%;
  background: #eeeeee;
  padding: 5px 6px;
  border-radius: 30px;
}

input.main_post_conment_post {
  background: none;
  border: none;
  width: 100%;
  height: 30px;
}
input.main_post_conment_post:focus{
  border: none;
  outline: none;
}

.box_row {
  width: 100%;
}

.comment_write_inp_div {
  width: 100%;
}

.comment_user_icon {
  padding: 0px 7px;
  color: #676767;
}

button.comment_sent_btn , .model_comment_sent_btn {
  background: linear-gradient(45deg, #000000, #626262);
  border: navajowhite;
  cursor: pointer;
  font-size: 15px;
  color: #ecd81f;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
}

span.single_post_read_more {
  display: block;
  font-size: 13px !important;
  margin: 3px 0px;
  color: #b09800 !important;
  cursor: pointer;
}

span.mian_post_desc {
  height: 33px;
  display: block;
  overflow: hidden;
}



.post__likes {
  align-items: center;
  gap: 6px;
}
.post__likes-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}
.post__likes-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  border: 1px solid var(--img-border);
  border-radius: 50%;
}
.post__likes span,
.post__description span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
}
.post__likes a,
.post__description a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
}
.post__name--underline:hover {
  text-decoration: underline;
}
.post__date-time {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Side Menu */
.side-menu {
  /* max-width: 370px;
    position: fixed;
    left: 53.6%;
    top: 84px;
    transform: translateX(calc(-50% + 322px));
    display: none; */
    flex-direction: column;
    background: var(--primary);
    padding: 15px;
    width: 35%;
}

.side-menu__user-profile {
  display: flex;
  align-items: center;

  margin: 0px 0 22px;
}


.profile_total_box {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 8px 0px;
}

.total_box_inner {
  width: 100%;
  /* background: black; */
  padding: 9px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.total_num {
  color: rgb(0, 0, 0);
  font-size: 26px;
  font-weight: bold;
}

small.total_box_title {
  color: #615e5e;
  font-size: 11px;
}

.seprator {
  width: 8px;
  background: #e4e4e4;
  height: 49px;
}



.side-menu__user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;

  margin-right: 12px;
  flex-shrink: 0;

  overflow: hidden;
  position: relative;
}
.side-menu__user-avatar::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  border: 1px solid var(--img-border);
  border-radius: 50%;
}
.side-menu__user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  gap: 4px;
}
.side-menu__user-info a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: lowercase;

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-menu__user-info span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-menu__user-button {
  background-color: transparent;
  border: none;
  cursor: pointer;

  font-size: 12px;
  font-weight: 500;
  color: var(--link);

  flex-shrink: 0;
}

.side-menu__suggestions-section {
  display: flex;
  flex-direction: column;
}
.side-menu__suggestions-header {
  display: flex;
  justify-content: space-between;
}
.side-menu__suggestions-header h2 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
}
/* .side-menu__suggestions-header button {
  
} */

.side-menu__suggestions-content {
  display: flex;
  flex-direction: column;
  gap: 16px;

  margin: 16px 0 24px;
  padding-left: 4px;
}
.side-menu__suggestion {
  display: flex;
  align-items: center;
}
.side-menu__suggestion-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;

  margin-right: 0px;
  flex-shrink: 0;

  overflow: hidden;
  position: relative;
}

.side-menu__suggestion-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
  gap: 2px;
  margin: 0px 8px;
}
.side-menu__suggestion-info a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: lowercase;

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-menu__suggestion-info a:hover {
  text-decoration: underline;
}
.side-menu__suggestion-info span {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-menu__suggestion-button {
  background-color: #efdc21;
  padding: 3px 7px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: hsl(0deg 0% 0%);
}

button.side-menu__suggestion-button > a {
  text-decoration: none;
  font-size: 12px;
  color: black;
}

.side-menu__footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-menu__footer-links {
  display: flex;
}
.side-menu__footer-list {
  list-style: none;
}
.side-menu__footer-item {
  display: inline-block;
}
.side-menu__footer-item:not(:last-of-type)::after {
  content: '\00B7';
  margin: 0 0.5px;
}
.side-menu__footer-item,
.side-menu__footer-link,
.side-menu__footer-copyright {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-light);
  text-decoration: none;
}
.side-menu__footer-copyright {
  text-transform: uppercase;
}

/* Profile Button */
.profile-button {
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
}
.profile-button__border {
  display: none;

  width: 30px;
  height: 30px;
  border: 1px solid var(--text-dark);
  border-radius: 50%;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.profile-button:focus .profile-button__border {
  display: block;
}
.profile-button__picture {
  width: 24px;
  height: 24px;
  border-radius: 50%;

  overflow: hidden;
  position: relative;
}
.profile-button__picture::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  border: 1px solid var(--img-border);
  border-radius: 50%;
}



.profile_inner_container {
  background: linear-gradient(45deg, #b79300, #f8e827);
  border-radius: 11px;
  width: 100%;
  height: 180px;
}

.profile_logo > img {
  width: 107px;
  height: 107px;
  background: black;
  border-radius: 111px;
}

.profile_main_details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.profile_bg_container {
  width: 100%;
}

.profile_name {
  font-weight: bold;
  font-size: 21px;
}

.profile_desgnation {
  color: #272727;
}

.profile_logo {
  border-radius: 100px;
  border: 2px solid #000000;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}


button.e_follow_btn {
  background: linear-gradient(180deg, #000000, #494949 , black);
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 7px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

button.e_follow_btn > span {
  color: #ecd820;
}


a.post__avatar > img {
  background: #ecd81f;
}

.date_post {
  font-size: 11px;
  color: #565656;
}


.side-menu__suggestions-header > button {
  background: no-repeat;
  border: none;
  color: black;
}




.comment_View_modals .all_side_comment_box {
 
  overflow-y: auto;
}



.side-menu__suggestion {

  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 4px;
}



.comment_View_modals .comment_sent_box {
  position: absolute;
  bottom: 0;
  width: 100%;
  right: 0;
  left: 0;
  background: black;
  padding: 28px 0px;
}


p.show_not_comment {
  font-size: 20px;
  text-align: center;
  display: flex;
  margin-top: 200px;
  justify-content: center;
  align-items: center;
  color: #a5a5a5;
}

.follow_requested_bg {
  background: linear-gradient(180deg, #3d3d3d, #828282 , #393939) !important;
}

.follow_accepted_bg {
  background: linear-gradient(180deg, #025500, #008708 , #00621a) !important;
}



.show_not_post_yat {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}

.not_post_icon {
  font-size: 68px;
  border: 3px solid #919191;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 65px;
  color: #767676;
}

.msg_for_not_post_yat {
  font-size: 27px;
  margin: 6px 0px;
  color: #898989;
}

.e_card_go_btn > a {
  width: 100%;
  display: block;
  text-decoration: none;
  background: linear-gradient(180deg, #000000, #494949 , black);
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 7px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  text-align: center;
}

.follow_btn_container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 6px;
}

.follow_btn {
  width: 100%;
}

.e_card_go_btn > a > span {
  color: #eedc21;
}

.e_card_go_btn {
  width: 100%;
}

.go_to_card_btn {
  width: 100%;
}

img.top-bar__title__verified-icon.sugg_tick {
  width: 17px !important;
  height: 17px !important;
  background: none !important;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Media Queries */
@media (max-width: 767px) {
  .header__buttons--desktop {
    display: none;
  }

  /* Fix post medias indicators bugs on mobile */
  .post__medias {
    gap: 1px;
  }


  .comment_inner_modal {
    display: flex;
    width: 555px;
    height: 600px;
}


.comment_post_slider {
  width: 50%;
  background: black;
}


.all_side_comment_box {
  /* width: 50%; */
  background: white;
  padding: 10px 13px;
}


.comment_View_modals .post__media {
  height: 600px;
  object-fit: contain;
}

/* .comment_View_modals .comment_inp_inner {

  width: 48%;

} */




.side-menu__suggestions-content {
  display: flex;
  flex-direction: row;
  gap: 6px;
  margin: 14px 0 13px;
  padding-left: 4px;
  overflow-x: auto;
}
.side-menu__suggestion {
  display: block;
  align-items: center;
  background: #ecd8202b;
  text-align: center;
  padding: 8px 6px;
  border-radius: 10px;

}
.side-menu__suggestion-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  /* margin-right: 12px; */
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.side-menu__suggestion-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 2px;
  margin: 5px 0px;
  width: 90px;

}

a.side-menu__suggestion-avatar  > img {
  width: 50px;
  height: 50px;
  border-radius: 100px;
  background: #ecd81f;
}



.go_to_card_btn {
  width: 100%;
}





.side-menu__suggestion-info a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  text-transform: lowercase;

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.side-menu__suggestion-info a:hover {
  text-decoration: underline;
}
.side-menu__suggestion-info span {
  font-size: 9px;
  font-weight: 400;
  color: var(--text-light);

  max-width: 180px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}



.content-container {
 
  flex-direction: column-reverse;
}


.content {
  width: auto;
  display: flex;
  flex-direction: column;
  overflow-y: unset;
  height: auto;
}


.side-menu {

  padding: 10px 10px;
  width: 100%;
}


}

@media (min-width: 620px) {
  

  .content {
    gap: 24px;
  }

  .stories {
    border: 1px solid var(--border);
    border-radius: 4px;
  }
  .stories::after {
    content: none;
  }

  .posts {
    gap: 4px;
  }
  .post {
    border: 1px solid var(--border);
    border-radius: 4px;
  }
  .post__footer {
    padding: 4px 8px 12px;
  }
  .post__date-time {
    margin-top: 6px;
  }




}

@media (min-width: 768px) {
  :root {
    --header-height: 54px;
    --nav-height: 0px;
  }

  .header__content {
    padding: 0 20px;
  }

  .header__search {
    display: flex;
  }

  .header__buttons--mobile {
    display: none;
  }

  .navbar {
    display: none;
  }
}




@media (min-width: 1024px) {
  .main-container {
    background-color: hsl(0deg 0% 96.85%)
  }

  .content {
    margin: unset;
  }

  .side-menu {
    display: flex;
  }
}
