@font-face {
    font-family: Ficsit;
    src: url(/public/fonts/FICSIT\ -\ FanFont.otf);
}

* {
    font-family: Ficsit;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html {
    scroll-behavior: smooth;
}

body {
    background: 
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), 
        url("/public/img/background.png") top center / cover no-repeat fixed;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    scroll-behavior: smooth;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 230px;
    height: 100vh;
    background: #111827;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0;
    transform: translateX(-250px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
}

.sidebar-logo {
    text-align: center;
}

.sidebar-logo img {
    width: 60px;
    border-radius: 50%;
}

.sidebar-logo h2 {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
}

.sidebar-nav a {
    color: #d1d5db;
    text-decoration: none;
    padding: 1rem 2rem;
    transition: 0.2s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background-color: #2563eb;
    color: white;
}

.sidebar-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem;
}

.sidebar-footer img {
    width: 30px;
    border-radius: 50%;
}

.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s;
}

.menu-toggle:hover {
    background: #2563eb;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #111827;
    color: #f1f5f9;
    text-align: center;
    padding: 12px 8px;
    border-top: 2px solid #0f172a;
    font-size: 0.9rem;
    z-index: 900;
}

footer a {
    color: #93c5fd;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

main {
    padding-bottom: 60px;
}