body {
    font-family: 'Times New Roman', serif;
    background-color: #8b8b8b;
    color: #333333;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 20px;
}

header {
    background-image: url('header-background.jpg');
    background-size: 100% 100%;
    background-position: center;
    padding: 100px 20px;
    color: white;
}

header h1 {
    color: #333333;
    font-size: 50px;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    color: #333333;
}

nav ul li a.active {
    text-decoration: underline;
    color: black;
}

section {
    padding: 50px 20px;
    margin-right: 150px;
    margin-left: 150px;
    font-size: 23px;
}

section p {
    margin-bottom: 60px;
    font-size: 25px;
}

.language-switch {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 9999; /* Поверх всего */
    padding: 5px 10px;
    border-radius: 5px;
}

.language-switch a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.language-switch a:hover {
    transform: scale(1.4) translateY(-6px);
    color: red;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }

    nav ul li a {
        font-size: 18px;
    }

    section {
        margin-right: 30px;
        margin-left: 30px;
    }

    section p {
        font-size: 18px;
    }

    .language-switch {
        font-size: 16px;
        top: 15px;
        right: 15px;
    }

    .container .img-part {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    header {
        padding: 60px 10px;
    }

    header h1 {
        font-size: 28px;
    }

    nav ul li a {
        font-size: 16px;
    }

    section {
        margin-right: 20px;
        margin-left: 20px;
    }

    section p {
        font-size: 16px;
    }

    .language-switch {
        font-size: 14px;
        top: 10px;
        right: 10px;
    }

    .container .img-part {
        grid-template-columns: 1fr;
    }

    .container .img-part .img {
        height: 200px;
        width: 90%;
    }
}
