body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f8;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    padding: 10px;
}

main {
    max-width: 90%;
    width: 100%;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.top-right-links {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.top-right-links a {
    text-decoration: none;
    font-size: 14px;
    color: #0366d6;
    background-color: #eaeaea;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.2s ease-in-out;
}

.top-right-links a:hover {
    background-color: #0366d6;
    color: white;
}

h1 {
    color: #0366d6;
    font-size: 24px;
}

#search-form {
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 2px solid #0366d6;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
    margin-bottom: 10px;
}

button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #0366d6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 150px;
}

button:hover {
    background-color: #024c9a;
}

#profile-container {
    margin-top: 20px;
    display: none;
}

#profile-container #avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stats p {
    font-size: 16px;
    flex: 1;
    min-width: 120px;
    margin: 10px 0;
}

.profile-links img {
    margin: 10px;
    max-width: 100%;
}

.stats-images img {
    margin: 10px 0;
    max-width: 100%;
}

footer {
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 20px;
    }

    .stats {
        flex-direction: column;
        align-items: center;
    }

    input[type="text"] {
        width: 100%;
    }

    button {
        max-width: 100%;
        width: 100%;
    }

    #profile-container #avatar {
        width: 100px;
        height: 100px;
    }

    .stats p {
        font-size: 14px;
    }

    .top-right-links {
        flex-direction: column;
        top: 10px;
        right: 10px;
    }

    .top-right-links a {
        padding: 6px 10px;
        font-size: 12px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
    }

    input[type="text"] {
        width: 100%;
        padding: 8px;
    }

    button {
        padding: 8px 12px;
        width: 100%;
    }

    .stats p {
        font-size: 14px;
        min-width: 100px;
    }

    #profile-container #avatar {
        width: 80px;
        height: 80px;
    }

    .stats-images img,
    .profile-links img {
        width: 100%;
        height: auto;
    }

    .top-right-links a {
        padding: 5px 8px;
        font-size: 11px;
        width: 100%;
    }
}

.theme-switch {
    display: flex;
    justify-content: center;
    /* margin: 20px; */
}

.theme-switch input {
    display: none;
}

.theme-switch .slider {
    width: 60px;
    height: 30px;
    background-color: #ccc;
    position: relative;
    border-radius: 15px;
    cursor: pointer;
}

.theme-switch .slider:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.4s;
}

.theme-switch input:checked+.slider {
    background-color: #0366d6;
}

.theme-switch input:checked+.slider:before {
    transform: translateX(30px);
}

body.light {
    background-color: #f4f6f8;
    color: #080d15;
}

main.light {
    background-color: #fff;
}

body.dark {
    background-color: #080d15;
    color: #f4f6f8;
}

main.dark {
    background-color: #080d15;

}

a{
    color: white;
}