.ad-modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color:rgba(0,0,0,0.75);
    flex-direction: column;
}

.ad-modal img {
    width: 90%;
    max-width: 600px;
    height: auto;
}

.ad-modal button {
    padding: 10px;
    cursor: pointer;
}