|
21 | 21 | overflow: hidden;
|
22 | 22 | }
|
23 | 23 |
|
24 |
| - .icon img { |
25 |
| - width: 80%; /* Adjust image size */ |
26 |
| - height: auto; /* Keep aspect ratio */ |
27 |
| - } |
| 24 | +.icon img { |
| 25 | + width: 80%; /* Adjust image size */ |
| 26 | + height: auto; |
| 27 | +} |
| 28 | + |
| 29 | +#languageSelect { |
| 30 | + font-size: 16px; |
| 31 | + padding: 5px; |
| 32 | + background-color: transparent; |
| 33 | + color: white; |
| 34 | + text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); |
| 35 | + border: 1px solid; |
| 36 | + border-image: linear-gradient(45deg, #d4af37, #f8f8ff, #d4af37) 1; |
| 37 | + border-radius: 5px; |
| 38 | + outline: none; |
| 39 | + appearance: none; |
| 40 | + cursor: pointer; |
| 41 | + position: relative; /* Ensure it stays in place */ |
| 42 | + top: -12px; /* Adjust as needed */ |
| 43 | +} |
28 | 44 |
|
29 |
| - #languageSelect { |
30 |
| - font-size: 16px; |
31 |
| - padding: 5px; |
32 |
| - background-color: transparent; /* Transparent background */ |
33 |
| - color: white; /* White text */ |
34 |
| - text-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Starry effect */ |
35 |
| - border: 1px solid; /* Thin border */ |
36 |
| - border-image: linear-gradient(45deg, #d4af37, #f8f8ff, #d4af37) 1; /* Shiny gradient border */ |
37 |
| - border-radius: 5px; |
38 |
| - outline: none; /* Remove default outline */ |
39 |
| - appearance: none; /* Hide default dropdown styling */ |
40 |
| - cursor: pointer; |
41 |
| - } |
42 | 45 |
|
43 | 46 | #languageSelect:focus {
|
44 | 47 | box-shadow: 0 0 8px rgba(212, 175, 55, 0.8); /* Add glow effect when focused */
|
|
48 | 51 | background-color: transparent; /* Keep background transparent */
|
49 | 52 | }
|
50 | 53 |
|
51 |
| - .label-container { |
52 |
| - display: flex; |
53 |
| - flex-direction: column; |
54 |
| - gap: 10px; |
55 |
| - margin-top: 60px; |
56 |
| - } |
| 54 | +.label-container { |
| 55 | + position: relative; |
| 56 | + z-index: 1; /* Bring buttons in front of the video */ |
| 57 | + display: flex; |
| 58 | + flex-direction: column; |
| 59 | + gap: 10px; |
| 60 | + margin-top: 60px; |
| 61 | +} |
| 62 | + |
57 | 63 |
|
58 | 64 | .label {
|
59 | 65 | font-size: 24px;
|
|
92 | 98 | width: 50px;
|
93 | 99 | height: 50px;
|
94 | 100 | cursor: pointer;
|
| 101 | +} |
| 102 | +#introVideo { |
| 103 | + position: absolute; |
| 104 | + top: 80px; /* Position the video just below the logo and language select */ |
| 105 | + left: 0; |
| 106 | + width: 100%; /* Full width */ |
| 107 | + max-height: 50vh; /* Limit the height to 50% of the viewport height */ |
| 108 | + object-fit: cover; /* Scale the video proportionally */ |
| 109 | + z-index: -1; /* Keep the video behind the other elements */ |
95 | 110 | }
|
96 | 111 | </style>
|
97 | 112 | </head>
|
|
103 | 118 | <option value="en">English</option>
|
104 | 119 | </select>
|
105 | 120 | </div>
|
| 121 | + <video id="introVideo" autoplay muted playsinline> |
| 122 | + <source src="media/intro.mp4" type="video/mp4"> |
| 123 | + Your browser does not support the video tag. |
| 124 | +</video> |
106 | 125 | <div class="label-container">
|
107 | 126 | <div class="label" onclick="location.href='arabicapps.html'">التطبيقات</div>
|
108 | 127 | <div class="label" onclick="location.href='arabicservices.html'">خدماتنا</div>
|
|
0 commit comments