
#modal-wrapper {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: absolute;
    z-index: 100;
    top: 0;
    position: fixed;
    background: rgba(128, 128, 128, 0.42);
    display: none;
    justify-content: center;
    align-items: center;
}
#modal-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #c9c9c9;
    padding-bottom: 1%;
}
#modal-body {
    padding: 2% 0;
    height: 80%;
    min-height:auto;
    max-height: fit-content;
    display: flex;
    flex-flow: column;
}
#modal-body img {
    align-self: center;
    padding-bottom: 2%;
}
#modal-body p {
    padding-bottom: 4%;
}


#modal-footer {
    padding: 2% 0;
}

#modal {
    background: white;
    color: black;
    padding: 1%;
    border: 1px solid transparent;
    border-radius: 10px;
    width: 45vw;
    min-width: 45vw;
    max-width: 45vw;
    height: 65vh;
    min-height: 65vh;
    max-height: 65vh;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

@media screen and (max-width: 640px) {
#modal {
    background: white;
    color: black;
    padding: 2%;
    border: 1px solid transparent;
    border-radius: 10px;
    width: 85vw;
    min-width: 85vw;
    max-width: 85vw;
    height: auto;
    min-height: auto;
    max-height: fit-content;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}
#modal img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}
#link {
    padding: 20%;
}
}