/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: auto;
    padding: 20px;
}

h1, h2 {
    color: #BB86FC;
}

p {
    color: #e0e0e0;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    border-right: 2px solid #BB86FC; /* Cursor effect */
    white-space: nowrap; 
    overflow: hidden; 
    display: inline-block;
    letter-spacing: 2px;
    animation: blink-caret 1.3s step-end infinite; /* Cursor blink effect */
    min-height: 5rem;
}

header p {
    font-size: 1.2rem;
    color: #03DAC6;
}

/* Typing effect cursor animation */
@keyframes blink-caret {
    from, to {
        border-color: transparent;
    }
    50% {
        border-color: #BB86FC;
    }
}

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

.tab-button {
    background-color: #1F1F1F;
    color: #e0e0e0;
    border: 1px solid #BB86FC;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    transition: background-color 0.3s ease;
}

.tab-button.active {
    background-color: #BB86FC;
    color: #121212;
}

.tab-button:hover {
    background-color: #BB86FC;
    color: #121212;
} */

/* Tab Content */
/* .tab-content {
    display: none;
}

.tab-content.active {
    display: block;
} */

footer {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #BB86FC;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #03DAC6;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }
}

/* Projects Section Styles */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-item {
    display: flex;
    align-items: center;
    background-color: #1F1F1F;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.project-item:hover {
    background-color: #2A2A2A;
}

.project-thumbnail-small {
    width: 180px;
    height: 150px;
    border-radius: 8px;
    margin-right: 15px;
}

.project-details {
    display: flex;
    flex-direction: column;
}

.project-details h3, a {
    margin: 0;
    font-size: 1.2rem;
    color: #7a41c0;
}

.project-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #e0e0e0;
}

.github-link {
    font-size: 0.9rem;
    color: #03DAC6;
    text-decoration: none;
    margin-top: 5px;
}

.github-link:hover {
    text-decoration: underline;
}

.personal-link {
    font-size: 1rem;
    color: #03DAC6;
    text-decoration: none;
    margin-top: 5px;
}

.personal-link:hover {
    text-decoration: underline;
}

/* Canvas settings */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: black;
}

/* Toggle Switch for particle dispersion sim */
.github-row {
    display: flex;
    align-items: center;
    margin-top: 5px; /* Adjust for spacing between GitHub link and toggle */
}

.toggle-container {
    display: flex;
    align-items: center;
    margin-top: 5px; 
    margin-left: 320px;
}

.toggle-text {
    color: #e0e0e0;
    font-size: 0.9rem;
    margin-right: 10px; /* Space between text and toggle switch */
}

.switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 30px;
}

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

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

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

input:checked + .slider {
    background-color: #4CAF50;
}

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