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

        :root {
            --background: #1a1a1a;
            --text: #f0f0f0;
            --accent: #66ff99;
        }

        .dark {
            --background: #f0f0f0;
            --text: #333333;
            --accent: #ff3366;
        }

        body {
            font-family: 'Space Mono', monospace;
            background-color: var(--background);
            color: var(--text);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        .content-wrapper {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem;
        }

        .title {
            font-size: 2.7rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .subtitle {
            font-size: 1.5rem;
            opacity: 0.7;
            min-height: 1.5em;
        }

        .section-title {
            font-size: 2rem;
            font-weight: 700;
            margin-top: 4rem;
            margin-bottom: 1rem;
            color: var(--accent);
        }

        .project-item, .skill-item {
            border-top: 1px solid var(--text);
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        .project-item:hover, .skill-item:hover {
            padding-left: 1rem;
            background-color: rgba(128, 128, 128, 0.1);
            transition: 0.05s cubic-bezier(0, 0, 0.2, 1);
        }

        #contact a {
          text-decoration: none;
        }

        .contact-link {
            display: inline-block;
            margin-right: 1rem;
            text-decoration: underline;
            transition: all 0.3s ease;
        }

        .contact-link:hover {
            color: var(--accent);
            transform: translateY(-2px);
        }

        .theme-switch {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 1000;
            background-color: var(--text);
            color: var(--background);
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .theme-switch:hover {
            opacity: 0.8;
        }

        .accent-text {
            color: var(--accent);
        }

        .skill-bar {
            height: 4px;
            background-color: var(--accent);
            margin-top: 5px;
            transition: width 1s ease-in-out;
        }

        .back-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: var(--accent);
            color: var(--background);
            padding: 10px 15px;
            border-radius: 5px;
            text-decoration: none;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .back-to-top.visible {
            opacity: 1;
        }

        .typewriter::after {
            content: '|';
            animation: blink 0.7s infinite;
        }

        @keyframes blink {
            0% { opacity: 1; }
            50% { opacity: 0; }
            100% { opacity: 1; }
        }

        /* Icon styles */
        .icon {
            width: 24px;
            height: 24px;
            vertical-align: middle;
            margin-right: 8px;
        }

        /* Style for the theme switch button */
.theme-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--text);
    color: var(--background);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 24px; /* Adjust size of icon */
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-switch:hover {
    background-color: var(--accent);
    color: var(--background);
    opacity: 0.8;
}