@font-face {
    font-family: 'determination';
    src: url('../assets/fonts/PixelSerif_16px_v02.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'pixelserif';
    src: url('../assets/fonts/fibberish.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.container {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

h1 {
            color: #0c3257;
            font-family: pixelserif, monospace;
            text-align: center;
            margin-bottom: 25px;
            border-bottom: 2px solid #ecf0f1;
            padding-bottom: 10px;
            font-size: 60px;
        }
        .editor-container {
            margin-bottom: 25px;
        }
    .results {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    width: calc(100% + 0px);
}
        #textEditor {
            width: 100%;
            height: 200px;
            border: 1px solid #bdc3c7;
            padding: 15px;
            border-radius: 6px;
            font-size: 16px;
            margin-bottom: 15px;
            resize: vertical;
            overflow-y: auto;
            line-height: 1.5;
            background-color: #fafafa;
            box-sizing: border-box;
        }
        #textEditor:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
        }
        .toolbar {
            display: flex;
            gap: 10px;
            margin-bottom: 15px;
            flex-wrap: wrap;
            align-items: center;
            background-color: #f8f9fa;
            padding: 12px;
            border-radius: 6px;
        }
        button {
            padding: 10px 18px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            background-color: #0c3257;
            color: white;
            /*font-weight: bold;*/
            font-family: pixelserif, monospace;
            font-size: 20px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        button:hover {
            background-color: #2980b9;
            transform: translateY(-2px);
        }
        button:active {
            transform: translateY(0);
        }
        .color-container {
            display: flex;
            align-items: center;
            font-size: 20px;
            font-family: pixelserif, monospace;
            gap: 8px;
            background-color: white;
            padding: 5px 10px;
            border-radius: 6px;
            border: 1px solid #bdc3c7;
        }
        #colorPicker {
            height: 35px;
            width: 35px;
            border: none;
            background: none;
            cursor: pointer;
        }
        #result {
            width: 100%;
            min-height: 120px;
            max-height: 300px;
            border: 1px solid #bdc3c7;
            padding: 15px;
            border-radius: 6px;
            background-color: #f8f9fa;
            font-family: 'Courier New', monospace;
            white-space: pre-wrap;
            margin-bottom: 15px;
            resize: vertical;
            overflow-y: auto;
            line-height: 1.5;
            box-sizing: border-box;
        }
        .copy-btn {
            background-color: #ffc107;
            width: 180px;
            justify-content: center;
            padding: 12px;
            font-size: 20px;
            /*margin-bottom: 15px;*/
            /*margin-left: auto;*/
        }
        .copy-btn:hover {
            background-color: #c9a333;
        }
        #generateBtn {
            background-color: #0c3257;
            width: 180px;
            justify-content: center;
            padding: 12px;
            font-size: 20px;
            /*margin-bottom: 15px;*/
            /*margin-right: auto;*/
        }
        #generateBtn:hover {
            background-color: #4389b8;
        }
        .icon {
            font-size: 16px;
        }
        .instructions {
            background-color: #0c315733;
            border-left: 4px solid #0c3257;
            font-family: pixelserif, monospace; 
            padding: 12px 15px;
            margin-bottom: 20px;
            border-radius: 0 6px 6px 0;
            font-size: 16px;
        }
        .example {
            background-color: #c9a3333e;
            border-left: 4px solid #0c3257;
            font-family: pixelserif, monospace;
            padding: 12px 15px;
            margin-bottom: 20px;
            border-radius: 0 6px 6px 0;
            font-size: 16px;
        }
        .placeholder {
            color: #999;
            font-style: italic;
        }
        [contenteditable=true]:empty:before {
            content: attr(placeholder);
            color: #aaa;
            pointer-events: none;
            display: block; 
        }
