@import url('../main.css');

.message-box {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    width: auto;
    height: 7rem;
    z-index: 10000000;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-color: var(--background-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 1rem;
}

@keyframes messageBoxIn {
    0% {
        bottom: -3rem;
        opacity: 0;
    }

    100% {
        bottom: 2rem;
        opacity: 1;
    }
}

@keyframes messageBoxOut {
    0% {
        bottom: 2rem;
        opacity: 1;
    }

    100% {
        bottom: -3rem;
        opacity: 0;
    }
}

.message-box .box-icon {
    position: relative;
    margin-left: 1rem;
    font-size: 3rem;
}

.message-box .box-message {
    position: relative;
    font-size: 1.3rem;
    padding-right: 5rem;
}

.message-box .close-button {
    position: absolute;
    top: 2.25rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #ccc;
    transition: .3s ease;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

.message-box .close-button:hover {
    cursor: pointer;
    color: #333;
}