.popup {
display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border: 1px solid black;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
z-index: 999;
width: 320px;
}

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

.popup input[type="text"] {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid gray;
width: 100%;
}

.popup button[type="submit"] {
  padding: 10px 20px;
  background-color: #4a4a4a;
  color: white;
  border: none;
  cursor: pointer;
}
.popup button[type="submit"]:hover {
background-color: #b3b3b3;
}
.clos {
    padding: 4px;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}
.clos:hover {
background-color: #4a4a4a;
}
.mess {
padding:10px 0;
    color: #53ff47;
    display: block;
}
.tit {
    font-weight: 600;
    text-align: center;
    padding: 5px;
    width: 100%;
    margin: 0 auto;
    display: block;
    font-size: 16px;
}