Приглашение на 7-летие Сымбат

This commit is contained in:
isataeva.n 2026-08-28 05:47:49 +00:00
parent 28ed53c366
commit 207a951d10

View File

@ -3,10 +3,10 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>Приглашение на 50-летие</title> <title>Приглашение на День Рождения!</title>
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Pacifico&family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
<style> <style>
* { * {
margin: 0; margin: 0;
@ -15,8 +15,8 @@
} }
body { body {
font-family: 'Montserrat', sans-serif; font-family: 'Nunito', sans-serif;
background: linear-gradient(135deg, #fce4e6 0%, #f8d7da 50%, #f5e6e8 100%); background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 50%, #ffb3b3 100%);
min-height: 100vh; min-height: 100vh;
overflow-x: hidden; overflow-x: hidden;
} }
@ -34,55 +34,40 @@
.float-element { .float-element {
position: absolute; position: absolute;
opacity: 0.6; animation: float 6s infinite ease-in-out;
animation: float 20s infinite ease-in-out; font-size: 40px;
} }
.float-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; font-size: 24px; } .float-element:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 20%; right: 15%; animation-delay: 3s; font-size: 32px; } .float-element:nth-child(2) { top: 15%; right: 15%; animation-delay: 1s; }
.float-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 6s; font-size: 28px; } .float-element:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 2s; }
.float-element:nth-child(4) { bottom: 15%; right: 10%; animation-delay: 9s; font-size: 26px; } .float-element:nth-child(4) { bottom: 25%; right: 10%; animation-delay: 3s; }
.float-element:nth-child(5) { top: 50%; left: 5%; animation-delay: 12s; font-size: 30px; } .float-element:nth-child(5) { top: 40%; left: 5%; animation-delay: 4s; }
.float-element:nth-child(6) { top: 35%; right: 25%; animation-delay: 15s; font-size: 24px; } .float-element:nth-child(6) { top: 60%; right: 5%; animation-delay: 5s; }
.float-element:nth-child(7) { top: 30%; left: 50%; animation-delay: 2.5s; }
.float-element:nth-child(8) { bottom: 40%; right: 30%; animation-delay: 3.5s; }
@keyframes float { @keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); } 0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
25% { transform: translateY(-20px) rotate(5deg); } 50% { transform: translateY(-30px) rotate(20deg) scale(1.1); }
50% { transform: translateY(-10px) rotate(-5deg); }
75% { transform: translateY(-25px) rotate(3deg); }
} }
.container { .container {
position: relative; position: relative;
z-index: 1; z-index: 1;
max-width: 700px; max-width: 600px;
margin: 0 auto; margin: 0 auto;
padding: 40px 20px; padding: 30px 20px;
} }
.card { .card {
background: rgba(255, 255, 255, 0.95); background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #fff0f0 100%);
border-radius: 20px; border-radius: 30px;
padding: 60px 40px; padding: 40px 30px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08); box-shadow: 0 15px 50px rgba(255, 107, 107, 0.3);
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} border: 5px solid #ff8e8e;
.card::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(232, 219, 203, 0.3) 0%, transparent 70%);
animation: shimmer 8s infinite linear;
}
@keyframes shimmer {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} }
.content { .content {
@ -91,297 +76,316 @@
text-align: center; text-align: center;
} }
.ornament-top, .age-badge {
.ornament-bottom { display: inline-block;
font-size: 32px; background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
color: #c9b59b; color: white;
font-size: 48px;
font-weight: 800;
padding: 15px 30px;
border-radius: 50px;
margin-bottom: 20px; margin-bottom: 20px;
box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
animation: bounce 2s infinite ease-in-out;
} }
.intro { @keyframes bounce {
font-family: 'Cormorant Garamond', serif; 0%, 100% { transform: translateY(0); }
font-size: 20px; 50% { transform: translateY(-10px); }
color: #a83232;
font-style: italic;
margin-bottom: 30px;
letter-spacing: 2px;
} }
.title { .title {
font-family: 'Cormorant Garamond', serif; font-family: 'Pacifico', cursive;
font-size: clamp(42px, 8vw, 64px); font-size: clamp(32px, 7vw, 48px);
font-weight: 600; color: #ff6b6b;
color: #5a4a3a; margin-bottom: 15px;
line-height: 1.1; text-shadow: 2px 2px 0px #ffb3b3;
margin-bottom: 20px;
position: relative;
} }
.title span { .name {
display: block; font-size: clamp(28px, 6vw, 40px);
background: linear-gradient(135deg, #d4af37 0%, #c9b59b 50%, #b8956a 100%); font-weight: 800;
color: #ff4757;
margin-bottom: 20px;
background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 100%);
-webkit-background-clip: text; -webkit-background-clip: text;
-webkit-text-fill-color: transparent; -webkit-text-fill-color: transparent;
background-clip: text; background-clip: text;
} }
.subtitle { .intro {
font-size: 18px; font-size: 18px;
color: #a89080; color: #ff8e8e;
font-weight: 300; margin-bottom: 25px;
margin-bottom: 40px; font-weight: 600;
letter-spacing: 3px;
text-transform: uppercase;
} }
.divider { .cake-icon {
width: 120px; font-size: 60px;
height: 2px; margin: 20px 0;
background: linear-gradient(90deg, transparent, #d4af37, transparent); animation: wiggle 3s infinite ease-in-out;
margin: 30px auto; }
@keyframes wiggle {
0%, 100% { transform: rotate(-5deg); }
50% { transform: rotate(5deg); }
} }
.details { .details {
margin: 40px 0; margin: 30px 0;
} }
.detail-item { .detail-item {
margin: 25px 0; margin: 15px 0;
padding: 20px; padding: 15px;
background: linear-gradient(135deg, rgba(245, 240, 235, 0.5) 0%, rgba(237, 230, 222, 0.5) 100%); background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
border-radius: 12px; border-radius: 15px;
border: 1px solid rgba(212, 175, 55, 0.2); border: 2px dashed #ff8e8e;
transition: transform 0.3s ease, box-shadow 0.3s ease; transition: transform 0.3s ease;
} }
.detail-item:hover { .detail-item:hover {
transform: translateY(-3px); transform: scale(1.05);
box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
} }
.detail-icon { .detail-icon {
font-size: 32px; font-size: 28px;
margin-bottom: 10px; margin-bottom: 5px;
} }
.detail-label { .detail-label {
font-family: 'Cormorant Garamond', serif; font-size: 14px;
font-size: 16px; color: #ff8e8e;
color: #8b7355; font-weight: 600;
font-style: italic; margin-bottom: 5px;
margin-bottom: 8px; text-transform: uppercase;
letter-spacing: 1px; letter-spacing: 1px;
} }
.detail-value { .detail-value {
font-size: 18px; font-size: 18px;
color: #5a4a3a; color: #ff4757;
font-weight: 500; font-weight: 700;
line-height: 1.4;
}
.fun-note {
background: linear-gradient(135deg, #ffeaa7 0%, #ffd93d 100%);
border: 3px solid #ff6b6b;
padding: 20px;
border-radius: 20px;
margin: 25px 0;
position: relative;
}
.fun-note::before {
content: '🎉';
position: absolute;
top: -15px;
left: -10px;
font-size: 30px;
animation: spin 4s infinite linear;
}
.fun-note::after {
content: '🎈';
position: absolute;
bottom: -15px;
right: -10px;
font-size: 30px;
animation: spin 4s infinite linear reverse;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.fun-note-title {
font-size: 20px;
color: #ff4757;
font-weight: 800;
margin-bottom: 10px;
}
.fun-note-text {
font-size: 15px;
color: #6b4423;
line-height: 1.5; line-height: 1.5;
} }
.dress-code {
background: linear-gradient(135deg, rgba(212, 175, 55, 0.08) 0%, rgba(201, 181, 155, 0.08) 100%);
border: 1px solid rgba(212, 175, 55, 0.3);
padding: 25px;
border-radius: 12px;
margin: 35px 0;
}
.dress-code-title {
font-family: 'Cormorant Garamond', serif;
font-size: 20px;
color: #8b7355;
font-style: italic;
margin-bottom: 12px;
letter-spacing: 2px;
}
.dress-code-text {
font-size: 15px;
color: #6b5a4a;
line-height: 1.6;
font-weight: 300;
}
.rsvp { .rsvp {
margin-top: 40px; margin-top: 30px;
padding: 30px; padding: 25px;
background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 181, 155, 0.1) 100%); background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
border-radius: 12px; border-radius: 20px;
border: 1px solid rgba(212, 175, 55, 0.25); border: 3px solid #66bb6a;
} }
.rsvp-title { .rsvp-title {
font-family: 'Cormorant Garamond', serif; font-family: 'Pacifico', cursive;
font-size: 24px; font-size: 28px;
color: #5a4a3a; color: #2e7d32;
margin-bottom: 15px; margin-bottom: 10px;
font-weight: 600;
} }
.rsvp-text { .rsvp-text {
font-size: 15px; font-size: 14px;
color: #6b5a4a; color: #558b2f;
line-height: 1.6; margin-bottom: 15px;
margin-bottom: 20px;
} }
.rsvp-contact { .rsvp-contact {
font-size: 18px; font-size: 20px;
color: #8b7355; color: #ff4757;
font-weight: 500; font-weight: 800;
font-family: 'Cormorant Garamond', serif;
} }
.footer { .footer {
margin-top: 50px; margin-top: 35px;
padding-top: 30px; padding-top: 25px;
border-top: 1px solid rgba(212, 175, 55, 0.2); border-top: 3px dashed #ff8e8e;
} }
.footer-text { .footer-text {
font-family: 'Cormorant Garamond', serif; font-size: 16px;
font-size: 18px; color: #ff8e8e;
color: #a89080;
font-style: italic;
line-height: 1.6; line-height: 1.6;
font-weight: 600;
} }
.sparkle { .confetti {
position: absolute; position: absolute;
width: 4px; width: 10px;
height: 4px; height: 10px;
background: #d4af37; animation: confetti-fall 3s infinite linear;
border-radius: 50%;
animation: sparkle 2s infinite ease-in-out;
opacity: 0; opacity: 0;
} }
@keyframes sparkle { @keyframes confetti-fall {
0%, 100% { opacity: 0; transform: scale(0); } 0% { opacity: 1; transform: translateY(0) rotate(0deg); }
50% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(500px) rotate(720deg); }
} }
@media (max-width: 600px) { @media (max-width: 600px) {
.card { .card {
padding: 40px 25px; padding: 30px 20px;
} }
.title { .age-badge {
font-size: 36px; font-size: 36px;
} padding: 12px 24px;
.detail-value {
font-size: 16px;
} }
} }
</style> </style>
</head> </head>
<body> <body>
<div class="floating-elements"> <div class="floating-elements">
<div class="float-element">✨</div> <div class="float-element">🎈</div>
<div class="float-element">🌸</div> <div class="float-element">🎉</div>
<div class="float-element">💫</div> <div class="float-element">🎂</div>
<div class="float-element">🦋</div> <div class="float-element">🎁</div>
<div class="float-element">🌟</div> <div class="float-element">⭐</div>
<div class="float-element">💐</div> <div class="float-element">🦄</div>
<div class="float-element">🌈</div>
<div class="float-element">🍭</div>
</div> </div>
<div class="container"> <div class="container">
<div class="card"> <div class="card">
<div class="content"> <div class="content">
<div class="ornament-top">❖ ❖ ❖</div> <div class="intro">Приглашаю тебя на мой</div>
<p class="intro">Сердечно приглашаю вас</p> <div class="age-badge" id="age-number">7</div>
<h1 class="title"> <h1 class="title">День Рождения!</h1>
<span>на празднование</span>
50-летия
</h1>
<p class="subtitle">Юбилейный вечер</p> <div class="name" id="child-name">Имя</div>
<div class="divider"></div> <div class="cake-icon">🎂</div>
<div class="details"> <div class="details">
<div class="detail-item"> <div class="detail-item">
<div class="detail-icon">📅</div> <div class="detail-icon">📅</div>
<div class="detail-label">Дата</div> <div class="detail-label">Когда</div>
<div class="detail-value" id="event-date">[Укажите дату]</div> <div class="detail-value" id="event-date">[Дата]</div>
</div> </div>
<div class="detail-item"> <div class="detail-item">
<div class="detail-icon">🕐</div> <div class="detail-icon">🕐</div>
<div class="detail-label">Время</div> <div class="detail-label">Во сколько</div>
<div class="detail-value" id="event-time">[Укажите время]</div> <div class="detail-value" id="event-time">[Время]</div>
</div> </div>
<div class="detail-item"> <div class="detail-item">
<div class="detail-icon">📍</div> <div class="detail-icon">📍</div>
<div class="detail-label">Место проведения</div> <div class="detail-label">Где</div>
<div class="detail-value" id="event-location">[Укажите место]</div> <div class="detail-value" id="event-location">[Место]</div>
</div> </div>
</div> </div>
<div class="dress-code"> <div class="fun-note">
<div class="dress-code-title">👔 Дресс-код</div> <div class="fun-note-title">🎮 Будет весело!</div>
<div class="dress-code-text"> <div class="fun-note-text">
Cocktail attire. Будем признательны, если вы поддержите праздничную атмосферу вечера в элегантных нарядах. Игры, конкурсы, торт и много подарков! Не забудь своё отличное настроение!
</div> </div>
</div> </div>
<div class="rsvp"> <div class="rsvp">
<div class="rsvp-title">RSVP</div> <div class="rsvp-title">Подтверди приход!</div>
<p class="rsvp-text"> <p class="rsvp-text">
Пожалуйста, подтвердите ваше присутствие до указанной даты. Это поможет нам организовать вечер наилучшим образом. Пожалуйста, скажи родителям, чтобы они позвонили и подтвердили, что ты придёшь!
</p> </p>
<div class="rsvp-contact" id="rsvp-contact">[Контакт для подтверждения]</div> <div class="rsvp-contact" id="rsvp-contact">[Телефон]</div>
</div> </div>
<div class="footer"> <div class="footer">
<p class="footer-text"> <p class="footer-text">
С нетерпением жду встречи с вами<br> Жду тебя с нетерпением! 🎁<br>
в этот особенный день! Будет супер-праздник!
</p> </p>
</div> </div>
<div class="ornament-bottom">❖ ❖ ❖</div>
</div> </div>
<div id="sparkles-container"></div> <div id="confetti-container"></div>
</div> </div>
</div> </div>
<script> <script>
const eventData = { const eventData = {
date: "22 августа 2027 года", name: "Сымбат",
age: 7,
date: "12 октября 2026 года",
time: "12:00", time: "12:00",
location: "Ресторан «Гранд Зодиак»", location: "Детское кафе «Гранд Зодиак»",
rsvp: "Телефон: +7 (777) 111-22-22", rsvp: "+7 (777) 666-88-88"
name: "Нургуль"
}; };
function init() { function init() {
document.getElementById('child-name').textContent = eventData.name;
document.getElementById('age-number').textContent = eventData.age;
document.getElementById('event-date').textContent = eventData.date; document.getElementById('event-date').textContent = eventData.date;
document.getElementById('event-time').textContent = eventData.time; document.getElementById('event-time').textContent = eventData.time;
document.getElementById('event-location').textContent = eventData.location; document.getElementById('event-location').textContent = eventData.location;
document.getElementById('rsvp-contact').textContent = eventData.rsvp; document.getElementById('rsvp-contact').textContent = eventData.rsvp;
document.title = `Приглашение на 50-летие ${eventData.name}`; document.title = `Приглашение на День Рождения ${eventData.name}!`;
createSparkles(); createConfetti();
} }
function createSparkles() { function createConfetti() {
const container = document.getElementById('sparkles-container'); const container = document.getElementById('confetti-container');
const card = document.querySelector('.card'); const colors = ['#ff6b6b', '#ff8e8e', '#ffd93d', '#66bb6a', '#4fc3f7'];
for (let i = 0; i < 30; i++) { for (let i = 0; i < 40; i++) {
const sparkle = document.createElement('div'); const confetti = document.createElement('div');
sparkle.className = 'sparkle'; confetti.className = 'confetti';
sparkle.style.left = Math.random() * 100 + '%'; confetti.style.left = Math.random() * 100 + '%';
sparkle.style.top = Math.random() * 100 + '%'; confetti.style.top = -10 + 'px';
sparkle.style.animationDelay = Math.random() * 2 + 's'; confetti.style.background = colors[Math.floor(Math.random() * colors.length)];
sparkle.style.animationDuration = (1.5 + Math.random() * 1.5) + 's'; confetti.style.animationDelay = Math.random() * 3 + 's';
container.appendChild(sparkle); confetti.style.animationDuration = (2 + Math.random() * 2) + 's';
confetti.style.borderRadius = Math.random() > 0.5 ? '50%' : '0';
container.appendChild(confetti);
} }
} }