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;
}

/* Ієрархія заголовків */
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--- */

/* Шкала на коефіцієнті 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));
}



main .card {
  margin: 8px 0;
  background-color: white;
}

main h1 {
  color: #045;
  margin: 16px;
  text-align: center;
}

main h2 {
  color: #034;
  text-shadow: white 1px 1px 1px;
}

main h3 {
  display: inline-block !important;
  text-shadow: white 1px 1px 1px;
  background-color: white !important;
  padding-left: 8px;
  padding-right: 8px;
  border: #067 solid 1px;
  border-bottom-left-radius: 16px;
  border-top-right-radius: 16px;
}

main .card h3 {
  background-color: #F1F1F1;
  color: #000;
  border: #666 solid 1px;
  border-radius: 16px;
}

main .card h4 {
  background-color: #F1F1F1;
  padding-left: 22px;
  color: black;
  border: #666 solid 1px;
  border-radius: 16px;
}

main .third h5 {
  text-decoration-line: underline;
  text-underline-position: under;
  text-decoration-color: #067;
}

#vstyp ul {
  list-style-type: square;
  line-height: 2;
}

#rwork,
#apr,
h5 {
  color: #666;
  /* text-align-last: start; */
  -last: center;
}

.panel {
  display: inline-block;
}

.border-teal {
  background-color: #9ef2 !important;
}

#tpin table,
#setup table {
  border-collapse: collapse;
  width: 100%;
}

#tpin table th,
#setup table th {
  text-shadow: black 1px 1px 1px;
  text-align: center;
  border: 1px solid #fff;
}

#tpin table td,
#setup table td {
  border: 1px solid #000;
  text-align: center;
}

#tpin .card,
#setup .card {
  padding: 16px;
  border-radius: 16px;
}

/* .fa.fa-terminal,
.fa.fa-wrench,
.fa.fa-wifi,
.fa.fa-bell {
  background-color: #045 !important;
  color: white !important;
} */

#freset .image {
  max-width: 240px;
}

#telpush .card {
  padding: 24px;
  border-radius: 16px;
}
}

#telpush th {
  border: #F1F1F1 1px solid;
  text-shadow: black 1px 1px 1px;
}

#telpush td {
  border: 1px solid #000;
}

#telpush code {
  font-weight: 900;
  color: #00f;
}

#comand,
#salrm {
  display: flex;
  flex-wrap: wrap;

}

#srmon .flex {
  flex-wrap: wrap;
  gap: 1rem;
}