.overlay {
  background-color: rgba(0,0,0,0.75);
  display: none;
  position: fixed;
  padding: 5%;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  z-index: 9999999;
  font-family: 'JosefinSans-Regular', sans-serif;
}

.overlay-content {
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  border-radius: .5rem;
  padding: 40px;
  position: relative;
  margin: auto;
  width: 80%;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.overlay-header h2 {
  font-family: 'JosefinSans-Bold', sans-serif !important;
}

@-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}
}
