html {
  height: 100%;
  width: 100%;
}

h1{text-align:center;}
#menu {
    list-style-type: none;
    padding: 0;
}

.node {
    cursor: pointer;color:red;
}

.children {
    display: none;
    padding-left: 20px;
}

body {
  font-family: Arial, sans-serif;
  padding: 20px;
  background: #ffffff; /* Белый фон */
}

h1, h2 {
  color: #006064; /* Темная бирюза */
}

pre {
  background: #e0f7fa; /* Светло-бирюзовый */
  padding:1%;
  border-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width:90%; 
}

code {
  background: #b2ebf2; /* Бирюзовый */
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 1.5em;
  color: #006064; /* Темная бирюза */
}

ol.roman {
  list-style-type: upper-roman;
}

ol.alpha {
  list-style-type: lower-alpha;
}

ol.decimal {
  list-style-type: decimal;
}
/* Стили для неупорядоченных списков (ul) */
ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
  transition: all 0.3s ease;
}

ul li:before {
  content: "◆"; /* Ромбик вместо стандартного маркера */
  color: #00e5ff; /* Неоново-бирюзовый */
  font-size: 1.2em;
  position: absolute;
  left: 0;
  text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

ul li:hover {
  transform: translateX(5px);
  color: #006064; /* Темная бирюза */
}

/* Стили для упорядоченных списков (ol) */
ol {list-style: none;
  counter-reset: my-counter;
  padding-left: 0;
  margin: 1.5rem 0;
}

ol li {
  counter-increment: my-counter;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  background: #e1f5fe; /* Очень светлый бирюзовый */
  padding: 0.8rem 1rem 0.8rem 3rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

ol li:before {
  content: counter(my-counter);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.8rem;
  height: 1.8rem;
  background: #00bcd4; /* Яркая бирюза */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 0 2px #006064;
}

/* Специальные стили для вложенных списков */
ul ul, ol ol {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
}

ul ul li:before {
  content: "○"; /* Кружок для вложенных пунктов */
  color: #00bcd4;
}

ol ol li:before {
  background: #006064; /* Темная бирюза */
  box-shadow: 0 0 0 2px #00bcd4;
}

/* Анимация при наведении */
li:hover:before {
  animation: pulse 0.5s ease infinite alternate;
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* Специальный стиль для списка определений */
dl {
  background: #e0f7fa; /* Светло-бирюзовый */
  padding: 1.5rem;
  border-radius: 8px;
}

dt {
  color: #006064; /* Темная бирюза */
  font-weight: bold;
  margin-top: 1rem;
  position: relative;
  padding-left: 1.5rem;
}

dt:before {
  content: "→";
  color: #00e5ff; /* Неоново-бирюзовый */
  position: absolute;
  left: 0;
}

dd {
  margin-left: 1.5rem;
  padding: 0.5rem 0;
  color: #0d47a1; /* Темно-синий */
}
a {
  text-decoration: none;
  color: #00796b; /* Средняя бирюза */
}

p.Attention {
  font-family: 'Ultra', sans-serif;
  margin: 5px;
  padding: 10px;
  background: #00e5ff; /* Неоново-бирюзовый */
  text-align: justify;
  text-indent: 10px;
  font-size: 1.1rem;
  border: 2px solid #006064; /* Темная бирюза */
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

ul, ol {
  margin-left: 20px;
}

ul ul {
  margin-left: 20px;
}

li p {
  margin: 0 0 5px 0;
}

p {
  font-family: 'Georgia', sans-serif;
  margin: 5px;
  padding: 10px;
  background: #e1f5fe; /* Очень светлый бирюзовый */
  text-align: justify;
  text-indent: 10px;
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-style: italic;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

p:first-letter {
  font-size: 25px;
  color: #00bcd4; /* Яркая бирюза */
}

table {
  font-family: 'Georgia', sans-serif;
  font-size: 0.9rem;
  font-style: italic;
  color: #0d47a1; /* Темно-синий */
  line-height: 1.5em;
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}      

td {
  border: 1px solid #b2ebf2; /* Бирюзовый */
  padding: 8px;
  background: #ffffff; /* Белый */
}

th {
  border: 1px solid #006064; /* Темная бирюза */
  padding: 8px;
  background-color: #006064; /* Темная бирюза */
  color: white;
}

#s2 {
  width: 33%;
}

#s1 {
  width: 50%;
}

a.menu {
  font-family: 'Ultra', sans-serif;
  font-size: 1.1rem;
  color: #0d47a1; /* Темно-синий */
  line-height: 1.2; 
  position: relative; 
  padding: 0 14px; 
  font-style: normal;
}

a.menu:after {
  content: "";
  height: 100%;
  min-width: 4px;
  background: #00e5ff; /* Неоново-бирюзовый */
  position: absolute;
  left: 0;
  bottom: 0;
  transition: .5s;
  border-radius: 4px;
}

a.menu:hover:after {
  min-width: 100%;
  background: #00e5ff; /* Неоново-бирюзовый */
  opacity: .35;
}

tr:hover {
  background: #e0f7fa; /* Светло-бирюзовый */
}

h1 {
  margin: 1em 0 0.4rem 0;
  color: #006064; /* Темная бирюза */
  font-weight: bold;
  font-family: 'Ultra', sans-serif;  
  font-size: 1.5rem;
  line-height: 42px;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h2 {
  margin: 1em 0 0.3em 0;
  color: #00838f; /* Средне-бирюзовый */
  font-weight: normal;
  font-size: 1.35em;
  line-height: 40px;
  font-family: 'Orienta', sans-serif;
}

h3 {
  margin: 1em 0 0.5em 0;
  color: #00acc1; /* Яркая бирюза */
  font-size: 22px;
  line-height: 40px;
  font-weight: normal;
  font-family: 'Georgia', sans-serif;
  letter-spacing: 1px;
  font-style: italic;
  text-align: center;
}

h4 {
  margin: 1em 0 0.5em 0;
  color: #00796b; /* Средняя бирюза */
  font-size: 18px;
  line-height: 40px;
  font-weight: normal;
  font-family: 'Orienta', sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

figure {
  float: none;
  width: auto;
  margin: 1% 1px 5px 1px;
  text-align: center;
}

figure img {
  border: 3px solid #00bcd4; /* Яркая бирюза */
  background-color: #e0f7fa; /* Светло-бирюзовый */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

figcaption {
  width: 100%;
  font: bold 1rem/normal Verdana, Arial, Helvetica, sans-serif;
  color: #006064; /* Темная бирюза */
  text-align: center;
  background-color: #b2ebf2; /* Бирюзовый */
  border: 2px dashed #00838f; /* Средне-бирюзовый */
  padding: 1%;
  border-radius: 8px;
}  

img {
  border: 3px solid #00bcd4; /* Яркая бирюза */
  background-color: #e0f7fa; /* Светло-бирюзовый */
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

hr {
  border: 2px solid #00bcd4; /* Яркая бирюза */
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}