body {
    height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #001f3f, #003366, #004080);
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
}

.container {
    padding: 20px;
    background: linear-gradient(135deg, #00264d, #003366, #001f3f);
    border-radius: 20px;
    width: 50vw; /* زيادة الحجم */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(8, 29, 41, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 2px 5px #0077ff;
    z-index: 1000;
}

/* تعديل الصورة لتكون على اليمين */
.navbar img {
    padding: 20px;
    height: 110px;
    background: transparent;
    position: absolute;
    right: 20px; /* وضع الصورة في اليمين */
}

.menu-button {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    position: absolute;
    left: 20px; /* وضع الزرار في اليسار */
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 50vh; /* نصف الشاشة */
    background: rgba(30, 60, 120, 0.9);
    padding: 80px 20px 20px 20px; /* زوّدنا الـ padding من فوق */
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 999;
    overflow-y: auto;
    border: 2px groove white; /* جروف أبيض من كل الجهات */
    border-radius: 12px;
}

.sidebar button {
    display: block;
    width: 100%;
    text-align: right;
    margin: 15px 0; /* أول زر هينزل أكتر */
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: scale(1.03);
}


.centered-image {
    position: absolute;
    top: 50vh;
    left: 80vw;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 100%;
    height: auto;
    z-index: 1;
}



@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

.text-below {
    position: absolute;
    top: 80%;
    left: 80%;
    transform: translate(-50%, -10%);
    font-size: 30px;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    text-align: center;

    background: linear-gradient(135deg, #0077ff, #004080, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s infinite alternate ease-in-out, moveLeftRight 2s infinite alternate ease-in-out;
}

/* تأثير عند وضع الماوس */
.text-below:hover {
    transform: scale(1.1);
    text-shadow: 0px 0px 20px rgba(255, 0, 0, 0.7), 0px 0px 25px rgba(0, 119, 255, 0.7);
}

/* تحريك التدرج داخل النص */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* حركة النص لليمين واليسار */
@keyframes moveLeftRight {
    from {
        transform: translate(-50%, -10%) translateX(-20px);
    }
    to {
        transform: translate(-50%, -10%) translateX(20px);
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

.intro-container {
    position: absolute;
    top: 45%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    color: white;
}

.intro-title {
    font-size: 40px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #020303, #d1d1d1, #001f3f);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 3s infinite alternate ease-in-out;
}

.intro-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

.more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #0077ff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.more-button:hover {
    background-color: #0055cc;
    transform: scale(1.05);
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer {
    position: relative;
    width: 100%;
    background: white;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    bottom: 500;
    top: 395px;
    height: 200px;
}

.footer::after {
    content: '💻 This page was created by Mazen 💻';
    display: block;
    margin-top: 70px;
    font-size: 25px;
    color: rgba(0, 0, 0, 0.8);
}

.social-links {
    margin-bottom: 10px;
}

.social-links a {
    margin: 0 20px;
    display: inline-block;
}

.social-links img {
    width: 50px;
    height: 50px;
    transition: 0.3s;
    border-radius: 50%;
}

.social-links img:hover {
    transform: scale(1.2);
    filter: brightness(1.2);
}

.footer-text {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 10px;
}

/* الشاشات الصغيرة */
@media (max-width: 768px) {
    .intro-container {
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .centered-image {
        width: 70%;
        top: 30vh;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .text-below {
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 20px;
    }

    .intro-title {
        font-size: 24px;
    }

    .intro-subtitle {
        font-size: 16px;
    }

    .more-button {
        padding: 8px 16px;
        font-size: 16px;
    }

    .footer {
        font-size: 16px;
    }

    .social-links img {
        width: 40px;
        height: 40px;
    }
}
