:root {
    --background: #222;
    --text: white;
    --omnivox: #fec248;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    height: 100%;
    padding: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color-scheme: dark;
    background-color: var(--background);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
    max-width: 40rem;
    margin: auto;
    padding: 1.5rem;
    background-color: rgba(127, 127, 127, 0.4);
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 1rem;
    align-items: center;
}

h1 {
    margin: 1rem 0 2rem 0;
    line-height: 1;
    letter-spacing: 1px;
    text-wrap: balance;
    font-size: 1.8rem;
}

p {
    opacity: 80%;
    margin: 0 0 0.5rem 0;
}

label[for=fileInput] {
    margin: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background-color: var(--background);
    width: 24rem;
    max-width: 100%;
    border-radius: 0.5rem;
    padding: 1.5rem 0;
    font-size: 1.4rem;
}

input {
    font-family: inherit;
    opacity: 80%;
}

button {
    margin: 1rem;
    padding: 1rem 2rem;
    font: inherit;
    background-color: var(--omnivox);
    color: var(--background);
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
}

button:active {
    opacity: 90%;
}

button:disabled {
    opacity: 50%;
    cursor: default;
}