:root {
  --bg-i: #282a36;
  --bg-ii: #1d1e22;
  --bg-iii: #ffd900a6;
  --bg-iiii: #2f2c1d;
  --bg-iiiii: #1e90ff59;
  --bg-6i: #1e90ffd6;
  font-family: Consolas;
  font-size: 1.1em;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;
  background-color: var(--bg-ii);
  background-image: url("../img/0-bg.png");
  background-repeat: repeat;
  color: #daa520;
}

* {
  box-sizing: border-box;
}

#myInput {
  background-image: url("../img/search.svg");
  background-position: 10px 12px;
  background-size: 21px;
  background-repeat: no-repeat;
  background-color: #0000003b;
  width: 100%;
  padding: 12px 20px 12px 40px;
  border: 1px solid #000000;
  border-radius: 4px;
  margin-bottom: 12px;
  color: #e4c646;
  font-size: 1em;
  transition: border-color ease-in-out 0.7s, box-shadow ease-in-out 0.7s;
}

#myInput,
textarea {
  display: inline;
  transition: all 3s ease;
  box-shadow: inset 0 1px 1px var(--bg-iiii);
  transition: border-color ease-in-out 0.7s, box-shadow ease-in-out 0.7s;
}

textarea {
  width: 100%;
  resize: none;
  display: block;
  padding: 3px 5px;
  overflow-y: auto;
  border-radius: 3px;
  color: #29b629;
  font-size: 1.1em;
  font-family: Consolas;
  background-color: #000000;
  border: 1px solid #1e90ff59;
}

textarea:focus {
  outline: 0;
  border-color: var(--bg-6i);
  box-shadow: inset 0 1px 1px var(--bg-iiiii), 0 0 8px var(--bg-iiiii);
}

#myInput:focus {
  outline: 0;
  border-color: var(--bg-iii);
  box-shadow: inset 0 1px 1px var(--bg-iii), 0 0 8px var(--bg-iii);
}

button {
  height: 54px;
  text-decoration: none;
  background-color: #42310745;
  color: #d2691e;
  border: 1px solid #d2691e2b;
  border-radius: 3px;
  padding: 0 20px 0 20px;
  line-height: 38px;
  margin-left: 6px;
  text-align: center;
  transition: background-color 0.3s;
  font-size: 1em;
}

button:hover {
  background-color: #6394ec45;
  color: #7aa5f5;
}

#myUL {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

a {
  color: #d2691e;
  text-decoration: none;
  width: 100%;
  height: 100%;
  display: table-row;
}

#myUL li a:hover:not(.header) {
  z-index: auto;
}

.selected {
  opacity: 0.6;
  background-color: rgba(255, 0, 0, 0.363);
}

/* --------------- GRID -------------------- */

.parent {
  display: grid;
  grid-template-columns: 1fr 10fr;
  grid-template-rows: 1fr 20fr 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  height: 100vh;
}

.parent > div {
  z-index: auto;
}

.div2 {
  grid-area: 2 / 1 / 3 / 2;
  width: 350px;
  width: 350px;
  padding: 10px;
  border-left: 1px dashed #423107;
}

.div3 {
  grid-area: 2 / 2 / 3 / 3;
  border: 1px dashed #423107;
  border-top: 0px;
  border-bottom: 0px;
  text-align: center;
  padding: 10px;
  overflow-y: scroll;
}

.container-code {
  margin: 0 auto;
  max-width: 1000px;
}

.off {
  display: none;
}

.h-100 {
  height: 100%;
}

.h-fit {
  height: fit-content;
}

.max-width-1000 {
  max-width: 1000px;
  margin: 0 auto;
}

.grid-center {
  display: flex;
  justify-content: center;
  /* по оси [x] */
  align-items: center;
  /* по оси [y] */
}

/* width */
::-webkit-scrollbar {
  width: 13px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #1c1e22;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #212326;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #26282b;
}
