/* The Modal (background) */
.modal {
  display: none !important; /* Hidden by default */
  position: fixed !important; /* Stay in place */
  z-index: 1 !important; /* Sit on top */
  padding-top: 95px !important; /* Location of the box */
  padding-bottom: 3% !important;
  width: 100% !important; /* Full width */
  height: 100% !important; /* Full height */
  background-color: rgb(0,0,0) !important; /* Fallback color */
  background-color: rgba(0, 0, 0, 0.918) !important; /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  position: relative !important;
  background-color: rgb(255, 255, 255) !important;
  margin: auto !important;
  padding: 0 !important;
  width: 60% !important;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
  -webkit-animation-name: animatetop !important;
  -webkit-animation-duration: 0.4s !important;
  animation-name: animatetop !important;
  animation-duration: 0.4s !important;
  transition: all 400ms ease !important;
  box-shadow: 0px 0px 36px 0px rgba(131, 28, 45, 0.952) !important;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
.close {
  color: rgb(92, 92, 92);
  font-size: 38px;
  font-weight: bold;
  margin-top: -5%;
}

.close:hover,
.close:focus {
  color: #92254f;
  text-decoration: none;
  cursor: pointer;
}

.modal-header{
  padding-right: 23.3%;
 background-color: black;
  background-size: 100%;
  background-repeat: no-repeat;
  
}