/*Definições para o body*/
body {
    font-family: 'Arial', 'Calibri', 'Helvetica', 'Tahoma';
}

body.dark{
    background-color: #000000;
    color: #fff;
}

progress {
    width: 50vw;
    display: block;
    margin: auto;
    margin-top: 20px;
}

/*Títulos*/
h2 {
    margin-bottom: 1rem;
    margin-left: 1rem;
}

/*Textos*/
p,
li,
code,
table {
    text-align: justify;
    margin: 2rem;
    font-size: 18px;
}

h2,
p {
    page-break-inside: avoid;
}
.dark table{
    border-collapse: collapse;
    border: 2px solid white;
    letter-spacing: 1px;
}

table {
    border-collapse: collapse;
    border: 2px solid black;
    letter-spacing: 1px;
}
.dark th, .dark td{
    border: 1px solid white;
    padding: 8px;
}

th,
td {
    border: 1px solid black;
    padding: 8px;
}

img {
    text-align: center;
}

.dark span{
    color: cornflowerblue;
}

span {
    color: red;
}

.dark #alerta{
    color: aqua;
}

#alerta {
    color: orange;
}

.dark a{
    text-decoration: none;
    color: white;
}

a {
    text-decoration: none;
    color: black;
}
.dark em{
    color: lawngreen;
    font-style: normal;
}

em{
    color: blueviolet;
    font-style: normal;
}

#autor {
    border-width: 1px;
    border-top-style: solid;
    border-bottom-style: solid;
    text-align: right;
    margin-right: 10px;
    margin-left: auto;
}
ol {
    counter-reset: item;
}
li {
    display: block; 
}
li:before {
    content: counters(item, ".") " ";
    counter-increment: item;
}
ol ol {
    counter-reset: item;
}