/* General body settings */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Courier New', monospace;
    background-color: black;
    color: green;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

/* Navigation and Links */
#nav-menu {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;  /* This ensures there's space between the nav menu and the content */
}

#nav-menu ul {
    display: flex;
    justify-content: center;  /* Center the nav items */
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav-menu ul li {
    display: inline;
    margin: 0 10px;
}

#nav-menu ul li a {
    color: #0f0;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #0f0;
    border-radius: 5px;
    font-size: 16px;  /* Ensures font consistency */
}

#nav-menu ul li a:hover {
    background-color: #0f0;
    color: #000;
}

.burger-menu {
    display: none; /* Hide burger menu by default */
    cursor: pointer; /* Add cursor pointer to indicate it's clickable */
    font-size: 24px;
    color: #0f0;
}

.burger-links {
    display: none;
    flex-direction: column;
}

.burger-links a {
    padding: 10px;
    color: #0f0;
    text-decoration: none;
    border: 1px solid #0f0;
    border-radius: 5px;
    margin: 5px 0;
}

.burger-links a:hover {
    background-color: #0f0;
    color: #000;
}

@media only screen and (max-width: 600px) {
    #nav-menu ul {
        display: none; /* Hide the nav items on small screens */
    }

    .burger-menu {
        display: block; /* Show burger menu on small screens */
    }
}

.show {
    display: flex; /* Show burger links when the burger menu is activated */
}

/* Input and Button Styling */
input[type="file"], button {
    font-family: 'Courier New', monospace;
    padding: 10px;
    margin: 5px;
    background: #000;
    border: 1px solid #0f0;
    border-radius: 5px;
    color: #0f0;
    cursor: pointer;
}

button:hover {
    background-color: #0f0;
    color: #000;
}

/* Additional universal styling */
nav {
    margin-bottom: 20px;
}

a {
    color: #0f0;
    text-decoration: none;
    padding: 10px;
    border: 1px solid #0f0;
    border-radius: 5px;
    margin: 5px;
}

a:hover {
    background-color: #0f0;
    color: #000;
}

/* Terminal Style */
#terminal {
    position: fixed;
    left: 0;
    bottom: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center terminal input */
    padding: 10px;
    box-sizing: border-box;
    text-align: left;
}

.terminal-output {
    width: 100%;
    text-align: left; /* Align output to the left */
    align-items: flex-start;
}

.input-line {
    width: 100%;
    display: flex;
    justify-content: center; /* Center input line */
    align-items: center;
}

.prompt {
    white-space: nowrap;
    padding-right: 0.5em;
}

#input {
    border: none;
    background: none;
    color: green;
    font-family: 'Courier New', monospace;
    font-size: 20px;
    outline: none;
    flex: 1;
    caret-color: green;
}

#input::placeholder {
    color: rgba(144, 238, 144, 0.3); /* Light green and very subtle */
}

/* Content-specific styling for cxf_converter.html */
.content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

.content-container {
    max-width: 600px; /* Adjust the maximum width as needed */
    width: 100%;
    text-align: center; /* Center the text inside the container */
    background-color: transparent; /* Set background to transparent */
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #0f0; /* Add a border if needed */
    border-radius: 5px;
}

/* Custom button styles */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* Full viewport height */
}

.custom-button {
    display: block; /* Ensures the button takes the full width available */
    margin: 10px auto; /* Adjusts the margin to create space between buttons and centers them */
    background-color: #000;
    color: #0f0;
    border: 1px solid #0f0;
    padding: 10px; /* Adjusts the padding as needed */
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    cursor: pointer; /* Adds cursor pointer for better UX */
    width: fit-content; /* Adjusts the width to fit the content */
}

.custom-button .button-link {
    color: inherit; /* Inherits the color from the button */
    text-decoration: none;
    display: block; /* Makes the link take the full size of the button */
    padding: 10px; /* Ensures the padding matches the button's padding */
}

.custom-button:hover .button-link {
    background-color: #0f0;
    color: #000;
}
