﻿/* --- ФОНОВЫЕ ИКОНКИ (Floating Icons) --- */

/* Контейнер для фона, чтобы иконки не перекрывали кнопки */
.background-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Уводим на самый задний план */
    pointer-events: none; /* Чтобы сквозь них можно было кликать */
    overflow: hidden;
}

.decor-icon {
    position: absolute;
    opacity: 0.07; /* ОЧЕНЬ прозрачные (7%) */
    filter: invert(1); /* Делаем их белыми (так как фон темный) */
    animation: float 6s ease-in-out infinite;
}

/* Настраиваем каждую иконку: позиция, размер, задержка анимации */

/* 1. Книга (Слева сверху) */
.icon-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    animation-delay: 0s;
    transform: rotate(-15deg);
}

/* 2. Пазл (Справа сверху) */
.icon-2 {
    top: 15%;
    right: 10%;
    width: 100px;
    animation-delay: 2s;
    transform: rotate(10deg);
}

/* 3. Лампочка/Психология (Слева снизу) */
.icon-3 {
    bottom: 15%;
    left: 8%;
    width: 140px;
    animation-delay: 4s;
    transform: rotate(5deg);
}

/* 4. Шапка выпускника (Справа снизу) */
.icon-4 {
    bottom: 10%;
    right: 5%;
    width: 130px;
    animation-delay: 1s;
    transform: rotate(-10deg);
}

/* 5. Заметки (По центру, чуть выше) */
.icon-5 {
    top: 40%;
    left: 50%; /* Смещаем от центра */
    margin-left: 300px; /* Чтобы не мешало форме в центре */
    width: 90px;
    animation-delay: 3s;
    transform: rotate(20deg);
    opacity: 0.05; /* Еще прозрачнее, так как близко к центру */
}

/* Анимация плавного покачивания */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}
