body {
    font-family: Arial, sans-serif;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f4f4;
}

.container {
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

header {
    background-color: #007bff;
    color: white;
    padding: 20px;
    text-align: center;
    border-bottom: 4px solid #0056b3;
}

header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

main {
    padding: 20px;
    flex-grow: 1;
}

.editor-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

textarea {
    width: 50%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    line-height: 1.6;
    resize: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.output {
    width: 50%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-y: auto;
    white-space: pre-wrap;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.buttons {
    margin-top: 20px;
    text-align: center;
}

button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 10px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

footer {
    background-color: #f1f1f1;
    padding: 12px;
    text-align: center;
    border-top: 1px solid #ddd;
}

pre {
    width: 50%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin:0!important;
    background-color: #f9f9f9;
    overflow-y: auto;
    white-space: pre-wrap;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

code {
    display: block;
    line-height: 1.6;
}
