body {
    font-family: Arial, sans-serif;
    background-color: #2e1e34;
    max-width: 100%;
    margin: 0;
    min-height: 100vh;
    border-radius: 0;
    padding: 0 20em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

* {
    color: aliceblue;
    border-color: #555555;
    border-radius: 10px;
}

input, button, select {
    background-color: #44444444;
}

#title {
    text-align: center;
}

#data {
    flex-grow: 1;
    min-height: 15em;
    font-family: monospace;
    font-size: 16px;
    background-color: #0000;
    border: none;
    border-radius: 10px;
    color: white;
    resize: none;
}

#template-select {
    width: 100%;
    border-width: 2px;
    border-style: solid;
    min-height: 2.5em;
}

.drop-zone {
    height: auto;
    display: flex;
    width: 100%;
    border-width: 2px;
    box-sizing: border-box;
    border-style: solid;
}

.drop-zone:hover {
    background-color: #44444444;
    border-style: solid;
}

.invisible {
    display: none;
}

.link, a {
    font-weight: bold;
    text-decoration: underline;
}
#template-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.submit-section {
    display: flex;
    gap: 1em;
    height: 2.2em;
}
.submit-section > * {
    height: 100%;
    box-sizing: border-box;
}

.h-divider {
    height: 2px;
    margin: 2em 0;
    width: 40%;
    background-color: #555555;
}

section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#generated-section {
    gap: 0.5em;
    margin-bottom: 2em;
}
.generated-item {
    width: 100%;
    display: flex;
    gap: 2em;
    align-items: center;
    justify-content: flex-end;
    border-width: 2px;
    border-style: solid;
    padding: 0.5em;
    height: 2.2em;
    background-color: #44444422;
}
.generated-item > button {
    height: 100%;
    box-sizing: border-box;
}
.generated-template {
    justify-self: flex-start;
    flex-grow: 1;
}
.qr-code {
    width: 20em;
    height: 20em;
    margin-top: 1em;
    image-rendering: pixelated;
}