:root {
  --theme-color: #24d374;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--theme-color);
  transition: 0.4s ease;
}

.textbox {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 80%;
  height: auto;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 3rem;

  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);

  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.textbox h1 {
  font-size: 100px;
  font-family: sans-serif;
  color: var(--theme-color);
  transition: 0.4s ease;
  -webkit-transition: 0.4s ease;
  -moz-transition: 0.4s ease;
  -ms-transition: 0.4s ease;
  -o-transition: 0.4s ease;
}

.color-box {
  position: fixed;
  top: 10%;
  padding: 10px;
  width: 175px;
  height: auto;
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border-top-right-radius: 0;
  transform: translate(-100%);
  -webkit-transform: translate(-100%);
  -moz-transform: translate(-100%);
  -ms-transform: translate(-100%);
  -o-transform: translate(-100%);
  transition: transform 0.4s ease;
  -webkit-transition: transform 0.4s ease;
  -moz-transition: transform 0.4s ease;
  -ms-transition: transform 0.4s ease;
  -o-transition: transform 0.4s ease;
}

.color-box.settings-active {
  transform: translate(0%);
  -webkit-transform: translate(0%);
  -moz-transform: translate(0%);
  -ms-transform: translate(0%);
  -o-transform: translate(0%);
}

.color-box .settings {
  position: absolute;
  top: 0;
  right: -19%;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  border-radius: 5px;
  /* outline: 1px solid #000; */
}

.color-box .color {
  width: 25px;
  height: 25px;
  margin: 10px;
  outline: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
