/* Base Galaxy Background */
body {
    background-color: #000;
    margin: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    flex-direction: column; /* Stack elements vertically */
}

/* Galaxy background effect */
.main {
    position: fixed;
    top: 50%;
    left: 50%;
    height: 1px;
    width: 1px;
    background-color: #fff;
    border-radius: 50%;
    animation: intense-zoom 12s alternate infinite;
    z-index: -10; /* Keep far behind all other content */
}

@keyframes intense-zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.8);
    }
}

/* Centered typing text */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    white-space: pre-wrap; /* Retain line breaks */
    color: #00ff00;
}

/* Command prompt and response text */
#center-text, #command-prompt, #response {
    font-size: 2em; /* Match font size with typing effect */
    color: #00ff00;
    font-family: "Courier New", Courier, monospace;
    font-weight: bold;
    text-align: center;
    white-space: pre-wrap;
}

/* Command prompt styling */
#command-prompt {
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

/* Response text styling */
#response {
    margin-top: 1rem; /* Space above each response */
    margin-bottom: 1rem; /* Space below each response */
    padding: 0 1rem; /* Adds 1rem padding on left and right */
    color: #00ff00; /* Ensure text color matches the command-line style */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    max-width: 90%; /* Optional: Limit width for additional padding */
    margin-left: auto;
    margin-right: auto;
}

/* Blinking cursor styling */
.blink {
    display: inline;
    animation: blink 1s steps(2, start) infinite;
}

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

/* Footer styling */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1em;
    color: #bdbdbd;
    padding: 1rem 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Scoped styles for about.html */
#about-page {
    text-align: center;
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
}

/* Profile image styling with circular matte */
#about-page .profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid #00ff00;
    margin-top: 0.5rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Introductory text styling */
#about-page .intro-text {
    margin-bottom: 0.5rem;
}

/* Separator line between intro and skills */
#about-page .separator {
    border: none;
    border-top: 1px solid #00ff00; /* Green line for consistency */
    width: 80%;
    margin: 1rem auto;
}

/* Styling for each skill section */
#about-page p {
    margin-bottom: 1rem; /* Add space between each skill section */
    line-height: 1.6; /* Improve readability */
}

/* Skill title styling */
#about-page p strong {
    display: block; /* Move the skill title to its own line */
    font-size: 1.15em; /* Slightly larger font size */
    color: #00ff00; /* Bright green color */
    font-weight: 700; /* Increase font weight for boldness */
    margin-bottom: 0.3rem; /* Add a bit of space below the title */
}

/* Return to Main Page Button Styling */
#about-page .return-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    margin-top: 1.5rem;
    font-size: 1em;
    color: #000;
    background-color: #00ff00; /* Green background to match theme */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

#about-page .return-button:hover {
    background-color: #00cc00; /* Darker green on hover */
    color: #ffffff;
}
