@font-face {
    font-family: 'Dosis';
    src: url('/fonts/Dosis-Book.ttf')  format('truetype'), /* Safari, Android, iOS */         
}

.popup-container {
  font-family: 'Dosis';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index:1002;
  overflow:auto;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .9);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  margin:auto;
}
.popup-container::before {    
  content: "";
  background-image: url('/pattern.png');
  background-repeat: repeat;
  background-size: auto;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 0.35;
}
.popup-container.active {
  opacity: 1;
  pointer-events: auto;
  transition: .4s ease;
}
.popup-container .popup-box {
  width: 500px;
  background: black;
  border-color: grey;
  border-width: 1px;    
  border-style: solid;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  padding: 30px;
  transform: scale(0);
}
.popup-container.active .popup-box {
  transform: scale(1);
  transition: .4s ease;
  transition-delay: .25s;
}
.popup-box h1 {
  color: white;
  line-height: 1;
}
.popup-box p {
  color: white;
  margin: 12px 0 20px;
}
.popup-box .close-btn {
  width: 49%;
  height: 45px;
  background: #5a7b67;
  border-radius: 6px;
  border: none;
  outline: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-size: 18px;
  color: white;
  font-weight: 500;
  margin-right:4px;
}
.popup-box .alt-btn {
  margin-right:0px;
  background: #855151;
}
.popup-box .close-btn:hover {
  background:#cc2b2b;
}