/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

body {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 16px;
  line-height: 1.3em;
  color: #2a3d29;
}

* {
  box-sizing: border-box;
}

a {
  color: hsl(117, 19%, 45%);
}

a:hover {
  text-decoration: none;
}

h1 {
  font-size: 2rem;
  line-height: 1.3em;
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0px;
  margin-bottom: 20px;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.root_top {
  padding: 10px;
  display: flex;
  align-items: center;
}

.root_button {
  width: 30px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.7;
}

.root_button:hover {
  background-color: #eee;
  opacity: 0.9;
}

.root_button:active {
  background-color: #ddd;
  opacity: 1;
}

.root_button_img {
  width: 20px;
  aspect-ratio: 1;
}

.root_button-hamburger {
  display: none;
}

.root_button-hamburgerclose {
  display: none;
}

a.root_logo {
  border: 0px solid hsl(117, 19%, 45%);
  border-radius: 5px;
  padding: 0px 10px 3px 10px;
  color: hsl(117, 19%, 45%);
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1.3em;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

a.root_logo:hover {
  background-color: hsl(117, 19%, 95%);
}

a.root_logo:active {
  background-color: hsl(117, 19%, 90%);
}

.root_top_fill {
  flex-grow: 1000;
}

.root_bottom {
  display: flex;
  flex-grow: 1000;
  flex-shrink: 10000;
}

.root_bottom_left {
  width: 400px;
  flex-shrink: 0;
  flex-grow: 0;
}

.root_bottom_right {
  overflow: auto;
  width: calc(100vw - 400px);
}

@media (max-width: 1000px) {
  .root_bottom_left {
    display: none;
  }
  .root_bottom_right {
    width: 100vw;
  }
  .root_button-hamburger {
    display: flex;
  }
  .root-menushown .root_bottom_left {
    width: 100vw;
    display: flex;
    position: relative;
    z-index: 100;
    animation: menushow 500ms ease-out;
  }
  .root-menushown .root_button-hamburger {
    display: none;
  }
  .root-menushown .root_button-hamburgerclose {
    display: flex;
  }
}
@keyframes menushow {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.header {
  max-width: 800px;
  margin: 0 auto;
  padding: 5px 10px;
}

.header_description {
  font-size: 1.2em;
  line-height: 1.3em;
  margin-bottom: 10px;
}

.header_icon {
  display: inline-flex;
}

.header_icon_img {
  width: 50px;
  margin-top: 0px;
  aspect-ratio: 1;
  position: relative;
}

.footer {
  font-size: 0.8rem;
  line-height: 1.3em;
  color: hsl(117, 19%, 70%);
  text-align: center;
  padding: 50px 10px 10px 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.footer_section {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.footer_item {
  padding: 0px 5px;
  border-radius: 3px;
}

a.footer_item-selected {
  background-color: hsl(117, 19%, 70%);
  color: white !important;
  text-decoration: none;
}

.footer a {
  color: hsl(117, 19%, 70%);
}

.convertor_form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.convertor_form_errors:empty {
  display: none;
}

.convertor_form_item_name {
  margin: 2px 0px;
}

.convertor_form_item_errors:empty {
  display: none;
}

.error {
  color: red;
  font-size: 0.8rem;
  line-height: 1.3em;
  padding: 0px 10px;
  animation: errorAnimation 500ms ease-out;
}

@keyframes errorAnimation {
  0% {
    transform: scale(1.02);
    opacity: 0;
  }
  100% {
    transform: scale(1);
  }
}
.input {
  border-radius: 10px;
  border: none;
  width: 100%;
  padding: 10px 10px;
  margin: 0px;
  caret-color: hsl(117, 19%, 45%);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: 2px solid #eee;
}

.input:focus {
  outline: 2px solid hsl(117, 19%, 45%);
}

textarea.input {
  min-height: 200px;
}

.convertor_output_text {
  padding: 10px;
  background-color: #eee;
  border-radius: 10px;
  border: 0px dashed transparent;
}

.convertor_output_text:empty {
  display: none;
}

.convertor_output-reloaded {
  animation: errorAnimation 200ms ease-out;
}

/*.convertor_output_files {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px 0px;
}*/
@keyframes textOutput {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
  }
}
.btn {
  border: none;
  padding: 10px 20px;
  display: block;
  width: 100%;
  border-radius: 10px;
  background: hsl(117, 19%, 45%);
  color: white;
  cursor: pointer;
  outline-color: hsl(117, 19%, 45%);
}

.btn:hover {
  background-color: hsl(117, 25%, 45%);
}

.btn:active {
  transform: perspective(10cm) rotateX(0deg) scale(0.99);
  transition: transform 200ms ease-out;
}

.convertor {
  margin: 0 auto;
  max-width: 800px;
  padding: 0px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.convertor_children {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

a.convertor_child {
  border: 1px solid #eee;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  border-radius: 10px;
  padding: 10px 3px;
  gap: 0px;
  text-decoration: none;
}

a.convertor_child:hover {
  background-color: hsl(117, 19%, 95%);
}

a.convertor_child:active {
  background-color: hsl(117, 19%, 90%);
}

.convertor_child_icon {
  width: 50px;
  aspect-ratio: 1;
}

.convertor_child_name {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.3em;
}

.convertor_output_text {
  white-space: pre-wrap;
}

.button {
  border-radius: 10px;
  border: 1px solid #eee;
  padding: 5px 10px;
  background-color: #fafafa;
  cursor: pointer;
}

.button:hover {
  background-color: hsl(117, 19%, 95%);
}

.button:active {
  background-color: hsl(117, 19%, 90%);
}

.loader {
  width: 100%;
  max-width: 220px;
  height: 5px;
  border-radius: 0px;
  color: hsl(117, 19%, 45%);
  position: relative;
  margin: 0 auto;
  display: none;
  overflow: hidden;
  outline: 1px solid;
  outline-offset: 1px;
  border-radius: 10px;
}

.loader_progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: inherit;
  background: currentColor;
  animation: l3 1s infinite ease-in;
  width: 60%;
}

.loader-exact .loader_progress {
  border-radius: none;
  animation: none;
  border-radius: 0px;
  width: var(--progress-value);
}

.convertor_form-loading .convertor_form_loader {
  display: flex;
}

.file-loading .loader {
  display: flex;
}

@keyframes l3 {
  50% {
    left: 100%;
    transform: translateX(calc(-100% - 2px));
    opacity: 0.8;
  }
  25%, 75% {
    opacity: 0.9;
  }
}
.fileupload {
  border-radius: 10px;
}

.fileupload_input {
  width: 0px;
  height: 0px;
  opacity: 0;
}

.files {
  display: flex;
  flex-direction: column;
}

.file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.file_icon {
  width: 50px;
  aspect-ratio: 1;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 5px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.file_icon_image {
  width: 30px;
  aspect-ratio: 1;
}

.file_name {
  flex-grow: 1000;
}

.file_buttons {
  flex-grow: 0;
  display: flex;
}

.file_button {
  flex-grow: 0;
  display: flex;
  cursor: pointer;
  background: none;
  padding: 0px;
  margin: 0px;
  border: none;
}

.file_button_icon {
  width: 30px;
  aspect-ratio: 1;
}

.file_button:hover {
  opacity: 0.9;
}

.file_button:active {
  opacity: 0.8;
}

.menu {
  padding-right: 10px;
  width: 100%;
}

.menu_items {
  display: none;
  flex-direction: column;
  padding-left: 20px;
}

.menu > .menu_items {
  display: flex;
  padding-left: 5px;
}

.menu_item-expanded > .menu_items {
  display: flex;
}

.menu_item {
  display: flex;
  flex-direction: column;
}

.menu_item_top:hover > .menu_item_triangle-expandable {
  opacity: 0.7;
}

.menu_item-expanded > .menu_item_top > .menu_item_triangle-expandable:first-of-type {
  transform: rotate(90deg);
}

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

.menu_item_triangle {
  width: 20px;
  aspect-ratio: 1;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.menu_item_triangle-expandable {
  opacity: 0.2;
  cursor: pointer;
}

.menu_item_triangle-expandable:hover {
  background-color: hsl(117, 19%, 95%);
}

.menu_item_triangle_img {
  width: 15px;
  aspect-ratio: 1;
}

.menu_item-selected > .menu_item_top a.menu_item_link {
  background-color: hsl(117, 19%, 45%) !important;
  color: white !important;
}

a.menu_item_link {
  font-size: 1rem;
  line-height: 1.5em;
  color: #2a3d29;
  text-decoration: none;
  padding: 2px 0px;
  border-radius: 5px;
  display: flex;
  flex-grow: 100;
}

a.menu_item_link:hover {
  background-color: hsl(117, 19%, 95%);
}

a.menu_item_link:active {
  background-color: hsl(117, 19%, 90%);
}

.menu_item_link_icon {
  width: 25px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu_item_link_icon_img {
  width: 20px;
  aspect-ratio: 1;
}

.menu_item_link_text {
  flex-grow: 100;
}
