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,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: "Inter", serif;
  background-color: #f8fafc;
  color: #1d1a2d;
  background-image: url(../images/background.png);
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  background-size: contain;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: none;
}

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

strong {
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

.general-wrapper {
  max-width: 1440px;
  position: relative;
  margin: 44px auto 78px auto;
  padding: 0px 100px 0px 60px;
}

.header-wrapper {
  position: absolute;
  top: 0;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  width: 94px;
  height: 94px;
}

.header-text {
  font-size: 32px;
  font-weight: 900;
  line-height: 28px;
  text-transform: uppercase;
}

.main-wrapper {
  width: calc(100% - 200px);
  margin-left: auto;
}

.main-sections-container {
  display: flex;
  align-items: center;
  align-items: flex-end;
  gap: 40px;
  justify-content: space-between;
  width: 100%;
}

.chat {
  max-width: 658px;
  width: 100%;
  height: calc(100vh - 44px - 78px);
  padding: 42px;
  border: 1px solid #e2e1e6;
  border-radius: 22px;
  background-color: #ffffff;
}

.chat-content-container {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.chat-header {
  display: flex;
  justify-content: flex-end;
}

.toggle-sounds-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Slider styles start */

.slider-container {
  width: 144px;
  height: 18px;
  display: flex;
  align-items: center;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 1px;
  background: #71717a;
  border-radius: 2px;
  outline: none;
  margin: 0;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #4469f3;
  border-radius: 50%;
  cursor: pointer;
}

.slider::-webkit-slider-thumb:hover {
  background: #2c4397;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #4469f3;
  border-radius: 50%;
  cursor: pointer;
}

.slider::-ms-thumb {
  width: 18px;
  height: 18px;
  background: #4469f3;
  border-radius: 50%;
  cursor: pointer;
}

/* Slider styles end */

#toggleSoundsButtonImg {
  cursor: pointer;
}

.chat-inside-window-content {
  display: grid;
  grid-template-rows: 1fr max-content;
  height: calc(100% - 42px);
  gap: 20px;
}

.chat-messages-wrapper {
  position: relative;
  overflow: hidden;
  transition: height 0.3s;
}

.voice-recording-circle {
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 158px;
  height: 158px;
  background: #4469f3;
  border-radius: 50%;
  transition: transform 0.1s linear;
}

.recording-circle-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
}

.chat-messages {
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
  color: #71717a;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding-right: 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.chat-hint {
  line-height: 120%;
}

.chat-messages::-webkit-scrollbar {
  width: 7px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #ffffff;
  border-radius: 99999px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 99999px;
}

.message.bot {
  color: #1d1a2d;
  max-width: calc(100% - 12px);
  width: fit-content;
  background-color: #f8fafc;
  padding: 16px;
  border-radius: 6px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 130%;
}

.message.user {
  color: #1d1a2d;
  max-width: calc(100% - 12px);
  width: fit-content;
  background-color: #d8e9ff;
  padding: 16px;
  border-radius: 6px;
  align-self: flex-end;
  word-break: break-word;
  line-height: 130%;
}

.voice-message-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: #d8e9ff;
  border-radius: 70px;
  border: none;
  width: max-content;
  cursor: pointer;
}

.chat-inputs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-inputs-container-disabled {
  opacity: 0.3;
  pointer-events: none;
}

.text-chat-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.field {
  width: 100%;
  height: 44px;
  border: 1px solid #e2e1e6;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 100%;
}

.field:focus {
  outline: 1px solid #4469f3;
}

.chat-send-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  width: 43px;
  height: 43px;
  border: 1px solid #4469f3;
  border-radius: 80px;
  background-color: #ffffff;
  cursor: pointer;
}

.chat-send-button:hover {
  opacity: 0.5;
}

.chat-voice-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 19px 37.5px;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 80px;
  background-color: #4469f3;
  color: #ffffff;
  cursor: pointer;
}

.chat-voice-button:hover {
  background-color: #2c4397;
}

.chat-voice-button-active {
  border: 2px solid #4469f3;
  background-color: #d8e9ff;
}

.chat-voice-button-active .chat-voice-button-text {
  color: #4469f3;
}

.chat-voice-button-active:hover {
  background-color: #d8e9ff;
}

.chat-inside-window-content-disabled .text-chat-container {
  opacity: 0.3;
  pointer-events: none;
}

.chat-inside-window-content-disabled .chat-messages-wrapper {
  opacity: 0.3;
  pointer-events: none;
}

.chat-voice-button-icon {
  width: 16px;
  height: 16px;
}

.chat-voice-button-text {
  font-size: 18px;
  line-height: 14px;
}

.response-loader {
  display: flex;
  justify-content: center;
  padding: 5px;
  width: calc(100% - 12px);
}

.loader {
  width: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear;
}

@media (max-width: 1300px) {
  .main-wrapper {
    width: 100%;
  }

  .main-sections-container {
    width: inherit;
  }
}

@media (max-width: 1200px) {
  .general-wrapper {
    padding: 0px 40px 0px 40px;
  }

  .main-sections-container {
    gap: 150px;
  }
}

@media (max-width: 991px) {
  .chat {
    padding: 22px;
  }

  .logo {
    width: 44px;
    height: 44px;
  }

  .header-text {
    font-size: 20px;
  }

  .main-sections-container {
    gap: 70px;
  }
}

@media (max-width: 768px) {
  body {
    background-position-y: top;
  }

  .general-wrapper {
    margin: 0;
    padding: 20px 0 0 0;
  }

  .header-wrapper {
    top: 75px;
    left: 20px;
    gap: 20px;
    transform: translateY(-50%);
  }

  .hero {
    position: absolute;
    top: 20px;
    right: 30px;
  }

  .main-wrapper {
    margin-top: 130px;
  }

  .voice-recording-circle {
    width: 100px;
    height: 100px;
  }

  .recording-circle-icon {
    width: 32.91px;
    height: 32.91px;
  }

  .chat {
    max-width: 100%;
    height: calc(100vh - 130px - 20px);
  }
}

@keyframes l5 {
  0% {
    box-shadow: 9px 0 #0000004d, -9px 0 #000;
    background: #0000004d;
  }
  33% {
    box-shadow: 9px 0 #0000004d, -9px 0 #000;
    background: #000;
  }
  66% {
    box-shadow: 9px 0 #000, -9px 0 #0000004d;
    background: #000;
  }
  100% {
    box-shadow: 9px 0 #000, -9px 0 #0000004d;
    background: #0000004d;
  }
}

/* Titan animation styles start */

.hero svg .svg-elem-1 {
  stroke-dashoffset: 2388.497314453125px;
  stroke-dasharray: 2388.497314453125px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.8s;
}

.hero svg.active .svg-elem-1 {
  stroke-dashoffset: 0;
  fill: rgb(52, 59, 18);
}

.hero svg .svg-elem-2 {
  stroke-dashoffset: 52.703758239746094px;
  stroke-dasharray: 52.703758239746094px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.12s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.12s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 0.9s;
}

.hero svg.active .svg-elem-2 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-3 {
  stroke-dashoffset: 18.709211349487305px;
  stroke-dasharray: 18.709211349487305px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.24s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.24s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1s;
}

.hero svg.active .svg-elem-3 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-4 {
  stroke-dashoffset: 418.38104248046875px;
  stroke-dasharray: 418.38104248046875px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.36s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.36s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.1s;
}

.hero svg.active .svg-elem-4 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-5 {
  stroke-dashoffset: 391.1098937988281px;
  stroke-dasharray: 391.1098937988281px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.48s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2000000000000002s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.48s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.2000000000000002s;
}

.hero svg.active .svg-elem-5 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-6 {
  stroke-dashoffset: 228.6240234375px;
  stroke-dasharray: 228.6240234375px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.6s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.6s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.3s;
}

.hero svg.active .svg-elem-6 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-7 {
  stroke-dashoffset: 321.14263916015625px;
  stroke-dasharray: 321.14263916015625px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.72s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.4000000000000001s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.72s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.4000000000000001s;
}

.hero svg.active .svg-elem-7 {
  stroke-dashoffset: 0;
  fill: rgb(157, 167, 132);
}

.hero svg .svg-elem-8 {
  stroke-dashoffset: 21.38740348815918px;
  stroke-dasharray: 21.38740348815918px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.84s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.84s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.5s;
}

.hero svg.active .svg-elem-8 {
  stroke-dashoffset: 0;
  fill: rgb(52, 59, 18);
}

.hero svg .svg-elem-9 {
  stroke-dashoffset: 1432px;
  stroke-dasharray: 1432px;
  fill: transparent;
  -webkit-transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715)
      0.96s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.6s;
  transition: stroke-dashoffset 1s cubic-bezier(0.47, 0, 0.745, 0.715) 0.96s,
    fill 0.7s cubic-bezier(0.47, 0, 0.745, 0.715) 1.6s;
}

.hero svg.active .svg-elem-9 {
  stroke-dashoffset: 0;
  fill: rgb(255, 255, 255);
}

/* Titan animation styles end */
