:root {
  --primary-color: #7aa2f7;
}

body {
  font-size: 15px;
  color: #c0caf5;
}

h1 {
  color: var(--primary-color);
}

pre {
  background-color: #16161e;
  padding: 10px;
  border-radius: 10px;
  overflow: auto;
  margin-top: 5px;
}

.search {
  display: flex;
  height: 40px;
}

.search input {
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  background: transparent;
  border: none;
  background-color: #16161e;
  outline: none;
  border: 1px solid transparent;
  caret-color: var(--primary-color);
  color: #c0caf5;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.search input:focus {
  border-color: var(--primary-color);
}

.search svg {
  width: 100%;
  height: 100%;
}

.search .search-clear {
  color: var(--primary-color);
  cursor: pointer;
  width: 50px;
  height: 100%;
  background: #16161e;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.search .search-clear:hover {
  background: var(--primary-color);
  color: #16161e;
}

@media only screen and (max-width: 390px) {
  .search {
    width: 80%;
  }
}

@media only screen and (min-width: 1224px) {
  .search {
    width: 50%;
  }
}

code {
  color: var(--primary-color);
  padding: 2px 4px;
  border-radius: 4px;
  background-color: #16161e;
}