
/* Crypto Automaton Showcase - Styles */

/* General Resets */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Courier New', Courier, monospace;
    background-color: #1e1e1e;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#app {
    width: 90%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 2em;
    color: #00ff00;
    text-shadow: 0 0 8px #00ff00;
    margin: 0;
}

/* Terminal Styles */
.terminal {
    background-color: #000;
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    height: 300px;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.terminal-output {
    white-space: pre-wrap;
}

/* Input and Controls */
.controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}

label {
    font-size: 1rem;
    color: #cccccc;
}

input[type="text"] {
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #00ff00;
    border-radius: 5px;
    background-color: #1e1e1e;
    color: #ffffff;
    outline: none;
}

input[type="text"]:focus {
    border-color: #00e600;
    box-shadow: 0 0 5px #00e600;
}

button {
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
    background-color: #00ff00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

button:hover {
    background-color: #00e600;
    transform: translateY(-2px);
}

button:focus {
    outline: 2px solid #00cc00;
}

button:active {
    background-color: #00cc00;
    box-shadow: 0px 3px 0px #009900 inset;
    transform: translateY(1px);
}

/* Footer Styles */
footer {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 20px;
}

footer p {
    margin: 0;
}

/* Animations */
@keyframes type-text {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.animate-text {
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    animation: type-text 2s steps(40, end) infinite;
}