body {
    font-family: "Calibri", sans-serif;
    font-weight: 500;
    color: black;
    font-size: 1rem;
    line-height: 1.250;
    max-width: 1200px;
    margin: auto;
}

.kletka {
    background: linear-gradient(#bbb, transparent 1px), linear-gradient(90deg, #bbb, transparent 1px);
    background-size: 10px 10px;
    background-position: center center;
}

/* закрепил навигацию */
nav {
    position: sticky;
    top: 4px;
    /* padding-left: 20px; */
    max-width: 1060px;
    margin: auto;
}

header {
    display: grid;
    background-color: rgb(6, 95, 95);
    grid-template-columns: 1fr;
    place-items: center;
    padding: 10px 20px;
    margin: 10px;
}

h1,
h2,
h3,
h4 {
    padding: 0px;
    margin: 10px;
}

.punkt {
    font-size: 0.750rem;
    color: blue;
    margin: 0 10px;
    /* margin-left: 30px; */
    padding-left: 40px;
    min-width: 250px;
    max-width: 100%;
    background-color: rgba(196, 255, 216, 0.45);
}

a {
    text-decoration: none;
    /* Отменяем подчеркивание у ссылки */
    padding: 0px 10px;
}

a:hover {
    color: #fff;
    /* Цвет текста */
    background: #008;
    /* Цвет фона */
}

ul {
    margin-top: 0;
    /* Отступ сверху */
    margin-bottom: 0.5rem;
    /* Отступ снизу */
    text-align: justify;
}

dt {
    font-style: italic;
    text-decoration: underline;
    font-weight: 500;
}

dd,
li {
    text-align: justify;
}

article {
    display: grid;
    min-width: 720px;
    max-width: 1200px;
    /* grid-template-columns: auto-fit; */
    grid-template-columns: 1fr 1fr;
    place-items: start center;
    /* по вертикали вверх блока выравнивание */
    grid-auto-rows: minnmax(200px, auto);
    /* высота по максимуму*/
}

u {
    color: rgb(156, 0, 78);
    background-color: cornsilk
}

section {
    margin: 0px;
    padding: 0px;
    width: 90%;
}

p {
    text-align: justify;
    text-indent: 20px;
    /* Отступ первой строки в пикселах */
    margin-top: 0.125em;
    /* Отступ сверху */
    margin-bottom: 0.125em;
    /* Отступ снизу */
}

p.pic,
p.vid {
    text-align: center;
    text-indent: 0px;
    margin-top: 1rem;
}

iframe {
    border: 2px solid #008;
    border-radius: 15px;
    padding: 2px;
}

p.tx {
    font-style: italic;
    font-size: 0.750rem;
    line-height: 1;
}

.ramka {
    border: 1px;
    border-style: dashed;
    /* padding-left: 4px; */
    padding: 5px 20px;
}

table,
th,
td {
    border: 1px solid rgb(25, 0, 255);
    border-collapse: collapse;
    padding: 5px;
    text-align: left;
}

img {
    max-width: 540px;
}

/* всплывающее изображение в исполнителе скратч */
.static {
  position:absolute;
  background: white;
}

.static:hover {
  opacity:0;
}

/* span для ФОРМУЛ */
.formula {
    font-size: large;
    font-weight: 600;
    color: #008;
}

/* таблица */
.logika {
    /* margin-left: 50px; */
    /* margin-top: 10px; */
    margin: 10px auto;
}

.logika td,
th {
    text-align: center;
}

.corgraf table tr td {
    font-size: 0.75rem;
    line-height: 0.750;
    border: 1px solid rgb(255, 255, 255);
}

hr {
    height: 3px;
    background-color: rgba(255, 166, 0, 0.5);
    margin-top: 20px;
}

footer {
    color: rgb(151, 151, 151);
    text-align: center;
    font-style: italic;
    margin-bottom: 20px;
}