/* Reset margins and set font */
body {
  margin: 0;
  font-family: Poppins, sans-serif;
  position: relative;
  background: url("background.png") no-repeat center center fixed;
  background-size: cover;
}

/* Overlay to make background faint (70% transparency) */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.3); /* 70% transparent white overlay */
  z-index: 0; /* sits above background but below content */
}

/* Fullscreen video */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}
.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo overlay (top-right corner) */
header {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10;
}
.logo {
  height: 80px;
  opacity: 0.7;
}

/* Content container */
.content {
  max-width: 900px;
  margin: 120px auto;
  padding: 20px;
  position: relative;
  z-index: 1; /* ensures posts appear above overlay */
}

/* Rounded outlined post boxes */
.post {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #007acc;
  border-radius: 16px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.post h2 {
  color: #007acc;
  margin-top: 0;
}

/* Reaction buttons */
.reaction {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}
.like-btn, .dislike-btn {
  background: #007acc;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.like-btn:hover { background: #005fa3; }
.dislike-btn { background: #cc0000; }
.dislike-btn:hover { background: #990000; }
.like-count, .dislike-count {
  font-weight: bold;
  color: #333;
}
