body,
html {
  background-color: #1d1e22;
  font-size: 1rem;
  font-family: Consolas;
}

ul.boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.elem-li {
  display: grid !important;
  align-content: center;
  width: 12rem;
  aspect-ratio: 1/1;
  border: 1px solid #2f4559;
  background-repeat: no-repeat !important;
  background-size: 100% !important;
  background-position: center !important;
  margin: 0.5%;
}

.elem-li > img {
  width: 100%;
}

.parent {
  display: grid;
  grid-template-columns: 1fr 600px;
  width: 100vw;
  overflow: hidden;
}

.div1 {
  height: 100vh;
  overflow-y: auto;
}

.div2 {
  display: grid;
  grid-template-rows: 14rem 1fr;
  font-size: 0.5rem;
  align-items: start;
  padding: 1rem;
  background-color: #262934;
}

.div2 > div {
  background-color: #262934;
}

.out-1 {
  height: 8.1rem;
  width: 100%;
  text-align: -webkit-center;
  background-color: #262934;
}

.out-2 {
  display: grid;
}

.in-code {
  font: 1rem Consolas;
  --bg4: #014885;
  --bg6: #1c1c1c;
  --in1: #147ce4;
  --in2: #00000013;
  color: var(--in1);
  padding: 9px 12px;
  border-radius: 4px;
  background: var(--bg6);
  border: 1px solid var(--bg4);
  transition: border-color ease-in-out 0.7s, box-shadow ease-in-out 0.7s;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
}

.in-code:focus {
  outline: 0;
  border-color: #66afe9;
  -webkit-box-shadow: inset 0 1px 1px var(--in2), 0 0 8px #66afe999;
}

.s-copy {
  position: relative;
  --after-content: "";
  --after-bg: transparent;
}

.s-over {
  --after-content: "Copy" !important;
  --after-bg: #69aff0;
}

.s-click {
  --after-content: "Copied" !important;
  --after-bg: #00e676;
}

.s-copy:after {
  position: absolute;
  top: -2.08rem;
  right: 0.26rem;
  background-color: var(--after-bg);
  font-size: 1rem;
  padding: 0.3rem 1.5rem;
  border-radius: 0.2rem;
  content: var(--after-content);
  opacity: 1;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 0.6rem;
}

::-webkit-scrollbar-track {
  background: #33343c;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: #21222c;
  border-radius: 3px;
}
