/* Общие стили */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed; /* Фоновая картинка */
    background-size: cover; /* Растягиваем изображение на весь экран */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Картинка в самом верху */
.top-image {
    width: 100%;
    text-align: center;
	align-items: center;
    justify-content: center;
}

.top-image img {
    width: 100%;
    height: auto; /* Сохраняем пропорции */
}

/* Баннер */
.banner {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    text-align: center;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
}

.banner p {
    margin: 0;
    font-size: 1.5rem;
}

/* Основной контент */
.content {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный фон */
    padding: 20px;
    border-radius: 10px;
    margin-top: 80px; /* Отступ для баннера */
}

/* Заголовок */
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Кнопка */
.button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.5rem;
    color: #ffffff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.button:hover {
    background-color: #0056b3;
}

/* Статья */
article {
    max-width: 600px;
    margin: 0 auto;
}

article p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .banner p {
        font-size: 1.2rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .button {
        font-size: 0.9rem;
        padding: 12px 24px;
    }

    article p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .banner p {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    .button {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    article p {
        font-size: 0.8rem;
    }
}