body {
  background: #282a37;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f0f0f0;
  height: 100%;
  font-family: "Helvetica", cursive;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
}

.fa-paperclip {
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 15px;
}

.fa-paperclip:hover,
.fa-microphone:hover {
  color: rgb(178, 121, 255);
  scale: 1.1;
}

#imagePreviewContainer {
  background: #3e404d90;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
  position: absolute;
  display: inline-block;
  margin-top: -50px;
}

#removeImageBtn:hover {
  background: #ff5252 !important;
}
.searchBar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  padding: 15px;
  background: #3e404d;
  height: 5vh;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease-in-out, border 0.025s ease-in-out !important;
}

.searchBar:hover,
.searchBar:focus-within {
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.25);
  background: #484a54;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.inputHold {
  display: flex;
  flex-direction: row;
  flex: 4;
  justify-content: flex-start;
}

.searchBar i {
  margin-left: 15px;
  margin-right: 15px;
}

.searchInput {
  color: white;
  background: transparent;
  outline: none;
  border: none;
  width: 25vw;
  margin-bottom: -15px;
}

.searchInput::placeholder {
  color: #eaeaea;
}

hr {
  width: 0px;
  height: 100%;
  background: #8b8c94;
  color: #8b8c94;
  margin-left: -15px;
  margin-right: 5vh;
}

#brungle-text {
  background: -webkit-linear-gradient(135deg, #3e8eff, #8e3eff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Helvetica", cursive;
  font-size: 69px;
  position: absolute;
  top: 26%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: top;
}

.searchBar svg {
  z-index: top;
  margin-left: 15px;
  position: absolute;
  right: 1.35%;
}
/*  */
.circle-container {
  width: 120px;
  height: 120px;
  position: absolute;
  top: -10px;
  right: -10px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  scale: 0.5;
}

.circle-side {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  backface-visibility: hidden;
}

.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 20px;
  transition: all 0.05s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.circle h1 {
  font-family: Helvetica, cursive;
  font-weight: 750;
  font-size: 28px;
}

.front-side {
  background: conic-gradient(from 0deg, #9b5de5, #6a0dad, #3a0ca3, #9b5de5);
  padding: 1px;
}

.front {
  background-color: #eaeaea;
  background-image: url("https://i.imgur.com/DKpANp8.png");
  background-size: 55px;
  background-repeat: no-repeat;
  background-position: calc(50% + 2px) center;
}

.back-side {
  background: conic-gradient(
    #4285f4 0deg 90deg,
    #ea4335 90deg 180deg,
    #fbbc05 180deg 270deg,
    #34a853 270deg 360deg
  );
  transform: rotateY(180deg);
  padding: 3px;
}

.back {
  background-color: #eaeaea;
  background-image: url("https://th.bing.com/th/id/R.5480356069a7e81bdb468a136f374c5c?rik=pM53wqaHTSFRfA&riu=http%3a%2f%2frinixweb.com%2fassets%2fimg%2fusers%2ftest.png&ehk=64lyEO%2ftWX%2fIkammLp6DDOlf6%2fh9%2fKqxP69uPk09b%2bg%3d&risl=&pid=ImgRaw&r=0");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-container:hover .front {
  box-shadow: 0 0 15px 5px rgba(138, 43, 226, 0.6);
}

.circle-container:hover .back {
  box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.05);
}

@keyframes sparkle {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }

  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  animation: sparkle 0.8s ease-out;
}
.chat-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: calc(100vh - 40px);
  margin-top: 20px;
  margin-left: 20px;
  background: #343643;
  border-right: 1px solid #3e404d;
  transition: all 0.34s cubic-bezier(0.69, 0.84, 0.31, 0.63);
  z-index: 999;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  color: white;
  border-radius: 25px;
  overflow: hidden;
}
.chat-menu:hover,
.chat-menu:focus-within {
  scale: 1.005;
  box-shadow: 0 0 10px rgba(81, 83, 94, 0.5);
}

.chat-header {
  background: linear-gradient(to right, #8845ff 15%, #4586fe);
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-header h2 {
  margin: 0;
  font-size: 18px;
}
.close-btn {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}

.messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
}
.messages::-webkit-scrollbar {
  display: none;
}
.message {
  background: #3e404d;
  border-radius: 15px;
  padding: 10px 15px;
  margin-bottom: 10px;
  max-width: 80%;
  word-wrap: break-word;
}
.user-message {
  background: #8845ff;
  margin-left: auto;
}

.chat-input {
  display: flex;
  padding: 15px;
  border-top: 1px solid #3e404d;
  transition: all 0.3s ease;
}

.chat-input:hover,
.chat-input:focus-within {
  scale: 1.02;
  transform: translateY(-5px);
  box-shadow: 0 0 10px #40424c;
}
.chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 10px 0 0 10px;
  background: #3e404d;
  color: white;
  outline: none;
}
.send-button {
  background: #8745ff;
  border: none;
  border-radius: 0 10px 10px 0;
  color: white;
  padding: 0 15px;
  cursor: pointer;
  transition: background 0.3s;
}
.send-button:hover {
  background: #6c37cc;
  box-shadow: 0 0 10px #5d3b99;
}

.typing-indicator {
  display: none;
  padding: 10px 14px;
  background-color: #3e404d;
  border-radius: 18px;
  margin-left: 12px;
  border-bottom-left-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.typing-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #eaeaea;
  margin-right: 4px;
  animation: typingAnimation 3s infinite ease-in-out;
}

.typing-dot:nth-child(1) {
  animation-delay: 0s;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
  margin-right: 0;
}

@keyframes typingAnimation {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-5px);
  }
}
/*  Chat button*/
.chat-button {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 50px;
  height: 50px;
  background: #40339d;
  border-radius: 15px;
  border: none;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(56, 48, 121, 0.85);
  transition: all 0.3s ease;
}
.chat-button:hover {
  background: #8845ff;
  transform: scale(1.05);
  border-radius: 17px;
}
