* {
    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;
}
#box{
    position: relative;
    width: 900px;
    margin-left: 50px;
}
#panel, #flip, #flip2{
    padding: 5px;
    text-align: center;
}
#panel{
    padding: 50px;
    display: none;
}
.content-wrapper {
    flex: 1; /* Растягиваем контент на всю доступную высоту */
}
/* Определяем анимацию */
@keyframes slideIn {
    from {
        transform: translateY(-20px);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
#hooaeg, #kuupaev, #koolivaheaeg, #sunrise{
    width: 100%;
    border: none;
    justify-content: center;
    text-align: center;
}


