.overlay {
  height: 100%;
  width: 100%;
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
}

.overlay-content {
  position: relative;
  top: 46%;
  width: 80%;
  text-align: center;
  margin-top: 30px;
  margin: auto;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  color: #5d5dd7;
  padding: 12px;
}
  
.overlay .closebtn:hover {
  color: #fff;
  transition: .5s;
  background-color: #ff4141;
}

.overlay input[type=text] {
  padding: 15px;
  font-size: 17px;
  border: none;
  float: left;
  width: 80%;
  background: #fff;
  color: #000;
  border-radius: 5px;
}
  
.overlay input[type=text]:hover {
   background: #f1f1f1;
 }

.overlay button {
  float: left;
  width: 17%;
  padding: 12px;
  background: #5d5dd7;
  color: #fff;
  font-size: 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}
  
.overlay button:hover {
  background: #7878e4;
}