/* 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;
}
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  font-family: helvetica;
}

p {
  line-height: 1.4;
  margin: 5px;
}

h2 {
  font-size: 1.4em;
  margin: 5px;
  line-height: 2em;
}

h3 {
  font-size: 1.2em;
  line-height: 2em;
  margin: 5px;
}


@font-face {
  font-family: fredoka;
  src: url(3888a8fd758c9b59eda47b220ee999df.ttf);
}

.advert-container {
  padding: 20px;
  border-bottom : solid 2px black;
  background: gold;
}

.advert {
  background: white;
  margin: auto;
  height: 50px;
  width: 500px;
}

.title-container {
  background: dodgerblue;
  padding: 10px;
}

.title {
  font-size: 2em;
  font-family: fredoka;
}

.sub-title {
  font-size: 1.2em;
  font-style: italic;
}

.navigation {
  padding: 10px;
  padding-top: 0;
  background: dodgerblue;
}
.navigation a {
  color: white;
  padding-right: 10px;
}

body {
  background: lightgrey;
}

.container {
  display: grid;
  height: 100vh;
  width: 100vw;
  grid-template-areas:
    "upper-part upper-part"
    "input output";
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;
}

.upper-part {
  grid-area: upper-part;
}

.tooltip {
  display: none;
  font-size: 12px;
  position: absolute;
  left: 20px;
  top: 20px;
  border: solid 1px;
  min-width: 20vw;
  background: white;
  border-radius: 4px;
  box-shadow: 1px 1px 4px 1px rgba(1, 1, 1, 0.2);
  padding: 10px;
  z-index: 1;
}


label:after {
  content: ':'
}

.tooltip-container {
  position: relative;
}

.tooltip-trigger {
  width: 14px;
  height: 14px;
  display: inline-block;
  background-image: url(98b6e5a6454fd23c15f914b0b4913deb.svg);
  margin-right: 5px;
  margin-left: 5px;
}

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

.parameters > div {
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.parameters label {
  margin-right: 5px;
}

.section {
  padding: 10px;
}

.convert-button {
  margin: 10px;
  border: none;
  border-radius: 4px;
  border: solid 1px darkgreen;
  padding: 5px;
  background: green;
}

.convert-button:hover {
  background: limegreen;
}

.input-pane,
.output-pane {
  overflow: scroll;
  font-family: courier;
  font-size: 10px;
  background: white;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
}

.input-pane {
  grid-area: input;
  margin-right: 5px;
  margin-left: 10px;
  resize: none;
}

.output-pane {
  grid-area: output;
  position: relative;
  margin-right: 10px;
  margin-left: 5px;
}

.copy-button {
  position: absolute;
  right: 10px;
  top: 10px;
}

:invalid {
  border-color: red;
}

