a {
    color: rgb(3, 160, 231);
}

.message-block {
    background-color: white;
    border-radius: 20px;
    -webkit-box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.08);
    box-shadow: inset 0 0 5px 0 rgba(0, 0, 0, 0.08);
    border: solid 1px #dbdbdf;
    margin-top: 5px;
    padding-bottom: 0 !important;

    .name {
        height: 95%;
        background: rgba(1, 1, 1, 0.1);
        font-size: 2em;

        &.owner {
            border-top-right-radius: 12px;
            border-bottom-right-radius: 12px;
        }

        &.other {
            border-top-left-radius: 12px;
            border-bottom-left-radius: 12px;
        }
    }

    .initial {
        width: 100%;
        text-align: center;
    }

    .message-footer {
        display: flex;
        justify-content: space-between;
        color: #8E97A0;
        font-size: 1.2rem;
        margin-top: 20px;
    }
}


* {
    transition: all .15s;
    outline: none;
}

.attachment-icon {
    margin-top: 25px;
}

.sendBtn {
    letter-spacing: 1px;
    color: #fff;
    overflow: visible;
    position: relative;
    width: 100%;
    cursor: pointer;
    border-radius: 100px;
    background-color: #667281;
    display: inline-block;
    min-height: 45px;
    text-transform: uppercase;
    border-color: #667281;
    padding-right: 35px;

    p {
        color: #fff;
        margin: 0;
        font-size: 12px;
        font-weight: 600;
    }

    &:hover {

        svg {
            transform: rotate(10deg);
            transition: transform .15s;
        }
    }

    svg {
        position: absolute;
        top: 4px;
        right: 10px;
        height: 30px;
        width: auto;
        transition: transform .15s;

        path {
            fill: #fff;
        }
    }

    &.clicked {
        background-color: #cff5b3;
        border: 2px solid #cff5b3;
        color: #6AAA3B;
        padding-right: 6px;
        animation: bounce-in .3s;
        cursor: default;

        svg {
            animation: flyaway 1.3s linear;
            top: -80px;
            right: -1000px;

            path {
                fill: #6AAA3B;
            }
        }
    }
}

@keyframes flyaway {
    0% {
        transform: rotate(10deg);
        top: 13px;
        right: 25px;
        height: 30px;
    }
    5% {
        transform: rotate(10deg);
        top: 13px;
        right: 0px;
        height: 30px;
    }
    20% {
        transform: rotate(-20deg);
        top: 13px;
        right: -130px;
        height: 45px;
    }
    40% {
        transform: rotate(10deg);
        top: -40px;
        right: -280px;
        opacity: 1;
    }
    100% {
        transform: rotate(60deg);
        top: -200px;
        right: -1000px;
        height: 0;
        opacity: 0;
    }
}

@keyframes bounce-in {
    0% {
        padding-right: 30px;
    }
    40% {
        padding-right: 6px;
    }
    50% {
        padding-left: 30px;
    }
    100% {
        padding-left: 6px;
    }
}
