body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #181c24;
    color: #e0e6ed;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    /* position: relative; */
    padding: 0 1vw;
}

.main-container {
    width: 92%;
    max-width: 1200px;
    min-width: 320px;
    margin: 40px auto;
    background: #232836;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    overflow: hidden;
    padding: 0 2vw;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Add this to your main CSS file */

/* Make body a flex container */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Make main-container grow to fill available space */
.main-container {
    flex: 1 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

ul {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #a698ff;
    transition: color 0.2s ease;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #a698ff;
}

/* Header */
header {
    background: linear-gradient(90deg, #2b3a55 0%, #3a6073 100%);
    color: #fff;
    padding: 32px 0 16px 0;
    text-align: center;
}

#FrontName h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.highlight {
    color: #7fd1ff;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 32px;
}

nav a {
    color: #e0e6ed;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}

nav a:hover, nav .current a {
    color: #7fd1ff;
}

/* Showcase */
#showcase {
    padding: 0 0 24px 0;
    background: #232836;
    text-align: center;
}

#showcase h1 {
    font-size: 2rem;
    margin-bottom: 12px;
}

#showcase p {
    font-size: 18px;
}

/* Frontbody */
#frontbody {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 18px;
    line-height: 1.4;
}

#frontbody p {
    font-size: 22px;
}

#frontbody h3 {
    font-size: 28px;
}

#frontbody ul {
    list-style-type: circle;
    font-size: 20px;
}
#frontbody li {
    list-style: none;
    text-align: left;
    margin: 20px 0 30px;
    line-height: 1.3;
}

#frontbody .fbproject {
    margin: 32px 0;
}

.fbproject h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.fbproject ul {
    padding: 0;
    list-style: none;
}

/* Bubble - Glassmorphism */
.bubble {
    background: rgba(127, 209, 255, 0.08); /* lighter, bluish glass effect */
    border: 1.5px solid #3a6073;           /* subtle border for contrast */
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.18);
    padding: 10px 15px 12px; /* Increased padding for more space */
    margin-bottom: 20px;
    transition: box-shadow 0.2s, background 0.2s;
}

.bubble:hover {
    box-shadow: 0 4px 20px rgba(44,62,80,0.28);
    background: rgba(127, 209, 255, 0.15);
}

.bubble .name {
    font-weight: 700;
    color: #a698ff; /* Soft purple */
    text-decoration: none;
    font-size: 1.1rem;
}

/* About Page */
#mainAbout {
    width: 65%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    font-size: 20px;
}

#mainAbout #Chapter {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 24px;
}

/* Project Page */
#mainProject {
    width: 65%;
    margin: auto;
    text-align: left;
    font-size: 20px;
}

#mainProject #Chapter {
    text-align: center;
    display: block; /* Ensures the h3 is treated as a block element */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 24px 0;
    background: #181c24;
    color: #888;
    font-size: 0.95rem;
    margin-top: auto;
}

/* Mobile Responsive */
@media only screen and (max-width: 1000px) {
    .main-container {
        width: 90%;
        max-width: 100vw;
        /* padding: 0 1vw; */
    }
    .container {
        width: 90%;
        max-width: 100vw;
        padding: 0 2vw;
    }
    header a {
        font-size: 18px;
    }

    header h1 {
        font-size: 28px;
    }

    #frontbody,
    #mainAbout {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .main-container {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }
    nav ul {
        flex-direction: column;
        gap: 12px;
    }
    #showcase {
        padding: 16px 0 16px 0;
    }
}
