/* Импорт шрифта */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;600&display=swap');

/* Основные стили для тела */
body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Светлая тема */
body.light {
    background-color: #F5F5F5;
    color: #333;
}

/* Темная тема */
body.dark {
    background-color: #161b22;
    color: #ddd;
}

/* Фон с текстурой */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://i.ibb.co/HqRwCSL/Pattern-Copy-1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.container {
    background: rgba(255, 255, 255, 0.2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 2;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

p {
    font-size: 14px;
    margin-top: 20px;
    color: #888;
}

a.button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    background: #0b7285;
    background-size: 400% 400%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: gradientAnimation 5s ease-in-out infinite;
}

a.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
