.grid-container {
  padding: 0px 16px 4px;
  min-height: 80vh;
}

.grid {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 1120px;
  margin: auto;
}

.grid-item {
  display: flex;
  box-sizing: border-box;
  width: 160px;
  height: 160px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 4px;
  border-radius: 16px;
  user-select: none;
  cursor: pointer;
}

.grid-item:hover {
  background-color: rgba(163, 159, 171, 0.1);
  transition: background-color 0.2s;
}

.grid-item:focus {
  outline: none;
  border: 2px solid rgba(163, 159, 171, 0.1);
}

.grid-item p {
  font-size: 12px;
  line-height: 16px;
  color: #86838b;
  margin-top: 12px;
  text-align: center;
}

.info-box {
  position: relative;
  display: flex;
  width: 100%;
  height: 0px;
  margin: 0px;
  border-radius: 16px;
  background-color: rgba(163, 159, 171, 0.1);
  overflow-y: hidden;
  overflow-x: auto;
}

@media screen and (max-width: 1023px) {
  .icon-preview {
    display: none !important;
  }

  .icon-usage {
    padding-left: 10% !important;
  }
}

.icon-preview {
  height: 396px;
  width: 30%;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-preview p {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 16px;
}

.icon-usage {
  flex: 1;
  padding: 56px 10% 56px 0;
}

.snippet {
  margin-bottom: 24px;
}

.snippet pre {
  /* white-space: nowrap; */
  /* overflow: hidden; */
  text-overflow: ellipsis;
  color: black;
  user-select: all;
  -moz-user-select: all;
  -webkit-user-select: all;
}

.snippet pre:focus {
  animation: select 50ms step-end forwards;
}

@keyframes select {
  to {
    user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
  }
}

.snippet button {
  background-color: transparent;
  margin: 0;
  padding: 0;
  height: 24px;
  float: right;
  cursor: pointer;
}

.button-row {
  display: flex;
}

.button-row button {
  background-color: transparent;
  font-size: 16px;
  line-height: 24px;
  margin: 0 48px 0 0;
  padding: 0;
  height: 48px;
  cursor: pointer;
}

.button-row button svg {
  margin-right: 8px;
}

.close-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  text-align: end;
  cursor: pointer;
}

.empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px 4px;
  min-height: 80vh;
}
