body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: white;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    height: 80%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    gap: 20px;
}

.sidebar {
    width: 25%;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    box-sizing: border-box;
}

.menu-title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 10px;
    font-weight: bold;
}

.sidebar a {
    text-decoration: none;
    color: white;
    font-size: 1rem; /* Reduced font size */
    padding: 8px;
    width: 100%;
    text-align: left;
    transition: background 0.3s;
    border-radius: 8px;
    display: block;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.command-prompt-container {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.command-prompt-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #333;
    color: #ccc;
    padding: 5px 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 0.8rem; /* Font size for the title bar */
}

.command-prompt-titlebar .title {
    font-weight: bold;
}

.command-prompt-titlebar .controls {
    display: flex;
    gap: 5px;
}

.command-prompt-titlebar .control {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

.command-prompt-titlebar .control.close {
    background: #f55;
}

.command-prompt-titlebar .control.minimize {
    background: #ff0;
}

.command-prompt-titlebar .control.maximize {
    background: #0f0;
}

.command-prompt {
    background: #000;
    color: #0f0;
    padding: 10px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    font-size: 0.7rem; /* Reduced font size */
    overflow: hidden;
    word-wrap: break-word;
}

.command-prompt .prompt-text {
    white-space: nowrap;
}

.command-prompt input {
    border: none;
    background: transparent;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem; /* Reduced font size */
    margin-left: 5px;
    outline: none;
    flex: 1;
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.content-section {
    display: none;
}

.active {
    display: block;
}

.header {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: slideIn 1s ease-in-out;
}

.bio {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeIn 2s ease-in-out;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    animation: slideIn 1.5s ease-in-out;
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    animation: fadeIn 2s ease-in-out;
}

.footer {
    font-size: 0.8rem;
    color: #ccc;
    animation: fadeIn 3s ease-in-out;
}

@media (max-width: 600px) {
    .header {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .container {
        flex-direction: column;
        height: 100%;
    }

    .sidebar {
        width: 100%;
        height: auto;
    }

    .content {
        width: 100%;
        height: auto;
    }

    .command-prompt {
        font-size: 0.6rem; /* Adjusted font size for smaller screens */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.background span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
    border-radius: 50%;
    animation: move 10s linear infinite;
}

.greeting-container {
    margin-top: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2), -4px -4px 10px rgba(255, 255, 255, 0.3);
    align-items: center;
  
}

.neuromorphic {

    padding: 20px;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.neuromorphic-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    text-align: justify;
}

.home-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    text-align: justify;
}

.profile-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto;
}

.profile-image {
    width: 150px; 
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Optional: shadow around the image */
}

.profile-text {
    max-width: 500px; /* Adjust width for larger screens */
}

.profile-text h2 {
    font-size: 2rem; /* Adjust the font size for responsiveness */
    margin-bottom: 10px;
}

.profile-text p {
    font-size: 1.2rem; /* Adjust the font size for responsiveness */
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
}

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

.experience-map {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 300px; /* Adjust height as needed */
}

.node-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Neuromorphic dot */
.neuro-dot {
    position: absolute;
    top: -2px; /* Adjust position as needed */
    right: -2px; /* Adjust position as needed */
    width: 20px;
    height: 20px;
    background: #00ff00; /* Green color */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    animation: blink 1s infinite; /* Blinking effect */
}

/* Keyframes for blinking effect */
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.node-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.node-org {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.details-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

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

/* Connectors */
.connector {
    width: 20px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.node-container:not(:last-child) .connector {
    width: 100px; /* Adjust length as needed */
}

.node-container:not(:first-child) {
    margin-left: 50px; /* Adjust spacing between nodes */
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: rgba(0, 0, 0, 0.91);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-content h2 {
    margin-top: 0;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2.5rem;
    cursor: pointer;
}

.close-button:hover {
    color: #f55;
}


.skills-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.skill-category h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.skill-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-icon {
    width: 48px; /* Adjust size as needed */
    height: 48px;
    transition: transform 0.3s;
}

.skill-icon:hover {
    transform: scale(1.1);
}


#projects {
    padding: 30px;
    background: #f0f4f8; /* Light, neumorphic background */
}

.section-header {
    font-size: 26px;
    margin-bottom: 25px;
    color: #222;
    text-align: center;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.neumo-card {
    background: #e0e5ec; /* Light neumorphic background */
    border-radius: 12px;
    box-shadow: 8px 8px 16px #b1b5c3, -8px -8px 16px #ffffff;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    overflow: hidden;
}

.neumo-card:hover {
    box-shadow: inset 4px 4px 8px #b1b5c3, inset -4px -4px 8px #ffffff;
    transform: scale(1.05);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 20px;
    margin: 0;
    color: #333;
}

.card-content p {
    font-size: 16px;
    margin: 10px 0;
    color: #555;
}
.view-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
    background: #007bff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.view-button:hover {
    background: #0056b3;
}

.link-highlight {
    color: #007bff;
    text-decoration: none;
}

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


/* Contact Section */
#contact {
    padding: 30px;
    background: #f0f4f800;
    text-align: center;
}

.section-header {
    font-size: 26px;
    margin-bottom: 25px;
    color: #222;
}

.envelopes-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.envelope-card {
    width: 150px;
    height: 100px;
    background: #e0e5ec;
    color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.envelope-card:hover {
    transform: translateY(-10px) rotate(-2deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.envelope-label {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 600px) {
    .experience-map {
        flex-direction: column;
        height: auto;
    }

    .node-container {
        margin: 20px 0;
    }

    .connector {
        width: 0;
        height: 0;
    }
}


@media (max-width: 600px) {
    .home-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-text h2 {
        font-size: 1.5rem;
    }

    .profile-text p {
        font-size: 1rem;
    }
}
    .starlight-galaxy {
            display: flex;
            justify-content: center;
            gap: 20px;
            padding: 20px;
        }
        .celestial-card {
            width: 250px;
            padding: 20px;
            border-radius: 8px;
            background-color: #f7f7f7;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            font-family: Arial, sans-serif;
            transition: transform 0.3s;
        }
        .celestial-card:hover {
            transform: scale(1.05);
        }
        .orbital-image {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-bottom: 15px;
            object-fit: cover;
        }
        .identity-title {
            font-size: 1.3em;
            color: black;
            margin-bottom: 5px;
        }
        .cosmic-username {
            font-size: 1em;
            color: #555;
            margin-bottom: 15px;
        }
        .link-to-portal {
            text-decoration: none;
            color: #0077b5;
            font-weight: bold;
        }

@keyframes move {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(calc(100vh - 20px)) translateX(calc(100vw - 20px));
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}
