/* Base font settings */
:root {
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Apply font family to all elements */
* {
    font-family: var(--font-primary);
}

body {
    font-family: var(--font-primary);
    font-display: swap;
    color: #ffffff;
    background: linear-gradient(to left, #368F4D, #328E01);
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Common text styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
}

p, span, a, button {
    font-family: var(--font-primary);
    font-weight: 400;
}

.container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}
.glass-rect {
    display: block;
    max-width: 80vw;
    margin-top: 10vh;
    margin-bottom: 30px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
}
.nav-brand {
    display: inline-block;
    font-size: 30px;
    font-weight: 600;
    margin-top: -10px;
}
ul.nav-items {
    margin: 0;
    float: right;
    display: flex;
    list-style-type: none;
}
li.nav-item {
    display: inline-block;
    margin-left: 30px;
    font-size: 17px;
    font-weight: 100;
}
.nav-bar {
    display: flex;
    justify-content: flex-start;  /* Changed from center to flex-start */
    align-items: center;
    padding: 10px 20px;  /* Added horizontal padding */
    width: 100%;
    box-sizing: border-box;
}

.nav-bar img {
    height: 40px;
    width: auto;
    max-width: 100%;
}

.main {
    margin-top: 15vh;
    font-weight: normal;
    display: inline-block;
    padding: 20px;
}
.main-title {
    font-size: 35px;
}
.main-desc {
    font-size: 16px;
    line-height: 25px;
}
.btn-boost {
    font-family: var(--font-primary);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    padding: 12px 24px;
    transition: all 0.3s ease;
    margin: 20px 0;
}
.btn-boost:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.btn-boost:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.img-wrapper {
    display: flex;
    float: right;
    margin-top: 5vh;
}
@media (min-width: 320px) and (max-width: 480px) {
    .nav-bar {
        display: flex;  /* Override previous display: none */
        padding: 10px 15px;
    }

    .nav-bar img {
        height: 30px;
    }

    .feat-img {
        display: none;
        text-align: center;
    }
    .glass-rect {
        margin-top: 20vh;
        padding: 25px;
    }
    .main {
        margin-top: 5vh;
    }
    .main-title {
        font-size: 30px;
    }
    .btn-boost {
        padding: 8px 16px;
        min-width: 140px;
        font-size: 14px;
        background: linear-gradient(to right, #328E01, #368F4D);
    }
}
@media screen and (max-width: 768px) {
    .glass-rect {
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        border: none;
        width: 90%;
        margin: 20px auto;
        padding: 20px;
        min-height: auto;
    }

    .nav-bar {
        padding: 15px 15px;
    }

    .nav-bar img {
        height: 35px;
    }

    .main-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .main-desc {
        font-size: 16px;
        margin: 15px 0;
    }

    .btn-boost {
        padding: 12px 24px;
        font-size: 16px;
        min-width: 160px;
        background: linear-gradient(to right, #328E01, #368F4D);
    }
}

@media screen and (max-width: 480px) {
    .glass-rect {
        width: 95%;
        padding: 15px;
        margin-top: 10vh;
    }

    .nav-bar {
        padding: 10px 15px;
    }

    .nav-bar img {
        height: 30px;
    }

    .main-title {
        font-size: 20px;
    }

    .main-desc {
        font-size: 14px;
    }

    .btn-boost {
        padding: 10px 20px;
        font-size: 14px;
        background: linear-gradient(to right, #328E01, #368F4D);
    }
}