.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-form {
  display: grid;
  align-items: center;
  justify-items: center;
  width: 90%;
  gap: 1rem;
  background: var(--formBkgColorGradient);
  color: var(--formInputTextColor);
  padding: 20px;
  border-radius: 5px;
  position: relative;
}

.loginInfoDIV {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(1, 1fr);
}

.loginErrorDIV {
  color: var(--formInputLabelColor);
}

@media (min-width: 62em) {
  .modal-form {
    width: 700px;
  }
  .loginInfoDIV {
    grid-template-columns: repeat(2, 1fr);
  }
}

.closeDIV {
  color: var(--formInputLabelColor);
  width: 100%;
  display: flex;
  justify-content: end;
}

.close {
  cursor: pointer;
}

.modal-form h1 {
  color: var(--formInputLabelColor);
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.modal-form option {
  font-family: var(--fontFamily);
}

.modal-form textarea {
  min-height: 150px;
  font-size: 1rem;
}

.fontImageSelectDiv {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 10px;
  overflow-y: scroll;
  width: 90%;
  height: 300px;
  margin: auto;
}

.fontSample {
  margin-right: 1rem;
  border-radius: 6px;
}

.fontSample:hover {
  background: var(--fontSampleBkgColor);
}

.highlight {
  background: var(--fontSampleBkgColor);
}

.createUserLink {
  color: var(--formInputBkgColor);
  font-size: 0.7rem;
  cursor: pointer;
}

.createUserLink:hover {
  color: white;
}
