@font-face {
    font-family: 'Choko Milky';
    src: url("../fonts/ChokoMilky.ttf");
}

@font-face {
    font-family: 'cursive serif';
    src: url("../fonts/CursiveSerif-Book.ttf");

}

.modal-code {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;

    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-code.show {
    display: flex;
}

.modal-code > .box-modal-code {
    background-color: #222;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 20px 30px 30px 30px;
    text-align: center;

    position: relative;

}

.close-modal-code {
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #444;
    border: 2px solid #000;
    border-radius: 100%;
    cursor: pointer;

    background-image: url("../images/icons/close.png");
    background-size: 18px;
    background-repeat: no-repeat;
    background-position: center;

    display: block;
    width: 26px;
    height: 26px;
}

.popup-window-container .close-modal-code {
    width: 15px;
    height: 15px;
    z-index: 301;
}

.modal-code > .box-modal-code > .code-show{
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-code > .box-modal-code > h2{
    color: rgb(170, 170, 170);
}

.modal-code > .box-modal-code > .code-show > .digit-modal-code{
    width: 50px;
    height: 50px;
    background-color: #444;
    color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    margin: 5px;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-code > .box-modal-code > button{
    background-color: #444;
    color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 5px 25px;
    margin-top: 10px;
    font-size: 1.3em;
    cursor: pointer;
}

.modal-code > .box-modal-code .copy-paste-btn{
    display: inline-block;
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    cursor: copy;
}

.modal-code > .box-modal-code .copy-paste-btn.hide{
    display: none;
}

.modal-code > .box-modal-code .copy-paste-btn > img{
    width: 100%;
    height: 100%;
}

.modal-code .input-code{
    position: absolute;
    opacity: 0;
}

.modal-code > .msg-error{
    color: red;
    font-size: 1.3em;
    margin-top: 10px;
    background-color: #222;
    padding: 5px;
    border-radius: 5px;
}


@keyframes show_notification{
    0%{
        transform: translateY(-200%);
    }
    100%{
        transform: translateY(0);
    }
}

@keyframes hide_notification{
    0%{
        transform: translateY(0);
    }
    100%{
        transform: translateY(-200%);
    }
}

.notification-modal-container{
    position: fixed;
    top: 20px;
    width: max-content;
    height: fit-content;
    
    z-index: 500;

    font-size: .5em;

    padding: 0 20px;

    box-sizing: border-box;

    display: none;

    transition: all .3s;

    cursor: default;

    user-select: none;

}

.notification-modal-container .notification-container{
    margin: auto;
    background-color: rgb(105, 179, 71);
    text-align: center;

    padding: 10px 20px;

    border-radius: 30px;

    color: #fff;

    
    display: flex;
    justify-content: center;
    align-items: center;

}

.notification-modal-container.success .notification-container{
    background-color: rgb(105, 179, 71);
}

.notification-modal-container.error .notification-container{
    background-color: rgb(179, 71, 71);
}

.notification-modal-container.warning .notification-container{
    background-color: rgb(179, 179, 71);
}

.notification-modal-container.info .notification-container{
    background-color: rgb(71, 179, 179);
}

.notification-modal-container.enter{
    display: block;
    animation: show_notification .1s forwards;
}

.notification-modal-container.exit{
    display: block;
    animation: hide_notification .1s forwards;
}

.notification-modal-container .notification-modal-title{
    margin: 0;
    padding: 0;
}

.modal-question{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: max-content;
    padding: 20px;

    z-index: 500;

    box-sizing: border-box;

}

.modal-question.show{
    display: block;
}


.modal-question .modal-question-container{
    background-color: rgb(224, 224, 224);

    padding: 20px;

    border-radius: 20px;

    text-align: center;
}

.modal-question .question-title{
    font-size: 1.5em;

}

.modal-question-buttons{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px;
}

.modal-question-buttons > button{
    background-color: rgb(71, 71, 71);
    color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 5px 25px;
    font-size: 1.2em;
    cursor: pointer;
    flex-grow: 1;
}