*{
font-family: 'Vazir', sans-serif;
}
 body {
            margin: 0;
            overflow-x: hidden; /* جلوگیری از اسکرول افقی */
            background: rgb(0, 0, 0);
            color: white;
            font-family: Arial, sans-serif;
        }
        canvas {
            display: block;
            position: fixed; /* پس‌زمینه ثابت */
            top: 0;
            left: 0;
            z-index: 0; /* زیر محتوای اصلی قرار بگیرد */
        }
        .content {
            position: relative;
            z-index: 1; /* محتوای اصلی بالای پس‌زمینه باشد */
            text-align: center;
            padding-top: 50px;
            padding-bottom: 20px;
        }
        .content h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        .content p {
            font-size: 1.5rem;
            line-height: 1.8;
        }
        .content a {
            text-decoration: none;
            color: #00d8ff;
            font-weight: bold;
            font-size: 1.2rem;
        }
        .content a:hover {
            color: #008cff;
        }
        .cards-container {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            padding: 20px;
            margin-top: 50px;
        }
        .post-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            overflow: hidden;
            width: 300px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .post-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.5);
        }
        .post-card img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }
        .post-card .content {
            padding: 15px;
        }
        .post-card h3 {
            font-size: 18px;
            margin: 10px 0;
        }
        .post-card p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            line-height: 1.5;
            height: 40px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .post-card .read-more {
            display: block;
            margin-top: 10px;
            text-align: center;
            text-decoration: none;
            color: white;
            padding: 10px 15px;
            background: #1a73e8;
            border-radius: 5px;
            transition: background 0.3s;
        }
        .post-card .read-more:hover {
            background: #004aba;
        }


        @media (max-width: 768px) {
    .post-card {
        transition: none;
        box-shadow: none;
    }
    .post-card:hover {
        transform: none;
        box-shadow: none;
    }
}



/* footer css*/
.footer {
  background: #000;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-social {
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #00d8ff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.footer-links li {
  display: inline-block;
  margin: 0 15px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00d8ff;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 15px;
}
