html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#gen-button {
  padding: 10px 30px;
  border: 1px solid white;
  background: black;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  height: 40px;
  opacity: 0.9;
  transform: all 200ms ease;
  cursor: pointer;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  width: 150px;
  bottom: -100px;
}

#gen-button:hover {
  opacity: 1;
}

#gen-button:active {
  transform: translateY(1px);
}

.frame {
  border: 25px solid white;
  outline-style: solid;
  outline-color: black;
  outline-width: 12px;
  box-shadow: 10px 10px 20px black, 0px 0px 4px 1px #ccc inset;
  width: 740px;
  height: 540px;
  position: fixed;
}

.frame--screen {
  /* border: 25px solid white; */
  outline-style: solid;
  outline-color: rgb(21, 21, 21);
  outline-width: 12px;
  background-color: black;
  box-shadow: 10px 10px 10px black, 0px 0px 4px 1px black inset;
  width: 700px;
  height: 500px;
  position: fixed;
}

#canvas {
  width: 100%;
  height: 100%;
  max-width: 700px;
  max-height: 500px;
}

.frame #canvas {
  padding: 20px;
}

#logo {
  position: absolute;
  left: 20px;
  top: 20px;
  opacity: 0.1;
}

.informations {
  /* width: calc(100% + 60px);
  margin-left: -30px; */
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  /* margin-left: -37px; */
  /* margin-right: -20px; */
}
.informations__item {
  display: flex;
}

h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 300;
  margin: 0;
  font-size: 0.8rem;
}

#seed {
  position: absolute;
  color: white;
  bottom: 10px;
  left: 10px;
  opacity: 0.3;
}

h1 span {
  opacity: 0.8;
}

.color-display {
  display: flex;
  justify-content: center;
  margin-top: 5px;
  height: 30px;
  position: relative;
  box-sizing: border-box;
}

.color-display:before {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  content: "";
}

.color-display div {
  width: 30px;
  height: 30px;
  margin: 0 0px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  /* margin-right: 3px; */
}

.color-display div:first-child {
}

.shaky {
  animation-name: shakeAnim;
  animation-duration: 1.4s;
  animation-timing-function: ease-in;
}

@keyframes shakeAnim {
  0% {
    transform: translateX(0);
  }
  5% {
    transform: translateX(-3px);
  }
  10% {
    transform: translateX(3px);
  }
  15% {
    transform: translateX(-8px);
  }
  20% {
    transform: translateX(8px);
  }
  25% {
    transform: translateX(-5px);
  }
  30% {
    transform: translateX(3px);
  }
  35% {
    transform: translateX(0);
  }
}
