@import url("https://fonts.googleapis.com/css2?family=Space+Mono&display=swap");

* {
  margin: 0;
}

body {
  margin: 0;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: radial-gradient(#2a0a1f, #140a11);
  font-family: "Space Mono", monospace;
}

.container {
  padding: 5px;
  color: white;
  border: 1px solid whitesmoke;
  border-radius: 10px;
  height: 95vh;
  width: 100%;
  box-sizing: border-box;
}
.header {
  padding: 1em;
  border: 2px solid greenyellow;
  border-radius: 10px;
}
.previous-cmds {
  margin: 0.5em 0.5em;
  font-size: 18px;
}
.scroll {
  overflow-y: scroll;
  margin-bottom: 2em;
}

.command-line {
  margin-bottom: 2em;
  flex-wrap:wrap;
}
.cmd-prefix {
  color: greenyellow;
  margin: 0 0.5em;
  font-size: 18px;
  word-break: keep-all;
}
.cwd {
  color: violet;
  font-size: 18px;
}

input,
input:active,
input:enabled,
input:focus {
  min-width: 100px;
  max-width:100%;
  height: auto;
  background-color: transparent;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: white;
  -webkit-text-fill-color: white;
  outline: none;
}

.cmd-identified:focus {
  -webkit-text-fill-color: yellow;
  font-weight: 700;
}
.row {
  display: flex;
  flex-direction: row;
}
.col {
  display: flex;
  flex-direction: column;
}

.help-comment {
  margin-left: 0.5em;
}
.help-p {
  margin-left: 0.5em;
}

.ls-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.ls-folder {
  color: cornflowerblue;
  margin: 5px;
}

.ls-file {
  display: flex;
  margin: 5px;
}

@media (max-width: 500px) {
  .container p {
    font-size: 16px;
  }
  textarea,
  textarea:active,
  textarea:enabled,
  textarea:focus {
    font-size: 16px;
  }
  .cmd-prefix {
    font-size: 16px;
  }
  .cwd {
    font-size: 16px;
  }
}

/* width */
::-webkit-scrollbar {
  width: 15px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #0277bb93;
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #015686;
}
