body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: url('images/endecode/endecode-background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f4f4f4;
}

footer {
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 10px;
}

header {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
}

h1 {
    margin: 0;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.switch {
    text-align: right;
    margin-bottom: 10px;
}

button {
    padding: 10px 20px;
    background-color: #00ff00;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #00cc00;
}

textarea {
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    margin-bottom: 10px;
    resize: none; /* Disable resizing */
    background: rgba(0, 0, 0, 0.5);
    color: #00ff00;
    border: 1px solid #fff; /* White border */
    padding: 10px;
    font-family: Arial, sans-serif;
}

textarea#message, textarea#decode-message {
    height: 150px;
}

select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #fff; /* White border */
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #00ff00;
}

#result {
    display: block;
    word-wrap: break-word;
    white-space: pre-wrap; /* Preserve whitespace */
    max-width: 100%;
    overflow-x: auto; /* Horizontal scrollbar if needed */
    background: rgba(0, 0, 0, 0.5);
    color: #00ff00;
    padding: 10px;
    border: 1px solid #fff; /* White border */
}

.buttons {
    text-align: center;
}

section {
    margin-bottom: 20px;
}
