@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300..900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Zain:wght@200;300;400;700;800;900&display=swap');


* {
    font-family: "Rubik", sans-serif;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: cover;
}
body {
    /* overflow-x: hidden; */
    /* display: flex; */
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    /* background-image: #121212; */
    background-color: transparent;
    background-image: radial-gradient(#ffffff 1px, #e4e4e494 1px);
    /* background-image: radial-gradient(#000000 1px, #e5e5f7 1px); */
}

/* تخصيص الشريط */
::-webkit-scrollbar {
    width: 8px; /* عرض الشريط العمودي */
    height: 8px; /* عرض الشريط الأفقي */
}

  /* تخصيص المسار (الخلفية) */
::-webkit-scrollbar-track {
    background: #e0e0e071; /* لون الخلفية */
    border-radius: 10px; /* زوايا دائرية */
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.1); /* ظل داخلي خفيف */
}

  /* تخصيص المقبض (المتحرك) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff6b6b, #f06595); /* لون متدرج للمقبض */
    border-radius: 10px; /* زوايا دائرية للمقبض */
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2); /* ظل داخلي لتمييز المقبض */
}

  /* تخصيص المقبض عند التحويم */
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff6b6b, #d6336c); /* لون متدرج داكن عند التحويم */
}



@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* يمكن تعديل القيمة لجعل الحركة تظهر من الأسفل */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#scrollToTopBtn {
    width: 3.5rem;
    display: none; /* الإخفاء الافتراضي */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: #5372f088;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.5rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.23);
    opacity: 0; /* يبدأ مخفيًا */
    transition: background-color 1s, opacity 1s; /* تأثير الانتقال */
}
#scrollToTopBtn.show {
    display: block;
    animation: fadeIn 1s forwards; /* تطبيق التأثير */
}




















.clubs{
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}
.clubs .club1{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10%;
    background: #45abbd;
    padding: 1rem;
    border-radius: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.clubs img{
    width: calc((100vw / 6.4));
    border-radius: 0.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.clubs .club1>p{
    color: #fff;
    padding: 0.2rem;
    border-radius: 0.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.clubs .view-club{
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 70%;
    background-color: chocolate;
    border-radius: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}
.clubs .view-club p, .view-club i{
    color: #fff;
}
.clubs .view-club:hover{
    transform: scale(1.1);
}




        /* النافذة المنبثقة */
        .popup {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%;
            height: 90%;
            background-color: white;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
        }

        .popup .close-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background-color: #e74c3c;
            color: white;
            border: none;
            border-radius: 50%;
            width: 30px;
            height: 30px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            font-size: 18px;
        }

        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            z-index: 999;
        }

        .popup-images {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }

        .popup-images img {
            width: 63%;
            height: 75%;
            object-fit: cover;
            border-radius: 0.4rem;
        }



/* Photo gallery */
.photo-gallery-text{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4vh;
}
.photo-gallery-text h2{
    font-family: "Zain", serif;
    font-size: 3.5vw;
    font-weight: 900;
    color: #001d3f;
}
.photo-gallery{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1vw;
    padding: 0.4vw;
}
.photo-gallery img{
    width: calc((100vw / 5) - 2vw);
    border-radius: 0.6rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}