* {
    box-sizing: border-box;
    margin: 0;
    font-family: sans-serif;
}

/* Стили для body */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Минимальная высота — весь экран */
    margin: 0;
    background: black;
    color: white;
    animation: slideIn 2s ease-out, fadeIn 2s ease-out; /* Обе анимации выполняются одновременно */
}
h2{
    color: #ff026a;
}
/* Анимация для заголовка */
@keyframes blur {
    0% {
        filter: blur(20px); /* Начальное размытие */
    }
    50% {
        filter: blur(0px); /* Текст становится чётким */
    }
    90% {
        filter: blur(0px); /* Текст остаётся чётким долго */
    }
    100% {
        filter: blur(20px); /* Заканчиваем анимацию с размытием */
    }
}

h1 {
    font-size: 135px;
    font-weight: bold;
    animation: blur 5s ease-in-out infinite; /* Анимация длится 5 секунд */
    margin-top: 120px;
    margin-left: 30px;
}
/* Стили для футера */
footer {
    text-align: center;
    width: 100%;
    background: black;
    padding: 10px 0;
    position: relative;
    z-index: 1; /* Ставим футер с более низким z-index, чтобы он не перекрывал другие элементы */
    margin: auto;
}
/* Стили для навигации */
nav{
    background-color: black; /* Чёрный фон для навигации */
    width: 100%;
    border-radius: 30px;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

.menu{
    list-style: none;
    display: flex;
    justify-content: space-around;
    border-radius: 30px;
    background-color: white;
    margin-left: 20px;
    margin-right: 20px;
}

.menu li{
    position: relative;
}

.menu a{
    color: #ff026a;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* Стили для выпадающего меню */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: black;
    min-width: 160px;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Показываем выпадающее меню только при наведении на элемент li */
.menu li:hover .dropdown-content {
    display: block;
}

.dropdown-content li a {
    padding: 10px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}
h2{
    text-align: center;
}
img#pilt{
    position: relative;
    left: 0;
    padding: 10px;
    width: 200px;
    border-radius: 30px;
}
#pilt, #pilt2 {
    position: absolute; /* Абсолютное позиционирование */
    bottom: 60px; /* Фиксированное вертикальное положение (выше меню) */
    left: 0; /* Начальное положение слева */
    display: none; /* Скрываем гифки по умолчанию */
    z-index: 1000;
    width: 200px; /* Указываем ширину */
}
/* Фиксированное меню внизу страницы */
.bottom-nav {
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    position: relative; /* Ожидаем, что меню будет относительным, чтобы управлять его позиционированием */
    z-index: 10; /* Устанавливаем z-index для нижнего меню, чтобы оно находилось поверх других элементов */
}
.menu2 {
    list-style: none; /* Убираем маркеры списка */
    display: flex;    /* Делаем элементы в строку */
    justify-content: center; /* Выравниваем кнопки по центру */
    gap: 10px;        /* Уменьшаем отступ между кнопками */
    margin: 0;        /* Убираем отступы */
    padding: 0;       /* Убираем внутренние отступы */
}
/* Стили для кнопок */
.menu2 input[type="button"] {
    background-color: white; /* Цвет фона кнопок */
    color: black;      /* Цвет текста */
    border: none;      /* Убираем границу */
    border-radius: 50px; /* Скругляем углы */
    cursor: pointer;   /* Курсор в виде указателя */
    padding: 10px 20px;
}
#box{
    position: relative;
    width: 900px;
    margin-left: 50px;
}
#panel, #flip, #flip2{
    padding: 5px;
    text-align: center;
}
#panel{
    padding: 50px;
    display: none;
}
#aurora{
    background: url('aurora.png') no-repeat center center / cover; /* Путь к изображению */
    height: 100px; /* Высота картинки */
    width: 100px; /* Ширина картинки */
    position: absolute; /* Абсолютное позиционирование */
    display: none; /* Скрываем картинку по умолчанию */
    margin: 0; /* Убираем отступы у картинки */
    padding: 0; /* Убираем внутренние отступы у картинки */
    border: none; /* Убираем границы */
}
.content-wrapper {
    flex: 1; /* Растягиваем контент на всю доступную высоту */
}
/* Определяем анимацию */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
#workdone {
    max-width: 800px;
    padding: 25px;
    background-color: black;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#workdone div {
    display: grid;
    gap: 1px;
}
#workdone a {
    display: block;
    padding: 12px 15px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border-left: 4px solid #ff026a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#workdone a:hover {
    background-color: black;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#workdone a:active {
    transform: translateY(0);
}

@media (max-width: 600px) {
    #workdone div {
        grid-template-columns: 1fr;
    }

    #workdone {
        padding: 15px;
    }
}

