body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5;
    color: #333;
}

#container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: start;
}

.section {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

h3 {
    margin-top: 0;
    color: #007bff;
}

textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

textarea {
    height: 400px;
    font-family: inherit;
    resize: vertical;
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #218838;
}

.generated-syntax {
    word-wrap: break-word;
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    margin-top: 10px;
}

.output {
    grid-column: span 2;
}

#examples p {
    background-color: #e9ecef;
    border-radius: 5px;
    padding: 5px;
    margin-top: 5px;
}

@media (max-width: 600px) {
    #container {
        grid-template-columns: 1fr;
    }

    .output {
        grid-column: span 1;
    }
}

h1 {
    text-align: center;
    margin: 20px 0;
    color: #007bff;
}
