body {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Allow content to grow downwards */
    min-height: 100vh; /* Ensure minimum height */
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.logo {
    content: url(tzak-logo.png);
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px; /* Adjusted width back to fit the original size */
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

a {
    color:blue;
}

h1 {
    font-size: 320%;
    margin-top: -6px;
    display: inline-block;
    vertical-align: middle;
}

.tabs {
    display: flex;
    margin-bottom: 20px;
}

.tablink {
    background-color: silver;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 0px 0px 0 0;
    transition: background-color 0.3s;
    flex: 1; /* Make buttons fill the whole div */
}

.tablink:hover {
    background-color: #67db6c;
}

.tablink.active {
    background-color: #4caf50;
    color: white;
}

.tabcontent {
    display: none;
    flex-direction: column;
}

input, textarea, placeholder {
    display: flex;
    text-align: center;
    width: 92%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: #fff;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

button:active {
    background-color: #3e8e41;
}

.output {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    word-wrap: break-word; /* Ensure long text breaks appropriately */
    font-family: 'Noto Sans Mayan Numerals', sans-serif; /* Apply the special font */
}






body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

.container.dark-mode {
    background-color: #333;
    color: #e0e0e0;
}

.logo.dark-mode {
    content: url(tzak-logo-white.png);
}

.tablink.dark-mode {
    background-color: #555;
    color: #e0e0e0;
}

.tablink.dark-mode.active {
    background-color: #4caf50;
    color: white;
}

a.dark-mode {
    color:#ADD8E6;
}

input.dark-mode, textarea.dark-mode {
    background-color: #555;
    color: #e0e0e0;
    border-color: #777;
}

button.dark-mode {
    background-color: #4caf50;
    color: white;
}

button.dark-mode:hover {
    background-color: #45a049;
}

button.dark-mode:active {
    background-color: #3e8e41;
}

.output.dark-mode {
    color: #e0e0e0;
}




.dark-mode-toggle {
    text-align: right;
    margin-bottom: 10px;
}

.dark-mode-toggle i {
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    background-color: #333;
    color: #fff;
    border-radius: 3px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-flex;
}

.dark-mode-toggle i:hover {
    background-color: #555;
}

/* Styles for the dark mode active state */
body.dark-mode .dark-mode-toggle i {
    background-color: #fff;
    color: #333;
}

body.dark-mode .dark-mode-toggle i:hover {
    background-color: #ddd;
}
