/* RESET CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes AlertAnimate {
    0% {
        scale: 0;
    }

    25% {
        scale: .5;
    }

    50% {
        scale: .7;
    }

    75% {
        scale: 1.2;
    }

    100% {
        scale: 1;
    }
}

@keyframes BodyAlert {
    0% {
        opacity: 0;
        transform: translate(0px, 100px);
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* WALLPAPER ALERT */
.alert-wallpaper {
    background-color: rgba(0, 0, 0, .5);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
}

/* THE FRAME MODAL ALERT */
.alert-frame {
    animation: AlertAnimate .5s ease;
    border-radius: 10px;
    background-color: #fff;
    min-width: 250px;
    max-width: 350px;
    
    max-height: 90vh;
}

/* HEADER MODAL ALERT */
.alert-header {
    padding: 5px;
    position: relative;
    top: 0%;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* CLOSE BUTTOM */
.alert-close {
    position: absolute;
    font-weight: bold;
    cursor: pointer;
}

.alert-close-style-default {
    top: 0;
    right: 5px;
    color: #aaa;
    transition: all .5s;
}

.alert-close-style-default:hover {
    color: #000;
}

.alert-close-style-circle {
    width: 25px;
    height: 25px;
    top: -10px;
    right: -10px;
    color: #ccc;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .5s;
}

.alert-close-style-circle:hover {
    background-color: rgba(255, 255, 255, .9);
    color: #000;
}

/* IMAGE HEADER ALERT */
.alert-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* BODY ALERT */
.alert-body {
    animation: BodyAlert 1s linear;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 10px 20px 10px 20px;
}

.alert-body-title {
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.alert-body-message {
    padding-top: 5px;
    color: #aaa;
    font-size: 1.1rem;
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.alert-body-button {
    width: 40%;
    margin-top: 15px;
    font-size: large;
    padding: 10px;
    border: none;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all .4s;
}

.alert-body-button:hover {
    opacity: .5;
}

/* BUTTONS QUESTION */

.btn-cancel {
    background-color: #d85261;
}

.btn-cancel:hover {
    opacity: .5;
}

.btn-confirm {
    background-color: #2dd284;
}

.btn-confirm:hover {
    opacity: .5;
}

.buttons-question {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* INPUT ALERT */

.alert-input {
    outline: none;
    border: 0;
    border-bottom: 1px solid #065535;
    font-size: 1.2rem;
    width: 100%;
    margin-top: 10px;
}

/* TOAST */

@keyframes Toast-right {
    0% {
        transform: translateX(500px);
    }

    25% {
        transform: translateX(375px);
    }

    50% {
        transform: translateX(250px);
    }

    75% {
        transform: translateX(125px);
    }

    100% {
        transform: translateX(0px);
    }
}

@keyframes Toast-left {
    0% {
        transform: translateX(-500px);
    }

    25% {
        transform: translateX(-375px);
    }

    50% {
        transform: translateX(-250px);
    }

    75% {
        transform: translateX(-125px);
    }

    100% {
        transform: translateX(0px);
    }

}

.toast-main {
    position: fixed;
    z-index: 99999;
    display: flex;
    flex-direction: column;
}

.toast-right {
    top: 15px;
    right: 15px;
}

.toast-left {
    top: 15px;
    left: 15px;
}

.toast-frame {
    min-width: 100px;
    height: 70px;
    display: flex;
    border-radius: 20px;
    padding: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.2);
}

.toast-frame+.toast-frame {
    margin-top: 10px;
}

.toast-img {
    object-fit: cover;
}

.toast-close {
    color: #ccc;
    font-size: 10px;
    cursor: pointer;
    transition: all .3s;
    width: 10px;
    height: 10px;
}

.toast-close:hover {
    color: #fff;
}

.toast-content {
    padding-right: 10px;
    max-width: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.toast-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.toast-message {
    color: #eee;
    font-size: .9rem;
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

/* HORIZONTAL ALERT */

@keyframes AlertHorizontalAnimate {
    0% {
        scale: 0;
    }

    25% {
        scale: .5;
    }

    50% {
        scale: .7;
    }

    75% {
        scale: 1.2;
    }

    100% {
        scale: 1;
    }
}

@keyframes BodyAlertHorizontal {
    0% {
        opacity: 0;
        transform: translate(0px, 100px);
    }

    50% {
        opacity: 0;
    }

    75% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.horizontal-frame{
    display: flex;
    border-radius: 10px;
    background-color: #fff;
    min-width: 300px;
    max-width: 90vw;
    min-height: 250px;
    max-height: 80vh;
    animation: AlertHorizontalAnimate .5s ease;
}

.horizontal-header{
    min-height: 100%;
    width: 150px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;

}

.horizontal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.horizontal-body{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100%;
    padding: 10px;
    animation: BodyAlertHorizontal 1s linear;
}

.horizontal-body-title{
    color: #000;
    font-size: 1.5rem;
    font-weight: bold;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.horizontal-body-message{
    padding-top: 5px;
    color: #aaa;
    font-size: 1.1rem;
    text-align: justify;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.horizontal-body-button{
    width: 40%;
    margin-top: 15px;
    font-size: large;
    padding: 10px;
    border: none;
    color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all .4s;
}

.horizontal-body-button:hover{
    opacity: .5;
}


/* BACKGROUNDS COLORS HEADERS, BUTTONS AND TOASTS */

.success-bg {
    background-color: #2dd284;
}

.error-bg {
    background-color: #d85261;
}

.warning-bg {
    background-color: #fada5e;
}

.info-bg {
    background-color: #88cef7;
}

.question-bg {
    background-color: #779ecb;
}

.opinion-bg {
    background-color: #5c5d57;
}

.dark-bg {
    background-color: #111;
}

.input-bg {
    background-color: #065535
}

.bg-global {
    background-color: #fff;
}