/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #1e1e1e;
    color: #ffffff;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #00d1b2;
    margin-bottom: 20px;
}

.search-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.search-input {
    padding: 10px 15px;
    font-size: 1rem;
    width: 300px;
    border: none;
    border-radius: 25px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.search-input:focus {
    box-shadow: 0px 0px 10px 2px #00d1b2;
}

.search-button {
    background-color: #00d1b2;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #00b89c;
}

/* Theme Toggle */
.theme-toggle-wrapper {
    text-align: right;
    padding: 10px 20px;
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(180deg);
}

/* Profile Section */
.profile-section {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    text-align: center;
}

.profile-section img {
    border-radius: 50%;
    margin-bottom: 20px;
}

.profile-section p {
    font-size: 1rem;
    margin: 5px 0;
}

.profile-section hr {
    margin: 20px 0;
    border-color: #00d1b2;
}

/* Repository Section */
.repo-section {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 15px;
}

.repo-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.repo-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.repo-sort-select {
    padding: 5px;
    border-radius: 5px;
    border: none;
    outline: none;
}

.repo-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.repo-item {
    background-color: #444444;
    padding: 20px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.repo-item:hover {
    background-color: #555555;
}

.repo-item p {
    margin: 5px 0;
}

/* Language Analysis Section */
.language-section {
    background-color: #2c2c2c;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.language-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.language-section canvas {
    max-width: 100%;
    height: 40px;
}

/* Light Mode */
body.light-mode {
    background-color: #ffffff;
    color: #000000;
}

body.light-mode .profile-section,
body.light-mode .repo-section,
body.light-mode .language-section {
    background-color: #f1f1f1;
    color: #000000;
}

body.light-mode .theme-toggle {
    color: #000000;
}


/* Footer Styling */
.footer {
    text-align: center; /* Center the text */
    margin-top: 50px; /* Space above the footer */
    padding: 20px; /* Padding inside the footer */
    font-family: 'Poppins', sans-serif; /* Font style matching the rest of the page */
    font-size: 14px; /* Font size */
}

.footer a {
    color: #FFD700; /* Attractive gold color for the link */
    text-decoration: none; /* Remove underline from the link */
    font-weight: 500; /* Semi-bold text for link */
}

.footer a:hover {
    text-decoration: underline; /* Underline the link on hover for interactivity */
}

.footer p {
    margin: 0; /* Remove default margin for paragraph */
    padding: 0; /* Remove default padding for paragraph */
}
