
.modal {
    visibility: hidden;
    transition: all 0.4s;
    opacity: 0;
    z-index: 9999999;
}
.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal,
.modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: 100;
}

.modal,
.modal-card,
.modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-content {
    overflow: auto;
    flex-grow: 1;
}
.modal-content img{
    width: 600px;
    height: 450px;
}
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.modal-body {
    z-index: 101;
    margin: auto;
    max-height: calc(100vh - 1rem);
    max-width: calc(100vw - 1rem);
    border-radius: 10px;
    overflow: hidden;
    background:#EE9B00;
}

.modal-header,
.modal-content,
.modal-footer {
    padding: 1rem;
}


.modal-footer a{
    background-color:#0a9396;
    border:none;
    color: white;
    padding: 1rem 2rem;
    border-radius:5px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
    transition: 0.3s background-color ease-in-out;
    text-decoration: none;
  }
  .modal-footer a:hover{background-color:#0a9372;}

  .modal-footer button{
    background-color:#f44747;
    border:none;
    color: white;
    padding: .5rem 1rem;
    border-radius:5px;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.2);
    transition: 0.3s background-color ease-in-out;
  }
  .modal-footer button:hover{background-color:#f44747;}


.modal-header {
    background: rebeccapurple;
    text-transform: capitalize;
    font-size: 1.25rem;
    color: white;
    font-weight: bold;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
}
