body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: url('los.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    overflow-x: hidden;
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: -250px;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidebar.active {
    left: 0;
}

.sidebar a {
    padding: 15px 20px; /* Увеличиваем отступ слева */
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: black;
}

.sidebar .bottom-text {
    position: absolute;
    bottom: 20px;
    padding: 10px 20px; /* Увеличиваем отступ слева */
    font-size: 14px;
}

.main-content {
    transition: margin-left 0.5s;
    padding: 16px;
    margin-left: 0;
}

.main-content.shifted {
    margin-left: 250px;
}

.top-bar {
    background-color: rgba(0, 0, 0, 0.5);
    height: 50px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    margin-left: 10px;
    color: white;
}

.language-toggle {
    margin-left: auto;
    margin-right: 20px;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    color: white;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #000022;
    color: white;
    margin-top: auto;
}

footer p, footer a {
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
    color: white;
}

footer a {
    text-decoration: none;
    margin-right: 10px;
}

footer a:hover {
    text-decoration: underline;
}

.content {
    margin-top: 70px;
    margin-left: 10%;
    text-align: left;
    max-width: 80%;
}

h1 {
    font-size: 36px;
    font-weight: bold;
}

p {
    font-size: 18px;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

#main {
    display: flex;
    flex-direction: column;
    min-height: 96vh; /* Высота экрана */
}

.content {
    flex: 0; /* Контент растягивается */
}

footer {
    background-color: #000022;
    text-align: center;
    padding: 15px 0;
    margin-top: auto; /* Футер всегда внизу */
    width: 100%;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
}