body {
	font-family: Roboto;
	color: #666;
	padding: 0px;
	margin: 0px;

	position: relative;
	min-height: 100vh;
}

form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

input[type="file"],
textarea {
	background-color: #f9f9fb
}

p,
div,
input[type="file"],
textarea,
canvas {
	width: 80%;
	max-width: 800px;
	margin-bottom: 20px;
	font-size: 16px;
	font-family: Arial, sans-serif;
	box-sizing: border-box;
}

textarea {
	resize: vertical;
	padding: 10px;
}

div,
p {
	text-align: justify;
	line-height: 1.6;
}

div {
	font-size: 0.9rem;
}

canvas,
input[type="file"],
textarea {
	color: #333;
	border-radius: 5px;
	border: 1px solid #e4e4e4;
}

input[type="file"]::file-selector-button,
button {
	color: #666;
	background-color: #fff; /* Green */
	filter: drop-shadow(0px 4px 4px #ddd);
	border: 1px solid #ccc;
	border-radius: 5px;
	padding: 10px 24px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1rem;
}

input[type="file"]::file-selector-button:hover,
button:hover {
	border: 1px solid #aaa;
}

#generate-btn,
#data,
.result {
	display: none;
}

canvas {
	aspect-ratio: 1.6;
}

#data,
#source {
	font-family: monospace;
	font-size: 0.9rem;
}

#intro {
	margin-top: 80px;
}

#error {
	color: #df0020;
}

nav {
	position: fixed;
	top: 0;
	width: 100%;
	color: #fff;
	background-color: #333;
	filter: drop-shadow(0px 5px 5px #aaa);
	margin-bottom: 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1;
	padding: 10px;
}

#title {
	font-size: 18px;
}

#logo {
	width: 100px;
    float:left;
	margin-right: 7px;
}

footer {
	color: #ccc;
	background-color: #000;
	width: 100%;
	bottom: 0;
	position: absolute;
}

#footer {
	font-size: 0.8rem;
	margin: 0px;
	padding: 10px;
}


.wait-button {
    transition: padding-right .3s ease-out;
}
.wait-button.waiting {
    padding-right: 40px;
}
.wait-button.waiting:after {
    content: "";
    position: absolute;
    border-radius: 100%;
    right: 6px;
    top: 50%;
    width: 0px;
    height: 0px;
    margin-top: -2px;
    border: 2px solid rgba(92,92,92,0.5);
    border-left-color: #666;
    border-top-color: #666;
    animation: spin .6s infinite linear, grow .3s forwards ease-out;
}
@keyframes spin { 
    to {
        transform: rotate(359deg);
    }
}
@keyframes grow { 
    to {
        width: 14px;
        height: 14px;
        margin-top: -8px;
        right: 13px;
    }
}