@import url('https://fonts.cdnfonts.com/css/mulish');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



a{
    text-decoration: none;
}
/* Body and Container */
body {
    font-family: 'Mulish', sans-serif;
    background-color: #F6F5F8;
    color: #333;
}

.container {
    display: flex;
    min-height: 100vh;
}


.logo{
    height: 60px;
    filter: brightness(0);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #ffffff;
    color: rgb(69, 66, 66);
    padding: 20px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0; /* Sidebar is visible by default on desktop */
    transition: left 0.3s ease-in-out;
    z-index: 1000;
}

.close-btn{
    display: none;
}

/* Sidebar content */
.sidebar h2 {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar ul {
    list-style-type: none;
    margin-top: 50px;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: rgb(88, 88, 88);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #34495e;
}

.navi{
    display: flex;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-top: 80px;
    padding: 20px;
    margin-left: 250px; /* Offset for sidebar on desktop */
    transition: margin-left 0.3s ease-in-out;
}


.heading{
    display: flex;
    justify-content: space-between;
}


.connect{
    background-color:#5C69FF;
    color: rgb(255, 255, 255);
    border-radius: 18px;
    font-family: 'Mulish', sans-serif;
    border: none;
    padding: 9px 25px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    top: 18px;    
    
}

.x{
    display: none;
}

header h1 {
    font-size: 24px;
    margin-bottom: 20px;
}


.chart{
    height: 400px;
    width: auto;
    border-radius: 5px;
}
.content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.tags{
    display: inline-flex;
    gap: 10px;
    margin-bottom: 10px;
}

.tags p{
    position: relative;
    bottom: 3px;
}

.tag{
    height: 10px;
    width: 10px;
    background-color: rgb(107, 177, 135);
    border-radius: 50%;
    border: none;
}

.card {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #555;
}

/* Menu Button */
.menu-btn {
    font-size: 30px;
    background: none;
    border: none;
    color: #2c3e50;
    cursor: pointer;
    display: none; /* Hidden on larger screens */
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    z-index: 999;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .sidebar {
        left: -250px; /* Sidebar is hidden on mobile */
    }

    .chart{
        height: 200px;
        width: auto;
        border-radius: 5px;
    }

    .x{
        display: block;
    }

    .logo{
        position: relative;
        bottom: 50px;
        right: 20px;
    }

    .main-content {
        margin-left: 0; /* No margin for mobile */
    }

    .menu-btn {
        display: block; /* Show the menu button on mobile */
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .sidebar.open {
        left: 0; /* Show sidebar when it has the "open" class */
    }

    .overlay.show {
        display: block; /* Show overlay when sidebar is open */
    }

    .main-content {
        transition: margin-left 0.3s ease-in-out;
    }


    header h1{
        font-size: 18px;
    }
}
