/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #1e1e1e;
    color: #d4d4d4;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Container layout */
#container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Sidebar Styling */
#sidebar {
    background-color: #252526;
    width: 220px;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
    font-family: Consolas, "Courier New", monospace;
    height: 100vh;
}

/* Sidebar Header */
.sidebar-header {
    font-size: 12px;
    color: #a5a5a5;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding-left: 8px;
}

/* File Explorer Styling */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Folder Styling */
.folder {
    font-weight: bold;
    color: #e5c07b;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease-in-out;
}

.folder:hover {
    color: #ffcc00;
}

/* Folder Icon */
.folder::before {
    content: "📁 ";
    display: inline-block;
    margin-right: 6px;
}

/* File Styling */
.file {
    font-size: 12px;
    color: #d4d4d4;
    padding: 3px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.file:hover {
    color: #00ccff;
}

/* File Icon */
.file::before {
    content: "📄 ";
    display: inline-block;
    margin-right: 6px;
}

/* Submenu (Files inside folder) */
.submenu {
    list-style: none;
    padding-left: 15px; /* Indent for files */
    display: none;
}

/* When folder is clicked, submenu expands */
.folder.active + .submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Animation for opening folders */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Styling */
#main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Header Styling */
#header {
    background-color: #3300cc;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    z-index: 2;
}

.status-bar {
    font-size: 1rem;
}

.version {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Content Area Styling */
#content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    grid-gap: 0.5px;
    width: 100%;
    height: calc(100vh - 50px);
    position: relative;
}

.box {
    background-color: #181818;
    height: 50px;
    width: 100%;
}

.box:hover {
    background-color: #2c00b2;
    transform: scale(1.05);
}

/* Glassmorphism Effect */
.glass-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
}

/* Glass-style text */
.glass-content h1 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.glass-content p {
    font-size: 1.30rem;
    color: #d4d4d4;
    margin-bottom: 1rem;
}

/* Glass-style buttons */
.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.glass-button {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.1s ease;
}

.glass-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Form styling */
form input,
form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
}

form textarea {
    height: 150px;
}

form button {
    background-color:rgb(240, 238, 242);
    border: none;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
}

form button:hover {
    background-color:rgb(137, 115, 199);
}

/* Background Gradient Animation */
#content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#000, rgb(0, 42, 255), #000);
    animation: animate 4s linear infinite;
    z-index: -1;
}
/* Screensaver dots styling */
#screensaver {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures dots do not interfere with UI */
    z-index: 0; /* Moves dots behind all content */
}

/* Dots styling */
.dot {
    position: absolute;
    width: 4px; /* Smaller size for a subtle effect */
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5); /* More transparent for smoothness */
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    animation: fadeOut 6s ease-out forwards;
}


/* Fade-out animation for smooth disappearance */
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* Ensure dots do not appear on sidebar or buttons */
#sidebar, button, .glass-button, form input, form textarea {
    position: relative;
    z-index: 10; /* Keeps UI elements above the dots */
}

/* Ensure text remains visible */
.glass-content h1, 
.glass-content p, 
#header, 
.menu-item {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Increases text visibility */
}


/* Keyframes for fading out dots */
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}

/* Ensure dots appear only inside #content */
#content {
    position: relative;
    overflow: hidde;
}


@keyframes animate {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    section span {
        width: calc(10vw - 2px);
        height: calc(10vw - 2px);
    }
}

@media (max-width: 600px) {
    section span {
        width: calc(20vw - 2px);
        height: calc(20vw - 2px);
    }
}
/* General Styles */
body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e;
    color: #d4d4d4;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar */
#sidebar {
    background-color: #252526;
    width: 220px;
    padding: 0.5rem;
    border-right: 1px solid #333;
    font-family: Consolas, "Courier New", monospace;
    height: 100vh;
}

.sidebar-header {
    font-size: 12px;
    color: #a5a5a5;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding-left: 8px;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.folder {
    font-weight: bold;
    color: #e5c07b;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease-in-out;
}

.folder:hover {
    color: #ffcc00;
}

.folder::before {
    content: "📁 ";
    display: inline-block;
    margin-right: 6px;
}

.file {
    font-size: 12px;
    color: #d4d4d4;
    padding: 3px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.file:hover {
    color: #00ccff;
}

.file::before {
    content: "📄 ";
    display: inline-block;
    margin-right: 6px;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
}

.folder.active + .submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Glassmorphism Effect */
.glass-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    text-align: center;
}

.glass-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.glass-content p {
    font-size: 1.2rem;
    color: #d4d4d4;
    margin-bottom: 2rem;
}

form input, form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
}

form textarea {
    height: 150px;
}

form button {
    background-color: #4e00b3;
    border: none;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
}

form button:hover {
    background-color: #2c00a1;
}

.socials {
    margin-top: 20px;
}

.socials a {
    color: #00ccff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
}

.socials a:hover {
    color: #ffcc00;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
}

body {
    background-color: #1e1e1e;
    color: #d4d4d4;
    display: flex;
    height: 100vh;
    overflow: hidden;
    font-size: 16px;
}

/* Container Layout */
#container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Sidebar Styling */
#sidebar {
    background-color: #252526;
    width: 220px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
    font-family: Consolas, "Courier New", monospace;
    height: 100vh;
}

.sidebar-header {
    font-size: 12px;
    color: #a5a5a5;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* File Explorer Styling */
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.folder {
    font-weight: bold;
    color: #e5c07b;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease-in-out;
}

.folder:hover {
    color: #ffcc00;
}

.folder::before {
    content: "📁 ";
    margin-right: 6px;
}

.file {
    font-size: 14px;
    color: #d4d4d4;
    padding: 6px 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.file:hover {
    color: #00ccff;
}

.file::before {
    content: "📄 ";
    margin-right: 6px;
}

.submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
}

.folder.active + .submenu {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

/* Glassmorphism Effect */
.glass-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 10;
}

.glass-content h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.glass-content p {
    font-size: 1.2rem;
    color: #d4d4d4;
    margin-bottom: 2rem;
}

.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.glass-button {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.glass-button:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Form Styling */
form input,
form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
}

form textarea {
    height: 150px;
}

form button {
    background-color: rgb(240, 238, 242);
    border: none;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
}

form button:hover {
    background-color: rgb(137, 115, 199);
}

/* Background Gradient Animation */
#content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#000, rgb(0, 42, 255), #000);
    animation: animate 5s linear infinite;
    z-index: -1;
}

/* Screensaver Dots Styling */
#screensaver {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    animation: fadeOut 6s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* Ensure UI elements are above dots */
#sidebar, button, .glass-button, form input, form textarea {
    position: relative;
    z-index: 10;
}

/* Ensure text is visible */
.glass-content h1, 
.glass-content p, 
#header, 
.menu-item {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

/* Keyframes for Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes animate {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    section span {
        width: calc(10vw - 2px);
        height: calc(10vw - 2px);
    }
}

@media (max-width: 600px) {
    section span {
        width: calc(20vw - 2px);
        height: calc(20vw - 2px);
    }
}
/* Skills Section */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.skill {
    width: 250px;
    text-align: center;
}

.skill-icon img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.skill-details p {
    font-size: 16px;
    margin-bottom: 5px;
}

.skill-bar {
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
    margin-top: 5px;
}

.skill-bar > div {
    height: 100%;
    background-color: #4caf50;
    border-radius: 10px;
}
/* Glass Container Styling */
.glass-container {
    width: 80%;
    max-width: 900px;
    height: 500px; /* Set a fixed height */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

/* Custom Scrollbar for Webkit Browsers */
.glass-container::-webkit-scrollbar {
    width: 8px;
}

.glass-container::-webkit-scrollbar-track {
    background: transparent;
}

.glass-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 10px;
}

.glass-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}
/* Ensure submenu dropdown works smoothly */
.folder.active + .submenu {
    display: block;
    animation: fadeIn 0.6s ease-in-out;
}

/* Matching fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass-style buttons (matching the rest) */
.glass-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(4.05);
}

/* Social Media Links - Uniform Style */
.socials {
    margin-top: 20px;
    text-align: center;
}

.socials h2 {
    font-size: 1.5rem;
    color: #ffffff;
}

.social-link {
    display: inline-block;
    color: #00ccff;
    text-decoration: none;
    margin: 10px;
    font-size: 1.1rem;
    transition: color 0.3s ease-in-out;
}

.social-link:hover {
    color: #ffcc00;
}

/* Ensure sidebar stays consist
ent with the rest of the design */
#sidebar {
    padding: 1rem;
    font-size: 16px;
}

#container {
    display: flex;
    flex-direction: row;
    height: 100vh; /* Full screen height */
}

#main {
    flex: 1; /* Takes remaining space */
    overflow-y: auto; /* Make it scrollable */
    padding: 20px;
}
.glass-button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: 0.3s ease-in-out;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.glass-button.small {
    font-size: 12px;
    padding: 8px 12px;
}
.glass-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    max-width: 600px;
    margin: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 8px;
    transition: 0.3s;
}

.tab:hover, .tab.active {
    background: rgba(255, 255, 255, 0.5);
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.skill {
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-icon img {
    width: 40px;
    height: 40px;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #4caf50;
    transition: width 1s ease-in-out;
}

.hidden {
    display: none;
}
.experience-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.experience {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.experience h3 {
    margin: 0;
    font-size: 1.2em;
    color: #ffffff;
}

.experience p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
}

.experience ul {
    padding-left: 20px;
}

.experience ul li {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

.hidden {
    display: none;
}
.ml-section {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ml-section h2 {
    color: #ffffff;
}

.ml-section ul {
    padding-left: 20px;
}

.ml-section ul li {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

.hidden {
    display: none;
}
.service-list {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.service-list h2 {
    color: #ffffff;
}

.service-list ul {
    padding-left: 20px;
}

.service-list ul li {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

.hidden {
    display: none;
}
/* Glassmorphism Design */
.glass-container {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Typewriter Effect */
.typing-text {
    font-size: 2.5rem;
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #ffffff;
    animation: typing 3s steps(20, end), blink 0.8s infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.tab-button {
    padding: 10px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.tab-button.active, .tab-button:hover {
    background: #ff6b6b;
}

/* Skill Cards */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 200px;
    transition: transform 0.3s ease-in-out, background 0.3s;
}

.skill-card img {
    width: 50px;
    height: 50px;
}

.skill-card:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

/* Call to Action */
.cta {
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    background: #ff6b6b;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}

.cta-button:hover {
    background: #ff4b4b;
}
/* General mobile-friendly settings */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevents horizontal scroll */
}

/* Make sidebar collapsible on mobile */
#sidebar {
    width: 250px;
    transition: transform 0.3s ease-in-out;
}

/* Ensure main content adapts on smaller screens */
#main {
    width: 100%;
    padding: 20px;
}

/* Responsive sidebar for mobile */
@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        left: -250px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        transition: 0.3s ease-in-out;
    }

    #sidebar.open {
        left: 0;
    }

    /* Sidebar button */
    .sidebar-toggle {
        display: block;
        position: fixed;
        left: 15px;
        top: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        z-index: 1000; /* Increased z-index to be above glass container */
    }

    #sidebar {
        z-index: 999; /* Increased z-index to be above glass container */
    }

    .glass-container {
        z-index: 998; /* Lower z-index than sidebar */
    }
}

/* Mobile-friendly glass container adjustments */
@media (max-width: 768px) {
    .glass-container {
        width: 95%;
        max-width: none;
        height: auto;
        min-height: 300px;
        margin: 10px auto;
        padding: 15px;
        border-radius: 10px;
    }

    .glass-container .glass-content h1 {
        font-size: 1.8rem;
    }

    .glass-container .glass-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .glass-container {
        width: 98%;
        padding: 10px;
        margin: 5px auto;
    }

    .glass-container .glass-content h1 {
        font-size: 1.5rem;
    }
}
/* Ensure glass container adapts properly on mobile */
@media (max-width: 768px) {
    .glass-container {
        width: 95%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Make timeline responsive */
    .timeline {
        width: 100%;
        padding: 10px;
    }

    .timeline-item {
        width: 100%;
        text-align: center;
        padding: 15px;
    }

    .timeline-content {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    /* Adjust skill cards on mobile */
    .skills-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .skill-card {
        width: 45%;
        padding: 10px;
        text-align: center;
    }

    /* Call-to-action button responsiveness */
    .cta {
        text-align: center;
        padding: 20px;
    }

    .cta-button {
        width: 100%;
        display: block;
        text-align: center;
    }
}
/* Style for ChatRoom1.3 button */
#chatroom-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

#chatroom-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

