.span-text-link{
    text-decoration: none;
    color:black;

}

.menu-btn{
    border-radius: 2rem;
    font-size: medium;
    color: black;
    border: 2px solid #3b82f6;
    padding: 10px 15px;
    background-color: white;
}

.menu-btn:hover {
    background-position: right center;
    background-size: 200% auto;
    -webkit-animation: pulse 2s infinite;
    animation: pulse1 1.5s infinite;
}

@keyframes pulse1 {
    0% {
    box-shadow: 0 0 0 0 #05bada66;
    }

    70% {
    box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }

    100% {
    box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
}

.btn:hover span {
    background: none;
}

.closechat {
    position: absolute;
    right: 10px;
    height: 21px;
    width: 21px;
    background-color: rgba(0,0,0,0.2);
    color: white;
    display: grid;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: .3s ease;
    font-family: system-ui;
}

.closechat:hover {
    background-color: rgba(255, 0, 0, 0.603);
}

.blue {
    background-color: #3b82f6;
}

.chat {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 1rem;
    border-radius: 1rem;
    border: none;
    color: black;
    transition: transform 400ms, filter 400ms;
    position: fixed !important;
    width: 400px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.175);
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}

.chat-header {
    background-color: #3b82f6;
    color: #fff;
    padding: 10px;
    font-size: 18px;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom: 2px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.chat-window {
    height: 400px;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.message-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
}

.message-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
    font-size: 14px;
}

.send-button {
    border: none;
    outline: none;
    background-color: #3b82f6;
    color: #fff;
    font-size: 16px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 1rem;
}

.send-button:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

@keyframes open {
    0%{
        opacity: 0;
        transform: translate(200px,200px) scale(0,0);
    }
    70%{
        opacity: 0.4;
        transform: translate(0px,0px);
    }
    100%{
        opacity: 1;
        transform: scale(1,1);
    }
}

.messages_btn {
    display: block;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 64px;
    height: 64px;
    margin: 1.5rem;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    transition: transform 400ms, filter 400ms;
    position: fixed !important;
    z-index: 9999;
    animation: pulse 1.5s infinite;
}

@keyframes pulse{
    0% {
        box-shadow: 0 0 0 0 #3b82f6
    }

    70% {
        box-shadow: 0 0 0 10px rgb(218 103 68 / 0%);
    }

    100% {
        box-shadow: 0 0 0 0 rgb(218 103 68 / 0%);
    }
}

#msg_icon{
    width: 32px;
    height: 32px;
}    

.messages_btn:hover {
    filter: blur(0);
    transform: scale(1.5, 1.5);
}

@keyframes active_btn {
    0% {
        transform: scale(1.5, 1.5);
        opacity: 1;
        filter: blur(0);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.0, 1.0);
    }
    70% {
        opacity: 0.5;
        transform: scale(1.2, 1.2);
    }
    100% {
        opacity: 0;
        transform: scale(0, 0);
        visibility: hidden;
    }
}

.col-8-user{
    flex: 0 0 auto;
    width: 66.66666667%;
    margin-top: 0;
    padding-left: 12px;
    box-sizing: border-box;
}

.col-4-user{
    flex: 0 0 auto;
    width: 33.33333333%;
    margin-top: 0;
    padding-left: 12px;
    box-sizing: border-box;
}

.row_user{
    display: flex;
    flex-wrap: wrap;
    margin-top: 0;
    margin-right: 12px;
    margin-left: 12px;
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .chat{
        width: 92%;
        height: 94%;
    }
    
    @media (orientation: portrait) {
        .chat-window{
            height: 84%;
        }
    }
    
    @media (orientation: landscape) {
        .chat-window{
            height: 72%;
        }
    }
}

@media (min-width: 801px) and (max-width: 900px) {
    @media (orientation: landscape) {
        .chat{
            width: 92%;
            height: 94%;
        }
        
        .chat-window{
            height: 72%;
        }
    }
    
    @media (orientation: portrait) {
        .chat{
            width: 400px;
        }
    }
}

@media (min-width: 901px) {
    .chat{
        width: 400px;
    }
}
