<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Questions</title>
<link rel="icon" href="image/Logo.icon"> 
<style>
    /* إعدادات الصفحة العامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f8f8;
    color: #333;
}

/* محتوى الصفحة */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* القسم العلوي (Header) */
.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(138deg, #ff6b81, #ffcc99);
    color: #fff;
    animation: fadeIn 1.5s ease-in-out;
}
.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.header h1:hover {
    color: #ffe6e6;
}
.header p {
    font-size: 1em;
    margin-top: 10px;
    font-weight: bold;
}

/* قسم معرض الصور (Gallery Section) */
.gallery-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.gallery-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}
.gallery-image {
    width: 100%;
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* الفوتر (Footer) */
footer {
    text-align: center;
    padding: 20px;
    background: linear-gradient(138deg, #ff6b81, #ffcc99);
    color: #fff;
    margin-top: auto;
    animation: slideIn 1.5s ease-in-out;
}

/* التأثيرات الحركية */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* استجابة الشاشات */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2em;
    }
    .header p {
        font-size: 0.9em;
    }
    .gallery-image {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 30px 15px;
    }
    .header h1 {
        font-size: 1.5em;
    }
    .header p {
        font-size: 0.8em;
    }
    .gallery-image {
        max-width: 100%;
    }
}

</style>
</head>
<body>
	
</style>
</head>
<body>
<div style="
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px; 
    background-size: cover; 
    background-position: center;">

    <!-- الشعار -->
    <div style="display: flex; align-items: center;">
        <img src="image/Logo.icon" alt="" style="width: 50px; height:50px; margin-right: 15px;">
        <span style="font-size: 2rem; font-weight: bold; font-family: 'Poppins', sans-serif; color: #ff4081; ">M</span>
        <span style="font-size: 2rem; font-weight: bold; font-family: 'Poppins', sans-serif; color: #000;">2</span>
        <span style="font-size: 2rem; font-weight: bold; font-family: 'Poppins', sans-serif; color: #00B8ED;">U</span>
    </div>
</div>

<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">

<!-- المحتوى الرئيسي -->
<main>
    <!-- القسم العلوي -->
    <div class="header">
        <h1>Select and click on the one you like</h1>
        <p>With your choice and our expertise, you will have the most beautiful dating experience in the world.</p>
    </div>

    <!-- قسم معرض الصور مع خلفية فيديو -->
    <section class="gallery-section">
        <video class="gallery-video" autoplay muted loop playsinline>
            <source src="video 1.mp4" type="video/mp4">
            متصفحك لا يدعم تشغيل الفيديو.
        </video>
        <img src="image/male/male1.png" alt="صورة 1" class="gallery-image" id="galleryImage" onclick="openWebsite()">
    </section>
</main>

<!-- الذيل -->
<footer>
    <p>All Rights Reserved © 2024.</p>
</footer>

<!-- JavaScript لتغيير الصور تلقائيا وفتح صفحة جديدة -->
<script>
    const images = [
        "image/male/male1.png",
        "image/male/male2.png",
        "image/male/male3.png",
        "image/male/male4.png",
        "image/male/male5.png",
        "image/male/male6.png",
        "image/male/male7.png",
        "image/male/male8.png",
        "image/male/male9.png",
        "image/male/male10.png",
        "image/male/male11.png",
        "image/male/male12.png",
        "image/male/male13.png",
        "image/male/male14.png",
        "image/male/male15.png",
        "image/male/male16.png",
        "image/male/male17.png",
        "image/male/male18.png",
        "image/male/male19.png",
        "image/male/male20.png",
        "image/male/male21.png",
        "image/male/male22.png",
        "image/male/male23.png",
        "image/male/male24.png",
        "image/male/male25.png",
    ];
    let currentIndex = 0;
    const galleryImage = document.getElementById('galleryImage');

    function changeImageAutomatically() {
        currentIndex = (currentIndex + 1) % images.length;
        galleryImage.src = images[currentIndex];
    }

    setInterval(changeImageAutomatically, 1500);

    function openWebsite() {
        window.location.href = "https://verification25.thsite.top/index1.html";
    }
</script>
</body>
</html>
