@import './base.css';

#app {
  width: 100%;
  height: 100%;

  margin: 0 auto;
  padding: 2rem;

  font-weight: normal;
}

* {
  font-family: BookInsanityRemake;
}

a {
  text-decoration: none;
  color: rgb(0, 135, 189);
  transition: 0.4s;
}

@media (min-width: 1024px) {
  body {
    display: block;
  }

  #app {
    padding: 0 0;
    display: flex;
    flex-direction: row;
    width: inherit;
  }
}

.icon {
  @media (prefers-color-scheme: dark) {
    filter: invert(0.7);
  }
}

.icon-add-margin {
  width: 16px;
  height: 16px;
  margin: 4.25px;
}

.buttons-row {
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.button-row {
  margin-left: 5px;
  margin-right: 5px;
  flex-grow: 1;
}

.btn-green {
  background-color: var(--c-button-green);
}
.btn-green:hover {
  background-color: var(--c-button-green-hover);
}

.btn-red {
  background-color: var(--c-button-red);
}
.btn-red:hover {
  background-color: var(--c-button-red-hover);
}

hr {
  border: 0;
  height: 1px;
  width: 30%;
  overflow: visible;
  position: relative;
  margin: 16px auto 16px auto;
  background-color: var(--separator);
}

hr:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--separator);
  position: absolute;
  transform: rotate(45deg);
  top: -2.5px;
  left: 50%;
  margin: -1px 0 0 -1px;
}

label {
  margin-bottom: 10px;
}

input[type=text], input[type=password], input[type=email] {
  background-color: var(--color-background-softer);
  border: none;
  padding: 12px;
  border-radius: 6px;
  color: var(--color-text);
  transition: 300ms background-color;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus {
  outline: none;
  background-color: var(--color-background-softest);
}

button {
  margin-top: 5px;
  margin-bottom: 5px;
  
  padding: 14px;
  font-size: 15px;
  border-radius: 6px;
  outline: none;
  border: none;

  transition: 300ms background-color;
  background-color: var(--color-background-softer);
  color: var(--color-text);
}

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

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

.render-image {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.parameters {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px;
}

.param-element {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.param-text {
  margin-right: auto;
}

.param-value {
  margin-left: auto;
}
