@font-face {
  font-family: nerd;
  src: url(./3270NerdFont-Regular.ttf);
}

#pause {
  cursor: pointer;
}

body {
  background: black;
  color: lime;
  font-family: nerd;
}

#main {
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

#shell {
  background: #121212;
  padding: 10px;
}

#radio {
  padding: 10px;
  border: 5px solid black;
  border-right: 5px solid #0B0B0B;
  border-left: 5px solid #0B0B0B;
  margin-bottom: 10px;
  background-color: #020202;
  height: 150px;
  width: 235px;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: wrap;
  overflow-y: scroll;

  pre {
    white-space: pre-wrap;
    word-break: keep-all
  }
}

#freq {
  background-color: #020202;
  color: lime;
  border: 5px solid black;
  border-right: 5px solid #0B0B0B;
  border-left: 5px solid #0B0B0B;
  font-family: nerd;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


#knob_top {
  margin-left: auto;
  margin-right: 20px;
  height: 3px;
  background: #000000;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 16%, rgba(18, 18, 18, 1) 16%, rgba(18, 18, 18, 1) 32%, rgba(0, 0, 0, 0) 32%, rgba(0, 0, 0, 0) 48%, rgba(18, 18, 18, 1) 48%, rgba(18, 18, 18, 1) 64%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, 0) 80%, rgba(18, 18, 18, 1) 80%, rgba(18, 18, 18, 1) 100%);
  max-width: 50px;
}

#knob {
  margin-left: auto;
  margin-right: 20px;
  height: 30px;
  background: linear-gradient(90deg, rgba(11, 11, 11, 1) 0%, rgba(11, 11, 11, 1) 16%, rgba(18, 18, 18, 1) 16%, rgba(18, 18, 18, 1) 32%, rgba(11, 11, 11, 1) 32%, rgba(11, 11, 11, 1) 48%, rgba(18, 18, 18, 1) 48%, rgba(18, 18, 18, 1) 64%, rgba(11, 11, 11, 1) 64%, rgba(11, 11, 11, 1) 80%, rgba(18, 18, 18, 1) 80%, rgba(18, 18, 18, 1) 100%);
  max-width: 50px;
}

#knob_spacer {
  height: 30px;
  width: 50px;
  margin-left: auto;
  margin-right: auto;
}

#slider {
  position: absolute;
  margin-left: 0px;
  margin-right: 0px;
  top: 30px;
  height: 50px;
}

input[type="range"] {
  /* removing default appearance */
  -webkit-appearance: none;
  appearance: none;
  /* creating a custom design */
  position: absolute;
  left: 0px;
  right: 0px;
  cursor: pointer;
  outline: none;
  background: #00000000
}


input[type="range"]::-webkit-slider-thumb {
  /*  ...  */
  /*  slider progress trick  */
  visibility: hidden;
  color: #00000000;
  background: #00000000;
  overflow: hidden;
  border: #00000000;

}

/* Thumb: Firefox */
input[type="range"]::-moz-range-thumb {
  /*  ...  */
  /*  slider progress trick  */
  -moz-appearance: none;
  display: none;

  color: #00000000;
  background: #00000000;
  overflow: hidden;
  border: #00000000;
}




#frequency_indicator {
  display: flex;
  gap: 3px;
}

.arrow_buttons {
  width: 50px;
  height: 50px;
  background: #121212;
  color: white;
  border: 5px solid black;
  border-top: 5px solid #0B0B0B;
  border-bottom: 5px solid #0B0B0B;
}

.arrow_buttons:active {
  background: #050505;
  border: 5px solid black;
  border-right: 5px solid #0B0B0B;
  border-left: 5px solid #0B0B0B;
}

#keypad {
  display: flex;
  gap: 3px;
  flex-direction: column;
  padding-top: 3px;
}

.keypad_column {
  flex-direction: row;
  gap: 0px;
}

.key {
  width: 82px;
  height: 50px;
  background: #121212;
  color: white;
  border: 5px solid black;
  border-top: 5px solid #0B0B0B;
  border-bottom: 5px solid #0B0B0B;
}

.key:active {
  background: #050505;
  border: 5px solid black;
  border-right: 5px solid #0B0B0B;
  border-left: 5px solid #0B0B0B;
}
