/* Full screen body with background image */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  background-image: url('gifs/background.gif'); /* replace with your gif */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Scrollable content container */
.content {
  background: rgba(205, 241, 189, 0.95);
  max-width: 615px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;

  height: 80vh;         /* fixed height for scrollable panel */
  overflow-y: auto;     /* vertical scroll only */
  display: flex;
  flex-direction: column;
  gap: 20px;            /* spacing between children like h1 and posts */
}

/* Custom scrollbar for modern browsers */
.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

.content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

/* Links */
.content a {
  color: #0077cc;
  text-decoration: none;
}

/* Posts styling */
.post {
  background: white;
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

/* Like button styling */
.like-btn {
  background: #c76093;
  color: rgb(255, 255, 255);
  padding: 5px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.like-btn:hover {
  background: #95485d;
}

/* Images inside posts */
.post-img {
  max-width: 100%;
  border-radius: 6px;
  margin: 10px 0;
  display: block;
}

/* Optional: header spacing */
.content h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* Optional: navbar spacing */
.navbar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}