.section2 {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow: auto; /* Скрываем скролл hidden; — скрывает прокрутку и недоступное содержимое.*/
    background-color: #ffffff00; /* Цвет фона сайта */
    color: white; /* Цвет текста по умолчанию */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh; /* Задаем минимальную высоту страницы */
}

    .snowflakes {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Задаём высоту блока с снежинками */
        pointer-events: none; /* Позволяем взаимодействовать с содержимым сайта */
    }

    .snowflake {
        position: absolute;
        top: -10%;
        color: rgb(219, 216, 216);
        font-size: 1.5em; /* Начальный размер снежинок */
        opacity: 0.5; /* Прозрачность снежинок */
        animation: fall linear infinite; /* Запускаем анимацию */
    }

    .small-snowflake {
        position: absolute;
        top: -10%;
        color: rgb(197, 196, 196);
        font-size: 0.5em; /* Размер маленьких снежинок */
        opacity: 0.5; /* Более прозрачные маленькие снежинки */
        animation: fall linear infinite; /* Запускаем анимацию */
    }

    @keyframes fall {
0% {
transform: translateY(0); /* Начальная позиция */
}
100% {
    transform: translateY(100vh);
  }
}
/* Стили для создания нескольких снежинок */
@keyframes snowfall {
    0% {
        left: 0%;
    }
    50% {
        left: 50%;
    }
    100% {
        left: 100%;
    }
}

    /* Генерация снежинок с различной анимацией и позиции */
    .snowflake:nth-child(1) { left: 10%; animation-duration: 9s; animation-delay: 5s; }
    .snowflake:nth-child(2) { left: 20%; animation-duration: 10s; animation-delay: 6s; }
    .snowflake:nth-child(3) { left: 30%; animation-duration: 5s; animation-delay: 4s; }
    .snowflake:nth-child(4) { left: 40%; animation-duration: 9.5s; animation-delay: 8.5s; }
    .snowflake:nth-child(5) { left: 50%; animation-duration: 4.5s; animation-delay: 4s; }
    .snowflake:nth-child(6) { left: 60%; animation-duration: 9s; animation-delay: 9.5s; }
    .snowflake:nth-child(7) { left: 70%; animation-duration: 8s; animation-delay: 2.5s; }
    .snowflake:nth-child(8) { left: 80%; animation-duration: 5s; animation-delay: 2s; }
    .snowflake:nth-child(9) { left: 90%; animation-duration: 8s; animation-delay: 7s; }
    .snowflake:nth-child(10) { left: 50%; animation-duration: 7s; animation-delay: 6s; }
    .snowflake:nth-child(11) { left: 15%; animation-duration: 9s; animation-delay: 8s; }
    .snowflake:nth-child(12) { left: 25%; animation-duration: 10s; animation-delay: 5s; }
    .snowflake:nth-child(13) { left: 35%; animation-duration: 6s; animation-delay: 6s; }
    .snowflake:nth-child(14) { left: 45%; animation-duration: 10.5s; animation-delay: 7.5s; }
    .snowflake:nth-child(15) { left: 55%; animation-duration: 11.5s; animation-delay: 6s; }
    .snowflake:nth-child(16) { left: 65%; animation-duration: 10s; animation-delay: 6.5s; }
    .snowflake:nth-child(17) { left: 75%; animation-duration: 6s; animation-delay: 4.5s; }
    .snowflake:nth-child(18) { left: 85%; animation-duration: 5s; animation-delay: 11s; }
    .snowflake:nth-child(19) { left: 95%; animation-duration: 8s; animation-delay: 8s; }
    .snowflake:nth-child(20) { left: 32%; animation-duration: 7s; animation-delay: 2s; }

    /* Генерация маленьких снежинок с различной анимацией и позиции */
    .small-snowflake:nth-child(1) { left: 15%; animation-duration: 6s; animation-delay: 0s; }
    .small-snowflake:nth-child(2) { left: 25%; animation-duration: 10s; animation-delay: 5s; }
    .small-snowflake:nth-child(3) { left: 35%; animation-duration: 9.5s; animation-delay: 5.5s; }
    .small-snowflake:nth-child(4) { left: 45%; animation-duration: 7s; animation-delay: 0.5s; }
    .small-snowflake:nth-child(5) { left: 55%; animation-duration: 7s; animation-delay: 2.5s; }
    .small-snowflake:nth-child(6) { left: 65%; animation-duration: 6s; animation-delay: 8s; }
    .small-snowflake:nth-child(7) { left: 75%; animation-duration: 5.5s; animation-delay: 5.5s; }
    .small-snowflake:nth-child(8) { left: 85%; animation-duration: 9.5s; animation-delay: 5s; }
    .small-snowflake:nth-child(9) { left: 95%; animation-duration: 5s; animation-delay: 2s; }
    .small-snowflake:nth-child(10) { left: 60%; animation-duration: 4.5s; animation-delay: 8s; }