/* Я повторяю параметры тела документа из условия. */
body { margin: 5px; font-family: 'Times New Roman', serif; font-size: 12pt; color: #000099; background: #ffffee; text-align: justify; }
/* Я ограничиваю правила заголовков учебным образцом, чтобы навигация оставалась понятной. */
.format-page h1 { font: 22pt Arial, sans-serif; color: #990099; text-align: left; }
.format-page h2 { font: 20pt 'Times New Roman', serif; color: #009900; text-align: center; }
.format-page h3 { font: 18pt Courier, monospace; color: #ff6600; text-align: right; }
.format-page h4 { font: 16pt Tahoma, sans-serif; color: #0066ff; text-align: justify; }
.format-page h5 { font: 20pt 'Times New Roman', serif; color: #6600ff; text-align: center; background: #ffffaa; }
.format-page h6 { font: 14pt Arial, sans-serif; color: #6600ff; text-align: center; text-decoration: line-through; }
/* Я задаю абзацам боковые отступы 80 px и верхний отступ 2 px. */
.format-page p { font: 10pt Arial, sans-serif; color: black; text-align: justify; background: #ffffee; margin: 2px 80px 0; }
.format-page p.over { text-decoration: overline; }
.format-page .section-title { color: #6600ff; font-weight: bold; background: #ffffaa; text-align: center; padding: 4px; margin: 20px 0 8px; }
.format-page table { border-collapse: collapse; margin: 12px auto; }
.format-page th, .format-page td { border: 1px solid #777; padding: 6px; }
.format-page th { background: #ffd000; color: black; }
.format-page .prices td { border: none; }
.format-page .prices tr:nth-child(even) { background: #ffff99; }
.format-page dt { color: #006600; margin-top: 10px; }
.format-page dd { color: black; }
.format-page li { margin: 8px 0; }
.format-page .plain-link { text-decoration: none; }
.format-page a:hover { color: red; }
/* На телефоне я уменьшаю только большие боковые отступы абзацев. */
@media (max-width: 500px) { .format-page p { margin-left: 12px; margin-right: 12px; } }
