@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --bg-dark: #121212;
    --bg-light: #f0f0f0;
    --text-dark: #e0e0e0;
    --text-light: #202020;
    --primary-color: #bb86fc;
    --secondary-color: #03dac6;
    --tooltip-bg: rgba(0, 0, 0, 0.8);
    --tooltip-text: #e0e0e0;
}

body {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: var(--bg-dark);
    color: var(--text-dark);
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden; /* Added to prevent horizontal scrolling */
}


.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content {
    text-align: center;
}

.username {
    font-size: 3rem;
}

footer {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--bg-dark); /* Dark theme background color */
    position: absolute;
    bottom: 0;
}

/* Updated styles.css */

.book-icon {
    color: var(--text-dark); /* Adjust color as needed */
    font-size: 2rem;
}

.icon {
    font-size: 2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.icon:hover {
    color: var(--primary-color);
}

.discord-icon {
    position: relative;
}

.discord-tooltip {
    visibility: hidden;
    width: auto;
    background-color: var(--tooltip-bg);
    color: var(--tooltip-text);
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.9rem; /* Adjusted font size */
    position: absolute;
    bottom: 125%; /* Position above the icon */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.discord-icon:hover .discord-tooltip {
    visibility: visible;
    opacity: 1;
}

body.light-theme {
    background-color: var(--bg-light);
    color: var(--text-light);
}

body.light-theme .icon {
    color: var(--text-light);
}

body.light-theme footer {
    background-color: var(--bg-light); /* Light theme background color */
}

body.light-theme .icon:hover {
    color: var(--primary-color);
}

body.light-theme .discord-tooltip {
    background-color: var(--bg-dark);
    color: var(--text-dark);
}

body.light-theme .quote {
    color: var(--text-light); /* Adjust for light theme */
}


/* Updated styles.css */

.theme-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #35393b;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.quote {
    font-size: 0.9rem;
    color: var(--text-dark); /* Darker color */
}

body.light-theme .quote {
    color: var(--text-light); /* Adjust for light theme */
}

