.modal h3, p{
  font-size: 1em;
}
.modal h4{
  margin: 0.5em;
  font-size: 1.5em;
}
.modal-btn { 
  text-align: center;
  border: none;
  color: white;
  background: lightgray;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: inset 0 -.2em rgba(0,0,0, .2);
  outline: 0;
  transition: .2s;
  will-change: transform;
}
.modal-btn.primary {
  font-size: 1em;
  padding: .8em 1.2em;
  background:#21C08B ;
}
.modal-btn.twitter {
  font-size: .8em;
  padding: .4em .8em;
  background: #60A9DE;
}
.modal-btn.facebook {
  font-size: .8em;
  padding: .4em .8em;
  background: #3B5998;
}
.modal-btn.warning {
  background: #ff463b;
}

.modal-btn:active {
  transform: scale(.9);
}
.overlay {
  background: rgba(0,0,0,.5);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /*transition: 300s ease-in;*/
  /*opacity: 0;*/
  /*visibility: hidden;*/
  display: none;
}
.overlay.active {
  /*opacity: 1;*/
  /*visibility: visible;*/
  display: flex;
}
.modal {
  width: 50%;
  background: white;
  padding: 2em;
  border-radius: .5em;
  text-align: center;
  z-index: 2;
  transform: translateY(-3000px);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
  overflow: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.35);
}

.modal-content {
  display: block;
}
.modal-content h3{
  text-align: center;
}
.modal-content img{
  width: 15%;
  margin: auto;
}
.modal-content p {
  align-self: center;
}
.closeModal{
  width: 25px;
  cursor: pointer;
  align-self: flex-end;
}
.closeModal:hover{
  opacity: 0.7;
}
/*@keyframes animationIn {*/
@keyframes modalIn {
  0% {
    transform: translateY(-3000px);
  }
  60% {
    transform: translateY(25px);
  }
  75% {
    transform: translateY(-10px);
  }
  90% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}

/*@keyframes animationOut {*/
@keyframes modalOut {
  0% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(-10px);
  }
  75% {
    transform: translateY(25px);
  }
  100% {
    transform: translateY(-3000px);
  }
}