.alert {   
  text-align-last: center;
  padding: 20px;
  background-color: navy;
  color: white;
  opacity: 1;
  transition: opacity 0.6s;
  margin-bottom: 15px;
}
.modal-content {
  margin: 1% auto 1% auto; 
  width: 80%; 
}
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
   border:none;
   background-color: navy;
}

.closebtn:hover {
  opacity: 1.0;
}