@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #000000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    width: 400px;
    height: auto;
}

h1 {
    text-align: center;
}

.converter {
    display: flex;
    gap: 20px;
}

.input-area, .output-area {
    flex: 1;
}

textarea {
    width: 100%;
    height: 300px;
    resize: vertical;
    font-family: 'Courier New', Courier, monospace;
    color: #000000; /* Ensure text is black */
}

#html-output {
    border: 1px solid #ccc;
    min-height: 300px;
    padding: 10px;
    white-space: pre-wrap;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000000; /* Ensure text is black */
}

.button-group {
    margin-top: 10px;
}

button {
    padding: 5px 10px;
    margin-right: 10px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #000000; /* Ensure text is black */
}

/* Table styles */
#html-output table {
    border-collapse: collapse;
    width: 100%;
}

#html-output th,
#html-output td {
    border: 1px solid #ddd;
    padding: 8px;
    color: #000000; /* Ensure text is black */
}

#html-output tr:nth-child(even) {
    background-color: #f2f2f2;
}

#html-output th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.4); /* 40% black for table headers */
    color: #000000; /* Ensure text is black */
}

/* Alternating column colors */
#html-output td:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.25);
}

/* Ensure all text in the HTML output is black */
#html-output * {
    color: #000000;
}