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

body {
  padding: 10px;
  background-color: rgb(228, 228, 228);
}

.container {
  display: flex;
  justify-content: center;
  height: 100vh;
  align-items: center;
  font-family: "Courier New", Courier, monospace;
}

.password-container {
  border: 2px solid black;
  width: 100%;
  max-width: 500px;
  padding: 1.2em;
  border-radius: 10px;
}

.input-container {
  border: solid 2px black;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input {
  border: none;
  background-color: transparent;
  outline: none;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.fa-copy {
  cursor: pointer;
  opacity: 0.3;
}

.fa-copy:hover {
  opacity: 0.7;
}

.btn {
  background: black;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 10px 0;
  font-size: 20px;
  cursor: pointer;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.btn:active {
  transform: scale(0.95);
}

.alert-container {
  position: fixed;
  width: 308px;
  height: 50px;
  right: 20px;
  top: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  transition: 0.4s;
}

.active.alert-container {
  right: -1000px;
}

.alert-container.success {
  background-color: lightgreen;
}

.alert-container.error {
  background-color: lightcoral;
}

.alert-container.info {
  background-color: lightblue;
}