@import url("https://fonts.googleapis.com/css?family=Muli&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #080808;
  color: #fff;
  display: flex;
  font-family: "Muli", sans-serif;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-height: 100vh;
}

p {
  margin: 5px 0;
}

h2 {
  margin: 10px 0 20px;
  text-align: center;
}

.container {
  background-color: #0000008e;
  box-shadow: 0px 2px 10px #600aff;
  padding: 40px;
  width: 700px;
  max-width: 100%;
  border-radius: 25px;
}

.setting {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 15px 0;
}

.setting input {
  margin-left: 20px;
}

.setting input {
  background: transparent;
  color: #fff;
  width: 40px;
  border: none;
}

.setting input:focus {
  outline: none;
  box-shadow: 0 1px 0.5px 0 #600aff;
}

.displayPassword-container {
  background-color: #131313c4;
  display: flex;
  justify-content: flex-start;
  position: relative;
  font-size: 18px;
  letter-spacing: 1px;
  height: 50px;
  width: 100%;
  margin-bottom: 30px;
}

.textarea {
  display: flex;
  background-color: #131313c4;
  color: #fff;
  width: 93%;
  height: auto;
  border: none;
  resize: none;
  font-size: 20px;
  white-space: nowrap;
  align-items: center;
  background: transparent;
  padding-top: 12px;
  overflow-x: auto; /* This allows horizontal scrolling */
  scrollbar-width: none; /* This hides the scrollbar for Firefox */
}

.textarea::-webkit-scrollbar {
  display: none; /* This hides the scrollbar for Chrome, Safari, and Opera */
}

.textarea:focus {
  outline: none;
  box-shadow: 0 1px 0.5px 0 #600aff;
}

.displayPassword-container .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7%;
}

.btn {
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  padding: 8px 12px;
  background: transparent;
  transition: 0.05s;
}

.btn:hover {
  background-color: #600aff;
  color: black;
  box-shadow: 0 0 5px #600aff, 0 0 25px #600aff, 0 0 50px #600aff,
    0 0 200px #600aff;
  -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

button {
  position: relative;
  display: inline-block;
  max-width: 100%;
  transition: 0.5s;
  overflow: hidden;
}

button span {
  position: absolute;
  display: block;
}

button span:nth-child(1) {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #600aff);
  animation: animate1 1s infinite;
}

@keyframes animate1 {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@media screen and (max-width: 400px) {
  .displayPassword-container {
    font-size: 14px;
  }
}
