body{margin:0;padding:0;width:100vw}.app,body{min-height:100vh;overflow-x:hidden}.app{background-attachment:fixed;background-image:url(./CircuitBoard_Light.D7Hy3hNf.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;display:flex;flex-direction:column;transition:background-image .3s ease;width:100%;--mermaid-bg:#f8f9fa}.app.dark-mode{background-image:url(/media/CircuitBoard_Dark.webp);--mermaid-bg:#1e1e1e}.header{background:#093d71;border-bottom:1px solid #e9ecef;box-sizing:border-box;font-size:1.4rem;padding:1.2rem;width:100%}.header nav{display:flex;gap:1.5rem}.nav-link{color:#fff;font-size:1.4rem;font-weight:700;text-decoration:none}.nav-link,.nav-link:hover{transition:color .2s linear}.nav-link:hover{color:#3b6991}.main{flex:1;margin:0 auto;max-width:800px;padding:2rem 1rem}.footer,.main{box-sizing:border-box;width:100%}.footer{background:#093d71;border-top:1px solid #e9ecef;color:#fff;margin-top:auto;padding:.01rem;text-align:center}.theme-toggle{align-items:center;background:none;border:none;cursor:pointer;display:flex;justify-content:center;padding:.5rem;transition:transform .2s ease}.theme-toggle:hover{transform:scale(1.05)}.theme-icon{background-image:url(/media/Icons/light-mode.png);background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;height:40px;transition:all .3s cubic-bezier(.4,0,.2,1);width:40px}.app:not(.dark-mode) .theme-icon{background-image:url(/media/Icons/dark-mode.png);background-size:contain;height:23px;transform:translate(-.4rem);width:23px}.app:not(.dark-mode) .theme-toggle:hover .theme-icon{filter:drop-shadow(0 0 2px rgba(0,0,0,.2));transform:translate(-.4rem) rotate(30deg) scale(1.1)}.dark-mode .theme-toggle:hover .theme-icon{filter:drop-shadow(0 0 2px rgba(255,255,255,.2));transform:rotate(-30deg) scale(1.1)}.dark-mode .category-preview,.dark-mode .post,.dark-mode .post-preview{background:#093d71e6}.dark-mode .post-date{color:#9ea3a8}.dark-mode .post-description{color:#e1e1e1}.mermaid{min-width:100%;overflow:auto}.mermaid svg{height:auto;min-width:100%}
