.lightblue {
  color: #90eaff;
}

.red {
  color: #fc757b;
}

.green {
  color: #cbf291;
}

.darkgreen {
  color: #0da960;
}

.purple {
  color: #c490e6;
}

.grey {
  color: #c4c8e2;
}

.darkgrey {
  color: #676e95;
}

.orange {
  color: #f78c6c;
}

.yellow {
  color: #fcca6b;
}

.blue {
  color: #80a9fd;
}

.darkred {
  color: #d26;
}

h1 {
  text-align: center;
}

.asset-showcase {
  display: flex;
  justify-content: center;
}

.code-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.code-html,
.code-css,
.code-js,
.code-tag,
.code-snippet {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  font-weight: 600;
  border-radius: 14px;
  overflow: hidden;
}

pre {
  width: 100%;
  padding: 1rem;
  background-color: #f6f7fb;
  color: #2a2c35;
  overflow-x: auto;
  white-space: pre;
}

code {
  white-space: inherit;
  word-wrap: break-word;
  font-size: 15px;
}

.code-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #0f172a;
}

.code-header > p {
  font-weight: normal;
  padding-left: 1rem;
}

.code-header .wrapper {
  display: flex;
}

.code-header .wrapper > p {
  font-weight: normal;
  padding-right: 1rem;
  color: #686c78;
}

.code-header .btn-wrapper {
  display: flex;
}

.code-container .btn-wrapper button {
  display: none;
  align-items: center;
}

.code-container .btn-wrapper button i::before {
  display: block;
  width: 14px;
  height: 16px;
  margin-right: 0.3rem;
}

.copy-btn {
  border: none;
  background-color: #fefefe;
  font-size: 16px;
  cursor: pointer;
  height: 100%;
  padding: 0.3rem;
}

.copy-btn:hover {
  color: #0f172a;
  background-color: #f6f7fb;
}

.alert-container {
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: end;
}

.alert-item {
  background-color: #3c4049;
  border-radius: 7px;
  padding: 1rem;
  list-style-type: none;
  position: relative;
  width: fit-content;
  border: 1px solid #616675;
  transform: translateX(calc(100% + 2rem));
  animation: add-item-animation 200ms linear;
  animation-fill-mode: both;
}

@keyframes add-item-animation {
  to {
    transform: translateX(0);
  }
}

.remove-item-animation {
  animation: remove-item-animation 200ms linear;
}

@keyframes remove-item-animation {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(100% + 2rem));
  }
}

.alert-item p {
  color: #686c78;
  font-weight: normal;
}

.alert-item i {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  color: black;
  font-size: 0.7rem;
  font-weight: bold;
  cursor: pointer;
}

@media only screen and (min-width: 720px) {
  main {
    width: 720px;
  }
}
