/* Temel görünüm */
body {
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  background-color: #010d1b;
  color: #eee;
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=228352'), auto;
}

/* Retro monitör kutu efekti */
#container {
  width: 960px;
  max-width: 100%;
  margin: auto;
  height: 90vh;
  border: 3px solid #000;
  box-shadow: 0 0 25px #4dc3ff;
  background-color: #091c2b;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
#sidebar {
  width: 240px;
  background-color: #113344;
  padding: 10px;
  box-sizing: border-box;
  overflow-y: auto;
  position: relative;
}

.catgif {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

#searchBox {
  width: 100%;
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid #888;
  background-color: #1a2d3b;
  color: #fff;
}

/* Menü */
#menu {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Kategori butonları */
.category-button {
  background-color: #223344;
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 6px 8px;
  text-align: left;
  transition: all 0.2s ease-in-out;
  font-size: 15px;
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=228353'), pointer;
}

.category-button:hover {
  background-color: #112233;
  animation: glitch 0.2s infinite;
  box-shadow: 0 0 6px #00f0ff;
}

/* Yazı butonları */
.post-item {
  background-color: #1a2d3b;
  border: 1px dashed #00ffff;
  color: #fff;
  padding: 5px 10px;
  font-size: 13px;
  margin-left: 10px;
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=228353'), pointer;
  transition: background-color 0.2s;
}

.post-item:hover {
  background-color: #0d1a26;
  animation: glitch 0.2s infinite;
  box-shadow: 0 0 4px #00f0ff;
}

/* Accordion efekt */
.post-items {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.post-items.open {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

/* İçerik kısmı */
#content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

/* Yazı içeriği */
.blog-post {
  background-color: #08131f;
  padding: 15px;
  border: 2px solid #00ffff;
  box-shadow: 0 0 10px #00f0ff;
  font-size: 15px;
}

/* Glitch animasyonu */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-1px, 1px); }
  40% { transform: translate(-1px, -1px); }
  60% { transform: translate(1px, 1px); }
  80% { transform: translate(1px, -1px); }
  100% { transform: translate(0); }
}

/* Scrollbar özelleştirme */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #02101e;
}
::-webkit-scrollbar-thumb {
  background: #00ffff;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00ccff;
}

/* Yükleme ekranı */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.spinner {
  width: 60px;
  height: 60px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #39c5bb;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pickle Rain */
#pickleRainBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 120px;
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=228353'), pointer;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.pickle {
  position: fixed;
  width: 40px;
  z-index: 999;
  animation: fall 10s linear;
}
@keyframes fall {
  0% { transform: translateY(-120px); opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}





body {
  margin: 0;
  padding: 0;
  font-family: 'Verdana', Geneva, Tahoma, sans-serif;
  background-color: #010d1b;
  background-image: url('https://www.transparenttextures.com/patterns/stardust.png');
  background-repeat: repeat;
  background-size: auto;
  color: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: url('http://www.rw-designer.com/cursor-extern.php?id=228352'), auto;
  height: 100vh;
  overflow: hidden;
}


















@media (max-width: 768px) {

  #posts {
  max-width: 100%;
}
  #content {
    width: 100vw;
    padding: 20px;
    box-sizing: border-box;

  }
}
@media (max-width: 768px) {
  

  
  html, body {
  height: auto;
  overflow-y: auto;
}

 

  #sidebar {
    width: 120px; /* Daraltılmış */
    padding: 2px;
  }

  #content {
    width: calc(100vw - 180px);
    padding: 15px;
  }

  .menu-item,
  .category-button {
    font-size: 14px;
    padding: 8px;
  }

  #aboutButton {
    font-size: 14px;
  }
}








@media (max-width: 768px) {
  #pickleRainBtn {
    display: none !important;
  }
}











