body {
  font-size: 1rem;
  font-family: Muli, quicksand, sans-serif;
  box-sizing: border-box;
  background-color: rgb(248, 243, 232);
  text-align: center;
  position: relative;
  margin: 0px;
  padding: 0px !important;
}
.app {
  font-size: 1.125rem;
}
a {
  color: hsl(163, 36%, 37%);
  text-decoration: none;
  font-weight: 400;
}
h1 {
  font-size: 2.25rem;
}

.button-wrapper.hidden .uploader-button {
  background-color: #ccc;
  cursor: not-allowed;
}

.bold {
  margin-top: 3rem;
  font-weight: 600;
  font-family: "Meloso", sans-serif;
}
.italic {
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
}

.uploader-button {
  background-color: hsl(163, 36%, 37%);
  padding: 10px 14px;
  border-radius: 40px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: Muli, quicksand, sans-serif;
  margin-top: 1rem;
  line-height: 1.1rem;
}

a.uploader-button {
  height: 1.1rem;
}

#app-icon:hover {
  transform: rotate(360deg);
  transition: transform 1s;
  transition-timing-function: ease-in-out;
}

.wrapper {
  padding: 2rem;
}

@media only screen and (max-width: 800px) {
  .wrapper {
    padding: 1.5rem 0.5rem;
  }
  h1 {
    font-size: 2rem;
  }
}

.app-wrapper {
  width: 100%;
  max-width: 600px;
  margin: auto;
  position: relative;
  min-height: 100vh;
}

#not-allowed-overlay {
  display: none;
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 100%;
  background-color: rgb(248, 243, 232);
  padding: 2rem;
  font-family: "Meloso";
  font-size: 2rem;
}

#app-icon {
  height: 200px;
  width: 200px;
}

input {
  font-family: Muli, quicksand, sans-serif;
  padding: 0.5rem 0.75rem;
  border: 2px solid #13121b;
  border-radius: 5px;
  box-sizing: border-box;
  width: 100%;
  font-size: 1rem;
}
input:focus,
select:focus {
  outline: none;
  border: 2px solid hsl(163, 36%, 37%);
  transition: all 0.2s;
}

h1 {
  margin-top: 1rem;
  font-family: "Meloso";
  font-weight: 400;
}
#loading {
  display: none;
}
.loading-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  font-size: 1rem;
  color: #333;
}
.icon-right {
  margin-right: 1rem;
}
.purple {
  color: hsl(163, 36%, 37%);
}
.cream {
  color: rgb(248, 243, 232);
}
.red {
  color: #f36464;
}

#name-table {
  width: 100%;
  max-width: 500px;
  margin: auto;
  margin-top: 2rem;
}

table td {
  text-align: left;
}

table {
  width: 100%;
  background-color: white;
  padding: 1rem;
  border: 2px solid #13121b;
  border-radius: 5px;
}

th {
  display: table-cell;
  vertical-align: inherit;
  font-family: Meloso, sans-serif;
  font-weight: bold;
  text-align: left;
}

th,
td {
  padding: 0 0.5rem 0.5rem 0.5rem;
  word-break: break-all;
}

/* First th or td in row gets fixed width of 70px */
th:first-child,
td:first-child {
  width: 70px;
}

table {
  margin-top: 2rem;
}

#form {
  padding: 0px 0.5rem;
}

.error {
  color: #f36464;
}

.warning {
  color: #ea7f2d;
}
.info {
  color: #427fbc;
}
.success {
  color: #4caf50;
}

#credits {
  font-size: 0.875rem;
  margin-top: 5rem;
  height: 50px;
  width: 100%;
  text-align: center;
}

.tab-wrapper {
  width: 100%;
  min-height: 50px;
}

#results {
  margin-top: 2rem;
  display: none;
}

#results-tabs-labels {
  display: flex;
  justify-content: center;
}

.tab-label {
  border: 2px solid #13121b;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 8px 1rem;
  font-family: inherit;
  background-color: #eee;
  transform: translateY(2px);
  height: 43px;
  display: flex;
  align-items: center;
  margin-left: 0.125rem;
  margin-right: 0.125rem;
}

.tab-label.active {
  border-bottom: none;
  background-color: white;
  /* transform: translateY(4px); */
}

.affiliate-cell {
  width: 85px;
  text-align: right;
}

@media only screen and (max-width: 800px) {
  body {
    padding: 0.5rem;
  }
  .tab-label {
    padding: 8px 8px;
  }
  #app-icon {
    height: 160px;
    width: 160px;
  }
}

#search-string-header {
  display: none;
  display: block;
  margin-top: 2rem;
}

#prompt {
  opacity: 1;
  transition: all 0.2s;
}

/* Advanced */
.advanced-options {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

#advanced-options-box-contents label {
  margin-right: 0.5rem;
}

@media only screen and (max-width: 800px) {
  #advanced-options-box-contents label {
    margin-right: 0rem;
  }
}

.line {
  height: 2px;
  width: auto;
  background-color: hsl(163, 36%, 37%);
  flex-grow: 1;
}

#advanced-button {
  display: block;
  border: none;
  background-color: transparent;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  color: #13121b;
}

#advanced-chevron {
  font-size: 0.6rem;
}

.collapsed {
  /* transform: scaleY(0);
  transform-origin: top; */
  height: 0px;
  transition: all 0.5s;
}

.opened {
  /* transform: scaleY(1); */
  height: 80px;
  transition: all 0.5s;
  /* transform-origin: top; */
}

.faded {
  opacity: 0;
  transition: all 0.5s;
}

.not-faded {
  opacity: 1;
  transition: all 0.5s;
}

#advanced-chevron {
  display: block;
  margin-left: 5px;
}

.rotated {
  transform: rotate(180deg);
  transition: all 0.5s;
}

.not-rotated {
  transform: rotate(0deg);
  transition: all 0.5s;
}

.select {
  color: #13121b;
  background-color: white;
}

#dictionary-list ul li {
  margin-bottom: 0.5rem;
  list-style-type: none;
  background-color: hsl(163, 36%, 37%);
  color: white;
  border-radius: 20px;
}

#dictionary-list ul li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}
