/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* stylesheet */

:root {
    --bg-color: rgb(244, 238, 247);
    --col-color: #fff;
    --heading-color: rgb(217, 100, 141);
    --label-color: rgb(196, 86, 126);
    --button-color: rgb(250, 218, 229);
    --button-hover-color: rgb(254, 211, 226);
    --border-color: rgb(207, 115, 147);
    --input-color: rgb(252, 247, 248);
    --text-color: rgb(144, 112, 142);
    --link-color: rgb(244, 153, 185);
    --visited-color: rgb(165, 113, 131);
    --click-color: rgb(244, 142, 178);
    --link-hover-color: rgb(255, 129, 173);
}

body {
    font-family: "arial", "helvetica", sans-serif;
    padding: 1em;
    height: calc(100vh - 2em);
    background-color: var(--bg-color);
    color: var(--text-color);
    letter-spacing: 1.5%;
}

#main, .col {
    height: 100%;
}

#wrapper {
    margin: auto;
    align-self: center;
}

h2 {
    font-weight: bold;
    margin-bottom: 1em;
    color: var(--heading-color);
    border-bottom: 1px dotted var(--border-color);
    padding-bottom: 4px;
}

#intro {
    background-color: var(--col-color);
    margin-bottom: 1.25em;
    padding: 1em;
}

.flex {
    display: flex;
    gap: 1.25rem;
    width: 100%;
}

.col {
    background-color: var(--col-color);
    padding: 1em;
}

textarea, input {
    font-size: small;
    margin-bottom: 0.5em;
    background-color: var(--input-color);
}

textarea {
    font-family: "arial", "helvetica", sans-serif;
    min-height: 5em;
    padding: 1em;
    width: calc(50% - 2em);
}

textarea, input, button {
    border: 1px solid var(--border-color);
}

input, button {
    padding: 3px;
    width: calc(50% - 6px);
}

.input {
    display: flex;
    align-items: center;
}

#output {
    width: 100%;
}

label {
    margin-left: 0.5em;
    width: calc(50% - 0.5em);
}

strong {
    font-weight: bold;
    color: var(--label-color);
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}

button {
    font-size: 0.75em;
    width: 50%;
    letter-spacing: 2.5%;
    background-color: var(--button-color);
    color: var(--label-color);
}

button:hover {
    background-color: var(--button-hover-color);
}

footer {
    margin: auto;
    background-color: var(--col-color);
    margin-top: 1.25rem;
    font-size: x-small;
    text-align: center;
    padding: 1em;
}

a {
    color: var(--link-color);
}

a:active {
    color: var(--click-color);
}

a:visited {
    color: var(--visited-color);
}

a:hover {
    color: var(--link-hover-color);
}