/******************************
***** modal plugin styles *****
******************************/
.modal {
  position: fixed; 
  z-index: 100; 
  left: 0;
  top: 0;
  display: flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  width: 100vw; 
  max-width: 100vw;
  height: 100vh;
  max-height:100vh;
  background-color: rgba(0,0,0,0.6);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity:1;
  visibility:visible;
}

.modal-header {
  display:flex;
  flex-direction:row;
  justify-content:flex-end;
  width: 100%;
}

.modal-content {
  background-color: #fefefe;
  padding: 0 20px 20px;
  border: 1px solid #888;
  border-radius:8px;
  transform:scale(0.8);
  transition:transform 0.3s ease;
}

.modal.show .modal-content {
  transform:scale(1);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width:980px) {
  .modal-content {
    width:80%;
  }  
}