.modal-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    overflow: auto;
}

.first-modal-container {
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(.2rem);
}

.modals-general-container {
    height: 0;
    width: 0;
}

.modal-specidev {
    max-width: 100%;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    overflow: auto;
    animation: .3s ease-out slidein;
    box-shadow: rgba(60, 60, 60, 40%) -3px 0px 8px;
    border-radius: 0.7rem;
}

@keyframes slidein {
    from {
        transform: translateY(-2rem);
        opacity: 0.8;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.small-modal {
    min-width: 15rem;
    width: 30%;
    max-height: 90%;
}

.medium-modal {
    min-width: 25rem;
    width: 50%;
    max-height: 90%;
}

.medium-plus-modal {
    min-width: 25rem;
    width: 60%;
    max-height: 90%;
}

.large-modal {
    min-width: 35rem;
    width: 75%;
    max-height: 90%;
}

.full-screen-modal {
    min-width: 50rem;
    width: 95%;
    max-height: 95%;
}

.main-modal {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 0;
    overflow: hidden;
}

.header-modal {
    padding: 0.3rem;
    padding-left: 0.8rem;
    height: 2.5rem;
    width: 100%;
    background-color: var(--color-primary);
}

.body-modal {
    padding: 0.8rem;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.footer-modal {
    padding: 0.5rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.background-main-color {
    background-color: var(--color-primary);
}


.btn-validate-color {
    background-color: var(--btn-color-validate);
}

.btn-cancel-color {
    background-color: var(--btn-color-cancel);
}

.info-modal-message {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre-line;
}

.boolean-result-modal-message {
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: pre-line;
}


.main-modal .header-modal {
    color: var(--font-th-color);
}