@media (max-width: 768px)  {
.welcome-container {
  margin-left: 0px !important;
  margin-top: 60px;
  padding: 20px;
  width: 100%;
}


body {
  margin: 0;
  padding: 0;
  background-color: #000000;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden; /* Evita scroll horizontal */
}


.navbar-top {
  display: flex;
}


.search-box {
  border-radius: 30px;
  padding: 0px 10px;
}


nav {
  display: none;
}

.nav-mobile {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.637) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid #333;
  z-index: 1000;
  /*background: #1C1C1C;
  /*background: linear-gradient(0deg, #141414 0%, #1F1F1F 100%);*/
  
}



.logo-mobile {
  color: #cacaca;
  font-size: 28px;
  font-weight: bold;
  line-height: 50px;
  margin-top: 4px;
}


.welcome-box {
  background: rgba(20, 20, 20, 0.582);
  backdrop-filter: blur(8px);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  margin-bottom: 0px;
}

.user-welcome {
    background-color: rgba(0, 255, 255, 0);
    display: flex;
}

.user-welcome img {
    width: 120px !important;         /* largura fixa */
    height: 120px !important;        /* altura igual = quadrado */
    object-fit: cover;    /* cobre toda a área, mesmo que corte */
    border-end-end-radius: 12px;   /* opcional: cantos arredondados */
    border-top-left-radius: 12px;   /* opcional: cantos arredondados */
}

.user-welcome h1 {
  font-size: 32px;
  margin-bottom: 0px;
  padding: 20px 20px 0px 20px;
  word-wrap: break-word; /* força quebra */
  overflow-wrap: break-word; /* versão moderna */
}

.user-welcome h1 span {
  color: #ffffff;
}

.user-welcome h1 .username {
  color: #4A90E2;
}

.welcome-start-pc {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
  display: none;
}

.welcome-start-mobile {
  font-size: 18px;
  margin-bottom: 20px;
  display: inline;
}

.welcome-start {
  padding: 20px;
  padding-top: 20px;
  border-radius: 12px;
  max-width: 800px;
}

.section-friends-posts {
  padding: 0px;
  max-width: 800px;
  color: #dbdbdb;
  background: transparent;
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 12px;
  margin-top: 30px;
  max-width: 800px;
  box-shadow: none;
  margin: 14px 0px;
}

/* Título da seção */
.section-friends-posts h2 {
  font-size: 32px;
  margin-bottom: 20px;
  border-left: 4px solid #4A90E2;
  padding-left: 5px;
  margin-left: 6px;
}

/* POST COMPLETO */
.friend-post {
  background: rgba(20, 20, 20, 0.582);
  padding: 18px 20px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  margin-bottom: 30px;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.post-card {
  background: rgba(20, 20, 20, 0.582) !important;
  backdrop-filter: blur(12px);
  border-radius: 16px;
  margin-bottom: 20px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.search-box-mobile {
  right: 10px !important; 
  top: 10px !important;
  width: 300px !important;
  margin: 12px !important;
  max-width: 300px !important;
  padding: 6px 12px !important;
  border-radius: 10px !important;
  border: 1px solid #444 !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #dbdbdb;
  font-size: 14px;
  outline: none;
}


/* Header do post */
.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4A90E2;
}

.user-meta {
  display: flex;
  flex-direction: column;
  font-size: 15px;
}

.user-meta span {
  font-size: 13px;
  color: #aaaaaa;
}

.post-options i {
  color: #888;
  font-size: 18px;
  cursor: pointer;
}

/* Imagem postada */
.post-image {
  margin: 10px 0;
  border-radius: 10px;
  overflow: hidden;
  max-height: 500px;
}

.post-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Texto do post */
.post-text {
  font-size: 15.5px;
  line-height: 1.5;
  margin: 10px 0 16px;
}

/* Ações: curtir, comentar, salvar, banir */
.post-actions {
  display: flex;
  gap: 20px;
  flex-direction: row !important; /* padrão, pode omitir */
}

.post-actions button {
  background: none;
  border: none;
  color: #dbdbdb;
  font-size: 16px;
  display: flex;
  gap: 6px;
  cursor: pointer;
  transition: color 0.3s;
}

.post-actions button:hover {
  color: #4A90E2;
}

.post-actions button span {
  font-size: 14px;
  color: #bbb;
}



    footer {
      border-top: 1px solid ;
      border-image: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(51, 51, 51, 1) 20%, rgba(51, 51, 51, 1) 82%,rgba(0, 0, 0, 0) 100%) 1;
      text-align: center;
      margin-top: 20px;
      padding: 20px;
    }

    footer a {
      color: #fff;
      margin: 0 10px;
      text-decoration: none;
      font-size: 14px;
      padding-top: 10px;
      margin-top: 20px;
    }

    footer a:hover {
      text-decoration: underline;
    }

    footer p {
      margin-top: 10px;
      font-size: 12px;
      color: #aaa;
    }



/* Nova coluna lateral */
.right-column {
  flex: 1;
  max-width: 290px;
  border-radius: 12px;
  color: #fff;
  padding-top: 80px;
  position: sticky;
  top: 50px; /* Altere esse valor se quiser que pare antes ou depois */
  display: none;
}

.online-friends {
  background: rgba(20, 20, 20, 0.582);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  color: #fff;
}

.online-friends h2 {
  text-align: center;
  padding: 8px;
    font-size: 16px;
}





.online-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  text-align: center;
}

.online-user {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.online-user img.avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #4A90E2;
}

.online-user-meta {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd;
}

.notifications-center {
  background: rgba(20, 20, 20, 0.582);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  margin-top: 30px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
}

.notifications-center h2 {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
}

.notifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notifications-list li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notifications-list li:last-child {
  border-bottom: none;
}

.notifications-list i {
  color: #4A90E2;
}


.new-people {
  background: rgba(20, 20, 20, 0.582);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 16px;
  margin-top: 0px;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.7);
  height: 520px;
  position: fixed;
  margin-left: 30px;
}


.new-people h2 {
  font-size: 16px;
  text-align: center;
  margin-bottom: 16px;
}



.new-user-info {  
  flex: 1;
}

.follow-button {
  background-color: #4A90E2;
  border: none;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.new-user-username {
  font-weight: bold;
  font-size: 14px;
  margin-right: 6px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.newuser {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
}

.newuser img{
  display: flex;
  align-items: center;
  height: 50px;
  width: 50px;
  border-bottom: 1px solid #333;
  border-radius: 50%;
}

.new-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #333;
}

.reload-new-users {
  background-color: transparent;
  border: 1px solid #357ABD;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 50%;
  align-items: center;
}

.reloadarea {
  display: flex;
  justify-content: center;
}

.new-user:last-child {
  border-bottom: none;
}

.new-user .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4A90E2;
}

.new-user-info {
  flex: 1;
}

.new-user-info strong {
  font-size: 14px;
  display: block;
}

.new-user-info p {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 6px;
}

.new-user-info button {
  background-color: #4A90E2;
  border: none;
  color: white;
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.new-user-info button:hover {
  background-color: #3578c9;
}


/* Modal inteiro com fundo escuro e blur */
.post-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Caixa do conteúdo (estilo .welcome-box) */
.post-modal-content {
  background: rgba(20, 20, 20, 0.582);
  backdrop-filter: blur(8px);
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 40px;
  position: relative;
  text-align: center;
}

/* Botão de fechar */
.close-post-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* Campo de texto */
textarea#postText {
  width: 100%;
  height: 100px;
  padding: 15px;
  border-radius: 12px;
  border: 1px solid #444;
  background: rgba(255, 255, 255, 0.05);
  color: #dbdbdb;
  font-size: 16px;
  font-family: inherit;
  resize: none;
  outline: none;
  transition: all 0.3s ease;
}

textarea#postText:focus {
  border-color: #4A90E2;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
}


/* Botão e label para imagem */
.file-input-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 20px;
  color: #fff;
  transition: background 0.3s ease;
  border: 1px solid #474747;
  margin-top: 10px;
}

.file-input-label:hover {
  background: rgba(255, 255, 255, 0.2);
}

.file-input-label input {
  display: none;
}

/* Preview da imagem */
.image-preview img {
  width: 100%;
  max-height: 200px;
  height: 200px; /* altura fixa */
  width: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 10px;
  border: 1px solid #333;
  background-color: #111;
}


/* Botão de postar */
.submit-post-btn {
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
    display: inline-block;
  background-color: #4A90E2;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border-top: 1px solid #63a9fa;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.submit-post-btn:hover {
  background: #357ABD;
}

.post-modal-content h2 {
  color: #fff;
  margin-bottom: 10px;
}

.post-modal-content span {
  color: #3578c9;
}

.remove-image-btn {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-bottom: 20px;
  color: #fff;
  transition: background 0.3s ease;
  border: 1px solid #474747;
  margin-top: 10px;
}

.remove-image-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.start-button {
  display: inline-block;
  background-color: #4A90E2;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  border-top: 1px solid #63a9fa;
  transition: background-color 0.3s;
}

.start-button:hover {
  background-color: #357ABD;
}

/* Marquee */
.marquee-container {
  flex: 1;
  overflow: hidden;
  margin-right: 200px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee-scroll 15s linear infinite;
  font-size: 1rem;
  user-select: none;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-100%); }
}

.post-button {
  display: inline-block;
  background-color: #4A90E2;
  color: white;
  padding: 12px 20px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  text-decoration: none;
  border-top: 1px solid #63a9fa;
  transition: background-color 0.3s;
}

.post-button i {
  color: white;
  font-size: 20px;
}

.post-button:hover {
  background-color: #357ABD;
}

.post-box {
  display: flex;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  border-radius: 8px;
  max-width: 300px; /* ajuste conforme precisar */
  gap: 10px;
  border: 1px solid #2a2a2a;
  background: #474747; /* Quase preto, mas não absoluto */
  display: flex;
  align-items: center;
  border: 1px solid #363636; /* Cinza quase preto pra separar do fundo */
  box-shadow: inset 0 8px 8px -7px rgba(0, 0, 0, 0.644); /* Sombra interna clara no modo dark */
  height: 40px;
}
.post-box:focus-within {
  border-color: #4A90E2;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.6);
}

.post-box input[type="text"] {
    width: 100%;
  padding: 10px 15px;
  border: none;
  background: #00000000;
  color: #dbdbdb;
  font-size: 16px;
  outline: none;
}

.post-box input::placeholder {
  font-size: 14px;
}

.post-button p {
    display: none;
}

.post-button {
  background-color: #4A90E2;
  border: none;
  color: white;
  padding: 10px 18px;
  border-bottom-right-radius: 8px;
  border-top-right-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.3s;
  height: 40px;
}

.post-button:hover {
  background-color: #357ABD;
}


.file-button {
  height: 40px;
  padding: 8px;
  padding-right: 2px;
  margin-left: 8px;
}

.file-button i {
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}



.feed-title-desktop {
    display: none;
}

.feed-title-mobile {
    display: block;
    border-left: 4px solid #4A90E2;
    padding-left: 5px;
    font-size: 24px;
    margin-bottom: 20px;
    display: none;
}



html, body{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

 .welcome-container {
  box-sizing: border-box;
  margin: 0;
  padding: 10px;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  margin-top: 60px;
}

.post-card:hover {
    transform: none !important;
}

.nav-mobile {
  display: flex;
  justify-content: space-between;
}  


.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1001; /* maior que o do #mobile-search-container */
}

.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 60px;
  z-index: 2000;
  background: #232323;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#mobile-search-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100vw;
  z-index: 1500;
  display: flex;
  justify-content: center;
  background: rgba(28,28,28,0.98);
  padding: 0;
  box-shadow: 0 4px 16px #0004;
  border-radius: 0px 0px 12px 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(8px);
  
}

#mobile-search-container.active {
  max-height: 80px; /* ajuste conforme necessário */
  opacity: 1;
  padding: 12px 0 10px 0;
}
#mobile-search-container input {
  width: 90vw;
  max-width: 400px;
  height: 40px;
  padding: 22px 16px;
  border-radius: 10px;
  border: 1px solid #444;
  background: #181818;
  color: #fff;
  font-size: 16px;
  outline: none;
}



.search-mobile-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
  margin-right: 14px;
  transition: color 0.3s;
  padding-right: 12px;
}

.post-mobile-btn {
  background: none;
  border: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
  margin-right: 14px;
  transition: color 0.3s;
  padding-left: 12px;
  margin-left: 14px;
}

.btn-report p {
  display: none;
}

.profile-mini {
  width: 36px !important;
  height: 36px !important;
}

.user-welcome img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px !important;   /* ADICIONE */
    min-height: 120px !important;  /* ADICIONE */
    max-width: 120px !important;   /* ADICIONE */
    max-height: 120px !important;  /* ADICIONE */
    object-fit: cover;
    flex-shrink: 0;  /* ADICIONE - evita que o flex comprima */
    border-bottom-right-radius: 12px;
    border-top-left-radius: 12px;
}
.feed-header h2 {
  font-size: 24px;
  margin-top: 10px;
}

.feed-options {
  display: none;
}

.post-actions {
  flex: none !important;
  padding-top: 0px !important;
  padding-right: 12px;
}

.post-actions button p {
  display: none;
}


.post-actions button i{
  flex: none !important;
  padding: 8px;
  font-size: 26px !important;
}

/* Esconder a data mobile por padrão (desktop) */
.post-date-mobile {
  display: none;
}

  .user-meta {
    position: relative;
    overflow: hidden;
  }
  
  .post-username,
  .post-date-mobile {
    display: block;
    animation: alternarTexto 12s infinite;
  }
  
  .post-date-mobile {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    animation-delay: 6s; /* Começa quando o username desaparece */
    opacity: 0;
  }
  
  @keyframes alternarTexto {
    0%, 45% {
      opacity: 1;
      transform: translateY(0);
    }
    50%, 95% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Esconder a data original do rodapé no mobile */
  .post-date {
    display: none;
  }
}


