/* OVERLAY */
.popup-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;

  opacity:0;
  visibility:hidden;
  transition:0.3s;
}

/* SHOW */
.popup-overlay.show{
  opacity:1;
  visibility:visible;
}

/* BOX */
.popup-box{
  background:#fff;
  width:90%;
  max-width:400px;
  border-radius:12px;
  padding:20px;
  text-align:center;
  position:relative;
  animation:popupScale 0.3s ease;
}

@keyframes popupScale{
  from{transform:scale(0.7); opacity:0;}
  to{transform:scale(1); opacity:1;}
}

/* CLOSE */
.popup-close{
  position:absolute;
  top:10px;
  right:15px;
  font-size:22px;
  cursor:pointer;
  color: red;
}

/* IMAGE */
.popup-content img{
  width:100%;
  border-radius:8px;
  margin-bottom:10px;
}

/* TEXT */
.popup-content h3{
  margin:10px 0;
}

.popup-content p{
  font-size:14px;
  color:#555;
}

/* BUTTON */
.popup-btn{
  display:inline-block;
  margin-top:10px;
  padding:10px 18px;
  background:#007297;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
}