@font-face {
    font-family: "Babayka";
    src: url("babayka_font.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: "Babayka", Arial, sans-serif;
    color: #880e4f;
    background: linear-gradient(to bottom, #ffe6f0, #ffc0cb);
    overflow-x: hidden;
}

/* Параллакс слой для сердечек */
.parallax-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    perspective: 1px;
}

.hearts-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Создаём 12 эмодзи-сердечек */
.hearts-layer span {
    position: absolute;
    bottom: -50px;
    font-size: 24px;
    animation: floatUpSide 10s linear infinite;
    opacity: 0.8;
}

/* Разные позиции, скорости и размеры для объёма */
.hearts-layer span:nth-child(1) { left: 5%; animation-duration: 9s; font-size: 20px; animation-delay: 0s; }
.hearts-layer span:nth-child(2) { left: 15%; animation-duration: 12s; font-size: 28px; animation-delay: 1s; }
.hearts-layer span:nth-child(3) { left: 25%; animation-duration: 11s; font-size: 22px; animation-delay: 2s; }
.hearts-layer span:nth-child(4) { left: 35%; animation-duration: 10s; font-size: 32px; animation-delay: 0.5s; }
.hearts-layer span:nth-child(5) { left: 45%; animation-duration: 13s; font-size: 24px; animation-delay: 1.5s; }
.hearts-layer span:nth-child(6) { left: 55%; animation-duration: 8s; font-size: 26px; animation-delay: 0.7s; }
.hearts-layer span:nth-child(7) { left: 65%; animation-duration: 14s; font-size: 22px; animation-delay: 1.2s; }
.hearts-layer span:nth-child(8) { left: 75%; animation-duration: 9s; font-size: 30px; animation-delay: 0.3s; }
.hearts-layer span:nth-child(9) { left: 85%; animation-duration: 12s; font-size: 20px; animation-delay: 1.8s; }
.hearts-layer span:nth-child(10){ left: 95%; animation-duration: 11s; font-size: 28px; animation-delay: 0.9s; }
.hearts-layer span:nth-child(11){ left: 20%; animation-duration: 10s; font-size: 24px; animation-delay: 0.4s; }
.hearts-layer span:nth-child(12){ left: 70%; animation-duration: 13s; font-size: 26px; animation-delay: 1.1s; }

/* Анимация вверх и в стороны */
@keyframes floatUpSide {
    0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.8; }
    25% { transform: translateY(-25vh) translateX(20px) rotate(10deg); opacity: 1; }
    50% { transform: translateY(-50vh) translateX(-15px) rotate(-10deg); opacity: 1; }
    75% { transform: translateY(-75vh) translateX(15px) rotate(5deg); opacity: 0.9; }
    100% { transform: translateY(-110vh) translateX(-20px) rotate(-5deg); opacity: 0; }
}

/* Контент */
h1 {
    font-size: 64px;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

h2 {
    font-size: 32px;
    letter-spacing: 2px;
    text-shadow: 0 4px 12px rgba(255, 20, 147, 0.4);
}

.section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(4px);
}

.section.darker {
    background: rgba(255,192,203,0.5);
}

/* Контент-блок внутри секции */
.section .content-block {
    max-width: 600px; /* ограниченная ширина */
    margin: 20px auto; /* центрируем */
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95); /* почти непрозрачный фон */
    border-radius: 20px; /* закруглённые края */
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3); /* лёгкая тень для объёма */
    text-align: center;
    font-size: 20px;
    color: #880e4f;
}