/*==========================
=> Font Face Style Sheet
==========================*/

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: local("Poppins Light Italic"), url("../fonts/Poppins-LightItalic.ttf") format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: local("Poppins Italic"), url("../fonts/Poppins-Italic.ttf") format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: local("Poppins SemiBold Italic"), url("../fonts/Poppins-SemiBoldItalic.ttf") format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: local("Poppins Light"), url("../fonts/Poppins-Light.ttf") format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: local("Poppins Regular"), url("../fonts/Poppins-Regular.ttf") format('truetype');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: local("Poppins SemiBold"), url("../fonts/Poppins-SemiBold.ttf") format('truetype');
}

/*========================
=> General Style Sheet
========================*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

::-moz-selection {
    background-color: #d90429;
    color: #fff;
}

::selection {
    background-color: #d90429;
    color: #fff;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f1f1f1;
    line-height: 1.5;
}

aside {
    width: 300px;
    background-color: #2b2d42;
    padding: 30px 25px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgb(0 0 0 / 16%);
}

#logo {
    text-align: center;
}

#logo img {
    max-width: 80%;
}

#navigation-menu {
    margin-top: 30px;
}

#navigation-menu ol {
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: section;
}

#navigation-menu ol li + li {
    margin-top: 10px;
}

#navigation-menu ol li a {
    display: block;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    padding: 10px 15px;
    background-color: #161720;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
}

#navigation-menu ol li a::before {
    counter-increment: section;
    content: counter(section) ".";
    margin-right: 5px;
}

#navigation-menu ol li a.active {
    background-color: #d90429;
}

main {
    margin-left: 310px;
    padding: 25px;
}

section {
    overflow: hidden;
}

main > section {
    padding: 15px 30px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(0 0 0 / 16%);
}

main > section + section {
    margin-top: 30px;
}

h2 {
    color: #d90429;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 10px;
    margin: 10px 0 30px;
}

h2::before,
h4::before {
    content: "\f292";
    font: bold 1em "Font Awesome 5 Free", sans-serif;
    font-size: smaller;
    margin-right: 10px;
    color: rgba(0, 0, 0, 0.25);
}

h2:target {
    border-bottom-color: rgba(0, 0, 0, 0.75);
}

h2:target::before {
    color: #d90429;
}

h3 {
    background-color: #eee;
    padding: 12px;
    border-left: 4px solid #d90429;
    margin-top: 30px;
}

h4 {
    border-bottom: 2px dashed #d90429;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 0;
}

em {
    color: rgba(0, 0, 0, 0.65);
}

code {
    background-color: #f1f1f1;
    padding: 3px;
    border-radius: 3px;
}

li {
    line-height: 1.5;
}

section p {
    line-height: 1.6;
    margin: 15px 0;
    text-align: justify;
}

section img {
    max-width: 800px;
    width: 100%;
    margin: 20px 0 20px 20px;
    border-radius: 3px;
}

section a,
main section span {
    color: #d90429;
}

p.note::before {
    content: "Note:";
    display: block;
    color: #2b2d42;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2px;
    font: bold 1.1em "Poppins", san-serif;
    margin-bottom: 15px;
    padding-left: 22px;
}

p.tip::before {
    content: "Tip:";
}

p.note::after {
    content: "\f05a";
    font: bold 1em "Font Awesome 5 Free", san-serif;
    font-weight: 0.3975em;
    color: #d90429;
    position: absolute;
    left: 15px;
    top: 19.5px;
}

p.note {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    margin: 25px 0;
    overflow: hidden;
    font-size: 0.9375;
}

dl {
    counter-reset: order;
    font-size: 0.9375em;
}

dt::before {
    counter-increment: order;
    content: counter(order) ". ";
}

dt {
    color: #d90429;
    font-weight: 600;
    background-color: #ddd;
    padding: 10px 15px;
    margin: 20px 0 0;
    border-radius: 5px 5px 0 0;
}

dd {
    line-height: 1.5;
    background-color: #f1f1f1;
    padding: 10px 15px;
    margin: 0;
    border-radius: 0 0 5px 5px;
}

dd p.note {
    margin: 15px 0;
}

dd ul {
    margin: 7px 0;
    padding-inline-start: 20px;
    list-style: square;
}

dd ul li {
    line-height: 1.75;
}

i {
    color: #d90429;
    font-size: 0.8em;
}

table {
    background-color: #f9f9f9;
    display: inline-table;
    border-collapse: collapse;
    border-radius: 3px;
    overflow: hidden;
    margin: 15px 0;
}

table td,
table th {
    padding: 15px;
    border: 1px solid #ddd;
}

table td:first-child {
    font-weight: bold;
}

table th {
    color: #d90429;
    background-color: #f1f1f1;
}

figure {
    float: left;
    margin: 20px;
}

figure img {
    margin: 0;
}

figcaption {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #eee;
    text-align: center;
    color: #2b2d42;
}