body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.navbar {
    background-color: #4285f4; /* Google Blue */
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: #ffffff; /* White text */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.nav-item {
    color: #ffffff;
    font-size: 1rem;
    margin-right: 20px;
    display: flex;
    align-items: center;
    text-decoration: none; /* Remove underline */
}

.nav-item i {
    margin-right: 8px;
}

.fullscreen-btn {
    color: #fbbc05; /* Google Yellow */
    cursor: pointer;
    font-size: 1.5rem;
    margin-left: auto;
}

.logout-btn {
    background-color: #ea4335; /* Google Red */
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 20px;
    transition: background-color 0.3s ease;
}

.logout-btn:hover {
    background-color: #c93124;
}

.container-fluid {
    margin-top: 70px; /* Adjust for fixed navbar */
}

.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 20px;
    text-decoration: none;
}

.function-item {
    text-align: center;
    background-color: #ea4335; /* Google Red */
    color: white;
    padding: 30px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none; /* Remove underline */
}

.function-item:hover {
    background-color: #34a853; /* Google Green */
}

.function-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.function-item p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-item {
        font-size: 0.9rem;
    }

    .function-item i {
        font-size: 2rem;
    }
}

/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .navbar {
    background-color: #333;
}

.dark-mode .function-item {
    background-color: #444;
}

.dark-mode .function-item:hover {
    background-color: #34a853;
}