body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('https://s8.uupload.ir/files/retro-waves-4k-vaporwave-synthwave-vibe-background-v0-e9397g2okj7b1_0c0p.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.container {
    max-width: 1300px;
    background: rgba(0, 0, 0, 0.511);
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #333;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.post {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 20px;
    margin-bottom: 20px;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.post:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    margin-left: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post h2 {
    margin-top: 0;
    color: #004cff;
    transition: color 0.3s;
}

.post h2:hover {
    color: #717171;
}

.post p {
    margin: 10px 0;
    line-height: 1.8;
    transition: color 0.3s;
    color: #ffffff;
}

.post p:hover {
    color: #333;
}

.post time {
    color: #999;
    font-size: 0.9em;
    display: block;
    margin-top: 10px;
}

button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #1200ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

button:hover {
    background-color: #1200ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 20px;
    }

    h1 {
        font-size: 24px;
    }

    .post h2 {
        font-size: 18px;
    }

    .post p {
        font-size: 16px;
    }

    .post img {
        width: 100px;
        height: 100px;
        margin-left: 10px;
    }

    button {
        width: 100%;
        padding: 12px;
    }
}
.digital-clock {
    position: fixed;
    top: 20px;
    left: 20px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #00aaff;
    font-size: 1.5em;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-shadow: 0 0 5px #00aaff31, 0 0 10px #00aaff38;
}
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* اطمینان از اینکه پس‌زمینه است */
}
@font-face {
    font-family: 'Mikhak';
    src: url('fonts/vazir/Mikhak[DSTY,KSHD,wght].woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Mikhak', sans-serif;
}

::selection {
    background: #80008000; /* رنگ بنفش */
    color: #00aeff; /* رنگ سفید برای متن */
     }



     
@keyframes Milad{
    0%    {color: rgb(255, 0, 0);} 
    5%    {color: rgb(255, 98, 0);} 
    10%    {color: rgb(255, 217, 0);}
    15%    {color: rgb(208, 255, 0);}
    20%    {color: rgb(157, 255, 0);}
    25%    {color: rgb(77, 255, 0);}
    30%    {color: rgb(0, 255, 85);}
    35%    {color: rgb(0, 255, 136);}
    40%    {color: rgb(0, 255, 187);}
    45%    {color: rgb(0, 195, 255);}
    50%   {color: rgb(0, 115, 255);}
    55%    {color: rgb(0, 64, 255);} 
    60%    {color: rgb(4, 0, 255);} 
    65%    {color: rgb(55, 0, 255);}
    70%    {color: rgb(93, 0, 255);}
    75%    {color: rgb(136, 0, 255);}
    80%    {color: rgb(200, 0, 255);}
    85%    {color: rgb(255, 0, 217);}
    90%    {color: rgb(252, 0, 122);}
    95%    {color: rgb(255, 0, 115);}
    100%   {color: rgb(255, 0, 0);}
    }

