@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root {
  --primary-color: #344e89;
  --secondary-color: #5664a6;
  --accent-color: #4fd3c4;
  /*
  --blue: #007BFF;
  --green: #28A745;
  --yellow: #FFC107;
  --red: #DC3545;
  --dark-blue: #0D6EFD;
  --dark-green: #198754;
  --purple: #6F42C1;
  --cyan-green: #20C997;
  --coral: #FD7E14;
  */
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
background: #f4f4f4;
color: #333;
scroll-behavior: smooth;
font-weight: 500;
font-style: normal;
}
header {
background: var(--secondary-color);
color: #fff;
text-align: center;
padding: 8px;
font-size: 1.8em;
font-weight: 700;
}
header img {
width: 90px;
object-fit: contain;
filter: invert(1);
}
.container {
display: flex;
flex-direction: column;
max-width: 900px;
margin: 20px auto;
background: #fff;
padding: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.toc {
background: #f9f9f9;
padding: 15px;
margin-bottom: 20px;
border-radius: 5px;
}
.toc h2 {
font-size: 1.2em;
margin-bottom: 10px;
color: #333;
}
.toc ul {
list-style: none;
padding-left: 10px;
}
.toc ul li {
margin-bottom: 5px;
}
.toc a {
text-decoration: none;
color: #35424a;
font-weight: 500;
}
.toc a:hover {
text-decoration: underline;
}
section {
scroll-margin-top: 20px;
margin-bottom: 40px;
}
h2 {
color: #35424a;
border-bottom: 2px solid #ddd;
padding-bottom: 10px;
margin-bottom: 15px;
}
p {
text-align: justify;
}
table, td, th, tr {
  border: 1px solid black;
}
@media (min-width: 768px) {
.container {
display: flex;
flex-direction: row;
gap: 20px;
}
.toc {
width: 30%;
position: sticky;
top: 20px;
align-self: flex-start;
margin-bottom: 0;
}
.content {
width: 70%;
}
}
footer {
text-align: center;
padding: 10px;
background: #35424a;
color: #fff;
margin-top: 20px;
}
.back-to-top {
position: fixed;
right: 20px;
bottom: 20px;
background: var(--accent-color);
color: #fff;
border: none;
padding: 10px 15px;
border-radius: 50px;
cursor: pointer;
display: none;
font-size: 16px;
z-index: 100;
transition: background 0.3s ease;
}
.back-to-top:hover {
background: #1f2a30;
}