/* Global Styles */
body {
    font-family: 'Courier New', monospace; /* Monospace font for typewriter look */
    margin: 0;
    padding: 20px;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    line-height: 1.6;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #ffffff; /* White background */
    border: none; /* Remove top and left border */
    position: relative;
}

.site-title {
    font-size: 2rem;
    margin: 0;
    font-weight: bold;
}

.site-title a {
    text-decoration: none;
    color: inherit;
}

/* Desktop Navigation */
.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
}

/* Mobile Styles */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000;
    position: relative;
    z-index: 10; /* Always on top */
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: white;
        border: none;
        padding: 20px;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        z-index: 5;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 1.5rem;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-toggle.open {
        position: fixed;
        top: 10px;
        right: 10px;
        z-index: 20;
    }
}


/* footer */
footer {
    text-align: center;
}

/* Navigation */
nav {
    margin-top: 10px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #000000; /* Black text */
}

nav a:hover {
    text-decoration: underline;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff; /* White background */
    border: none;
}

/* Breadcrumbs */
#breadcrumb {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

#breadcrumb a {
    color: #007bff; /* Blue color */
    text-decoration: none;
}

#breadcrumb a:hover {
    text-decoration: underline;
    color: black;
}


/* Textarea */
textarea {
    width: 100%; /* Full width of its container */
    height: 150px;
    padding: 12px; /* Equal padding on all sides */
    font-family: 'Courier New', monospace; /* Monospace font for typewriter look */
    font-size: 16px;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 2px solid #000000; /* Black border */
    border-radius: 0; /* Sharp corners */
    resize: vertical;
    box-sizing: border-box; /* Ensure padding is included in the width */
    margin: 0; /* Remove default margin */
}

textarea:focus {
    outline: none;
    border-color: #000000; /* Black border on focus */
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    font-family: 'Courier New', monospace; /* Monospace font for typewriter look */
    font-size: 16px;
    background-color: #000000; /* Black background */
    color: #ffffff; /* White text */
    border: none;
    border-radius: 0; /* Sharp corners */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #E60023; /* Dark gray on hover */
}

/* File Upload */
.file-upload {
    margin: 20px 0;
}

.file-upload label {
    display: block;
    margin-bottom: 5px;
    color: #000000; /* Black text */
}

.file-upload input[type="file"] {
    width: 100%;
    padding: 10px;
    font-family: 'Courier New', monospace; /* Monospace font for typewriter look */
    font-size: 16px;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 2px solid #000000; /* Black border */
    border-radius: 0; /* Sharp corners */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

/* Output */
#output {
    margin-top: 20px;
  }
  
  #outputText {
    width: 100%;
    height: 150px;
    padding: 12px;
    font-family: 'Courier New', monospace; /* Monospace font for typewriter look */
    font-size: 16px;
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 2px solid #000000; /* Black border */
    border-radius: 0; /* Sharp corners */
    resize: vertical;
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    header h1 {
      font-size: 2rem;
    }
}