* {
  box-sizing: border-box;
  position: relative;
}

:root {
  --content-max-width: 700px;
  --font-family-default: 'Work Sans', sans-serif;
  --font-family-headings: 'Open Sans' sans-serif;
  --font-family-nav: 'Montserrat';
}

html, body {
  margin: 0;
  width: 100%;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-family: var(--font-family-default);
  font-weight: 300;
  background: linear-gradient(180deg, transparent, transparent, #96c8e6, #48baff, #48baff);
}

h1 {
  font-family: var(--font-family-headings);
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.result-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0;
  margin: 0;
}

.input-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid #ebebeb;
  box-shadow: 0px 0px 5px #ababab;
  border-radius: 5px;
  padding: 0.2rem;
  width: 100%;
  margin: 0.5rem 0;
}

.highlight-focus:focus-within {
  box-shadow: 0px 0px 0px 2px #32a6ff;
}

.input-label {
  margin: auto 0 auto 0.5rem;
  font-size: 0.75rem;
}

.input-label-left {
  margin-right: 0.5rem;
}

.horz-inputs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.horz-inputs .input-wrapper:not(:first-child) {
  margin-left: 0.5rem;
}

.align-right {
  text-align: right;
}

.input-wrapper small {
  position: absolute;
  left: 0;
  bottom: 100%;
  font-size: 0.65rem;
  font-weight: bold;
  background-color: white;
  box-shadow: 0px 0px 0px 2px #ffffff;
  border-radius: 2px;
}

.input-dropdown {
  width: 100%;
}

.input-dropdown:focus-within input {
  z-index: 999999;
}

.input-dropdown .dropdown {
  display: none;
  width: min-content;
  height: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  z-index: 999998;
  overflow: visible;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.dropdown.is-open {
  display: flex;
  box-shadow: 0px 0px 15px #777777;
}

.option {
  width: 100%;
  cursor: pointer;
  padding: 0.1rem 0.5rem;
}

.option:not(:first-child) {
  border-top: 1px solid #ebebeb;
}

.option .tooltip {
  display: none;
  position: absolute;
  align-items: center;
  justify-content: center;
  left: 100%;
  top: 0;
  color: #ffffff;
  background-color: #32a6ff;
  height: 100%;
  width: max-content;
  padding: 0 0.5rem;
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
}

.option:hover, .option:focus {
  background-color: #ebebeb;
}

.option:hover .tooltip, .option:focus .tooltip {
  display: flex;
}

.hidden {
  display: none;
}

input, textarea {
  width: 100%;
  border: 1px solid #ebebeb;
  border-radius: 3px;
  font-family: var(--font-family-default);
}

input:focus, textarea:focus {
  outline: none;
  border: 1px solid black;
}

.input-error {
  background-color: #ffcccc;
}

.page-logo {
  height: 2rem;
  margin-top: 1rem;
}

button {
  border-radius: 2px;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
}

button:not(:first-child) {
  margin-left: 0.5rem;
}

textarea.no-resize {
  resize: none;
}

.copy-button {
  background-color: #32a6ff;
}

.paste-button {
  background-color: #ffa632;
}

.copy-button:hover {
  background-color: #1084dd;
}

.paste-button:hover {
  background-color: #dd8410;
}

.play-button {
  background-color: #00af63;
}

.play-button:hover {
  background-color: #007341;
}

.reset-button {
  background-color: #505050;
}

.reset-button:hover {
  background-color: #909090;
}

.load-button {
  background-color: #00af63;
}

.load-button:hover {
  background-color: #007341;
}

.full-width {
  width: 100%;
}

.button-label {
  margin-left: 0.5rem;
  font-size: 0.65rem;
  font-weight: bold;
}

.copied {
  color: #32a6ff;
  background-color: #ffffff;
}

.copied:hover {
  background-color: #ebebeb;
}

.divider-horz {
  width: 100%;
  background-color: #ebebeb;
  height: 0.1rem;
  margin: 1rem 0;
}

.recent-items-container {
  width: 100%;
  min-height: 50rem;
  color: #ffffff;
  margin-top: 3rem;
  font-size: 0.75rem;
}

.recent-items-container h3 {
  font-size: 1rem;
  position: absolute;
  left: 0;
  bottom: 100%;
}

.recent-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 1rem;
  background-color: #ffffff;
  border-radius: 5px;
  color: #000000;
  padding: 0.5rem;
}

.hidden {
  display: none;
}
