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

html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%
}

body {
    margin: 0;
    height: 100%
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif !important;
}

:after,
:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}

html {
    -webkit-tap-highlight-color: transparent
}

body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #fff
}

.hide {
    display: none !important
}

.show {
    display: block !important
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

* {
    outline: 0
}

body {
    width: 100%;
    min-width: 320px;
    -webkit-transition: .1s;
    transition: .1s;
    background: #14171f;
    border-top: 49px solid #191c24;
    padding: 20px 0 26px;
    height: 100%
}

.body {
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 100%
}

img {
    display: block
}

.about {
    width: 276px;
    display: inline-block;
    vertical-align: top;
    background: rgba(0, 0, 0, .8);
    border-radius: 10px;
    position: relative;
    padding: 40px 0 0;
    height: 100%
}

.about__avatar img {
    margin: 0 auto;
    border-radius: 5px;
    max-width: 180px
}

.about__name {
    margin: 20px 0 0;
    text-align: center
}

.about__name p {
    font-size: 24px;
    color: #fff
}

.content {
    width: 1018px;
    display: inline-block;
    vertical-align: top;
    margin-left: 30px;
    border-radius: 18px;
    height: 100%;
    overflow-y: scroll;
    border-right: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    backdrop-filter: blur(15px);
    background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2), transparent);
}

.content {
    display: block;
    margin: 0 auto;
}

.header {
    padding: 16px 20px;
    background: linear-gradient(0deg, #2c74b31b, #031a4232);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1018px;
    border-radius: 18px 18px 0px 0px;
    z-index: 3;
}

.header__name {
    display: flex;
    align-items: center;
}

.header__avatar {}

.header__avatar img {
    width: 75px;
    height: 46px;
}

.header__desc {
    display: flex;
    flex-direction: column;
}

.header__desc p {
    font-size: 16px;
    font-weight: 600;
    color: rgb(255, 255, 255);
}

.header__desc-name {
    font-weight: 700;
    font-size: 26px;
    text-align: left;
    color: #ffffff;
    margin-bottom: 10px;
    position: relative;
    width: min-content;
}

.header__desc-name::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0767E0;
    right: -14px;
}

.header__online {
    display: inline-block;
    vertical-align: top;
    float: right;
    margin: 35px 40px 15px 0;
}

.header__online p {
    font-size: 14px;
    color: #fff;
    position: relative;
}

.chat {
    padding: 100px 0 20px;
}

.chat__time {
    width: 97px;
    margin: 0 auto;
    background: #D2EFFF;
    border-radius: 7px;
    padding: 7px 0;
    text-align: center;
    margin-top: 5px;
}

.chat__time p {
    font-size: 14px;
    color: #000;
}

.hide-q {
    display: none !important;
}

@media (max-width:1390px) {
    .body {
        width: 1180px;
    }

    .content,
    .header {
        width: 800px;
    }
}

@media (max-width:1001px) {
    .body {
        width: 750px;
    }

    .about {
        display: none;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }

    .header {
        width: 100%;
    }
}

@media (max-width:801px) {
    .body {
        width: 580px;
    }

    .about {
        display: none;
    }

    .content {
        width: 580px;
        display: block;
        margin: 0;
    }

    .chat {
        padding: 130px 0px 20px;
    }
}

@media (max-width:601px) {
    .dec {
        display: none !important;
    }

    html {
        height: 100%;
    }

    body {
        background: 0 0;
        border-top: 0;
        padding: 0;
        height: 100%;
    }

    .body {
        width: 100%;
        position: relative;
        height: 100%;
        padding: 0 0 0;
    }

    .header__name {
        margin: 0;
    }

    .chat {
        background: 0 0;
        margin: 6px 0 0;
    }
}

.main-desc__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    background: url(../images/background.jpg) no-repeat center;
    background-size: cover;
}

.main-desc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    transition: all 1.5s linear;
}

.main-desc__body {
    width: 300px;
    margin: -44px auto 0;
    position: relative;
    z-index: 2;
    padding: 0;
    top: 50%;
}

.body {
    transform: translateY(120%);
    transition: transform 1s linear
}

.b-show {
    display: block;
    animation: showBlock 1s linear forwards
}

body,
html {
    overflow: hidden;
}

body {
    background: url(../images/background.jpg) center no-repeat;
    background-size: cover;
    border-top: none;
}

@media (max-height:840px) {
    .about {
        padding: 30px 0 0;
    }
}

@media screen and (max-width: 840px) {
    body {
        background-size: cover;
        border-top: none;
    }
}

body.add-scroll,
html.add-scroll {
    overflow-y: auto;
}

.content {
    position: relative;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.hide {
    display: none !important;
}

.show {
    display: block;
}

.inp {
    text-align: center;
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    width: 25px;
    display: block;
    color: #fff !important;
    border-radius: 20px;
    border: none;
    padding: 1px 0;
    font-size: 12px;
}

.chat-content-desc-item img {
    width: 400px;
    max-width: 100%;
    border-radius: 20px;
}

.chat-content-list {
    margin: 20px 40px 0;
    font-size: 16px;
    color: #ffffff;
}

.chat-content-desc-item {
    max-width: 629px;
    display: table;
    background: #2c6bb3e1;
    border-radius: 0px 20px 20px 20px;
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
    -webkit-filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(-2px 2px 1px rgba(0, 0, 0, 0.2));
}

/* .chat-content-desc-item::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 0;
    right: -10px;
    border-top: 5px solid transparent;
    border-left: 10px solid #F9F7F4;
    border-bottom: 15px solid transparent;
    filter: drop-shadow(0px 1px rgba(0, 0, 0, 0.2));
} */

.chat-content-buttons-gender {
    background: #EBF1F5;
    border-radius: 0px 10px 10px 10px;
    display: table;
    padding: 20px 20px 17px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 20px;
    max-width: 600px;
    filter: drop-shadow(0px 2px 1px rgba(0, 0, 0, 0.2));
    position: relative;
}

.chat-content-buttons-gender::before {
    position: absolute;
    content: "";
    /* border-top: 5px solid transparent; */
    border-bottom: 15px solid transparent;
    border-right: 10px solid #EBF1F5;
    left: -10px;
    top: 0;
    filter: drop-shadow(0px 1px rgba(0, 0, 0, 0.2));
}

.chat-content-buttons-gender-block {
    width: auto;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;

    border: 1px solid #0074BE;
    border-radius: 5px;
    cursor: pointer;
    -webkit-transition: .5s;
    transition: .5s;
    color: #fff
}

.chat-content-buttons-gender-block span {
    display: block;
    padding: 12px 15px
}

.chat-content-buttons-gender-block:last-child {
    margin-right: 0
}

.chat-content-desc-item.user {
    display: flex;
    flex-direction: row-reverse;
    background: #0A2647;
    border-radius: 20px 0px 20px 20px;
    padding: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: 0;
    position: relative;
    width: fit-content;
}

.message-time {
    width: 40px;
    display: inline-block;
    vertical-align: top;
    margin: 4px 0 0;
    letter-spacing: 1px;
}

.text {
    max-width: 539px;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 10px;
    line-height: 130%;
    font-weight: 500;
}

.chat-content-desc-item.user .text {
    margin: 0 10px 0 0
}

.message-time {
    font-size: 14px;
    color: #ffffff;
}

.iframe-form {
    height: 0;
    opacity: 0;
    overflow: hidden
}

.iframe-form.show {
    opacity: 1;
    height: auto
}

@media (max-width :1200px) {
    .content {
        margin: auto;
        display: block
    }

    .about {
        display: none
    }
}

@media (max-width :991px) {
    .header {
        background-size: 50px
    }

    .header__online {
        margin: 25px 40px 0 0
    }

    .header__name {
        margin: 5px 0;
    }

    .chat__time {
        margin-top: 0
    }
}

@media (max-width :600px) {
    .content {
        width: 100%;
        z-index: 2;
        height: 100%;
        position: relative;
        border-radius: 0;
        background: transparent;
    }

    .header {
        width: 100%;
        margin: 0 auto;
        padding: 5px 0 5px;
        border-radius: 0;
    }

    .reviews {
        padding: 10px 15px;
        margin-top: 0
    }

    .chat-content-list {
        margin: 10px 20px 0;
    }

    .header__body {
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .header__online {
        margin: 0
    }

    .message-time {
        width: 40px
    }

    .chat-content-desc-item {
        padding: 20px 15px;
        margin-bottom: 10px
    }

    .chat-content-desc-item.user {
        max-width: 90%;
        padding: 20px 15px;
        margin-bottom: 10px
    }

    .text {
        margin: 0 0 0 7px
    }

    .chat-content-buttons-gender {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding: 10px 10px 12px;
        margin-bottom: 10px;
        max-width: 80%
    }
}

@media (max-width :400px) {
    .text {
        margin: 0 0 0 7px
    }

    .chat-content-list {
        margin: 10px 15px 0
    }
}

@media (max-width :360px) {
    .text {
        max-width: 240px;
        margin: 0 0 0 7px
    }
}

@media (max-width :320px) {
    .text {
        max-width: 210px;
        margin: 0 0 0 7px
    }

    .header__desc {
        margin: 3px 0 0 7px
    }
}

button {
    font-family: 'Montserrat', sans-serif;
}

.chat-content-desc-item.manager,
.user-answer_list,
.chat-content-desc-item.user,
.user--name,
.user--email,
.user--phone {
    position: relative;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.461);
}

.chat-content-desc-item.manager::after,
.user-answer_list::after,
.chat-content-desc-item.user::after,
.user--name::after,
.user--email::after,
.user--phone::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #75e60c;
    right: -10px;
    top: 0;
    filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.4));
}

.user-answer_list::after,
.chat-content-desc-item.user::after,
.user--name::after,
.user--email::after,
.user--phone::after {
    left: -10px;
}

.iti__selected-dial-code,
.iti__arrow {
    color: #000 !important;
    border-top-color: #000 !important;
}

.iti {
    width: 100% !important;
}

.iti__country {
    color: #000 !important;
}

.iti.iti--allow-dropdown.iti--separate-dial-code.phoneWrapper {
    width: 100% !important;
}

.iframe-form {
    max-width: 570px;
    margin: 0 auto;
}

.main__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 20px 0 40px 0;
    text-align: center;
    font-size: 42px;
    color: #ffffffff;
    text-shadow: 5px 5px #000000;
}

.footer-email {
    margin-top: 40px;
    text-align: center;
    color: #ffffffff;
}

.footer-pr {
    padding: 40px;
}

.footer-pr img {
    display: block;
    margin: 0 auto;
}

.chat-content-buttons-gender-block,
.text {
    font-size: 18px;
}

#form {
    background: rgba(0, 0, 0, 0.49);
    border: 2px solid #FFFFFF;
    border-radius: 15px;
}

.form__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 25px;
    text-align: center;
    letter-spacing: -0.05em;
    color: #FFFFFF;
    margin-bottom: 25px;
}

.footer {
    padding: 50px 0;
    background: #343434;
    text-align: center;
}

.footer__copy {
    max-width: 860px;
    padding: 0px 10px;
    display: block;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer__copy p {
    font-weight: 400;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.footer__email {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
}

.footer__pr {
    display: flex;
    justify-content: center;
    opacity: 0.2;
}

.footer__pr img {
    width: 300px;
}

.header__name {
    display: flex;
    gap: 20px;
}

@media (max-width :768px) {
    .chat-content-desc-item img {
        width: auto;
        max-width: 100%
    }
}

@media (max-width :1400px) {
    .scroll-me {
        right: 70px
    }
}

@media (max-width :991px) {
    body {
        border-top: none !important
    }

    .scroll-me {
        position: fixed;
        right: 0;
        bottom: 100px
    }

    .header__online {
        margin: 35px 40px 0 0
    }

    body,
    html {
        overflow-x: hidden
    }
}

@media (max-width:601px) {
    .header__name {
        margin: 0;
    }

    .header__online {
        margin: 0;
        margin-top: 15px
    }
}

@media (max-width: 640px) {
    .main__title {
        font-size: 24px;
    }

    .header__desc p {
        font-size: 12px;
    }

    .header__desc-name {
        text-align: left;
        font-size: 18px;
        margin-bottom: 5px;
    }

    .header__name {
        margin: 5px 0;
    }

    .footer__copy p {
        font-size: 18px;
    }

    .footer {
        padding: 15px;
    }

    .footer__copy {
        margin-bottom: 15px;
    }

    .chat {
        padding: 100px 0px 20px;
    }
}

@media screen and (max-width: 500px) {
    .header__name {
        padding: 10px;
        margin: 0;
    }
}

/*  */

::-webkit-scrollbar {
    display: none;
}

#res {
    position: absolute;
    top: -100%;
}

.fake__form {
    display: none;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
}

.fake__form .input-roulette::placeholder {
    color: #fff;
}

.register-form__button button[name="submit"] {
    width: 250px;
    border-radius: 5px;
    background-color: #0DB14B;
    color: #fff;
    font-size: 18px;
    height: 60px;
}

.register-form input::placeholder {
    color: #fff;
}

.header__desc {
    position: relative;
}

.user--name,
.user--email,
.user--phone {
    display: none;
}

.user--name.show,
.user--email.show,
.user--phone.show {
    display: block;
}

.next--answer-content {
    max-width: 200px;
}

.user-answer_list {
    background: #144172ed;
    border-radius: 20px 0px 20px 20px;
    display: table;
    padding: 20px 20px 17px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 20px;
    max-width: 600px;
    -webkit-filter: drop-shadow(2px 3px 1px rgba(0, 0, 0, 0.2));
    filter: drop-shadow(2px 3px 1px rgba(0, 0, 0, 0.2));
    position: relative;
}

.user--answer {
    width: auto;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    margin-top: 5px;
    margin-bottom: 5px;

    border: 2px solid #00B1D9;
    border-radius: 20px;
    cursor: pointer;
    -webkit-transition: .5s;
    transition: .5s;
    color: #fff;
    padding: 10px 15px;
    font-size: 20px;
    transition: background-color 0.3s;
    background: #144172ed;
}
.user--answer:hover {
    border: 2px solid #00B1D9;
    background-color: rgba(0, 177, 217, 0.3);
}

.user--answer:last-child {
    margin-right: 0;
}

@media screen and (max-width: 600px) {
    .form-input-main {
        padding: 10px 15px 0;
    }
}

b {
    font-weight: 700 !important;
}

/* Loader */

.message-loader {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 128px;
    height: 47px;
    position: relative;
    /* background-color: #ffffff;
    border-radius: 0px 25px 25px 25px;
    position: relative;
    filter: drop-shadow(4px 7px 4px #000); */
}

.message-loader svg {
    position: absolute;
}

/* .message-loader::after {
    position: absolute;
    content: "";
    border-bottom: 15px solid transparent;
    border-right: 10px solid #ffffff;
    left: -10px;
    top: 0;
    filter: drop-shadow(0px 1px rgba(0, 0, 0, 0.2));
} */

.loader_circle {
    display: block;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background-color: #8C8C8C;
    transition: all .5s;
}

.loader_circle:first-child {
    animation: loading_message1 1s infinite alternate;
    animation-delay: 0s;
}

.loader_circle:nth-child(2) {
    animation: loading_message2 1s infinite alternate;
    animation-delay: 1s;
}

.loader_circle:last-child {
    animation: loading_message3 1s infinite alternate;
    animation-delay: 2s;
}

@keyframes loading_message1 {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 0.4;
    }
}

@keyframes loading_message2 {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.75;
    }
}

@keyframes loading_message3 {
    0% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}