@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&display=swap");

* {
  box-sizing: border-box;
}
body {
  background-color: #3b3b98;
  color: #fff;
  font-family: "Mulish", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 10px;
}
h2 {
  margin: 10px 0 20px;
  text-align: center;
}
.container {
  background-color: #23235b;
  box-shadow: 0px 2px 10px rgba(red, green, blue, 0.2);
  padding: 20px;
  width: 350px;
  max-width: 100%;
}
.result-container {
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 12px 10px;
  height: 50px;
  width: 100%;
}

.result-container #result {
  word-wrap: break-word;
  max-width: calc(100% - 40px);
  height: 100%;
}

.result-container .btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  font-size: 20px;
}
.btn {
  border: none;
  background-color: #3b3b98;
  color: #fff;
  font-size: 16px;
  padding: 8px 12px;
  cursor: pointer;
}
.btn-large {
  display: block;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
  width: 100%;
}
.btn:active {
  transform: scale(0.99);
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.setting #length {
  width: 50px;
  padding: 5px;
  font-size: 18px;
  background-color: #3b3b98;
  border: none;
  text-align: center;
  color: #fff;

  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.2);
}
input:focus {
  outline: none;
}
