body
{
    font-family: Arial;
    background:#212020;
    color:white;
    margin:0;
    padding:30px;
}

.search-panel
{
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.15); 
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
}

.search-panel h1
{
    color: cyan;
}

.search-box
{
    display: flex;
    gap: 15px;
}

.error
{
    display: flex;
    justify-content: center;    
}

#username
{
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.15);
    outline: none;
    font-size: 18px;
}

#search
{
    padding: 15px 30px;
    box-shadow: -3px -3px 4px rgba(122, 124, 124, 0.5), 3px 3px 4px rgba(0, 0, 0, 1), 3px 3px 4px rgba(0, 0, 0, 1), -3px -3px 4px rgba(122, 124, 124, 0.5);
    border-radius: 12px;
    background: cyan;
    color: black;
    font-weight: bold;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: .3s;
}

#search:hover
{
    transform: translateY(-3px);
    box-shadow: 0 0 10px cyan;
    border: 2px solid black;
}

.history-section
{
    margin:30px auto;
    max-width:900px;
}

#history-list
{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.history-item
{
    background:#222;
    box-shadow: -3px -3px 4px rgba(122, 124, 124, 0.5), 3px 3px 4px rgba(0, 0, 0, 1), 3px 3px 4px rgba(0, 0, 0, 1), -3px -3px 4px rgba(122, 124, 124, 0.5);
    color:white;
    padding:10px 20px;
    border-radius:30px;
    cursor:pointer;
    transition:.3s;
}

.history-item:hover
{
    background:cyan;
    color:black;
}

#loader
{
    display: none;
    justify-content: center;    
    margin: 40px;
}

.spinner
{
    width: 60px;
    height: 60px;
    border: 6px solid #333;
    border-top: 6px solid cyan;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    transition: 1s;
}

@keyframes spin
{
    from
    {
        transform: rotate(0deg);
    }
    to
    {
        transform: rotate(360deg);
    }
}

.profile-header
{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    margin-bottom:40px;
}

.avatar
{
    width:180px;
    height:180px;
    border-radius:50%;
    margin-right:30px;
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
}

#profile
{
    animation: fade 1s ease;
}

@keyframes fade
{
    from
    {
        opacity:0;
        transform:translateY(20px);
    }
    to
    {
        opacity:1;
        transform:translateY(0);
    }
}

.profile-info
{
    display:flex;
    flex-direction:column;
    align-items: center;
    gap: 5px;
}

.empty-state
{
    text-align: center;
    padding: 15px;
    color: #999;
}

.stats
{
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.stat-card
{
    flex: 1;
    background: #202020;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    justify-content: center;
    place-items: center;
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
    transition: .3s;
}

.stat-card:hover
{
    transform: translateY(-8px);
    box-shadow: 0 0 20px cyan;
    background: rgb(18, 18, 18);
}

.repo-container
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    justify-items: center;
    align-items: center;
    gap:20px;
}

.repo-card
{
    width: 80%;
    padding:20px;
    background:#1e1e1e;
    border-radius:12px;
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
    display:flex;
    flex-direction:column;
    gap:12px;
    transition:0.3s;
    animation: fade 1s ease;
}

.repo-card a
{
    text-decoration:none;
    text-align:center;
    background:cyan;
    color:black;
    padding:20px;
    border-radius:8px;
    font-weight:bold;
}

.repo-card:hover
{
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 25px cyan;
    background: rgb(18, 18, 18);
}

.reponame
{
    display: flex;
    justify-content: center;
    place-items: center;
    font-size: 20px;
    color: cyan;
    text-align: center;
}

.repo-controls
{
    margin: 20px 0;
    display: flex;
    justify-content: flex-start;
    
}

#sort-repositories
{
    padding: 12px 18px;
    font-size: 16px;
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
    border-radius: 10px;
    background: #1e1e1e;
    color: cyan;
    cursor: pointer;
    outline: none;
    transition: .3s;
}

#sort-repositories:hover
{
    box-shadow: 0 0 15px cyan;
}

#sort-repositories:focus
{
    border-color: #00ffff;
    box-shadow: 0 0 15px cyan;
}

#sort-repositories option
{
    background: #1e1e1e;
    color: cyan;
}

#overlay
{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.85);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:999;
}

.repo-search
{
    margin:30px 0;
}

#repo-search
{
    width:100%;
    padding:15px;
    font-size:18px;
    border-radius:12px;
    box-shadow: -5px -5px 15px rgba(122, 124, 124, 0.5), 5px 5px 15px rgba(0, 0, 0, 1), 5px 5px 15px rgba(0, 0, 0, 1), -5px -5px 15px rgba(122, 124, 124, 0.5);
    outline: none;
    background:#1b1b1b;
    color:white;
}

#overlay.active
{
    opacity:1;
    visibility:visible;
}

#overlay-image
{
    width: 400px;
    max-width: 80%;
    border-radius: 50%;
    border: 5px solid cyan;
    transition: .3s;
}