/* Grundlegendes Reset und dunkles Theme */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0d0d12;
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    padding-top: 50px;
    margin: 0;
}

.container {
    text-align: center;
    max-width: 800px;
    width: 90%;
}

h1 {
    color: #00ffcc;
    letter-spacing: 2px;
}

/* Styling für das Eingabefeld */
input {
    padding: 12px 20px;
    font-size: 18px;
    border: 2px solid #333;
    background-color: #1a1a24;
    color: #fff;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #00ffcc;
}

/* Styling für den Button */
button {
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    background-color: #00ffcc;
    color: #0d0d12;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    margin-left: 10px;
    transition: background-color 0.3s, transform 0.1s;
}

button:hover {
    background-color: #00ccaa;
}

button:active {
    transform: scale(0.95);
}

/* Wichtig: Das <pre> Tag für die ASCII-Ausgabe */
pre {
    background-color: #111116;
    border: 1px solid #333;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    overflow-x: auto; /* Erlaubt horizontales Scrollen bei langen Wörtern */
    color: #00ffcc;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12px;     /* Größe der einzelnen "Pixel"-Zeichen */
    line-height: 10px;   /* Zeilenhöhe verringern für bessere Proportionen */
    text-align: left;
}
/* Styling für den Farbauswahl-Bereich */
.color-selection-area {
    background-color: #1a1a24;
    border: 1px solid #333;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.color-selection-area h3 {
    margin-top: 0;
    color: #00ffcc;
    font-size: 16px;
}

.preset-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.preset-btn {
    padding: 6px 12px;
    font-size: 13px;
    background-color: #2a2a38;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.preset-btn:hover {
    background-color: #00ffcc;
    color: #0d0d12;
}

.color-pickers {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.color-picker-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: #aaa;
}

.color-picker-item input[type="color"] {
    -webkit-appearance: none;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    background: none;
    padding: 0;
    margin-top: 4px;
}

.color-picker-item input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker-item input[type="color"]::-webkit-color-swatch {
    border: 2px solid #555;
    border-radius: 50%;
}