﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: black;
    color: white;
}
.logo-container {
    display: flex;
    align-items: center;
}
.body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px); /* ليتناسب مع الارتفاع الكلي */
    background-image: url('earth-NASA.jpg'); /* استبدل بالرابط الصحيح */
    background-size: cover;
    background-position: center;
}
.archivo-black-regular {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
}
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background-color: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
 
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* تنسيق لون النص لرابط المشاركة */
#share-link {
    color: black; /* تغيير لون النص إلى الأسود */
    text-decoration: none; /* إزالة الخط السفلي */
    padding: 8px; /* إضافة بعض الحشوة لجعل الرابط أكبر */
    display: block; /* جعل الرابط يشغل كل المساحة المتاحة */
}

    #share-link:hover {
        background-color: #ddd; /* تغيير لون الخلفية عند تمرير الفأرة */
    }
    header img {
        width: 40px;
    }

    header nav a {
        color: white;
        text-decoration: none;
        margin-left: 30px;
        font-size: 18px;
    }

.search-bar {
    display: flex;
    align-items: center;
    background-color: #222;
    padding: 5px;
    border-radius: 20px;
}

    .search-bar input {
        background-color: transparent;
        border: none;
        outline: none;
        color: white;
        padding: 5px;
    }

        .search-bar input::placeholder {
            color: #ccc;
        }

    .search-bar img {
        width: 18px;
    }

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    text-align: center;
    position: relative;
    background-image: url('stars.jpg'); /* خلفية النجوم */
    background-size: cover;
    background-position: center;
}

    .container div {
        margin: 0 30px;
    }

    .container img {
        width: 250px;
        height: 250px;
        border-radius: 50%;
        object-fit: cover;
    }

.label {
    margin-top: 10px;
    font-size: 18px;
}

.add-image-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    background-color: #222;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

    .add-image-btn img {
        width: 20px;
        vertical-align: middle;
        margin-left: 10px;
    }

/* تصميم متجاوب */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
    }

        header nav a {
            margin-left: 15px;
            font-size: 16px;
        }

    .container {
        flex-direction: column;
        padding: 20px;
    }

        .container img {
            width: 180px;
            height: 180px;
        }

        .container div {
            margin: 10px 0;
        }
}

@media (max-width: 480px) {
    header {
        padding: 10px 10px;
    }

        header nav a {
            margin-left: 10px;
            font-size: 14px;
        }

    .search-bar input {
        width: 100px;
    }

    .container img {
        width: 150px;
        height: 150px;
    }

    .label {
        font-size: 16px;
    }

    .add-image-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
}
