/* Popup container - can be anything you want */
.popup {
  width: 85%;
  height: 100%;
  top: 0;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* The actual popup */
.popup .popuptext {
  visibility: hidden;
  background-color: #FFFFFF;
  color: #00008B;
  border-style: solid;
  text-align: left;
  font-size: 14px;
  border-radius: 10px;
  padding: 8px 0;
  position: absolute;
  z-index: 1;
  left: 50%;
  top:10%;
  margin-left: -200px;
  width: 500px;
  height: 400px;
  padding: 20px;
  border: 1px solid black;
  box-shadow: 10px 10px 5px #888888;
}

/* Popup arrow */
.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}
/* Toggle this class - hide and show the popup */
.popup .hide {
  visibility: hidden;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}
/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

.button {
  border: none;
  border-color: #808080;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}