:root {
    color-scheme: light dark;
}

div {
    display: grid;
    justify-content: center;
    align-items: center;
    white-space: pre-wrap;
}

p {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
}

button {
    width: 6rem;
    height: 2rem;
    font-size: 1rem;
    font-weight: bold;
}

button:hover {
  filter: brightness(50%);
}

#image::file-selector-button {
    background-color: yellow;
    color: black;
    border-color: black;
    border-radius: 5px;
    height: 2rem;
    font-size: 1rem;
    font-weight: bold;
}

#image::file-selector-button:hover {
  filter: brightness(50%);
}

#password {
    height: 2rem;
    width: 21rem;
    font-size: 1rem;
}

#encode {
    background-color: darkorange;
    color: black;
    border-color: black;
    border-radius: 5px;
}

#decode {
    background-color: cyan;
    color: black;
    border-color: black;
    border-radius: 5px;
}

#download-image {
    background-color: greenyellow;
    color: black;
    border-color: black;
    border-radius: 5px;
}

#download-message {
    background-color: greenyellow;
    color: black;
    border-color: black;
    border-radius: 5px;
}

#preview {
    display: block;
    justify-content: center;
    justify-self: center;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
