/* Vite OOB */
:root {
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  font-size: 0.8em;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

/* Custom: main grid layout */
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 8px 8px;
  grid-template-areas:
    "left middle right"
    "left middle right"
    "left middle right";
}

.left { grid-area: left; }
.middle { grid-area: middle; }
.right { grid-area: right; }

/* Grid customizations */
.container {
  text-align: left;
}

.left, .middle, .right {
  display: flex;
  flex-direction: column;
}

.container>div>div {
  border: 1px solid #3e3e3e;
  background: #2d2d2d;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
}

/* Content */
/*
.middle>div>div,
.middle>div>p,
.middle>div>ul {
  max-height: 200px;
  overflow-y: scroll;
}
*/

h2 {
  margin: 8px 0px;
  color: #8481bf;
}

.input div {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.input textarea,
.input button,
.input select {
  flex: 1;
  margin-bottom: 8px;
}

.input select {
  padding: 8px;
}

.input label {
  padding-bottom: 4px;
}

#add, #ing, #ste {
  white-space: pre-line;
}

/* Ripple effect: https://codepen.io/finnhvman/pen/jLXKJw */
.ripple {
  background-position: center;
  transition: background 0.5s;
}
.ripple:hover {
  background: #1a1a1a radial-gradient(circle, transparent 1%, #646cff 1%) center/15000%;
}
.ripple:active {
  background-color: #4e55e1;
  background-size: 100%;
  transition: background 0s;
}
