:root {
    --blue: #cff1ef;
    --light-violet: #fbcffc;
    --violet: #be79df;
    --gray: #f7f9fb;
    --turqoise: #23a6d5;
}


/* Firefox */
/* * {
    scrollbar-width: thin;
    scrollbar-color: var(--dark-blue-very-light) var(--transparent);
} */

/* Chrome, Edge and Safari */
/* *::-webkit-scrollbar {
    width: 10px;
    width: 10px;
}

*::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: var(--transparent);
}

*::-webkit-scrollbar-track:hover {
    background-color: var(--transparent);
}

*::-webkit-scrollbar-track:active {
    background-color: var(--transparent);
}

*::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: var(--dark-blue-very-light);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--dark-blue-very-light);
}

*::-webkit-scrollbar-thumb:active {
    background-color: var(--dark-blue-very-light);
} */

.chat-box>.startup-message {
    /* background-color: var(--dark-blue-very-light); */
    /* background: linear-gradient(-10deg, rgb(34, 34, 129), rgb(5, 5, 39), rgb(2, 2, 27), rgb(98, 98, 255), rgb(34, 34, 129)); */
    /* background: linear-gradient(-10deg, #213875, #15244d, rgb(128, 155, 226), #3d65d4, #213875); */
    /* height: 100%; */
    overflow-y: auto;
    /* height: 300px; */
    text-align: center;
    border-radius: 0 0 20px 20px;
    /* animation: gradient 15s ease infinite; */
    background-size: 400% 400%;
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
}

.chat-box>.startup-message>.img-startup {
    margin-top: 5vh;
    /* background-color: blue; */
    height: 200px;
    animation: floating 2s ease-in-out infinite;
}

.chat-box>.startup-message>.button-start-chat {
    margin-left: auto;
    color: var(--white);
    font-weight: bold;
    /* border-top: 2px solid #f7f9fb; */
    border-radius: 20px 20px 20px 20px;
    cursor: pointer;
    margin-bottom: 30px;
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
}

.chat-box>.startup-message>.button-start-chat:hover {
    background-color: var(--dark-blue-opacity);
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}

@keyframes floating {
    0% {
      transform: translatey(0px);
    }
    50% {
      transform: translatey(-5px);
    }
    100% {
      transform: translatey(0px);
    }
}

.chat-box>.startup-message>h3 {
    color: white;
}

.chat-box>.startup-message>span {
    color: white;
}

/* i:hover {
    color: var(--dark-blue-very-light);
} */

.d-none {
    display: none !important;
}

.others-show {
    top: -55px !important;
    z-index: 10 !important;
}

.emoji-show {
    display: flex !important;
    flex-wrap: wrap;
    align-content: flex-start;
    width: 150px !important;
    height: 100px !important;
    padding: 10px;

    top: -135px !important;
    right: 10px !important;
    background-color: #fff;
    box-shadow: 0 0 25px -5px lightgray;
    border-radius: 5px 5px 0 5px;
}

.button-chat {
    border: 0;
    outline: none;
}

.img-chat {
    width: 100%;
    object-fit: cover;
}

.avatar-wrapper {
    border-radius: 50%;
    overflow: hidden;
}

@media (max-width: 320.98px) { 
    .chat-box {
        position: fixed;
        bottom: 10px;
        /* right: 10px; */
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
        z-index: 99;
    }
}

@media (min-width: 321px) and (max-width: 424.98px) { 
    .chat-box {
        position: fixed;
        bottom: 10px;
        /* right: 10px; */
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
        z-index: 99;
    }
}

@media (min-width: 425px) and (max-width: 575.98px) { 
    .chat-box {
        position: fixed;
        bottom: 10px;
        /* right: 10px; */
        padding-left: 5px;
        padding-right: 5px;
        width: 100%;
        z-index: 99;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) { 
        .chat-box {
        position: fixed;
        bottom: 10px;
        right: 10px;
        margin: auto;
        width: 350px;
        z-index: 99;
    }
}

@media (min-width: 768px) and (max-width: 991.98px){
        .chat-box {
        position: fixed;
        bottom: 10px;
        right: 10px;
        margin: auto;
        width: 350px;
        z-index: 99;
    }
}

@media (min-width: 992px) and (max-width: 1199.99px) {
        .chat-box {
        position: fixed;
        bottom: 10px;
        right: 10px;
        margin: auto;
        width: 350px;
        z-index: 99;
    }
}

@media (min-width: 1200px) {
        .chat-box {
        position: fixed;
        bottom: 10px;
        right: 10px;
        margin: auto;
        width: 350px;
        z-index: 99;
    } 
}
 
/* 
.chat-box > h1, h2, h3, span {
    
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
} */

.chat-box>.header {
    display: flex;
    align-items: center;
    border-radius: 20px 20px 0 0;
    padding: 15px;
    cursor: pointer;
}

.chat-box>.header>.avatar-big {
    width: 35px;
    height: 35px;
}

.chat-box>.header>.name {
    margin-left: 20px;
    font-size: 20px;
    font-weight: 500;
    color: white;
}

.chat-box>.header>.name {
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
}

.chat-box>.header>.options {
    font-size: 20px;
    color: lightgrey;
    margin-left: auto;
    cursor: pointer;
}

.chat-box>.chat-room {
    overflow-y: auto;
    height: 300px;
    /* background-color: #f7f9fb; */
    /* background: linear-gradient(-10deg, rgb(34, 34, 129), rgb(5, 5, 39), rgb(2, 2, 27), rgb(98, 98, 255), rgb(34, 34, 129)); */
    /* background: linear-gradient(-10deg, #213875, #15244d, rgb(128, 155, 226), #3d65d4, #213875); */
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    padding: 15px;
    color: white;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-box>.chat-room>.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.chat-box>.chat-room>.message>.avatar-small {
    width: 55px;
    height: 55px;
}

.chat-box>.chat-room>.message-left {
    color: white;
    align-items: flex-start;
}

.chat-box>.chat-room>.message-left>.img-startup {
    height: 100px;
    animation: floating 2s ease-in-out infinite;
}

.chat-box>.chat-room>.message>.bubble {
    
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
    border-radius: 0 5px 5px 5px;
}

.chat-box>.chat-room>.message-right {
    align-items: flex-end;
}

.chat-box>.chat-room>.message>.bubble {
    border-radius: 5px 0 5px 5px;
}

.chat-box>.chat-room>.message>.bubble {
    padding: 10px;
    font-size: 14px;
    margin-top: 5px;
    display: inline-block;
}


.chat-box>.chat-room>.message>.bubble-dark {
    color: #fff;
}

.chat-box>.chat-room>.chat-question-form>.needs-validation>label {
    font-size: 14px;
}

.chat-box>.save-area {
    display: flex;
    height: 65px;
    background-color: var(--dark-blue-very-light);
    border-radius: 0 0 20px 20px;
}

.chat-box>.save-area>.button-save {
    margin-left: auto;
    width: 100%;
    color: var(--white);
    font-weight: bold;
    /* border-top: 2px solid #f7f9fb; */
    border-radius: 0 0 20px 20px;
    cursor: pointer;
    font-family: 'Century Gothic', 'Helvetica';
    font-weight: 300;
}

.chat-box>.save-area>.button-save:hover {
    color: #fff;
}

.chat-box>.type-area {
    display: flex;
    height: 65px;
    border-radius: 0 0 20px 20px;
}

.chat-box>.type-area>.input-wrapper {
    overflow: hidden;
    border-radius: 0 0 0 20px;
}

.chat-box>.type-area>.input-wrapper>input {
    color: white;
    outline: none;
    border: none;
    padding-left: 20px;
    height: 100%;
    width: 220px;
    font-size: 14px;
}

.chat-box>.type-area>.input-wrapper>input::placeholder {
    color: white;
}


.chat-box>.type-area>.button-add {
    display: flex;
    align-items: center;
    position: relative;
}

.chat-box>.type-area>.button-add>i {
    font-size: 30px;
    color: lightgrey;
    cursor: pointer;
}

.chat-box>.type-area>.button-add>i:hover {
    color: var(--dark-blue-very-light);
}

.chat-box>.type-area>.button-add>.others {
    display: flex;
    padding: 10px 15px;
    background-color: #fff;
    position: absolute;
    top: 5px;
    z-index: -1;
    right: -52px;
    border-radius: 999px;
    box-shadow: 0 0 25px -5px lightgray;
    transition: 0.3s all ease-out;
}

.chat-box>.type-area>.button-add>.others>span>i {
    font-size: 20px;
    color: var(--dark-blue-very-light);
}

.chat-box>.type-area>.button-add>.others>span.image-button {
    margin: 0 25px;
}

.chat-box>.type-area>.button-add>.others>.emoji-button {
    position: relative;
}

.chat-box>.type-area>.button-add>.others>.emoji-button>.emoji-box {
    display: none;
    position: absolute;
    width: 0px;
    height: 0px;
    top: 0px;
    right: 0px;
    transition: 0.3s all ease-out;
}

.chat-box>.type-area>.button-add>.others>.emoji-button>.emoji-box>span {
    user-select: none;
    cursor: pointer;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 20px;
    height: 20px;
}

.chat-box>.type-area>.button-send {
    margin-left: auto;
    width: 65px;
    color: var(--white);
    font-weight: bold;
    border-radius: 0 0 20px 0;
    cursor: pointer;
}

.chat-box>.type-area>.button-send:hover {
    color: #fff;
}