/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* DOS Green Screen Theme */
body {
    font-family: "Courier New", Courier, monospace;
    background-color: black;
    color: #00FF00;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    padding-top: 10px;
}

/* Title - Large on Desktop, Normal on Mobile */
#title {
    font-size: 8vw; /* Mobile size */
    font-weight: bold;
    width: 100%;
    padding: 5px 0;
}

/* Main Content */
main {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

/* Dropdown Containers */
.label-dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 15px;
}

/* Dropdown Labels */
label {
    font-size: 4vw;
    margin-bottom: 8px;
}

/* Dropdown Styling - Centralized Text & Narrower */
select {
    font-size: 3.5vw;
    background: black;
    color: #00FF00;
    border: 1px solid #00FF00;
    padding: 5px;
    text-align: center;
    text-align-last: center; /* Centers selected text */
    width: 60%; /* Narrower */
    max-width: 180px;
    appearance: none;
}

/* Button Styling */
button {
    background: black;
    color: #00FF00;
    font-size: 4vw;
    border: 2px solid #00FF00;
    padding: 10px;
    margin-top: 25px;
    cursor: pointer;
    width: 70%;
    max-width: 200px;
    text-align: center;
}

button:hover {
    background: #00AA00;
}

button:active {
    background: #007700;
}

/* Output Section */
#output-container {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

/* "Project Name:" Label */
#output-label {
    font-size: 4vw;
    font-weight: bold;
}

/* Generated Project Name */
#result {
    font-size: 4vw;
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

/* Flashing Cursor */
#cursor {
    display: inline-block;
    font-size: 4vw;
    font-weight: bold;
    animation: blink 1s infinite;
}

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

/* Footer */
footer {
    margin-top: 20px;
    font-size: 3vw;
    color: #00FF00;
}

/* Media Query for Larger Screens */
@media (min-width: 768px) {
    #title {
        font-size: 8vw; /* Desktop size */
    }

    label {
        font-size: 2vw;
    }

    select {
        font-size: 2vw;
        width: 40%; /* Even narrower on desktop */
        max-width: 150px;
    }

    button {
        font-size: 2vw;
        width: 40%;
        max-width: 150px;
    }

    #output-label, #result {
        font-size: 4vw;
    }

    footer {
        font-size: 1vw;
    }
}
