dialog {
  width: 340px;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--grey70-color); 
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow:hidden; 
  z-index: 1000;
}
#signUpDialog {
  height: 340px;
}
#signInDialog {
  height: 290px;
}
dialog form {
  width: 310px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}
dialog h3 {
  margin-bottom: 10px;
}
dialog input {
  width: 310px;
  height: 47px;
  margin-bottom: 10px;
  border: 1px solid var(--grey20-color);
  border-radius: 5px;
}
dialog button {
  width: 310px;
  height: 47px;
  margin-bottom: 10px;
  border: none;
  border-radius: 5px;
  color: white;
  background-color: var(--cyan70-color);
}
#userDialog__form--decorator {
  width: 340px;
  height: 10px;
  position: fixed;
  top: 0%;
  background: linear-gradient(to right, var(--cyan50-color) 0%, var(--cyan70-color) 100%);
  border-radius: 5px 5px 0px 0px;
}
#message, #signUp_message {
  color: red;
  font: bold;
}
dialog:not([open]) {
  display: none;
}
#signLink:hover {
  color: black;
  cursor: pointer;
}
#sign, #signUp_sign {
  display: flex;
  flex-direction: row;
}
.close {
  width: 30px;
  height: 30px;
  background: url("../images/close.png");
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 10px;
}