.wrapper {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.wrapper.show {
    opacity: 1;
}

.message {
    border: solid 3px #666666;
    display: flex;
    min-width: 200px;
    max-width: 500px;
    padding: 20px;
    border-radius: 20px;
    flex-direction: column;
    background-color: hsl(0, 0%, 18%);
    transform: translate3d(0, 50px, 0);
    opacity: 0;
}

.message.show {
    animation: show-modal-message 0.2s cubic-bezier(.11, .57, .87, .71) 0.05s forwards;
}

.title {
    color: #999999;
    padding-bottom: 10px;
    text-align: center;
}

.content {
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.text {
    padding-bottom: 4px;
}

.buttonWrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 16px;
}

.button {
    padding: 4px 12px;
    cursor: pointer;
    transition: background-color 0.08s ease-in-out, opacity 0.1s ease-in-out;
    border-radius: 5px;
    opacity: 1;
}

.button:hover {
    background-color: hsl(0, 0%, 25%);
}

.button:active {
    background-color: hsl(0, 0%, 25%);
    opacity: 0.65;
}

@keyframes show-modal-message {
    0% {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }

    90% {
        opacity: 0.9;
        transform: translate3d(0, 0, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}