body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #0078d4;
    color: #fff;
    box-sizing: border-box;
}
header .logo {
    font-size: 24px;
    font-weight: bold;
}
header .contacts {
    text-align: right;
    font-size: 14px;
}

.contacts a {
    color: #ffffff; /* Белый цвет текста */
    text-decoration: none; /* Убираем подчёркивание */
    font-weight: bold; /* Делаем текст жирным */
}

.contacts a:hover {
    text-decoration: underline; /* Добавляем подчёркивание при наведении */
    color: #ffdd00; /* Жёлтый цвет текста при наведении */
}

main {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}
main h1 {
    color: #0078d4;
    font-size: 32px;
    margin-bottom: 20px;
}
main .section {
    margin-bottom: 40px;
}
main .section img {
    max-width: 100%;
    max-height: 300px; /* Ограничение размера изображений */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}
main .section p {
    font-size: 18px;
    text-align: justify;
}
footer {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 20px;
    background: #0078d4;
    color: #fff;
    box-sizing: border-box;
}
@media (max-width: 768px) {
    header, footer {
        flex-direction: column;
        text-align: center;
    }
}

footer a {
    color: #ffffff; /* Белый цвет текста */
    text-decoration: none; /* Убираем подчёркивание */
    font-weight: bold; /* Делаем текст жирным */
}

footer a:hover {
    text-decoration: underline; /* Подчёркивание при наведении */
    color: #ffdd00; /* Жёлтый цвет текста при наведении */
}
