body {
  background-color: #feffff;
  color: #222222;
}

.canvas {
  border: 0.05rem solid #aaaaaa;
  touch-action: none;
  max-width: 100dvw;
}

.stroke-width {
  width: 7%;
  height: 1.75rem;
}

.copy-btn,
.discord,
.github {
  display: inline-block;
  width: 2rem;
  height: 2.00000000001rem;
}

.form-control {
  flex: 1 !important;
}

.copy {
  cursor: copy;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem !important;
}

.container>div {
  width: 20rem;
  max-width: calc(100% - 2rem);
  border: 1px solid #cfcfcf;
  border-radius: 0.5rem;
}

.container input[type="range"] {
  width: calc(100% - 3rem);
  margin: 0 0.5rem;
}

.container .title {
  border-bottom: 1px solid #cfcfcf;
  padding: 0.5rem 0.7rem;
}

.container .content {
  padding: 0.8rem 0.7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
}

.container .content button {
  background-color: #007bff;
  width: 100%;

  &:hover {
    background: #305dff;
  }
}

.container .content>div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}

.text-muted {
  margin-top: 1rem !important;
  margin-bottom: 0.5rem !important;
}

a {
  text-decoration: none !important;
}

.popup_saved {
  display: none;
  z-index: 2;
  transition: opacity 0.3s ease-in-out;
  opacity: 0;
}

.popup_saved.show {
  display: flex !important;
  opacity: 0.75;
}

.transition-opacity {
  transition: opacity 0.3s ease-in-out;
}

.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.actions div {
  max-width: calc(100% - 2rem);
  width: 20rem;
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
}

.actions button:not(.generate) {
  flex: 1;
}

.actions .generate {
  width: 100%;
  margin-bottom: 1rem;
}

.actions .undo {
  background-color: #ff8c00;
}

.actions .undo:hover,
.actions .undo:focus {
  background-color: #e67e00;
}

.actions .reset {
  background-color: #ff4c4c;
}

.actions .reset:hover,
.actions .reset:focus {
  background-color: #e04343;
}

.actions .save {
  background-color: #305dff;
}

.actions .save:hover,
.actions .save:focus {
  background-color: #2c22ec;
}

button {
  border: none;
  border-radius: 0.5rem !important;
  font-size: 16px;
  cursor: pointer;
  padding: 0.4rem 0.8rem;
  transition: 300ms ease;
  color: #fff;
}

button.success {
  background-color: #28a745;
}

button.success:hover,
button.success:focus {
  background-color: #218838;
}


.code {
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.code pre {
  background: #222222;
  padding: 1rem;
  border-radius: 1rem;
  color: #fff;
}

.design_code {
  display: flex;
  justify-content: center;
  align-items: center;
}

.design_code>div {
  width: 20rem;
  max-width: calc(100% - 2rem);
}

.design_code input {
  margin-bottom: 1rem;
}

.design_code button {
  width: 100%;
  margin-bottom: 1rem;
}

.design_code p {
  font-size: 14px;
  opacity: 0.7;
  text-align: center;
}

.use_design {
  display: flex;
  justify-content: center;
  align-items: center;
}

.use_design button {
  max-width: calc(100% - 2rem);
  width: 20rem;
}

.copy {
  width: 10rem;
}

.primary {
  background-color: #c2fbd7;
  border-radius: 100px;
  box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset, rgba(44, 187, 99, .15) 0 1px 2px, rgba(44, 187, 99, .15) 0 2px 4px, rgba(44, 187, 99, .15) 0 4px 8px, rgba(44, 187, 99, .15) 0 8px 16px, rgba(44, 187, 99, .15) 0 16px 32px;
  color: green;
  cursor: pointer;
  display: inline-block;
  font-family: CerebriSans-Regular, -apple-system, system-ui, Roboto, sans-serif;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  border: 0;
  font-size: 16px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.primary:hover {
  box-shadow: rgba(44, 187, 99, .35) 0 -25px 18px -14px inset, rgba(44, 187, 99, .25) 0 1px 2px, rgba(44, 187, 99, .25) 0 2px 4px, rgba(44, 187, 99, .25) 0 4px 8px, rgba(44, 187, 99, .25) 0 8px 16px, rgba(44, 187, 99, .25) 0 16px 32px;
  transform: scale(1.05) rotate(-1deg);
}

/* Footer */

.footer_wrapper {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  display: flex;
  padding: 1rem;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
  flex-wrap: wrap;
  list-style: none;

  a {
    font-size: 1.2rem;
    color: #fff;
    margin: 0.5rem 2rem 0.5rem 0.5rem;
    display: inline-block;
    transition: 0.5s;
    text-decoration: none;
    opacity: 0.75;
    font-weight: 300;

    &:hover {
      opacity: 1;
    }
  }
}

.cstp-notification {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.5s ease-out;
  opacity: 1;
  margin-top: 0.5rem;
  padding: 0.5rem;
  text-align: center;
}

.cstp-notification.show {
  display: initial;
}

.cstp-text {
  line-height: 1.5;
  color: #333333;
  overflow: hidden;
}

.cstp-button {
  display: flex;
  justify-content: center;
  margin-top: -0.25rem;
}

@media (min-width: 576px) {
  .cstp-text {
    line-clamp: 2;
    cursor: pointer;
  }
}

@media (max-width: 576px) {

  .cstp-text {
    line-clamp: 2;
    cursor: pointer;
  }

  .cstp-text.expanded {
    line-clamp: unset;
  }

  .cstp-notification {
    width: 75%;
  }
}

.cstp-text.expanded {
  line-clamp: unset;
}