:root {
    --modal-duration: 1s;
    --modal-color: #18ACC4;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(31, 45, 48, 0.88);
  }
  
  .modal-content {
    margin: 10% auto;
    width: 60%;
    animation-name: modalopen;
    animation-duration: var(--modal-duration);
  }
  #modal-content{
    background: #fff;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
  }
  .modal-header, .modal-body, .modal-footer {
    padding: 15px 40px;
    background: #fff;
   
  }
  
  .close {
    float: right;
    font-size: 2em;
    color: #fff;
  }
  
  .close:hover,
  .close:focus {
    color: #ccc;
    text-decoration: none;
    cursor: pointer;
  }
  
  @keyframes modalopen {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes modalopen-2 {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
  