html, body {
    line-height: 1.6;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
    padding: 0;

    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

*, *::before, *::after {
    box-sizing: border-box;
}

footer {
    padding: 10px 20px;
    background: #222;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    font-style: italic;
}

footer a {
    text-decoration: none;
    color: white;
    padding: 10px
}

footer a:hover {
    text-decoration: underline;
    color: rgb(21, 21, 255);
}

.body-content {
    padding: 40px;
}

/* NAVBAR */
.navbar {
    font-size: 1.3em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #222;
    color: white;
}

/* LINKS (desktop default) */
.nav-links, .logo {
    display: flex;
    gap: 15px;
    transition: all 0.2s ease;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar .logo img {
    width: 2.5rem;
}

/* HAMBURGER hidden on desktop */
.hamburger {
    display: none;
    font-size: 26px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #333;
        padding: 10px;
        border-radius: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
    }

    .body-content {
        padding: 15px 10px;
    }
}
