File size: 17,056 Bytes
3c30652 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Grand Opening Curtain Raiser</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #000;
overflow: hidden;
font-family: 'Arial', sans-serif;
height: 100vh;
position: relative;
}
/* Curtains */
.curtains {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
display: flex;
transition: transform 2s ease-in-out;
}
.curtain {
height: 100%;
width: 50%;
position: relative;
overflow: hidden;
box-shadow: 0 0 100px rgba(0, 0, 0, 0.8) inset;
}
.curtain::before {
content: '';
position: absolute;
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(
to bottom,
rgba(122, 14, 18, 1) 0%,
rgba(158, 28, 35, 1) 50%,
rgba(122, 14, 18, 1) 100%
);
box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}
.left-curtain {
transform-origin: left center;
animation: swayLeft 5s infinite ease-in-out;
}
.right-curtain {
transform-origin: right center;
animation: swayRight 5s infinite ease-in-out;
}
.curtain-fringe {
position: absolute;
bottom: 0;
width: 100%;
height: 150px;
background: repeating-linear-gradient(
0deg,
#8a1b1b,
#8a1b1b 5px,
#5a0f0f 5px,
#5a0f0f 10px
);
z-index: 2;
}
@keyframes swayLeft {
0%, 100% { transform: rotate(-1deg); }
50% { transform: rotate(1deg); }
}
@keyframes swayRight {
0%, 100% { transform: rotate(1deg); }
50% { transform: rotate(-1deg); }
}
/* Curtain when opened */
.curtains.open {
transform: translateY(-100%);
}
/* Spotlight effects */
.spotlight {
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
box-shadow: 0 0 200px 150px rgba(255, 255, 255, 0.1);
z-index: 1;
opacity: 0.8;
}
/* Stage content */
.stage {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 5;
opacity: 0;
transition: opacity 1.5s ease-in-out;
transition-delay: 1s;
}
.stage.show {
opacity: 1;
}
.logo {
max-width: 500px;
max-height: 300px;
object-fit: contain;
filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
transform: scale(0.8);
animation: pulse 2s infinite alternate;
z-index: 6;
}
@keyframes pulse {
0% { transform: scale(0.8); }
100% { transform: scale(0.85); }
}
/* Confetti */
.confetti {
position: absolute;
width: 15px;
height: 15px;
background-color: #f00;
opacity: 0;
z-index: 8;
}
.ribbon {
position: absolute;
height: 100px;
width: 20px;
background: linear-gradient(to bottom, #f00, #ff0, #0f0, #00f, #f0f);
transform-origin: top center;
z-index: 7;
opacity: 0;
}
/* Controls */
.controls {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
z-index: 20;
}
.open-btn {
background: linear-gradient(to bottom, #a83232, #6b1c1c);
color: white;
border: none;
padding: 15px 30px;
font-size: 18px;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
transition: all 0.3s ease;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1px;
}
.open-btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.open-btn:active {
transform: translateY(1px);
}
.open-btn i {
margin-right: 10px;
}
/* Settings */
.settings {
position: absolute;
bottom: 30px;
right: 30px;
z-index: 20;
cursor: pointer;
color: #fff;
font-size: 24px;
opacity: 0.7;
transition: all 0.3s ease;
}
.settings:hover {
opacity: 1;
transform: rotate(30deg);
}
.settings-panel {
position: absolute;
bottom: 70px;
right: 30px;
background: rgba(0, 0, 0, 0.8);
padding: 20px;
border-radius: 10px;
z-index: 21;
display: none;
width: 300px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
border: 1px solid #333;
color: #fff;
}
.settings-panel h3 {
margin-bottom: 15px;
color: #fff;
text-align: center;
}
.settings-panel label {
display: block;
margin-bottom: 8px;
}
.settings-panel input {
width: 100%;
margin-bottom: 15px;
padding: 8px;
border-radius: 5px;
border: 1px solid #444;
background: #333;
color: #fff;
}
.save-btn {
background: #4CAF50;
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
width: 100%;
}
.save-btn:hover {
background: #45a049;
}
/* Trumpet sound indicator */
.sound-indicator {
position: absolute;
bottom: 70px;
left: 30px;
color: white;
font-size: 24px;
z-index: 20;
opacity: 0.7;
cursor: pointer;
}
/* Stage lights */
.stage-lights {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100px;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
z-index: 4;
opacity: 0;
transition: opacity 1s ease;
}
.stage-lights.show {
opacity: 0.3;
}
</style>
</head>
<body>
<!-- Spotlights -->
<div class="spotlight" id="spotlight1"></div>
<div class="spotlight" id="spotlight2"></div>
<div class="spotlight" id="spotlight3"></div>
<!-- Stage lights -->
<div class="stage-lights"></div>
<!-- Curtains -->
<div class="curtains">
<div class="curtain left-curtain">
<div class="curtain-fringe"></div>
</div>
<div class="curtain right-curtain">
<div class="curtain-fringe"></div>
</div>
</div>
<!-- Stage content -->
<div class="stage">
<img src="https://via.placeholder.com/500x300?text=Your+Logo" alt="Logo" class="logo" id="main-logo">
</div>
<!-- Controls -->
<div class="controls">
<button class="open-btn" id="openBtn"><i class="fas fa-play"></i> Start Show</button>
</div>
<!-- Settings -->
<div class="settings" id="settingsBtn">
<i class="fas fa-cog"></i>
</div>
<div class="settings-panel" id="settingsPanel">
<h3>Settings</h3>
<label for="logoUrl">Logo URL:</label>
<input type="text" id="logoUrl" placeholder="Enter new logo URL">
<button class="save-btn" id="saveBtn">Save Changes</button>
</div>
<!-- Sound indicator -->
<div class="sound-indicator" id="soundBtn">
<i class="fas fa-volume-up"></i>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const curtains = document.querySelector('.curtains');
const stage = document.querySelector('.stage');
const stageLights = document.querySelector('.stage-lights');
const openBtn = document.getElementById('openBtn');
const settingsBtn = document.getElementById('settingsBtn');
const settingsPanel = document.getElementById('settingsPanel');
const saveBtn = document.getElementById('saveBtn');
const logoUrlInput = document.getElementById('logoUrl');
const mainLogo = document.getElementById('main-logo');
const soundBtn = document.getElementById('soundBtn');
let soundEnabled = true;
// Moving spotlights
function moveSpotlights() {
const spotlights = [
document.getElementById('spotlight1'),
document.getElementById('spotlight2'),
document.getElementById('spotlight3')
];
spotlights.forEach((spotlight, index) => {
function randomPosition() {
const x = Math.random() * window.innerWidth;
const y = Math.random() * window.innerHeight;
spotlight.style.left = `${x}px`;
spotlight.style.top = `${y}px`;
// Random color hue
const hue = Math.random() * 360;
spotlight.style.background = `rgba(${Math.random() * 255}, ${Math.random() * 255}, ${Math.random() * 255}, 0.1)`;
spotlight.style.boxShadow = `0 0 200px 150px hsla(${hue}, 100%, 50%, 0.1)`;
}
randomPosition();
// Different intervals for each spotlight
setInterval(randomPosition, 2000 + (index * 1000));
});
}
// Open curtains
function openCurtains() {
curtains.classList.add('open');
stage.classList.add('show');
stageLights.classList.add('show');
if (soundEnabled) {
// Play trumpet sound
const audio = new Audio('https://assets.mixkit.co/active_storage/sfx/173/173-preview.mp3');
audio.play();
}
// Create confetti
createConfetti();
createRibbons();
// Disable button after click
openBtn.disabled = true;
openBtn.innerHTML = '<i class="fas fa-check"></i> Show Started';
openBtn.style.background = 'linear-gradient(to bottom, #32a852, #1c6b2c)';
}
// Create confetti
function createConfetti() {
const colors = ['#f44336', '#e91e63', '#9c27b0', '#673ab7', '#3f51b5', '#2196f3', '#03a9f4', '#00bcd4', '#009688', '#4CAF50', '#8BC34A', '#CDDC39', '#FFEB3B', '#FFC107', '#FF9800', '#FF5722'];
for (let i = 0; i < 200; i++) {
setTimeout(() => {
const confetti = document.createElement('div');
confetti.className = 'confetti';
confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
confetti.style.left = `${Math.random() * window.innerWidth}px`;
confetti.style.top = `-10px`;
confetti.style.transform = `rotate(${Math.random() * 360}deg)`;
confetti.style.opacity = '1';
// Random shape
if (Math.random() > 0.5) {
confetti.style.borderRadius = '50%';
}
document.body.appendChild(confetti);
// Animation
const duration = Math.random() * 3000 + 2000;
confetti.style.transition = `all ${duration}ms ease-out`;
setTimeout(() => {
confetti.style.top = `${window.innerHeight + 10}px`;
confetti.style.transform = `rotate(${Math.random() * 360}deg) translateX(${Math.random() * 200 - 100}px)`;
confetti.style.opacity = '0.5';
// Remove after animation
setTimeout(() => {
confetti.remove();
}, duration);
}, 10);
}, i * 20);
}
}
// Create ribbons
function createRibbons() {
for (let i = 0; i < 30; i++) {
setTimeout(() => {
const ribbon = document.createElement('div');
ribbon.className = 'ribbon';
ribbon.style.left = `${Math.random() * window.innerWidth}px`;
ribbon.style.top = `-100px`;
ribbon.style.opacity = '1';
document.body.appendChild(ribbon);
// Animation
const duration = Math.random() * 2000 + 2000;
ribbon.style.transition = `all ${duration}ms ease-out`;
setTimeout(() => {
ribbon.style.top = `${window.innerHeight + 100}px`;
ribbon.style.transform = `rotate(${Math.random() * 60 - 30}deg)`;
// Remove after animation
setTimeout(() => {
ribbon.remove();
}, duration);
}, 10);
}, i * 100);
}
}
// Event listeners
openBtn.addEventListener('click', openCurtains);
// Keyboard event for right arrow
document.addEventListener('keydown', (e) => {
if (e.key === 'ArrowRight' && !curtains.classList.contains('open')) {
openCurtains();
}
});
// Settings
settingsBtn.addEventListener('click', () => {
settingsPanel.style.display = settingsPanel.style.display === 'block' ? 'none' : 'block';
});
saveBtn.addEventListener('click', () => {
const logoUrl = logoUrlInput.value.trim();
if (logoUrl) {
mainLogo.src = logoUrl;
settingsPanel.style.display = 'none';
}
});
// Sound toggle
soundBtn.addEventListener('click', () => {
soundEnabled = !soundEnabled;
soundBtn.innerHTML = soundEnabled ? '<i class="fas fa-volume-up"></i>' : '<i class="fas fa-volume-mute"></i>';
});
// Initialize spotlights
moveSpotlights();
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
</html> |