body {
  background-color: black;
  display: grid;
  text-align: center;
  font-family: "Rowdies", cursive;
}

body,
.main-box,
#buttom {
  place-content: center;
}

button,
input {
  border: none;
  font-family: "Rowdies", cursive;
  border-radius: 10px;
}

button {
  background-color: #9b5de0;
}

input {
  height: 30px;
  width: 190px;
}
h1 {
  color: white;
  font-size: 2.2rem;
  margin-top: 30px;
}

.custom-input-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
}

#top {
  margin-bottom: 40px;
}

.custom-input {
  width: 260px;
  height: 40px;
  font-size: 1.1rem;
  background-color: white;
  margin-bottom: 5px;
}

.main-box {
  background-color: #7fb5ff;
  width: 800px;
  height: 500px;
  border-radius: 10px;
  display: grid;
}

.password-box {
  border-radius: 10px 0 0 10px;
  padding: 15px;
  width: 430px;
  font-size: 1.5rem;
  background-color: white;
}

.copy-btn {
  position: relative;
  padding: 21px;
  border-radius: 7%;
  bottom: 4px;
  font-size: 1rem;
}

.copy-btn:hover {
  background-color: #0a6cf5;
}
.gen-btn {
  font-size: 1.7rem;
  padding: 17px 220px 17px 210px;
  margin-top: 40px;
}

.gen-btn:hover {
  background-color: #0a6cf5;
}

@media only screen and (max-width: 740px) {
  .main-box {
    width: 400px;
    height: 700px;
  }
  .password-box {
    padding: 12px;
    width: 230px;
    margin-bottom: 20px;
  }
  .copy-btn {
    padding: 18px;
  }
  .custom-input {
    width: 140px;
    height: 40px;
    margin-bottom: 10px;
  }
  .gen-btn {
    font-size: 1.2rem;
    padding: 14px 120px 14px 120px;
    margin-top: 40px;
  }
  #top {
    margin-bottom: 50px;
  }
}
