body {
  margin: 0;
  padding: 0;
  background-color: #f1f1f1 !important;
}

/* Базовий текст сайту */
main,
p,
ul,
ol,
li {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.125rem) !important;
  line-height: 1.6 !important;
}

/* Шкала на коефіцієнті 1.2 */
:root {
  --ratio: 1.2;

  /* Покрокове вирахування коефіцієнтів сітки */
  --step-1: var(--ratio);
  --step-2: calc(var(--step-1) * var(--ratio));
  --step-3: calc(var(--step-2) * var(--ratio));
  --step-4: calc(var(--step-3) * var(--ratio));
  --step-5: calc(var(--step-4) * var(--ratio));
  --step-6: calc(var(--step-5) * var(--ratio));
}

/* Ієрархія заголовків */
h6 {
  font-size: clamp(1rem, 1vw + 0.5rem, calc(1rem * var(--step-1))) !important;
}

h5 {
  font-size: clamp(1.1rem, 1vw + 0.6rem, calc(1rem * var(--step-2))) !important;
}

h4 {
  font-size: clamp(1.2rem, 1vw + 0.7rem, calc(1rem * var(--step-3))) !important;
}

h3 {
  font-size: clamp(1.3rem, 1vw + 0.8rem, calc(1rem * var(--step-4))) !important;
}

h2 {
  font-size: clamp(1.5rem, 2vw + 0.9rem, calc(1rem * var(--step-5))) !important;
}

h1 {
  font-size: clamp(1.75rem, 2vw + 1rem, calc(1rem * var(--step-6))) !important;
}


/* --- */
/* CALCULATORS bar !!!!! */
.hdr6 {
  padding-right: 22px !important;
}

.titli_pw {
  margin: 8px 0 16px;
}

.titli_pw h1 {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  text-shadow: 1px 1px 1px white;
  filter: drop-shadow(4px 4px 10px #057);
  padding: 0 4px;
}

.titli_pw img {
  filter: drop-shadow(1px 1px 1px black);
}


.ttle {
  display: flex;
  flex-wrap: wrap;
}

.ttle .l2 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle .l10 {
  display: flex;
  place-items: center;
  justify-content: center;
}

.ttle h3 {
  text-align: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-shadow: #057 0 0 16px;
}

.image-iframe {
  max-width: 80px;
  height: auto;
  filter: drop-shadow(1px 1px 1px #666);
}

/* ---end title--- */

#vstyp img,
#work img,
#tex img {

  filter: drop-shadow(4px 4px 8px black);
}


table,
th,
td {
  border: 1px #666 solid;
}