@import url("https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Hand:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --fab: 64px;
  --item: 56px;
  --gap: 14px;
  --blue: #1d9bf0;
}

.fab {
  position: fixed;
  right: 16px;
  bottom: 8vh;
  z-index: 99999;
}

.fab {
  display: none;
}

.fab-main {
  width: var(--fab);
  height: var(--fab);
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s ease;
}

.fab-main:active {
  transform: scale(0.96);
}

/* icons stacked */
.fab-main svg {
  position: absolute;
  width: 30px;
  height: 30px;
  transition: 0.18s ease;
}

.fab-main .icon-plus {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.fab-main .icon-pen {
  opacity: 0;
  transform: scale(0.85) rotate(-15deg);
}

.open .fab-main .icon-plus {
  opacity: 0;
  transform: scale(0.8) rotate(90deg);
}

.open .fab-main .icon-pen {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* action list */
.actions {
  position: absolute;
  right: 4px;
  bottom: calc(var(--fab) + 14px);
  display: grid;
  gap: var(--gap);
  pointer-events: none;
}

.fab-item {
  width: var(--item);
  height: var(--item);
  border: 0;
  border-radius: 999px;
  background: #ffffffff;
  color: #eef;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
  translate: 0 8px;
  opacity: 0;
  scale: 0.9;
  transition: translate 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.2s,
    scale 0.2s, background 0.2s;
}

.fab-item:hover {
  background: #171d22;
}

.fab-item svg {
  width: 26px;
  height: 26px;
}

/* labels like X */
.fab-item::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  padding: 8px 12px;
  border-radius: 999px;
  font: 500 16px system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  translate: 8px 0;
  white-space: nowrap;
  pointer-events: none;
}

/* open state */
.open .fab-item {
  pointer-events: auto;
  translate: 0 0;
  opacity: 1;
  scale: 1;
}

.open .fab-item::after {
  opacity: 1;
  translate: 0 0;
  transition: opacity 0.18s 0.06s, translate 0.18s 0.06s;
}

/* stagger */
.open .fab-item:nth-child(1) {
  transition-delay: 60ms;
}

.open .fab-item:nth-child(2) {
  transition-delay: 90ms;
}

.open .fab-item:nth-child(3) {
  transition-delay: 120ms;
}

.open .fab-item:nth-child(4) {
  transition-delay: 150ms;
}

/* optional tappable scrim to close */
.scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

.open + .scrim {
  display: block;
}

/* responsive size tweak */
@media (max-width: 380px) {
  :root {
    --fab: 60px;
    --item: 52px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  list-style: none;
}

body {
  background-color: rgb(0, 0, 0);
}

.mobile-row1 {
  display: none;
}

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: 5s;
}

.x-body {
  height: 100vh;
  display: flex;
}

.row1 {
  width: 27vw;
  height: 100vh;
  color: #fff;
  list-style: none;
  user-select: none;
  position: relative;
}

.row2 {
  min-width: 38vw !important;
  height: 100vh;
  border-left: 2px solid rgba(255, 255, 255, 0.17);
  border-right: 2px solid rgba(255, 255, 255, 0.17);
  overflow-y: auto;
  background: black;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
}

.rightside {
  width: 50vw;
  height: 100vh;
  display: flex;
  color: white;
}

.row3 {
  width: 33vw;
  height: 99vh;
  overflow: auto;
  scrollbar-width: none;
  position: absolute;
  right: 0;
  -ms-overflow-style: none;
  color: white;
}

.sidebar {
  width: 250px;
  padding: 1rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: scale(0.85);
  position: absolute;
  right: 1rem;
  top: -4rem;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

nav ul li {
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.2s;
}

nav ul li:hover {
  background: #222;
  border-radius: 999px;
}

.post-btn {
  width: 100%;
  padding: 1rem;
  background: rgb(255, 255, 255);
  border: none;
  color: black;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  margin: 1rem 0;
}

.profile-box {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: absolute;
  bottom: -10rem;
}

.profile-box .avatar {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.profile-box .profile-info {
  font-size: 0.9rem;
  color: #aaa;
}
.profile-box .username {
  color: white;
  font-weight: bold;
}

.grok-body {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-height: 100vh;
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: rgb(0, 0, 0);
  padding: 1rem;
}

.chatbot-popup {
  position: relative;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 420px;
  background-color: #fff;
  overflow: hidden;
  border-radius: 10px;
  margin: -1rem;
  transform: scale(0.92);
  box-shadow: rgba(0, 10, 10, 20.1) 5px 4px 12px;
  box-shadow: 0 0 20px 1px rgba(255, 255, 255, 0.52);
}

.chat-header {
  display: flex;
  align-items: center;
  background: rgb(0, 0, 0);
  justify-content: space-between;
  padding: 15px 22px;
}

.chat-header .header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-info .logo-text {
  color: #fff;
  font-size: 1.31rem;
  font-weight: 600;
}

.chat-header #hide-btn {
  border: none;
  color: #fff;
  width: 25px;
  height: 25px;
  font-size: 1.9rem;
  border-radius: 50%;
  margin-right-: -10px;
  margin-top: -10px;
  background: rgb(0, 0, 0);
  fill: #fff;
  cursor: pointer;
}

.chat-header #hide-btn:hover {
  background: rgba(255, 255, 255, 0.23);
}

.chat-body {
  padding: 25px 22px;
  display: flex;
  gap: 20px;
  height: 460px;
  margin-bottom: 82px;
  overflow-y: auto;
  flex-direction: column;
  background: rgb(0, 0, 0);
}

.chat-body .message {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chat-body .bot-message .bot-avatar {
  height: 45px;
  width: 45px;
  padding: 6px;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: auto;
}

.chat-body .message .message-text {
  padding: 12px 16px;
  max-width: 75%;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.chat-body .user-message {
  flex-direction: column;
  align-items: flex-end;
}

.chat-body .bot-message .message-text {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 13px 13px 13px 3px;
}

.chat-body .user-message .message-text {
  background: rgba(255, 255, 255, 0.42);
  border-radius: 13px 13px 3px 13px;
}

.chat-body .bot-message.thinking .message-text {
  padding: 2px 16px;
  background: none;
}

.chat-footer {
  position: absolute;
}

.chat-body .bot-message .thinking-indicator {
  display: flex;
  gap: 4px;
  padding-block: 15px;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(1) {
  animation-delay: 0.2s;
}
.chat-body .bot-message .thinking-indicator .dot:nth-child(2) {
  animation-delay: 0.3s;
}
.chat-body .bot-message .thinking-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}
.loader-rotate {
  position: relative;
  width: 0px;
  height: 0px;
  margin: 3px auto;
  animation: rotate 3s linear infinite;
}

.dot {
  width: 7px;
  height: 7px;
  background-color: rgba(255, 255, 255, 0.31);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: joinAndSpread 2s ease-in-out infinite;
}

.dot1 {
  --angle: 0deg;
}
.dot2 {
  --angle: 120deg;
}
.dot3 {
  --angle: 240deg;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes joinAndSpread {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(15px)
      scale(0.6);
  }
  50% {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(0px)
      scale(0.7);
  }
}

.chat-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgb(0, 0, 0);
  padding: 15px 22px 20px;
}

.chat-footer .chat-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.21);
  border-radius: 32px;
  outline: 1px solidrgb(255, 255, 255);
}

.chat-form .message-input {
  border: none;
  outline: none;
  height: 87px;
  width: 100%;
  fornt-size: 0.95rem;
  padding: 14px 0 13px 18px;
}

.chat-form .chat-controls {
  display: flex;
  align-items: center;
  align-self: flex-end;
  padding-right: 6px;
  height: 47px;
}

.chat-form .chat-controls button {
  margin-top: 5px;
  height: 35px;
  width: 35px;
  border: none;
  font-size: 1.15rem;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background: none;
  border-radius: 50%;
  transition: 0.2s ease;
}

.chat-form .chat-controls button:hover {
  background: rgba(255, 255, 255, 0.23);
  transition: 0.9s ease;
}

.chat-footer .message-input {
  background: transparent;
  resize: none;
  color: #fff;
}

.chat-form .chat-controls #send-message {
  display: none;
}

.chat-form .message-input:valid ~ .chat-controls #send-message {
  display: block;
}

.hide {
  display: none;
}

.show-logo {
  position: absolute;
  border: none;
  background: none;
  cursor: pointer;
  right: 0;
  bottom: 0;
  margin: 0.5rem;
}

.close-logo {
  border-radius: 15%;
  box-shadow: 0 0 20px 0.1px rgb(255, 255, 255);
  opacity: 0.7;
}

#show-btn {
  display: block;
}

.chatbot-popup {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.chatbot-popup.active {
  max-height: 800px;
  opacity: 1;
}

.search-container {
  position: fixed;
  border-radius: 9999px;
  padding: 1.3rem 1rem;
  display: flex;
  align-items: center;
  width: 300px;
  height: 25px;
  border: 1px solid #2f3336;
  margin: -3.5rem 1.95rem;
  background: rgb(0, 0, 0);
}

.search-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  opacity: 0.7;
}

.search-input {
  border: none;
  background: transparent;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 1rem;
}

.search-input::placeholder {
  color: #fff;
}

.subscribe-card {
  border: 1px solid #333;
  margin: 4rem 1.95rem;
  border-radius: 10px;
  padding: 1.2rem;
  width: 300px;
  background: #000;
}

.subscribe-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.subscribe-card p {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
}

.subscribe-card button {
  background: #1d9bf0;
  border: none;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.2s;
}

.subscribe-card button:hover {
  background: #1582c7;
}

.trending-card {
  border: 1px solid #333;
  border-radius: 10px;
  margin: -2.59rem 1.95rem;
  padding: 1rem;
  width: 310px;
}

.trending-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.live-event {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  cursor: pointer;
}

.live-event img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  margin-right: 0.5rem;
}

.live-event .title {
  font-weight: bold;
}

.live-event .status {
  color: #888;
  font-size: 0.8rem;
}

.trending-item {
  padding: 0.5rem 0;
  border-top: 1px solid #222;
}

.trending-item:first-of-type {
  border-top: none;
}

.category {
  color: #888;
  font-size: 0.8rem;
  margin: 0;
}

.hashtag {
  font-weight: bold;
  margin: 0.2rem 0;
}

.posts {
  color: #888;
  font-size: 0.8rem;
}

.show-more {
  color: #1da1f2;
  text-decoration: none;
  display: block;
  padding-top: 0.5rem;
}
.show-more:hover {
  text-decoration: underline;
}

.card {
  background-color: #111;
  padding: 20px;
  border-radius: 12px;
  overflow: auto;
  background: none;
  width: 305px;
  border: 1px solid #333;
  margin: 4rem 1.95rem;
  float: left;
  overflow-x: hidden;
  overflow-y: scroll;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.card h2 {
  font-size: 18px;
  margin-bottom: 15px;
}
.profile {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
}
.profile img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  margin-right: 10px;
}
.profile-info {
  flex-grow: 1;
}
.profile-info strong {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.profile-info span {
  display: block;
  font-size: 13px;
  color: #aaa;
}
.follow-btn {
  background-color: white;
  color: black;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-weight: bold;
  cursor: pointer;
}
.show-more {
  color: #1d9bf0;
  font-size: 14px;
  cursor: pointer;
}
.badge {
  width: 19px !important;
  height: 19px !important;
  vertical-align: middle;
}

.footer {
  color: #777;
  margin: -15rem 2rem;
  font-size: 0.8rem;
  text-align: center;
  width: 300px;
  clear: both;
}

.footer a {
  color: #777;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

.row2header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(0, 0, 0, 0.95);
  opacity: 0.95;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  display: flex;
  cursor: pointer;
  height: 5vh;
}

.following {
  width: 50%;
  justify-content: center;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.29);
}

.foryou {
  width: 50%;
  justify-content: center;
  display: flex;
  align-items: center;
}

.foryou:hover,
.following:hover {
  background: rgba(255, 255, 255, 0.08);
  transition: 0.5s;
  height: 5vh;
}

.bluedash {
  width: 3.5rem;
  height: 0.3rem;
  background: rgb(1, 79, 131);
  position: absolute;
  bottom: 0;
  border-radius: 999px;
}

.whatshapping-container {
  position: relative;
  top: -0.6rem;
  width: 38vw;
  height: 12vh;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  background: none;
  z-index: 1;
}

.what_happing {
  background: transparent;
  width: 99vw;
  height: 1vh;
  border: none;
  color: #fff;
  outline: none;
  resize: none;
  font-size: 1.33rem;
  position: absolute;
  left: 3.7rem;
  top: 1.5rem;
  user-select: none;
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overflow-x: hidden;
  height: auto;
}

.what_happing::-webkit-scrollbar {
  display: none;
}

.profilepic {
  position: absolute;
  user-select: none;
  left: 0.5rem;
  top: 1.2rem;
  border-radius: 50%;
  cursor: pointer;
}

.whatshapping-icon {
  display: flex;
  margin-top: 0.5rem;
  margin-left: 2.5rem;
  user-select: none;
  position: absolute;
  top: 4.3rem;
}

.what_happing-icons {
  filter: brightness(0) saturate(100%) invert(35%) sepia(100%) saturate(500%)
    hue-rotate(180deg);
  margin: 0.5rem;
  cursor: pointer;
  user-select: none;
}

.what_happing-icons:hover {
  transition: 0.8s all;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.hr {
  height: 2px;
  width: 27vw;
  background: rgba(255, 255, 255, 0.17);
  display: flex;
  position: absolute;
  top: 1.1rem;
  margin-top: 3.5rem;
  margin-left: 2.5rem;
  margin-bottom: 0.5rem;
}

.everyonecanreply {
  filter: brightness(0) saturate(100%) invert(35%) sepia(100%) saturate(500%)
    hue-rotate(180deg);
  display: flex;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 3.9rem;
  margin-left: 3.5rem;
  user-select: none;
  position: absolute;
  top: -0.6rem;
}

.earth {
  width: 0.9rem;
  height: 0.9rem;
  cursor: pointer;
}

.whatshapping-posts {
  position: absolute;
  bottom: 0.3rem;
  right: 0rem;
  margin-right: 0.5rem;
  border: none;
  user-select: none;
  outline: none;
  background: rgba(255, 255, 255, 0.59);
  color: black;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
}

.what_happing:valid ~ .whatshapping-posts {
  background: rgb(255, 255, 255);
  cursor: pointer;
}

.post-icon {
  filter: brightness(0.6);
  cursor: pointer;
  user-select: none;
}

.post-icons {
  display: flex;
  width: 35vw;
  position: relative;
  justify-content: space-between;
  user-select: none;
  margin-left: 2.5rem;
}

.side7598 {
  filter: brightness(0.4);
  position: absolute;
  right: 2.2rem;
  cursor: pointer;
}

.icongyc {
  filter: brightness(0.4);
  cursor: pointer;
}

.gyjc {
  position: absolute;
  right: 0.8rem;
}

.post-header {
  display: flex;
  color: #fff;
}

.post-blue-tick {
  margin-left: 0.1rem;
  margin-top: 0.1rem;
}

.post-username,
.post-time {
  color: rgba(255, 255, 255, 0.27);
  font-size: 1rem;
  margin-left: 0.5rem;
  margin-top: 0rem;
}

.post-time:hover {
  text-decoration: underline;
}
.post-profile {
  border-radius: 50%;
  cursor: pointer;
  margin-left: 0.1rem;
  user-select: none;
}

.post-text {
  color: #fff;
  position: absolute;
  left: 2.7rem;
  top: 1.6rem;
  margin-left: 0.5rem;
}

.post-profile-name {
  margin-left: 0.5rem;
}

.post-profile-name:hover {
  text-decoration: underline;
  cursor: pointer;
}

.post-cards {
  position: relative;
}

strong:hover {
  text-decoration: underline;
  cursor: pointer;
}

.cards {
  position: absolute;
  width: 38vw;
  top: -0.09rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  background: rgb(0, 0, 0);
}

.post-pucture {
  border-radius: 16px;
  user-select: none;
  margin-left: 4.1rem;
  margin-top: 1rem;
  width: 27rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.39);
  cursor: pointer;
}

.bookmark,
.post-viewbar,
.post-share {
  padding: 0.1rem;
}

.post-like:hover {
  filter: invert(26%) sepia(96%) saturate(7500%) hue-rotate(300deg)
    brightness(120%) contrast(130%);
}

.post-repost:hover {
  filter: invert(51%) sepia(99%) saturate(2000%) hue-rotate(97deg)
    brightness(95%) contrast(120%);
}

.post-share {
  position: absolute;
  bottom: 1.8rem;
}

.post-comment:hover,
.bookmark:hover,
.post-viewbar:hover,
.post-share:hover {
  filter: brightness(0) saturate(100%) invert(35%) sepia(100%) saturate(500%)
    hue-rotate(180deg);
  transition: 0.3s all;
}

.rotate {
  transform: rotate(90deg);
  margin-bottom: 0.3rem;
}

.post-grok {
  filter: brightness(0.2);
  cursor: pointer;
  position: absolute;
  top: -0.5rem;
  right: 2.4rem;
  border-radius: 50%;
  user-select: none;
  padding: 0.1rem;
}
.post-dot:hover,
.post-grok:hover {
  filter: brightness(0) saturate(100%) invert(35%) sepia(100%) saturate(500%)
    hue-rotate(180deg);
  background: rgba(0, 157, 255, 0.41);
  transition: 0.3s all;
}

.post-dot {
  filter: brightness(0.2);
  position: absolute;
  padding: 0.1rem;
  top: -0.5rem;
  right: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}

.ghvgku {
  margin-left: 0.5rem;
}

.cards2 {
  position: absolute;
  top: 26.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  background: rgb(0, 0, 0);
}

.cards2 .post-pucture {
  height: 20rem;
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.39);
  cursor: pointer;
}

.cards3 {
  position: absolute;
  top: 56.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.cards3 .post-pucture {
  height: 20rem;
  margin-top: 1rem;
  width: 30rem;
  margin-left: 5rem;
  cursor: url("img/pink-clean-cursor.png") 0 0, auto;
}

.cards4 .post-pucture {
  height: 40rem;
  margin-top: 1rem;
  width: 30rem;
  margin-left: 5rem;
  cursor: pointer;
}

.cards4 {
  position: absolute;
  top: 84.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.cards5 {
  position: absolute;
  top: 132.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.cards6 {
  position: absolute;
  top: 163.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}
.cards7 {
  position: absolute;
  top: 204rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.cards6 .post-pucture {
  margin-left: 4rem;
}

bluetext {
  color: rgb(1, 79, 131);
  font-weight: bold;
  cursor: pointer;
}

.cards5 .post-pucture {
  height: 20rem;
  margin-top: 4rem;
  width: 30rem;
  margin-left: 5rem;
  cursor: pointer;
}

.pen-post-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-top: 0.5rem;
  display: none;
}

.profile-card {
  background-color: rgb(0, 0, 0);
  height: 27vh;
  width: 17vw;
  border-radius: 12px;
  margin-top: 3rem;
  margin-left: 0.1rem;
  padding: 1rem;
  position: absolute;
  box-shadow: #ffffff 2px 2px 20px;
  display: none;
  cursor: default;
}

.profile-header {
  display: flex;
}

.profile-follow:hover {
  background: rgba(255, 255, 255, 0.93);
  cursor: pointer;
}

.profile-follow {
  position: absolute;
  right: 2rem;
  padding: 0.5rem 1rem;
  background: rgb(255, 255, 255);
  color: black;
  border-radius: 20px;
}

.cards .profile-card-follow {
  margin-top: 0.1rem;
}

.profile-name-box {
  display: flex;
  cursor: text;
}

.profile-icon {
  cursor: pointer;
}

.profile-name-box .post-blue-tick {
  margin-top: 0.3rem;
  margin-left: 0.2rem;
}

.profile-name:hover {
  text-decoration: underline;
}
.profile-name {
  margin-top: 0.2rem;
  cursor: text;
}

.profile-username {
  color: rgba(255, 255, 255, 0.37);
  font-size: 0.9rem;
  cursor: text;
}

.profile-bio {
  margin-top: 0.7rem;
  cursor: text;
}

.profile-card-follow {
  display: flex;
  margin-top: 1.2rem;
}

.profile-following {
  display: flex;
}

.profile-following:hover,
.profile-followers:hover {
  text-decoration: underline;
  cursor: text;
}

.profile-followers {
  display: flex;
}

.profile-following ul,
.profile-followers ul {
  color: rgba(255, 255, 255, 0.28);
  margin-left: 0.4rem;
  margin-right: 0.4rem;
  font-size: 1rem;
}

.profile-grok-summary:hover {
  background: rgba(255, 255, 255, 0.1);
  transition: 0.3s all;
}

.profile-grok-summary {
  display: flex;
  padding-left: 1rem;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  padding-right: 1rem;
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.21);
  border-radius: 20px;
  width: 15rem;
  justify-content: center;
}

.profile-grok-summary li {
  margin-top: 0.3rem;
  margin-left: ;
}

.bottom-row1 {
  display: none;
}

@media (max-width: 1077px) {
  .grok {
    display: none !important;
  }
}

@media (max-width: 1002px) {
  .row3 {
    width: 0 !important;
  }
}

@media (max-height: 889px) {
  .sidebar-jobs {
    display: none;
  }
}

@media (max-width: 1379px) {
  .sidebar-text {
    display: none;
  }

  .post-btn {
    display: none;
  }

  .pen-post-btn {
    display: block !important;
  }

  .profile-info {
    display: none;
  }

  .sidebar {
    position: absolute;
    left: 0;
  }

  nav ul li:hover {
    background: transparent;
  }

  .row2 {
    min-width: 52vw !important;
    position: absolute;
    left: 10vw;
  }
  .cards {
    width: 52vw;
  }

  .post-icons {
    width: 47vw;
  }

  .whatshapping-posts {
    position: absolute;
    right: 0vw;
  }

  .whatshapping-container {
    width: 52vw;
  }
}

@media (max-width: 999px) {
  .row2 {
    width: 90% !important;
    min-width: 90% !important;
    max-width: 90% !important;
    margin: 0 !important;
    position: relative !important;
    left: 0 !important;
  }

  .cards,
  .cards2,
  .cards3,
  .cards4,
  .cards5 {
    width: 100% !important;
  }

  .post-icons {
    width: 85vw;
  }

  .whatshapping-posts {
    position: absolute;
    right: 0vw;
  }
  .whatshapping-container {
    width: 90vw;
  }
}

@media (max-width: 707px) {
  .sidebar {
    position: absolute;
    left: -2vw;
  }
}

@media (max-width: 605px) {
  .row1 {
    display: none;
  }

  .fab {
    display: block;
  }

  .mobile-row1 {
    display: block;
    display: flex;
  }

  .avatar-mobile {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-left: 1rem;
    margin-top: 1.2rem;
    cursor: pointer;
  }

  .x-logo-mobile {
    width: 50px;
    height: 45px;
    margin: 1rem auto;
    cursor: pointer;
    display: flex;
    justify-content: center;
    transform: translateX(-45%);
  }

  .bottom-row1 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 56px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1500;
    padding: 0.4rem 0;
  }

  .settings {
    width: 30px;
    height: 30px;
    margin: 1rem;
  }

  .row2 {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  .post-cards {
    margin-top: 1rem;
  }

  .cards .post-pucture {
    margin-left: 2.4rem;
    margin-top: 2rem;
    width: 27rem;
    margin-bottom: 0rem;
  }

  .cards2 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 4rem;
    width: 27rem;
    margin-bottom: 0.5rem;
  }

  .cards3 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 1.5rem;
    width: 27rem;
    margin-bottom: 1.5rem;
  }

  .cards4 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 1rem;
    width: 27rem;
    height: 30rem;
    margin-bottom: 1rem;
  }

  .cards5 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 4rem;
    width: 27rem;
    margin-bottom: 1rem;
  }

  .cards5 {
    position: absolute;
    top: 122.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .cards6 {
    position: absolute;
    top: 153.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .cards7 {
    position: absolute;
    top: 197rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .cards6 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 4rem;
    width: 27rem;
    margin-bottom: 1rem;
  }

  .cards7 .post-pucture {
    margin-left: 2.1rem;
    margin-top: 2rem;
    width: 27rem;
    margin-bottom: 4rem;
  }

  .whatshapping-container {
    display: none;
  }
}

@media (max-width: 505px) {
  .post-dot {
    display: none;
  }
}

@media (max-width: 489px) {
  .cards .post-pucture,
  .cards1 .post-pucture,
  .cards2 .post-pucture,
  .cards3 .post-pucture,
  .cards4 .post-pucture,
  .cards5 .post-pucture,
  .cards6 .post-pucture,
  .cards7 .post-pucture {
    width: 25rem;
    margin-left: 2rem;
  }
}

@media (max-width: 421px) {
  .cards .post-pucture,
  .cards1 .post-pucture,
  .cards2 .post-pucture,
  .cards3 .post-pucture,
  .cards4 .post-pucture,
  .cards5 .post-pucture,
  .cards6 .post-pucture,
  .cards7 .post-pucture {
    width: 23rem;
    margin-left: 2rem;
  }
}
@media (max-width: 317px) {
  .cards .post-pucture,
  .cards1 .post-pucture,
  .cards2 .post-pucture,
  .cards3 .post-pucture,
  .cards4 .post-pucture,
  .cards5 .post-pucture,
  .cards6 .post-pucture,
  .cards7 .post-pucture {
    width: 16rem;
    height: auto;
    margin-left: 2rem;
  }
}

@media (max-width: 317px) {
  .cards .post-text,
  .cards2 .post-text {
    font-size: 0.9rem;
    margin-top: 2rem;
  }

  .cards {
    position: absolute;
    top: 0.5rem;
  }

  .cards2 {
    position: absolute;
    top: 28rem;
  }

  .cards3 {
    position: absolute;
    top: 59rem;
  }

  .cards4 {
    position: absolute;
    top: 88rem;
  }

  .cards5 {
    position: absolute;
    top: 197rem;
  }

  .cards6 {
    position: absolute;
    top: 197rem;
  }

  .cards7 {
    position: absolute;
    top: 197rem;
  }
}

@media (max-width: 463px) {
  .cards .post-profile-name,
  .cards .post-username,
  .cards .post-time,
  .cards2 .post-profile-name,
  .cards2 .post-username,
  .cards2 .post-time {
    font-size: 0.9rem;
  }
}

@media (max-width: 428px) {
  .cards .post-blue-tick,
  .cards2 .post-blue-tick {
    margin-left: -1rem;
  }
}

@media (max-width: 411px) {
  .cards .post-text,
  .cards2 .post-text {
    font-size: 0.85rem;
    margin-top: 1rem;
  }
}

@media (max-width: 407px) {
  .post-pucture {
    height: auto !important;
    width: 18rem !important;
    margin-left: 4rem !important;
  }

  .cards2 {
    position: absolute;
    top: 18rem;
  }
  .cards3 {
    position: absolute;
    top: 40rem;
  }

  .cards3 .post-pucture {
    margin-top: 3rem;
  }
  .cards4 {
    position: absolute;
    top: 60.5rem;
  }
  .cards5 {
    position: absolute;
    top: 88.5rem;
  }
  .cards6 {
    position: absolute;
    top: 111.5rem;
  }
  .cards7 {
    position: absolute;
    top: 144.5rem;
  }
  .post-time {
    display: none;
  }
}

@media (max-width: 400px) {
  .cards6 .post-profile-name,
  .cards6 .post-username,
  .cards6 .post-time,
  .cards7 .post-profile-name,
  .cards7 .post-username,
  .cards7 .post-time {
    font-size: 0.9rem;
  }
  .post-pucture {
    width: 16rem !important;
    margin-left: 3rem !important;
  }
  .cards2 {
    margin-top: -1rem;
  }
  .cards3 {
    margin-top: -2.5rem;
  }
  .cards4 {
    margin-top: -3.5rem;
  }
  .cards5 {
    margin-top: -5.5rem;
  }
  .cards6 {
    margin-top: -7rem;
  }
  .cards7 {
    margin-top: -9rem;
  }
}

@media (max-width: 371px) {
  .cards4 .post-pucture {
    margin-top: 2rem;
  }

  .cards4 .post-text {
    margin-top: 1.5rem;
  }

  .cards5 {
    position: absolute;
    top: 89.5rem;
  }
  .cards6 {
    position: absolute;
    top: 112.5rem;
  }

  .cards6 .post-pucture {
    margin-top: 2rem;
  }
  .cards6 .post-text {
    margin-top: 1rem;
  }
  .cards7 {
    position: absolute;
    top: 143.5rem;
  }
  .cards7 .post-text{
    margin-top: 1rem;
  }
  .post-icons {
    width: 100vw;
    margin-left: 0rem;
  }
  .post-icon{
    width: 1.2rem;
  }
}

@media (max-width: 358px) {
  .cards .post-blue-tick {
    margin-left: 1rem;
  }
  .cards .post-text {
    margin-top: 1.5rem;
  }
  .cards2 .post-blue-tick {
    margin-left: 1rem;
  }
  .cards2 .post-text {
    margin-top: 1.9rem;
  }
}

@media (max-width: 348px) {
  .cards3 .post-pucture {
    margin-top: 2rem;
  }
  .cards3 {
    position: absolute;
    top: 41.5rem;
  }

  .cards2 .post-pucture{
    margin-top: 5.4rem;
  }
}

@media (max-width: 317px) {
  .cards {
    margin-top: -1.3rem;
  }
}

@media (max-width: 313px) {
  .post-pucture{
    width: 70vw !important;
    margin-left: 15vw !important;
  }
  .cards2 {
    position: absolute;
    top: 16rem;
  }
  .cards3 {
    position: absolute;
    top: 38.5rem;
  }
  .cards4 {
    position: absolute;
    top: 56.5rem;
  }
  .cards5 {
    position: absolute;
    top: 83.5rem;
  }
  .cards6 {
    position: absolute;
    top: 104.8rem;
  }
  .cards7 {
    position: absolute;
    top: 133rem;
  }
}

@media (max-width: 301px) {
  .cards .post-profile-name,
  .cards2 .post-profile-name{
    font-size: 0.75rem !important;
  }
}

@media (max-width: 284px) {
  .cards .post-text{
    font-size: 0.75rem !important;
    margin-top: 1.3rem !important;
  }
}
