.modal-dialog {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12.5%;
    letter-spacing: 1px;
}
.modal-header button.close {
    width: 2rem;
    height: 2rem;
    margin-left: auto;
    border: none;
    background: transparent;
    font-size: 2rem;
    color: black;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-header button.close span {
    display: inline-flex;
    width: auto;
    height: 32px;
    align-items: center;
    justify-content: center;
}

@media screen and (min-width: 350px) and (max-width: 400px) {
    .modal-dialog {
        margin-top: 75%;
    }
}

@media screen and (min-width: 400px) and (max-width: 449px) {
    .modal-dialog {
        margin-top: 65%;
    }
}

@media screen and (min-width: 450px) and (max-width: 500px) {
    .modal-dialog {
        margin-top: 60%;
    }
}

@media screen and (min-width: 501px) and (max-width: 600px) {
    .modal-dialog {
        margin-top: 50%;
    }
}

@media screen and (min-width: 601px) and (max-width: 750px) {
    .modal-dialog {
        margin-top: 40%;
    }
}

@media screen and (min-width: 751px) and (max-width: 900px) {
    .modal-dialog {
        margin-top: 35%;
    }
}

@media screen and (min-width: 901px) and (max-width: 1050px) {
    .modal-dialog {
        margin-top: 30%;
    }
}

@media screen and (min-width: 1051px) and (max-width: 1199px) {
    .modal-dialog {
        margin-top: 25%;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1450px) {
    .modal-dialog {
        margin-top: 20%;
    }
}

@media screen and (min-width: 1450px) and (max-width: 1825px) {
    .modal-dialog {
        margin-top: 15%;
    }
}
