body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #fff; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    min-height: 100vh;
    position: relative; 
}

header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    position: relative;
    top: 0;
}

header .logo .icon img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-top: -15px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    background-color: #181818;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 30px;
    margin-top: -5px;
}
nav ul li a i.material-icons {
    font-size: 20px;
    margin-right: 5px; 
    color: #7700e7;
}
nav ul li a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-grow: 1;
    padding: 100px 20px 20px; 
}

main h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 40px;
}

footer {
    position: absolute;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: transparent;
    color: #999;
    font-size: 0.9rem;
    bottom: 0;
}

footer .links {
    margin-top: 10px;
}

footer .links a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
}

footer .links a:hover {
    color: #fff; 
}

.profile-container {
    position: absolute; 
    top: 100px; 
    width: 300px; 
    max-width: 90vw; 
    background-color: #181818; 
    padding: 20px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(85, 0, 255, 0.2); 
}

.profile-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.scrollable-section::-webkit-scrollbar {
    display: none;
}

.stats::-webkit-scrollbar,
.favorites::-webkit-scrollbar {
    display: none;
}

.scrollable-section,
.stats ul,
.favorites ul {
    overflow: auto; 
    scrollbar-width: none; 
}

.scrollable-section,
.stats ul,
.favorites ul {
    -ms-overflow-style: none;  
}

.profile-picture img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.upload-overlay {
    position: absolute;
    top: 0;
    left: 100px;
    width: 33.5%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer; 
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease; 
}

.upload-label {
    color: #fff; 
    font-size: 1rem; 
    pointer-events: none; 
}
.profile-picture:hover .upload-overlay {
    opacity: 1;
}

#file-upload {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.favorites a {
    color: #fff; 
    text-decoration: none; 
}

.favorites a:visited {
    color: #fff; 
    text-decoration: none; 
}

.favorites a:hover,
.favorites a:focus {
    color: #7700e7; 
    text-decoration: none; 
}

.username {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    margin-top: 20px;
    margin-left: 15px;
    color: #fff;
    width: 100%; 
}

.username #username {
    font-size: 1.5rem;
    color: #fff; 
}

.edit-icon {
    cursor: pointer;
    color: #7700e7; 
}

.scrollable-section {
    max-height: 200px; 
    overflow-y: auto; 
    margin-top: 20px;
    padding: 10px;
    background-color: #181818; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(85, 0, 255, 0.31); 
}

.stats, .favorites {
    background-color: #181818; 
    padding: 10px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(85, 0, 255, 0.31); 
}

.stats ul, .favorites ul {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 65px; 
    overflow-y: auto; 
}

.stats li, .favorites li {
    margin-bottom: 5px;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff; 
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul li {
    margin-bottom: 5px;
    color: #fff; 
}

.stats h2::after, .favorites h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px; 
    background-color: #7700e7; 
    margin: 10px 0; 
}

.stats, .favorites {
    background-color: #181818; 
    padding: 10px; 
    border-radius: 10px; 
    box-shadow: 0 4px 8px rgba(85, 0, 255, 0.31); 
}
