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