@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap");

html,
body {
  inset: 0;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  background-color: rgb(20, 20, 20);
}

* {
  font-family: "Google Sans Code", monospace;
}

#code {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

#inputArea,
#outputArea {
  border: 1px solid lightblue;
  border-radius: 5px;
  height: 90vh;
  background-color: rgb(40, 40, 40);
}

#inputArea {
  width: 22%;
  min-width: 10%;
  resize: horizontal;
  padding: 2px;
  overflow-x: scroll;
  color: white;
  margin: 0;
  font-size: 1rem;
  font-family: "Google Sans Code", monospace;
}
#inputArea:focus {
  outline: none;
}

#outputArea {
  min-width: 30%;
  height: calc(90vh + 4px);
  flex: 1;
}

#controls {
  float: right;
}
#controls > * {
  
  cursor: pointer;
}

#tabs {
  display: flex;
  flex-direction: row;
  gap: 5px;
}

.tab {
  background-color: lightblue;
  border-radius: 5px 5px 0 0;
  padding: 5px;
  min-width: 5vw;
  cursor: pointer;
}

.tab input {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  width: fit-content;
}

.tab input:focus {
  background-color: white;
  outline: 2px solid black;
  border-radius: 2px;
}

button {
  background-color: lightblue;
  border: none;
  border-radius: 5px;
  padding: 5px;
}