:root {
    --background-color: #121212;
    --container-bg-color: #1e1e1e;
    --container-bg2-color: #2a2a2a;
    --text-color: #f5f5f5;
    --secondary-text-color: #b0b0b0;
    --primary-color: #00cc99;
    --secondary-color: #14b8f8;
    --border-color: #444;
    --input-bg-color: #2b2b2b;
    --focus-glow-color: rgba(0, 204, 153, 0.4);
    --card-background: #1a1a1a;
    --camera-modal-bg: rgba(0, 0, 0, 0.4);
    --modal-border: #8c8c8c;
}



body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-image: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
                      url('x_images/Streamline_Background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the image from scrolling with content */
    
}

.header {
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 1rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.site_navigations {
    position: absolute;
    top: 1.5rem;
    left: 1rem;
    color: var(--secondary-text-color);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
}

.site_navigations:last-of-type {
    left: 6rem;
    top: 1rem; /* Moves the link up 0.5rem */
}

.site_navigations:first-of-type {
    left: 1rem;
    top: 1rem; /* Moves the link up 0.5rem */
}

.site_navigations:hover {
    color: var(--primary-color);
}

.fixed-nav {
    position: fixed; /* This "freezes" the element */
    bottom: 0;      /* Aligns it to the bottom of the viewport */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: transparent;
    box-sizing: border-box; /* Ensures padding is inside the width */
    z-index: 1000; /* Keeps it on top of other content */
}

.nav-button {
    background-color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s;
    width: 150px;
}

.nav-button:hover {
    background-color: #14b8f8;
}

.nav-button:disabled {
    background-color: var(--secondary-color);
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
        margin-bottom: 10px;
        
    }
    .header h1{
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 0px;
    }
    .card {
        min-height: 80px;
    }
    .site_navigations {
        position: static; /* Removes absolute positioning */
        text-align: center;
        width: 100%;
    }
    .site_navigations:first-of-type {
        left: auto; /* Resets the left positioning */
        right: auto; /* Resets the right positioning */
    }
    .site_navigations:last-of-type {
        left: auto; /* Resets the left positioning */
        right: auto; /* Resets the right positioning */
    }
}