@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
}
*:active, *:focus {
    outline: none;
}

body, html {
    padding: 0;
    margin: 0;
    background-color: white;
    height: 100vh;
    overflow: hidden;
}

a, a:visited {
    color: #069efd;
    transition: ease-in-out .3s all;
}
a:hover {
    color: #069efdb0;
}

/* Chat window */
.paola-chat {
    height: 100vh;
}
.paola-chat.closed {
    
}
.paola-chat.opened {
    
}
.paola-chat > .header {
    position: relative;
    display: flex;
    background: rgb(255,28,89);
    background: linear-gradient(129deg, rgba(255,28,89,1) 20%, rgba(150,0,50,1) 50%, rgba(255,28,89,1) 80%);
    height: 36px;
    flex-direction: row;
    flex-wrap: no-wrap;
    align-items: center;
    padding: 8px 10px;
    cursor: pointer;
    transition: ease-in-out .3s all;
    color: #fff;
}
.paola-chat.opened > .header {
    border-bottom-left-radius: 100% 50%;
    border-bottom-right-radius: 100% 50%;
    height: 50px;
    padding-bottom: 20px;
}
.paola-chat > .header > img.avatar {
    object-fit: cover;
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-right: 5px;
}
.paola-chat > .header > img.logo {
    display: none;
}
.paola-chat > .header > .info {
    width: calc(100% - 16px - 36px - 5px - 14px);
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    align-items: baseline;
}
.paola-chat > .header > .info > h1 {
    display: inline-block;
    font-weight: bold;
    font-size: 1.4rem;
    margin: 0;
    padding: 0;
}
.paola-chat > .header > .info > h2 {
    display: inline-block;
    font-weight: normal;
    font-size: 1rem;
    margin: 0;
    padding: 0;
    margin-left: 5px;
}
.paola-chat > .header > .btn-close {
    align-self: flex-start;
    border: none;
    background-color: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .8);
    font-size: 1.2rem;
    border-radius: 3px;
    padding: 2px 6px 1px 6px;
    transition: ease-in-out .3s all;
    cursor: pointer;
    font-family: "Font Awesome 5 Free";
    content: "\f00d";
}
.paola-chat > .header > .btn-close:hover {
    color: rgba(255, 255, 255, .95);
}

.paola-chat.closed > .header {
    height: calc(100vh - 10px);
    padding: 5px;
    display: flex;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.paola-chat.closed > .header > img.avatar {
    border: none;
    width: calc(100vw - 10px);
    height: calc(100vh - 20px);
    margin: 0;
}
.paola-chat.closed > .header > img.logo {
    display: block;
    position: absolute;
    bottom: 15vh;
    right: 9vw;
    height: 22vh;
}
.paola-chat.closed > .header > .info,
.paola-chat.closed > .header > .btn-close {
    display: none;
}

.paola-chat > .main {
    position: relative;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: ease-in-out .3s opacity;
}
.paola-chat.opened > .main {
    height: calc(100vh - 78px);
    opacity: 1;
}
.paola-chat > .main > ul.conversation {
    height: calc(100% - 20px - 45px - 28px);
    list-style: none;
    margin: 0;
    padding: 10px 15px;
    overflow: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    flex-wrap: no-wrap;
    align-items: center;
}
.paola-chat > .main > ul.conversation > li {
    background-color: #f7f7f7;
    color: #7e7e7e;
    padding: 15px;
    font-size: 1rem;
    margin-top: 8px;
    border-radius: 12px;
    align-self: flex-start;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, .13);
}
.paola-chat > .main > ul.conversation > li:first-child {
    margin-top: 0;
}
.paola-chat > .main > ul.conversation > li.me {
    background-color: rgb(255,28,89);/*#069efd;*/
    color: #fff;
    align-self: flex-end;
}
.paola-chat > .main > ul.conversation > li > p {
    margin: 0;
    padding: 0;
}

#writting {
    display: none;
    position: absolute;
    bottom: calc(45px + 28px);
    padding: 3px 15px;
    flex-direction: row;
    flex-wrap: no-wrap;
    align-items: center;
}
#writting.show {
    display: flex;
}
#writting > img.avatar {
    object-fit: cover;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin-right: 5px;
}
#writting > img.writting {
    object-fit: cover;
    height: 9px;
    width: 30px;
}

.paola-chat > .main > .form {
    display: flex;
    flex-direction: row;
    flex-wrap: no-wrap;
    align-items: stretch;
    padding: 0px 15px;
}
.paola-chat > .main > .form > input {
    border: none;
    background-color: #f7f7f7;
    font-size: 1rem;
    color: #7e7e7e;
    padding: 5px 18px;
    width: calc(100% - 26px);
    border-radius: 18px 0 0 18px;
}
.paola-chat > .main > .form > .btn-send {
    border: 2px solid #f7f7f7;
    background-color: #fff;
    color: #069efd;
    border-radius: 50%;
    font-size: 1.4rem;
    padding: 8px 12px 7px 9px;
    margin-left: -18px;
}
.paola-chat > .main > .copyright {
    padding: 5px;
    text-align: center;
}
.paola-chat > .main > .copyright img.logo {
    height: 10px;
}
/* Chat window */

/* Bubble */
.paola-bubble {
    
}
/* Bubble */