* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

nav {
    background-color: #333;
    color: #fff;
    padding: 10px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hamburger,#homespan {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: background 0.3s;
}

nav a:hover {
    background-color: #575757;
    border-radius: 4px;
}

header {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
}

header h1 {
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
    color: #555;
}

.concept {
    padding: 80px 20px;
    min-height: 100vh;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

h2 {
    margin-bottom: 15px;
    color: #333;
}

pre {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px;
    overflow-x: auto;
    border-radius: 4px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .hamburger,#homespan {
        display: block; /* Show hamburger menu */
    }

    nav ul {
        display: none; /* Hide links by default */
        flex-direction: column; /* Stack items vertically */
        position: absolute;
        top: 60px; /* Below the navbar */
        left: 0;
        background-color: #333;
        width: 100%; /* Full width */
        z-index: 999; /* Layer above content */
    }
    .concept {
        padding: 20px 20px;
        min-height: 100vh;
        background-color: #f9f9f9;
        border-bottom: 1px solid #ddd;
    }

    nav ul.active {
        display: flex; /* Show links when active */
    }

    nav ul li {
        margin: 5px 0; /* Space out items vertically */
    }
}

/* Adjustments for even smaller screens */
@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em; /* Further adjust header size */
    }

    header p {
       display: none; /* Further adjust paragraph size */
    }
}
.concept {
    padding: 20px 20px;
    min-height: 100vh;
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

h3{
    margin-top: 15px;
}

/* Hamburger icon styling */
.hamburger,#homespan {
    cursor: pointer;
    font-size: 24px; /* Base size for larger screens */
    color: white;
}

/* Responsive styles */
@media (max-width: 768px) {
    #nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column; /* Stack vertically */
        background-color: #444;
        position: absolute;
        top: 50px; /* Adjust as needed */
        left: 0;
        width: 200px; /* Adjust width as needed */
    }

    #nav-links.active {
        display: flex; /* Show nav links when active */
    }

    /* Adjust font size for mobile */
    body {
        font-size: 14px; /* Smaller font size for mobile */
    }

    .hamburger,#homespan {
        font-size: 20px; /* Slightly smaller hamburger icon */
    }

    ul {
        flex-direction: column; /* Stack items vertically in mobile */
        align-items: flex-start; /* Align items to the left */
    }

    li {
        margin: 10px 0; /* Space items out vertically */
    }

    a {
        font-size: 16px; /* Font size for nav links on mobile */
    }
}

/* Larger screens */
@media (min-width: 769px) {
    body {
        font-size: 16px; /* Default font size for larger screens */
    }

    .hamburger,#homespan {
        display: none; /* Hide hamburger on larger screens */
    }

    #nav-links {
        display: flex; /* Show nav links normally */
    }
}
