body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}
header {
    background-color: #4c93af;
    color: white;
    padding: 1em 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
header a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 40px;
}
header img {
    height: 60px; /* Вы можете изменить размер изображения по своему усмотрению */
}
header h1 {
    margin: 0;
    flex-grow: 1;
}
nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    overflow-x: auto;
    white-space: nowrap;
}
nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}
nav a:hover {
    background-color: #ddd;
    color: black;
}
.container {
    padding: 20px;
}
.section {
    margin-bottom: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: url('images/background.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}
.banners {
    text-align: center;
}

.spacer {
    height: 100px; /* Добавляем отступ */
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}
@media (max-width: 600px) {
    header {
        flex-direction: column;
        padding: 1em 0.5em;
    }
    header a {
        position: static;
        margin-bottom: 1em;
    }
    header img {
        height: auto;
        width: 50%;
        max-width: 100px;
    }
    header h1 {
        font-size: 1.5em;
    }
    nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    nav a {
        padding: 10px;
        flex: 0 0 auto;
    }
    .container {
        padding: 10px;
    }
    .section {
        padding: 10px;
    }
}
@media (max-width: 250px) {
    header {
        flex-direction: column;
        padding: 0.5em 0.2em;
    }
    header a {
        position: static;
        margin-bottom: 0.5em;
    }
    header img {
        height: auto;
        width: 40%;
        max-width: 60px;
    }
    header h1 {
        font-size: 1em;
    }
    nav a {
        padding: 5px;
        flex: 0 0 auto;
    }
    .container {
        padding: 5px;
    }
    .section {
        padding: 5px;
    }
}