﻿@import url("../css2");

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: "SF", 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;
}

b,
body,
canvas,
div,
html,
img,
p,
span {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

body {
  line-height: 1;
}

* {
  outline: 0;
}

body {
  width: 100%;
  min-width: 320px;
  -webkit-transition: 0.1s;
  transition: 0.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;
}

.submit_btn {
  border-radius: 21px;
  -moz-border-radius: 21px;
  -ms-border-radius: 21px;
  -o-border-radius: 21px;
  border-radius: 21px;
  text-align: center;
  text-transform: none;
  background: #00bfff;
  color: #fff;
  transition: opacity 0.2s ease-out;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  height: 53px;
  width: 304px;
  color: #ffffff;
  border: none;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.content {
  width: 1018px;
  display: inline-block;
  vertical-align: top;
  margin-left: 30px;
  border-radius: 18px;
  height: 100%;
  overflow-y: scroll;
  background-color: rgba(245, 245, 245, 0.6);
}

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

.header {
  padding: 16px 20px;
  background: linear-gradient(0deg, #f5f5f5, #f5f5f5), #ffffff;
  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: 60px;
  height: auto;
}

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

.header__desc p {
  font-size: 16px;
  font-weight: 600;
  color: rgba(18, 18, 18, 0.7);
}

.header__desc-name {
  font-weight: 700;
  font-size: 26px;
  text-align: left;
  color: #000;
  margin-bottom: 10px;
  position: relative;
  width: fit-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;
}

.chat {
  padding: 100px 0 20px;
}
/*Responsive Design*/

*:focus {
  outline: none;
}

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

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

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

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

  .header {
    width: 100%;
  }
}

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

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

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

@media (max-width: 601px) {
  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;
  }
}

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

body,
html {
  overflow: auto;
}

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

@media screen and (max-width: 840px) {
  body {
    /* background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
        background-size: cover; */
    border-top: none;
  }
}

.content {
  position: relative;
}

/* .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));
} */

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

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

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

  .header__name {
    margin: 5px 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;
  }

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

  .text {
    margin: 0 0 0 7px;
  }
}

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

@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;
}

.text {
  font-size: 18px;
}

.px-4 {
  padding: 0rem 1rem;
}

#chart {
  /* height: 500px !important; */
}

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

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

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

@media (max-width: 640px) {
  .header__desc p {
    font-size: 12px;
  }

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

  .header__name {
    margin: 5px 0;
  }

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

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

/*  */

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

.header__desc {
  position: relative;
}

b {
  font-weight: 700 !important;
}

/* Loader */

/* Start Form */

/* Default Form  */

.register-form {
  padding: 30px 20px 30px;
  width: 100%;
  max-width: 450px;
  font-size: 18px;
  font-weight: 400;
  margin: 10px auto 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background-color: #e5e5e5;
  border-radius: 10px;
  display: none;
}

/* Hide arrows */
/* Default Form  */

/* End Form */

/* validate */
/* validate */

/* loader  */
.loader {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background-color: rgba(37, 44, 51, 0.5);
}

.loader-element {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #00faaa;
  -webkit-animation: 2s linear infinite spin;
  animation: 2s linear infinite spin;
}

.loader-element::before {
  position: absolute;
  content: "";
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #f70044;
  -webkit-animation: 3s linear infinite spin;
  animation: 3s linear infinite spin;
}

.loader-element::after {
  position: absolute;
  content: "";
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #00faaa;
  -webkit-animation: 1.5s linear infinite spin;
  animation: 1.5s linear infinite spin;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0);
    -ms-transform: rotate(0);
    transform: rotate(0);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
