body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    text-align: center;
    overflow: hidden; /* Чтобы фоновое изображение не выходило за границы */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('blurred-background-image.jpg') no-repeat center center fixed; /* Замените на свой путь к изображению */
    background-size: cover;
    filter: blur(5px); /* Эффект размытия */
    -webkit-filter: blur(8px); /* Для Safari */
    z-index: -2; /* Помещаем под контент */
}

/* Добавляем градиентный оверлей для лучшей читаемости текста */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: -1; /* Помещаем между фоном и контентом */
}

header {
    background-color: rgba(25, 25, 112, 0.6);
    padding: 15px 0;
    width: 100%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffd700; /* Золотистый цвет при наведении */
}

main {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    background-color: rgba(25, 25, 112, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 0 20px rgba(25, 25, 112, 0.5);
}

h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.gallery-button {
    display: inline-block;
    background-color: #007bff; /* Синяя кнопка */
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-button:hover {
    background-color: #0056b3; /* Темнее синий при наведении */
    transform: translateY(-2px);
}

footer {
    background-color: rgba(25, 25, 112, 0.6);
    padding: 15px 0;
    width: 100%;
    font-size: 0.9em;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    p {
        font-size: 1em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }
}