/* ===== Base ===== */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #0f1116;
    color: #e8e8e8;
}

/* ===== Page wrapper ===== */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* full viewport height */
}

/* ===== Navbar ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 2rem;
    background: linear-gradient(90deg, #20222a, #2b2f3a);
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.navbar .logo img {
    max-height: 50px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 2px rgba(97, 218, 251, 0.7))
            drop-shadow(0 0 4px rgba(97, 218, 251, 0.5));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 5px rgba(97,218,251,0.9))
            drop-shadow(0 0 10px rgba(97,218,251,0.7));
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.navbar a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
}

.navbar a:hover {
    color: #61dafb;
}

/* ===== Container ===== */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
    text-align: center;
    flex: 1 0 auto; /* grow to fill remaining space */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.container h1 {
    font-size: 2rem;
}


.container p {
    font-size: 16px;
}

.container a {
    color: #61dafb;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    font-size: 16px;
    padding: 20px 0;
    border-top: 1px solid #2b2f3a;
    flex-shrink: 0; /* don’t shrink */
}

footer a {
    color: #61dafb;
    text-decoration: underline;
}

footer a:hover {
    color: #52c2e3;
}

/* Mobile scaling for screens ≤ 1200px */
@media (max-width: 1200px) {

    /* Navbar */
    .navbar {
        height: 150px; /* 50% taller */
        padding: 0 3rem;
    }

    .navbar a {
        font-size: 2rem; /* 50% bigger links */
    }

    .navbar .logo img {
        max-height: 100px; /* 50% bigger logo */
    }
    
    .container h1 {
        font-size: 3rem;
    }
    .container h2 {
        font-size: 2.8rem;
    }
    .container h3 {
        font-size: 2.5rem;
    }
    
    .container p {
        font-size: 2.1rem;
    }
    
    .container a {
        color: #61dafb;
        text-decoration: none;
    }
    
    .container a:hover {
        text-decoration: underline;
    }
    
    .content h1 {
        font-size: 3rem;
    }
    .content h2 {
        font-size: 2.5rem;
    }
    .content h3 {
        font-size: 2.2rem;
    }
    .content code {
        font-size: 1.7rem;
    }
    .content li {
        font-size: 1.7rem;
    }
    
    .content p {
        font-size: 1.8rem;
    }
    
    
    .content a {
        color: #61dafb;
        text-decoration: none;
    }
    
    .content a:hover {
        text-decoration: underline;
    }
}




