﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header, footer {
    color: white;
    padding: 5px;
    text-align: center;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    nav a {
/*        color: white;
*/        margin: 0px 10px;
        text-decoration: none;
        font-size: 14px;
    }

        nav a:hover {
/*            color: white;
*/            text-decoration: underline;
        }

footer a {
    color: white;
    margin: 5px 10px;
    text-decoration: none;
    font-size: 14px;
}

section {
    padding: 5px;
    background-color: white;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 18px;
}

ul, ol {
    margin-left: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 14px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: left;
}

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .images img {
        max-width: 100%;
        height: auto;
        margin: 10px;
        border: 1px solid #ccc;
        border-radius: 6px;
    }

/* 📱 Мобильная адаптация */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

        nav a {
            margin: 8px 0;
            font-size: 16px;
        }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    table, th, td {
        font-size: 12px;
    }

    section {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    header, footer {
        padding: 10px;
    }

    nav a {
        font-size: 14px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    .images img {
        max-width: 95%;
    }
}

a span {
    padding: 5px;
}
