* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100%;
}
#main {
    position: relative;
    overflow: hidden;
}
#page {
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
#page1, #page2, #page3 {
    position: relative;
    height: 100vh;
    width: 100vw;
    background-color: #f1f1f1;
}
canvas {
    position: relative;
    z-index: 9;
    max-width: 100vw;
    max-height: 100vh;
}
#loop {
    display: flex;
    position: absolute;
    top: 30%;
    height: 25%;
    width: 100%;
    font-size: 100px;
    white-space: nowrap;
    font-family: Gilroy;
}
#loop > h1 {
    font-weight: 400;
    animation-name: loops;
    animation-duration: 15s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
#loop > h1 > span {
    -webkit-text-stroke: 1.2px #000;
    color: transparent;
    font-weight: 500;
}
@keyframes loops {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
#page > h3 {
    position: absolute;
    top: 55%;
    font-family: Gilroy;
    font-weight: 400;
    color: #7c7c7c;
    left: 5%;
    line-height: 30px;
}
#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7%;
    width: 100%;
    position: fixed;
    z-index: 999;
    padding: 0px 30px;
}
#nav > h3 {
    font-family: Gilroy;
    font-weight: 400;
    font-size: 22px;
}
#nav > button {
    padding: 10px 20px;
    border-radius: 50px;
    background-color: #000;
    color: #fff;
    border: none;
}
#social-links {
    margin-top: 20px;
    text-align: unset;
}

#social-links a {
    text-decoration: none;
}

#social-links button {
    background-color:#000; /* لون الخلفية */
    color: white; /* لون النص */
    padding: 10px 20px; /* الهوامش الداخلية */
    margin: 10px; /* الهوامش الخارجية */
    border: none; /* إزالة الحدود */
    border-radius: 5px; /* الزوايا المستديرة */
    cursor: pointer; /* شكل المؤشر */
    font-size: 16px; /* حجم النص */
}

#social-links button:hover {
    background-color: #007BFF; /* لون الخلفية عند التمرير */
}
#social-links {
    position: relative;
    z-index: 10; /* تأكد من أن z-index أعلى من العناصر الأخرى */
    margin-top: 50px;
}

#contract-address {
    border: 2px solid #b1b1b1ec; /* Green border */
    padding: 20px;
    font-size: 1.2rem;
    color: #ffffff;
    background-color: #1a1a1a; /* Dark background to make the text stand out */
    text-align: center;
    width: fit-content;
    margin: 50px auto;
    border-radius: 10px; /* Rounded corners */
}

#contract-address p {
    margin: 0;
    font-family: 'Courier New', Courier, monospace; /* Use monospace for contract address */
}

#dx {
    translate: none;
    rotate: none;
    scale: none;
    border-radius: 555rem;
    left: 1000px;
    top: 100px;
    margin: 0px;
    max-width: 666px;
    width: 2050px;
    max-height: 566px;
    height: 1544px;
    padding: 0px;
    box-sizing: border-box;
    position: fixed;
    transform: translate(0px, 0px);
}

/* تنسيق القائمة */
#nav-links {
    list-style: none; /* إخفاء النقاط الخاصة بالقائمة */
    display: flex; /* جعل العناصر في صف واحد */
    gap: 20px; /* تباعد بين العناصر */
    margin: 0;
    padding: 0;
}

/* تنسيق عناصر القائمة */
#nav-links li {
    display: inline-block; /* جعل كل عنصر في القائمة كتلة داخلية */
}

/* تنسيق الروابط */
#nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* تأثير التمرير (hover) */
#nav-links a:hover {
    background-color: #8d8d8d00; /* لون الخلفية عند التمرير */
    color: black; /* لون النص عند التمرير */
}

/* لجعل الروابط تظهر بشكل بارز في الشاشة الصغيرة */
@media (max-width: 768px) {
    #nav-links {
        flex-direction: column; /* تحويل القائمة إلى عمودية في الشاشات الصغيرة */
        align-items: center; /* توسيط العناصر */
    }

    #nav-links a {
        font-size: 20px; /* زيادة حجم النص على الأجهزة الصغيرة */
        padding: 15px 20px; /* زيادة المساحة الداخلية */
    }
}
#ss  {
    margin: 20px 0; /* تباعد بين الأقسام */
    padding: 10px; /* تباعد داخلي */
    background: #f9f9f9; /* لون خلفية القسم */
    border-left: 4px solid #007BFF; /* حد جانبي بلون مميز */
}

.roadmap {
    max-width: 400px;
    margin: 0;
    padding: 20px;
    text-align: left;
    display: table-cell;
    background: #f1f1f1;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.stage {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    padding: 20px;
    transition: transform 0.3s;
}

.stage:hover {
    transform: scale(1.05);
}

h2 {
    color: #007bff;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    padding: 5px 0;
    animation: fadeIn 0.5s forwards; /* فئة التحريك */
}

/* تأثير التحريك */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add this to your existing CSS */
.container {
    display: flex;
    justify-content: space-between; /* Align items to the left and right */
    align-items: flex-start; /* Align items to the top */
}

.buy-cyber {
    position: relative; /* Ensure it's positioned relative to the flex container */
    width: 400px; /* Set a width to control size */
    margin-left: auto; /* Push to the right side */
    padding: 20px; /* Add some padding */
    background: #ffffff; /* Background color */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */

}

.animated-image {
    width: 100%; /* Make sure it uses available width */
    max-width: 400px; /* Constrain max width to avoid overflow */
}

/* Adjust for mobile responsiveness */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center align */
    }

    .buy-cyber {
        margin: 20px 0; /* Add margin for spacing */
        width: auto; /* Allow it to resize */
    }

    .animated-image {
        max-width: 100%; /* Ensure it fits within container */
    }
}
.video-frame {
    max-width: 45%; /* Adjust as needed */
    border: 2px solid #007BFF; /* Frame border color */
    border-radius: 10px; /* Rounded corners */
    padding: 10px; /* Space between the border and video */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the video */
}

.video-frame iframe {
    width: 100%; /* Full width */
    height: 315px; /* Adjust height as needed */
    border: none; /* No border */
}

.video-container {
    max-width: 35%;
    border: 2px solid #007BFF;
    border-radius: 10px;
    overflow: hidden;
}

video {
    width: 100%;
    height: 300px;
}
.media-section {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.video-frame {
    border: 2px solid #000;
    padding: 10px;
    margin-right: 20px;
}

.image-frame img {
    width: 400px; /* تعديل العرض حسب الحاجة */
    height: 300px; /* تعديل الارتفاع حسب الحاجة */
    border: 2px solid #000;
    padding: 10px;
}