@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

body {
    margin: 0;
    padding: 0;
}

body>main {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.blogTitle {
    position: fixed;
    z-index: 20;
    height: 100vh;
    width: 210px;
    max-width: 85vw;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    user-select: none;
    top: 0;
    right: 0;
    background: #23263aee;
    border-radius: 18px 0 0 18px;
    box-shadow: -4px 0 16px 0 rgba(40, 40, 80, 0.10);
    border-left: none;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateX(100%);
    overflow-y: auto;
    overflow-x: hidden;
}

.blogTitle::-webkit-scrollbar {
    width: 6px;
}

.blogTitle::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.blogTitle::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.blogTitle::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.blogTitle.show {
    transform: translateX(0);
}

.blogTitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 103, 132, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.sidebar-header {
    padding: 28px 20px 18px 20px;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.13);
    margin-bottom: 10px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.brand-container:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.02);
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.brand-container:hover .brand-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

.brand-icon .material-symbols-sharp {
    color: white;
    font-size: 28px;
}

.brand-info h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 400;
}

.nav-section {
    margin-bottom: 18px;
    padding: 0 16px;
}

.nav-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    padding-left: 8px;
}

.nav-item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 8px 10px 12px;
    margin: 5px 0;
    border-radius: 10px;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: background 0.18s, transform 0.18s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 40px;
    gap: 8px;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 0 2px 2px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 50%;
    opacity: 0;
}

.nav-item:hover::before {
    transform: scaleY(1);
}

.nav-item:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item:hover {
    background: #2e3250;
    transform: translateX(2px) scale(1.01);
}

.nav-item:active {
    transform: translateX(2px) scale(0.98);
    transition: all 0.1s ease;
}

.nav-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-right: 8px;
    background: #3a3e5a;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    box-shadow: none;
    flex-shrink: 0;
    transition: background 0.18s;
}

.nav-item:hover .nav-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.nav-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-text p {
    margin: 0;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
}

.nav-description {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.nav-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    margin-left: auto;
}

.nav-item.active .nav-indicator {
    background: transparent;
    box-shadow: none;
    opacity: 0;
    pointer-events: none;
}

.menu {
    top: 8px;
    position: fixed;
    right: 8px;
    padding: 6px;
    border-radius: 8px;
    background: var(--menu-bg);
    backdrop-filter: blur(6px);
    border: 1px solid var(--menu-border);
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 21;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.menu:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.12);
    border-color: #667eea;
}

.menu:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}

.light-theme .menu {
    background: var(--menu-bg-light);
    backdrop-filter: blur(4px);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.light-theme .menu:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
}

.menu span {
    display: block;
    font-size: 20px;
    color: var(--menu-color);
    transition: all 0.18s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.menu:hover span {
    transform: rotate(180deg);
    color: #667eea;
    text-shadow: 0 0 12px rgba(102, 126, 234, 0.4);
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-item:hover .nav-icon {
    box-shadow:
        0 8px 24px rgba(102, 126, 234, 0.4),
        0 0 20px rgba(102, 126, 234, 0.2);
}


@media screen and (max-width: 900px) {
    .blogTitle {
        width: 90%;
        max-width: 320px;
    }

    .sidebar-header {
        padding: 20px 16px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .brand-icon .material-symbols-sharp {
        font-size: 24px;
    }

    .brand-info h3 {
        font-size: 16px;
    }

    .nav-section {
        padding: 0 16px;
        margin-bottom: 20px;
    }

    .nav-item {
        padding: 14px 12px;
    }

    .nav-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-right: 14px;
    }

    .nav-text p {
        font-size: 13px;
    }

    .nav-description {
        font-size: 10px;
    }

    .sidebar-footer {
        padding: 16px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1200px) {
    .blogTitle {
        width: 260px;
    }

    .nav-icon {
        width: 38px;
        height: 38px;
        font-size: 19px;
        margin-right: 15px;
    }

    .nav-text p {
        font-size: 13px;
    }
}

@media screen and (min-width: 1201px) {
    .blogTitle {
        width: 280px;
        padding-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .nav-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2em;
        margin-right: 6px;
    }

    .nav-item {
        width: 130px;
        padding: 6px;
    }

    .nav-text p {
        font-size: 0.85em;
    }
}

.menu {
    background: linear-gradient(135deg, #1f2233 0%, #2b2f47 100%) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16) !important;
}

.menu span,
.menu img {
    color: inherit !important;
    filter: none !important;
}

.menu:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18) !important;
    border-color: rgba(102, 126, 234, 0.12) !important;
}

.modal-close,
.modal-control-btn {
    display: inline-flex;
}

article {
    margin-bottom: 20px;
    padding: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 2s;
    margin-left: 2%;
    margin-right: 2%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

hr {
    border-top: 1px solid rgba(0, 0, 0.2);
    margin: 50px 0 20px;
}

footer {
    padding: 20px 0;
    text-align: left;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

h1 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 1px;
    color: var(--primary-color);
}

h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 1px;
    position: relative;
    color: var(--primary-color);
}

h3 {
    text-align: center;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

h4 {
    color: var(--tertiary-color);
    text-decoration: underline;
    text-align: center;
}

p {
    display: flex;
    font-size: 16px;
    gap: 8px;
    margin: 5px 0;
    line-height: 1.6;
    color: var(--text-color);
}

span>a {
    color: var(--accent-color);
}

section>p,
section>ul {
    margin-left: 20px;
    margin-right: 20px;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--background-color);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.cp {
    position: fixed;
    bottom: 0;
    left: 0;
    cursor: pointer;
    padding: 10px;
    display: none;
    z-index: 999;
    user-select: none;
}

:root {
    --background-color-light: #ffffff;
    --text-color-light: #0d1117;
    --primary-color-light: #5f6caf;
    --secondary-color-light: #0056b3;
    --tertiary-color-light: #0d1117;
    --accent-color-light: #0d1117;
    --img-color-light: #1990b8;
    --menu-color-light: #667eea;
    --menu-bg-light: rgba(255, 255, 255, 0.95);
    --menu-border-light: rgba(102, 126, 234, 0.2);
    --a-color-light: #0056b3;

    --background-color-dark: #0d1117;
    --text-color-dark: aliceblue;
    --primary-color-dark: #f0883e;
    --secondary-color-dark: #0056b3;
    --tertiary-color-dark: #FFFFCC;
    --accent-color-dark: #FFFFCC;
    --img-color-dark: #333333;
    --menu-color-dark: #ffffff;
    --menu-bg-dark: linear-gradient(145deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%);
    --menu-border-dark: rgba(102, 126, 234, 0.2);
    --a-color-dark: #FFFFCC;

    --background-color: var(--background-color-dark);
    --text-color: var(--text-color-dark);
    --primary-color: var(--primary-color-dark);
    --secondary-color: var(--secondary-color-dark);
    --tertiary-color: var(--tertiary-color-dark);
    --accent-color: var(--accent-color-dark);
    --img-color: var(--img-color-dark);
    --menu-color: var(--menu-color-dark);
    --menu-bg: var(--menu-bg-dark);
    --menu-border: var(--menu-border-dark);
    --a-color: var(--a-color-dark);
}

.dark-theme {
    --background-color: var(--background-color-dark);
    --text-color: var(--text-color-dark);
    --primary-color: var(--primary-color-dark);
    --secondary-color: var(--secondary-color-dark);
    --tertiary-color: var(--tertiary-color-dark);
    --accent-color: var(--accent-color-dark);
    --img-color: var(--img-color-dark);
    --menu-color: var(--menu-color-dark);
    --menu-bg: var(--menu-bg-dark);
    --menu-border: var(--menu-border-dark);
    --a-color: var(--a-color-dark);
}

.light-theme {
    --background-color: var(--background-color-light);
    --text-color: var(--text-color-light);
    --primary-color: var(--primary-color-light);
    --secondary-color: var(--secondary-color-light);
    --tertiary-color: var(--tertiary-color-light);
    --accent-color: var(--accent-color-light);
    --img-color: var(--img-color-light);
    --menu-color: var(--menu-color-light);
    --menu-bg: var(--menu-bg-light);
    --menu-border: var(--menu-border-light);
    --a-color: var(--a-color-light);
}

.light-theme h3 {
    text-shadow: none;
}

.light-theme .switch {
    transform: translateX(calc(100%*0.7));
}

.modal {
    /* Hidden by default; add .show to fade in */
    display: none;
    position: fixed;
    z-index: 1000;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 320ms cubic-bezier(.2,.9,.2,1);
}

.modal.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3,6,16,0.85), rgba(3,6,16,0.75));
    backdrop-filter: blur(10px) saturate(110%);
    opacity: 0;
    transition: opacity 280ms ease;
}

.modal.show .modal-overlay {
    opacity: 1;
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    box-sizing: border-box;
}

.modal-container, .modal-inner {
    /* Centered container that animates in */
    width: min(1100px, 96%);
    max-height: calc(100vh - 96px);
    background: transparent; /* keep overlay visible */
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    transform: translateY(10px) scale(.995);
    opacity: 0;
    transition: transform 360ms cubic-bezier(.22,.9,.28,1), opacity 360ms ease;
}

.modal.show .modal-container, .modal.show .modal-inner {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 1001;
}

.modal-title {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.modal-close {
    --size: 40px;
    width: var(--size);
    height: var(--size);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 6px 20px rgba(2,6,23,0.55);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.modal-close img,
.modal-close .material-symbols-sharp {
    width: 18px;
    height: 18px;
    display: block;
    color: #fff;
}

.modal-close:hover {
    transform: translateY(-2px) scale(1.04);
    background: rgba(255,255,255,0.06);
}

.modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 0 28px;
}

.modal-content {
    max-width: 100%;
    max-height: calc(100vh - 220px);
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(2,6,23,0.6);
    transform-origin: center center;
    transition: transform 420ms cubic-bezier(.2,.9,.2,1), box-shadow 220ms ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content:hover {
    transform: scale(1.02);
}

.modal-controls {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1001;
}

.modal-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 22px rgba(2,6,23,0.5);
    transition: transform 160ms ease, background 160ms ease;
}

@media (max-width: 640px) {
    .modal-header { top: 12px; left: 12px; right: 12px; }
    .modal-title { font-size: 1rem; }
    .modal-close { --size: 36px; }
    .modal-inner { width: 98%; max-height: calc(100vh - 72px); }
    .modal-content { max-height: calc(100vh - 160px); }
}

@keyframes modalImageZoom {
    from { transform: scale(.98); opacity: 0.96 }
    to { transform: scale(1); opacity: 1 }
}

.modal-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.modal-control-btn .material-symbols-sharp {
    color: #ffffff;
    font-size: 20px;
}

.dark-theme .modal-overlay {
    background: rgba(0, 0, 0, 0.9);
}

.dark-theme .modal-title {
    color: #ffffff;
}

.dark-theme .modal-close,
.dark-theme .modal-control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .modal-close:hover,
.dark-theme .modal-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.light-theme .modal-overlay {
    /* Use a semi-opaque dark overlay in light mode so modal content remains legible */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px) saturate(105%);
}

.light-theme .modal-title {
    color: #ffffff;
    text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.light-theme .modal-close,
.light-theme .modal-control-btn {
    /* light-theme modal controls should be light on dark overlay for contrast */
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.light-theme .modal-close:hover,
.light-theme .modal-control-btn:hover {
    background: rgba(255, 255, 255, 0.10);
}

.light-theme .modal-close img,
.light-theme .modal-control-btn img,
.light-theme .modal-close .material-symbols-sharp,
.light-theme .modal-control-btn .material-symbols-sharp {
    color: #ffffff;
}

.light-theme .toast {
    background: rgba(0,0,0,0.75);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.06);
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    z-index: 1002;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    font-weight: 500;
}

@keyframes toastFadeIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastFadeOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

body.no-hover-effect {
    overflow: hidden;
}

#loadingScreen {
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    justify-content: center;
    align-items: center;
    display: flex;
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.farea {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.footer-logo h2 {
    margin: 0;
}

.farea-top {
    flex: 1;
    min-width: 200px;
    margin: 20px;
    padding: 24px 28px;
    box-shadow: 0 4px 16px rgba(25, 118, 210, 0.10), 0 1.5px 6px rgba(0, 0, 0, 0.06);
    background: linear-gradient(to bottom, var(--primary-color), #fad0c4);
    border-radius: 10px;
    background-size: 10%;
    background-repeat: no-repeat;
    background-position: right center;
    position: relative;
    overflow: hidden;
}

.farea-top:hover {
    box-shadow: 0 8px 24px rgba(25, 118, 210, 0.16), 0 2px 8px rgba(0, 0, 0, 0.10);
    border-color: #b0bec5;
}

.farea p,
.farea ul {
    margin: 5px 0;
    font-size: 15px;
    font-weight: 400;
}

.farea ul {
    list-style: none;
    user-select: none;
    padding-left: 0;
}

.farea ul li {
    margin: 10px 0;
}

.farea ul li a {
    text-decoration: none;
    display: flex;
    justify-content: center;
    color: var(--text-color);
}

.farea ul li a span,
.farea p span {
    font-size: 1.5em;
}

.farea ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.farea-top h2 {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.farea h3 {
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    min-width: 400px;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    table-layout: auto;
}

.table-container {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

th,
td {
    padding: 12px 15px;
    color: var(--text-color);
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

th {
    background-color: #009879;
    color: #ffffff;
    text-transform: uppercase;
}

td a {
    color: var(--text-color);
}

td a:hover {
    color: var(--primary-color);
}

.highlight {
    background-color: #009879;
    font-weight: bold;
}

#closeBar {
    background-color: #555;
    color: #fff;
    border: none;
    padding: 5px 40px;
    margin-right: 40px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#closeBar:hover {
    background-color: var(--primary-color);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    animation: expandLine 2s ease-out 0.5s forwards;
}

@keyframes expandLine {
    0% {
        transform: translateX(-50%) scaleX(0);
    }

    100% {
        transform: translateX(-50%) scaleX(1);
    }
}

footer {
    background: var(--background-color);
    border-top: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 0;
    margin-top: 40px;
    position: relative;
}

.footer-content {
    position: relative;
    padding: 40px 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    justify-content: space-between;
}

.farea {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.farea-brand {
    flex: 2;
    min-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.brand-info h2 {
    margin: 0;
    font-size: 1.5em;
    color: var(--primary-color);
}

.brand-subtitle {
    margin: 0;
    font-size: 0.9em;
    color: white;
    opacity: 0.8;
}

.author-description {
    margin: 8px 0;
    font-size: 0.9em;
    color: var(--text-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    padding: 8px 12px;
    background: var(--primary-color);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.farea h3 {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
}

.farea ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.farea ul li {
    margin-bottom: 8px;
}

.farea ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 0;
    font-size: 0.9em;
    display: block;
}

.farea ul li a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}