:root {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #cb2121;
}

[data-theme="lightblue"] {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #00aaff;
}

[data-theme="green"] {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #00ff4c;
}

[data-theme="orange"] {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #ff7300;
}

[data-theme="blue"] {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #0800ff;
}

[data-theme="red"] {
    --bg-color: #111;
    --text-color: #000;
    --accent-color: #cb2121;
}

[data-theme="pink"] {
    --bg-color: #111;
    --text-color: #fff;
    --accent-color: #FF88D0;
}

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;
    transition: background-color 0.5s ease;
}

main::-webkit-scrollbar {
    width: 0;
    height: 0; 
}

.content-wrapper {
    position: relative;
}

/* Header */
header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    position: relative;
    top: 0;
}

header .logo .icon svg {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    margin-top: -15px;
    margin-left: 0px;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 35px;
    height: 5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: -10px;
    margin-right: -15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.theme-color {
    color: var(--accent-color);
}
nav ul li a:hover {
    background-color: rgba(90, 90, 90, 0.1);
}

nav ul li a i.material-icons {
    font-size: 18px;
    color: var(--accent-color);
    align-items: center;
}

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 0;
}

main h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: rgb(20, 20, 20);
    justify-content: center;
    padding: 10px 20px;
    border-radius: 30px;
    margin-top: 20px;
    width: 400px;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    z-index: 1;
}

.search-bar::before,
.search-bar::after {
    display: none; /* Remove the hover effect */
}

.search-bar:hover::before,
.search-bar:hover::after {
    opacity: 0; /* Ensure no hover effect */
}

@keyframes borderLoad {
    0%, 100% {
        clip-path: inset(0 0 0 0);
    }
}

.search-bar input[type="text"] {
    border: none;
    background: none;
    outline: none;
    color: #fff;
    flex-grow: 1;
    font-size: 1rem;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.search-bar button:hover {
    transform: scale(1.1);
}

.search-bar button .material-symbols-outlined {
    font-size: 24px;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.search-bar button:hover .material-symbols-outlined {
    color: var(--accent-color);
}

footer {
    position: relative;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    background: transparent;
    color: #999;
    font-size: 0.9rem;
    margin-top: auto;
    overflow: hidden;
}

footer::before {
    display: none; /* Remove the footer-specific background */
}

footer .links {
    margin-top: 10px;
}

footer .links a {
    color: #999;
    text-decoration: none;
    margin: 0 5px;
    position: relative;
    transition: color 0.3s ease;
}

footer .links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

footer .links a:hover::after {
    width: 100%;
}

.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.bubble {
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-color) 10%, transparent 10%);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: footerBg 10s linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes footerBg {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(-20px, -20px);
    }
}
