* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'roboto', sans-serif;
}

body {
    background: #f5f5f5;
}
.header {
    display: flex;
    align-items: center;
    background-color: #aa1818;
    padding: 0 10px;
    color: #fff;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header img {
    padding: 5px;
    border-radius: 50%;
    border: 1px solid #fff;
}
.header-space{
    display: flex;
    padding: 5px;
}
.header-space h2{
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 50%;
}
.menu-list .bx{
    font-size: 30px;
}
.span{
    display: flex;
    gap: 10px;
}
  .sidebar {
    width: 250px;
    height: 100vh;
    background-color: #aa1818;
    color: #fff;
    position: fixed;
    top: 0;
    right: -250px;
    padding: 20px;
    z-index: 1000;
    transition: transform 0.5s ease, right 0.5s ease;
}
.sidebar-active {
    right: 0;
}
.menu-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin: 10px 0;
}

.menu-list li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu-list li a:hover {
    color: #00bcd4;
}

.menu-list li a i {
    margin-right: 10px;
}

.footer p {
    padding-bottom: 0;
    text-align: center;
    color: #aa1818;
}

main {
    margin-top: 50px;
    padding: 1rem;
}

.dropdown-content {
    display: none;
    margin-top: 10px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-header {
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    background-color: #f5f5f5;
    border-bottom: 1px solid #000;
    margin: 30px 20px;
    padding: 10px;
    border-radius: 5px;
}

.dropdown-content h2 {
    text-align: center;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 1px solid #000;
    padding: 20px;
    margin: 30px 20px;
    border-radius: 5px
}
.dropdown-content h2:hover {
    background-color: #aa1818;
    color: #fff;
    transition: 0.5s;
}

.dropdown-header:hover {
    background-color: #aa1818;
    color: #fff;
    transition: 0.5s;
}
.dropdown-header p{
    font-family: italic;
    font-size: smaller;
    color: grey;
}
.pdf-container {
    border-radius: 5px;
    width: 80%;
    margin: 50px auto;
    background: #f5f5f5;
    height: 80vh;
}

.pdf-container P {
    text-align: center;
    padding: 20px;
}

table th,
table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 1rem;
}

table th {
    background-color: #f4f4f4;
    color: #000;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

table {
    margin: 0% auto;
    width: 90%;
    border-collapse: collapse;
}

table td {
    text-align: center;
    padding: 12px;
    border: 2px solid #ddd;
    font-size: 18px;
    margin: 10px auto;
}


@media (max-width: 1024px) {
    table td {
        font-size: 16px;
        padding: 8px;
    }
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    table td {
        font-size: 14px;
        padding: 15px;
    }

    h2 {
        font-size: 20px;
        text-align: center;
    }
}

footer {
    text-align: center;
    padding-top: 5em;
    margin-top: 2rem;
}
body.dark-mode {
    background-color: #121212;
}

.header.dark-mode {
    background-color: #1e1e1e;
}

.sidebar.dark-mode {
    background-color: #1e1e1e;
}
.dark-mode h2{
    color: #fff;
}
.dark-mode .pdf-container{
    background-color: #121212;
}
.dark-mode p{
    color: #fff;
}
.dark-mode .dropdown-header{
    background-color: #121212;
    color: #fff;
    border-bottom: 1px solid #fff;
}
.dark-mode label{
    color: #fff;
}
.dark-mode table{
    background-color: #2a2a2a;
    color: #fff;
    border: 1px solid #fff;
}
.dark-mode td{
    background-color: #2a2a2a;
}
