 :root { /* black 
    --background: #1E1E1E;
    --text: #E0E0E0;
    --link: #9DBAD5;
    --sidebar:  #2B4162;
    --active-link: #F4A261;
    --box-shadow: 0 3px 5px  rgba(255, 255, 255, 0.2);
    --background-allbox: #8C9490; */ 
}  

:root { /* white */
    --background: #EBEBEB;
    --text: #2B4162;
    --link: #2B4162;
    --sidebar:  #C8D2D5;
    --active-link: #9DBAD5;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    --background-allbox: #FFFFFF; 
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background);
    color: var(--text);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    width: 1300px;
    margin: 20px auto;
    max-height: 700px;
    background-color: var(--background);
 /*   box-shadow: var(--box-shadow); */
    border-radius: 10px;
    overflow: hidden;
}

.sidebar {
    width: 240px;
    padding: 10px;
    border-right: 1px solid var(--sidebar);
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar ul li {
    margin-bottom: 5px;
    text-align: right;
}

.sidebar ul li a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, transform 0.2s;
}

.sidebar p {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
}

.content {
    width: 1060px;
    padding: 10px;
    background-color: var(--background);
    border-radius: 0 8px 8px 0;
    max-height: 700px;
    overflow-y: auto;
}

a {
    color: var(--link);
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

a:hover {
    color: var(--active-link);
    transform: translateX(5px);
    display: inline-block;
}

/* Заголовки */
h1, h2, h3 {
    color: var(--text);
    border-bottom: 1px solid var(--link);
    margin: 0;
    display: inline-block;
}

h1 { padding-bottom: 10px; }

p { padding: 0px;  margin: 0px; }

/* Блок с тенью */
.allbox {
	display: inline-block;
	background-color: var(--background-allbox);
    box-shadow: var(--box-shadow);
    padding: 5px;
	margin-bottom: 5px;
	border-radius: 8px;
}