
body {
    font-family: Arial, sans-serif;
    text-align: center;
    /* background-color: #f4f4f4; */
    background-color: #4b4242;
    margin: 0;
    transition: background 0.3s, color 0.3s;
}

.container {
    margin-top: 50px;
}
#languageChart {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    max-height: 500px;
}

.search-box {
    margin: 20px;
}

input {
    padding: 10px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

.profile-card, .repo-card, .tech-card, .contribution-card {
    /* background: white; */
    background-color: #cdb3b3f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    width: 70%;
    text-align: left;
}

.profile-card img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
/* Default link color */
a {
    color: blue; /* Normal light mode */
    text-decoration: none;
}

/* Change link color in dark mode */
.dark-mode a {
    color: #4DA8DA !important; /* Light blue for visibility */
}

/* Change link color when hovered */
.dark-mode a:hover {
    color: #77C9D4 !important; /* Brighter blue */
}


.dark-mode {
    background-color: #222;
    color: white;
}

h1 {
    color: black; 
    transition: color 0.3s ease-in-out;
}

.dark-mode {
    background-color: #222;
    color: white;
}

.dark-mode h1 {
    color: white !important;
}

.dark-mode .profile-card, 
.dark-mode .repo-card, 
.dark-mode .tech-card, 
.dark-mode .contribution-card {
    background: #333;
    color: white;
}
