@font-face {
    font-family: Cairo;
    src: url(cairo.ttf);
}

body{
 background-color: cornflowerblue;
    direction: rtl;
    font-size: 16px;
    font-family: Cairo, sans-serif;
    margin: 0;
    padding: 5%;
    height: 100%;
}

.post {
    background-color: #fff;
    border: 1px solid #dddfe2;
    border-radius: 8px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
    margin: 20px auto;
    max-width: 600px;
}

.post-content {
    text-align: center;
    padding: 20px;
}

.image-container {
    margin-bottom: 20px;
}

.image-container img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-content h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.post-content p {
    font-size: 16px;
    margin-bottom: 20px;
}

button {
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-size: 16px;
font-weight: bold;
    padding: 10px 20px;
}

button:hover {
    background-color: #45a049;
}
.image-container {
    margin-bottom: 20px;
}

.image-container img {
    width: 50%; /* تحديد عرض الصورة بالبكسلات */
    height: auto; /* السماح للارتفاع بالتغيير تلقائياً بناءً على تغيير العرض */
    display: block; /* جعل الصورة عنصراً مستقلًا داخل العنصر .image-container */
    margin: 0 auto; /* توسيط الصورة داخل .image-container */
    border-radius: 50%; /* جعل الصورة شكل دائري */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.notification-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

