body {
  background-color: #f2f2f2;
}

p:last-of-type {
  margin-top: 0;
}

.generate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.generate-form #title-label {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  line-height: 40px;
}

.generate-form input,
.generate-form button {
  padding: 12px;
  border-radius: 12px;
  font-size: 16px;
}

.generate-form input {
  width: 150px;
}

.generate-form button {
  position: relative;
  background-color: rgb(46, 74, 255);
  color: white;
  font-size: 1rem;
  font-weight: bold;
}

.generate-form button:hover {
  font-weight: bold;
}

.result {
  display: none;
  margin-top: 20px;
}

.result button {
  position: relative;
  height: 40px;
  width: 40px;
  border-radius: 5px;
  background-color: lightgrey;
  background-image: url("images/copy-to-clipboard.png");
  background-size: 75% 75%;
  background-position: center;
  background-repeat: no-repeat;
}

.result button .tooltip-text {
  bottom: -29px;
  right: -15px;
}

.result button:hover .tooltip-text {
  visibility: visible;
}

#textarea {
  width: 100%;
  resize: vertical;
}

@media screen and (max-width: 440px) {
  .generate-form input,
  .generate-form button {
    font-size: 18px;
  }
}
