.modalContainer {
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modalContent {
    position: relative !important;
    min-width: 40%;
    min-height: 40vh;
    width: max-content !important;
    height: max-content !important;
    max-width: 70%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: .8rem .8rem #00496a;
    border-radius: 1.25rem;
    border: 1px solid #ced4da;
}

.modalContent__header {
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 1.25rem 1.25rem 0 0;
    height: 20%;
    min-height: 86px;
    flex-shrink: 0;
    padding: 1.5rem 2rem;
}

.modalTitle {
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #000;
    max-width: 50%;
    word-wrap: break-word;
    margin: 0 auto;
    line-height: 1 !important;
}

.btnCloseModal {
    width: 1rem;
    height: 1rem;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: #000;
    position: absolute;
    right: 1rem;
    top: 1rem;
    cursor: pointer;
    user-select: none;
    outline: none;
}

.btnCloseModal:hover {
    color: red;
}

.modalLogo {
    border-radius: 50%;
    border: 1px solid #ced4da;
    background-color: #fff;
    position: absolute;
    width: 5rem;
    height: 5rem;
    left: 3rem;
    top: -3rem;
    overflow: hidden;
    display: flex;       
    justify-content: center; 
    align-items: center;
}

.modalLogo img {
    margin: 0;
    padding: 0;
    width: 80%;
}

.modalContent__body {
    background-color: #fff;
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 3rem;
}

.modalContent__footer {
    padding:  1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 0 0 1.25rem 1.25rem;
    gap: 1rem;
    height: 20%;
    min-height: 86px;
}

.modalContent__footer a {
    white-space: nowrap !important;
    min-width: fit-content;
    width: 35% !important;
    max-width: 35% !important;
}

.modalText{
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 1rem;
}

@media (max-width: 770px) {
    .modalContent {
        min-width: 93% !important;
        max-width: 93% !important;
        box-shadow: .4rem .4rem #00496a;
    }

    .modalTitle {
        max-width: 80%;
    }

    .modalContent__footer {
        gap: 1rem;
        flex-wrap: wrap;
        height: fit-content;
    }

    .modalContent__footer a,
    .modalContent__footer button {
        font-size: 1.1rem;
        white-space: nowrap !important;
        min-width: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        height: calc(fit-content + .5rem);
    }

    .modalLogo {
        width: 4rem;
        height: 4rem;
        left: 1.5rem;
        top: -2.6rem;
        overflow: hidden;
        display: flex;       
        justify-content: center; 
        align-items: center;
    }

    .btnCloseModal {
        font-size: 2rem;
        right: 1rem;
        top: 1rem;
    }

    .modalText{
        font-size: .9rem !important;
    }
}

@keyframes anim__Enter {

    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.anim__Enter {
    animation: anim__Enter .2s ease-out forwards;
}

@keyframes anim__Exit {

    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.anim__Exit {
    animation: anim__Exit .1s ease-out forwards;
}