/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Arial', sans-serif;
    background: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Контейнер для всего контента */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Блок с сообщением */
.message-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 80%;
    max-width: 500px;
    animation: fadeIn 1s ease-out;
}

h1 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    animation: slideIn 0.8s ease-out;
}

p {
    color: #777;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Анимация для текста */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Спиннер */
.spinner {
    margin: 20px auto;
    border: 4px solid #f0f4f8;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Подвал */
.footer-text {
    color: #888;
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Переключатель языков */
.language-toggle {
    margin-top: 30px;
}

.language-toggle button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.language-toggle button:hover {
    background-color: #2980b9;
}
