.button-group-x {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 20px;
  margin-bottom: 20px;
  margin: 0 auto;
  width: 250px;
}

.button-group-x .button-x {
  flex: 1;
  padding: 10px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  position: relative;
  margin-right: -1px; /* Butonlar arasındaki boşluğu kaldırır */
}

.button-group-x .button-x::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.button-group-x .button-x:last-child {
  margin-right: 0; /* Son butonda boşluk olmamasını sağlar */
}

.button-group-x .button-x.selected::after {
  background-color: #a64bf4;
  background: -webkit-linear-gradient(right, #21d4fd, #b721ff);
  background: -o-linear-gradient(right, #21d4fd, #b721ff);
  background: -moz-linear-gradient(right, #21d4fd, #b721ff);
  background: linear-gradient(right, #21d4fd, #b721ff);
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.button-x.selected a {
  text-align: center;
  background: -webkit-linear-gradient(right, #21d4fd, #b721ff);
  background: -o-linear-gradient(right, #21d4fd, #b721ff);
  background: -moz-linear-gradient(right, #21d4fd, #b721ff);
  background: linear-gradient(right, #21d4fd, #b721ff);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}

.button-x a {
  text-align: center;
  color: #666;
}


.PostLocation #postForm {
    margin: 0 auto;
    margin-bottom: 10px;
}

.PostLocation .post {
    margin: 0 auto;
}

  #postForm {
    width: 100%;
    max-width: 500px; /* İstediğiniz genişliği belirleyebilirsiniz */
    background-color: #f1f1f1;
    border: none;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
  }

  #postForm:hover {
      cursor: text;
  }

  #postForm textarea {
    width: 91%;
    height: 60px;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 5px;
    resize: none;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.3s ease;
    background-color: transparent;
    overflow-y: auto;
    float: right;
  }

  #postForm textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: none!important;
  }


  #postForm textarea::-webkit-scrollbar {
    width: 10px; /* Scrollbar genişliği */
  }

  #postForm textarea::-webkit-scrollbar-track {
    background-color: #f0f0f0; /* Scrollbar arka plan rengi */
    border-radius: 5px; /* Scrollbar köşe yuvarlatma */
  }

  #postForm textarea::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Scrollbar kaydırma çubuğu rengi */
    border-radius: 5px; /* Scrollbar kaydırma çubuğu köşe yuvarlatma */
  }

  #postForm textarea::-webkit-scrollbar-thumb:hover {
    background-color: #999; /* Scrollbar kaydırma çubuğu üzerine gelindiğindeki renk */
  }




  #postButton {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 5px;
    background-color: #007bff;
    border: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
  }

  #postButton:hover {
    background-color: #0056b3;
  }

  .profile-pic-small {
    position: relative;
    width: 40px; /* Profil fotoğrafı genişliği */
    height: 50px; /* Profil fotoğrafı yüksekliği */
    border-radius: 50%;
    background-color: #f0f0f0; /* Varsayılan bir arka plan rengi */
    background-size: cover;
    float:left;
  }

  .profile-pic-smallx {
    position: relative;
    width: 35px; /* Profil fotoğrafı genişliği */
    height: 40px; /* Profil fotoğrafı yüksekliği */
    border-radius: 50%;
    background-color: #f0f0f0; /* Varsayılan bir arka plan rengi */
    background-size: cover;
     margin-right: 10px;
  }

  .profile-pic-small img {
    width: 40px; /* Profil fotoğrafı genişliği */
    height: 40px; /* Profil fotoğrafı yüksekliği */
    border-radius: 50%;
  }

  .profile-pic-smallx img {
    width: 40px; /* Profil fotoğrafı genişliği */
    height: 40px; /* Profil fotoğrafı yüksekliği */
    border-radius: 50%;
  }

  .m-25 {
    margin-bottom: 10px;
  }

  .posts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
  }

  .post {
	  display: none;
      background-color: #f9f9f9;
	  max-width: 900px;
      width: 100%;
      height: auto;
      border: none;
      border-radius: 10px;
      padding: 30px;
      margin-bottom: 5px;
  }

  .user-info {
      display: flex;
      align-items: center;
      margin-bottom: 10px;
  }

  .user-info img {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      margin-right: 10px;
  }
  
  .user-info img:hover {
      filter: brightness(95%);
	  cursor: pointer;
  }

  .user-details {
      display: flex;
	  width: 100%;
      flex-direction: column;
  }

  .username {
	position: relative;
	font-weight: bold;
	width: 98%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	overflow: hidden;
	word-break: break-word;
	display: flex;
	flex-wrap: wrap;
	gap: 1px;
	overflow: visible;
  }
  
  .username span {
	display: inline;
  }
  
  .username i {
	flex-shrink: 0;
  }

  .post-date {
	font-size: 12px;
	color: #777;
	width: 98%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	overflow: hidden;
	word-break: break-word;
  }
  
  .post-date span {
	display: inline;
  }
  
  .post-date {
	font-size: 12px;
	color: #777;
	width: 100%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	overflow: hidden;
	word-break: break-word;
  }

  .post-content {
	margin-top: 10px;
	width: 100%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	overflow: hidden;
	word-break: break-word;
  }
  
  .post-content span {
	display: inline;
  }

  .interactions {
    padding: 2px 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
  }

  .interactions button {
      padding: 8px 8px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-right: 10px;
  }

  .interactions .like-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }

  .interactions .comment-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }

  .interactions .share-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }
  
  .interactions i {
      font-size: 16px;
      line-height: 1;
      vertical-align: middle;
      display: inline-block;
  }
  
	.interactions {
		-webkit-tap-highlight-color: transparent;
		outline: none;
		-webkit-user-select: none;
		-webkit-touch-callout: none;
	}
	
	.reply-interactions {
		-webkit-tap-highlight-color: transparent;
		outline: none;
		-webkit-user-select: none;
		-webkit-touch-callout: none;
	}
  
  .replies {
    border-left: 3px solid #e9e9e9;
    margin-right: 10px;
	margin-top: 10px;
  }

  .reply {
	  display: none;
      background-color: #f9f9f9;
      border: none;
      border-radius: 8px;
      padding: 20px 20px;
      margin-left: 15px;
  }
  
  .reply-content {
	margin-top: 10px;
	width: 100%;
	max-width: 100%;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
	overflow: hidden;
	word-break: break-word;
  }
  
  .reply-content span {
	display: inline;
	word-wrap: break-word;
	overflow-wrap: break-word;
	white-space: normal;
  }

  .reply-info {
      display: flex;
      align-items: center;
      margin-bottom: 5px;
  }

  .reply-info img {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      margin-right: 10px;
  }

  .reply-username {
      font-weight: bold;
      color: #333;
  }

  .reply-date {
      font-size: 12px;
      color: #777;
  }

  .reply-text {
      color: #333;
  }
  
  .reply-interactions {
    padding: 2px 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
  }

  .reply-interactions button {
      padding: 8px 8px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      margin-right: 10px;
  }

  .reply-interactions .like-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }

  .reply-interactions .comment-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }

  .reply-interactions .share-button {
      color: #0a0a0a;
      background: none;
      border: none;
      cursor: pointer;
      display: inline-block;
      -webkit-transition: all 0.4s;
      -o-transition: all 0.4s;
      -moz-transition: all 0.4s;
      transition: all 0.4s;
  }
  
  .reply-interactions i {
      font-size: 16px;
      line-height: 1;
      vertical-align: middle;
      display: inline-block;
  }

  .post-like-reply-count {
      margin-top: 10px;
  }

  .reply-like-reply-count {
      margin-top: 10px;
  }


  .reply-options {
      float: right;
      font-size: 18px;
      cursor: pointer;
      color: #777;
      background: none;
      border: none;
	  z-index: 10;
  }

  .reply-options:hover {
      color: #000;
  }

  .posts .reply-content-x.replycontent1 {
      display: none;
	  margin-top: 25px;
      position: absolute;
      transform: translateX(322%);
      background-color: #fff;
      border-radius: 10px;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      padding: 12px 16px;
	  text-align: left;
	  align-items: center;
      z-index: 1;
	  gap: 8px;
  }

  .posts .reply-content-x.replycontent2 {
      display: none;
	  margin-top: 25px;
      position: absolute;
      transform: translateX(300%);
      background-color: #fff;
      border-radius: 10px;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      padding: 12px 16px;
	  text-align: left;
	  align-items: center;
      z-index: 1;
	  gap: 8px;
  }
  
  .comment-sidebar-content .reply-content-x.replycontent1 {
      display: none;
	  margin-top: 25px;
      position: absolute;
      transform: translateX(85%);
      background-color: #fff;
      border-radius: 10px;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      padding: 12px 16px;
	  text-align: left;
	  align-items: center;
      z-index: 1;
	  gap: 8px;
  }

  .comment-sidebar-content .reply-content-x.replycontent2 {
      display: none;
	  margin-top: 25px;
      position: absolute;
      transform: translateX(65%);
      background-color: #fff;
      border-radius: 10px;
      min-width: 160px;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
      padding: 12px 16px;
	  text-align: left;
	  align-items: center;
      z-index: 1;
	  gap: 8px;
  }

  .reply-content-x .reply-content-text {
      padding: 8px 0;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .reply-content-x .reply-content-text:hover {
      background-color: #e9e9e9;
  }

  .reply-content-x::before {
      content: "";
      position: absolute;
      top: -16px;
      right: 10px;
      border: 8px solid;
      border-color: transparent transparent #f9f9f9 transparent;
  }
  
  .reply-content-text {
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .reply-content-text i {
    width: 20px;
    margin-right: 5px;
	text-align: center;
	flex-shrink: 0;
  }

  .reply-content-text span {
    color: #555;
	line-height: 1.4;
  }

  .like-button i {
    font-size: 18px;
  }

  .comment-button i {
    font-size: 18px;
    margin-top: 2px;
  }

  .share-button i {
    font-size: 18px;
  }

  .like-button.selected {
    background: -webkit-linear-gradient(right, #21d4fd, #b721ff);
    background: -o-linear-gradient(right, #21d4fd, #b721ff);
    background: -moz-linear-gradient(right, #21d4fd, #b721ff);
    background: linear-gradient(right, #21d4fd, #b721ff);
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
  }

  .post-content a, .reply-content a {
    color: #660099;
  }
  
  .post-content a:hover, .reply-content a:hover {
    color: #b721ff;;
  }

  .photo-zoom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    color: white;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }

  .photo-zoom img {
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 8px;
  }

  .close-button {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1;
  }

  .rgroup {
    
  }

  .rgroup-button-1 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1;
  }

  .rgroup-button-2 {
    position: absolute;
    top: 10px;
    right: 60px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1;
  }

  .comment-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 360px;
    height: 100%;
    background-color: #f1f1f1;
    transition: right 0s ease;
    z-index: 1004;
  }
  
  .photo-zoom {
    transition: margin-right 0.3s ease;
  }

  .rgroup-button-1 {
    transition: margin-right 0.3s ease;
  }

  .rgroup-button-2 {
    transition: margin-right 0.3s ease;
  }

  .comment-sidebar-open .photo-zoom img {
    margin-left: -360px;
  }

  .comment-sidebar-open .rgroup .rgroup-button-1 {
    position: absolute;
    top: 10px;
    right: 380px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1;
  }

  .comment-sidebar-open .rgroup .rgroup-button-2 {
    position: absolute;
    top: 10px;
    right: 420px;
    font-size: 24px;
    cursor: pointer;
    color: white;
    z-index: 1;
  }
  
  .tagselect {
	  color: #660099;
  }
  
.comment-sidebar-content {
	width: 100%;
	height: 100%;
	overflow: auto;
	border: none;
}

.comment-sidebar-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background-color: #f1f1f1;
}

.comment-sidebar-content::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.comment-sidebar-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 25px;
}

.comment-sidebar-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}

	.overlayimg {
	  display: none;
	  position: fixed;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  background-color: rgba(0, 0, 0, 0.5);
	  z-index: 1003;
	}
	
.post-like-reply-count span + span {
	margin-left: 3px;
}

.reply-like-reply-count span + span {
	margin-left: 3px;
}
	
.replyid {
	margin-top: 0;
	margin-bottom: 15px;
}

.graytext {
	color: #777;
}

@media only screen and (max-width: 800px) {
	.posts .reply-content-x.replycontent1 {
		transform: translateX(0);
		right: 55px;
	}
	
	.posts .reply-content-x.replycontent2 {
		transform: translateX(0);
		right: 55px;
	}
}