* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: rgb(16, 15, 128);
  width: 100%;
  height: 100vh;
}


#preLoader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right bottom,
    rgba(49, 49, 49, 0.5),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 200;
  backdrop-filter: blur(1rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.preloader {
  animation-name: preLoader;
  animation-duration: 2s;
  animation-timing-function: linear;
  animation-delay: 0ms;
  animation-fill-mode: forwards;
}

@keyframes preLoader {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#loader {
  width: 25%;
  height: 15vh;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5vw;
  text-align: center;
}

.dot {
  opacity: 1;
  animation-name: dot;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-delay: 0ms;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

@keyframes dot {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.circle1 {
  position: absolute;
  top: 2%;
  left: 1%;
  width: 17rem;
  height: 17rem;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    rgba(70, 255, 86, 0.8),
    rgba(76, 0, 255, 0.3)
  );
}

.circle2 {
  position: absolute;
  bottom: 2%;
  right: 1%;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    rgba(164, 173, 255, 0.3),
    rgba(7, 0, 66, 0.9)
  );
}

.circle3 {
  position: absolute;
  top: 50%;
  right: 50%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    rgba(255, 164, 247, 0.3),
    rgba(255, 0, 234, 0.9)
  );
}

.circle4 {
  position: absolute;
  top: 10%;
  right: 20%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    rgba(4, 95, 60, 0.3),
    rgba(61, 255, 103, 0.9)
  );
}

.circle5 {
  position: absolute;
  bottom: 5%;
  left: 20%;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: linear-gradient(
    to right bottom,
    rgba(194, 255, 158, 0.3),
    rgba(35, 175, 0, 0.9)
  );
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#glassEffect {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right bottom,
    rgba(100, 211, 255, 0.4),
    rgba(118, 68, 255, 0.3)
  );
  z-index: 2;
  backdrop-filter: blur(0.5rem);
  display: flex;
  justify-content: center;
  align-items: center;
}

.introBefore {
  position: relative;
  width: 70%;
  height: 50%;
  transition: all 1s;
}

.introAfter {
  position: relative;
  width: 70%;
  height: 100%;
  transition: all 1s;
}

#profile{
  cursor: pointer;
}
  
.profileBefore {
  width: 15rem;
  height: 15rem;
  background-color: #afd4ff;
  border-radius: 50%;
  border: 6px solid rgba(26, 3, 88, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 1s;
}

.profileAfter {
  margin-top: 2%;
  width: 5rem;
  height: 5rem;
  background-color: #afd4ff;
  border-radius: 50%;
  border: 4px solid rgba(26, 3, 88, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: all 1s;
}

#buttons{
  margin-top: 2%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#buttons button{
  margin: 0% 2%;
}

#startCharting {
  font-family: 'Poppins', sans-serif;
  width: 10%;
  height: 4.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 1rem;
  background: linear-gradient(
    to right bottom,
    rgba(0, 183, 255, 0.5),
    rgba(62, 6, 216, 0.5)
  );
  z-index: 2;
  backdrop-filter: blur(0.5rem);
  font-size: 3vw;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#startSpeaking {
  font-family: 'Poppins', sans-serif;
  width: 10%;
  height: 4.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 1rem;
  background: linear-gradient(
    to right bottom,
    rgba(0, 183, 255, 0.5),
    rgba(62, 6, 216, 0.5)
  );
  z-index: 2;
  backdrop-filter: blur(0.5rem);
  font-size: 3vw;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.beforeform {
  position: absolute;
  left: 4.5%;
  bottom: 4%;
  width: 0%;
  height: 0%;
  opacity: 0;
  transition: all 1s;
}

.afterform {
  position: absolute;
  left: 4.5%;
  bottom: 4%;
  width: 90%;
  height: 9%;
  opacity: 1;
  transition: all 1s;
}

#chatform div {
  display: inline-block;
}

#chatform div:nth-child(2) {
  position: absolute;
  right: 5%;
}

#chatform div:nth-child(1) {
  position: absolute;
  left: 5%;
  width: 80%;
}

#actionButton {
  font-family: 'Poppins', sans-serif;
  width: 5.5rem;
  height: 4.1rem;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 1rem;
  background: linear-gradient(
    to right bottom,
    rgba(0, 183, 255, 0.5),
    rgba(62, 6, 216, 0.5)
  );
  z-index: 2;
  backdrop-filter: blur(0.5rem);
  font-size: 3vw;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#textArea {
  width: 100%;
  height: 4.1rem;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 20rem;
  padding: 0% 5%;
  font-size: 2vw;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

.chatDivBefore {
  width: 0;
  overflow: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: width 0.5s;
}

.chatDivAfter {
  width: 80%;
  height: auto;
  overflow: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: width 1s;
}

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

.chatDivLeft{
  width: 100%;
  height: auto;
  margin-bottom: 2%;
  display: flex;
}

.chatDivRight{
  width: 100%;
  height: auto;
  margin-bottom: 2%;
  display: flex;
  justify-content: right;
}

.left {
  padding: 1% 2%;
  border-radius: 1rem;
  background-color: #ffffff;
  text-transform: uppercase;
  font-size: 1.5vw;
  font-family: 'Poppins', sans-serif;
}

.right {
  border-radius: 1rem;
  padding: 1% 2%;
  background: linear-gradient(
    to right bottom,
    rgba(0, 183, 255, 0.5),
    rgba(62, 6, 216, 0.5)
  );
  z-index: 2;
  backdrop-filter: blur(0.5rem);
  text-transform: uppercase;
  font-size: 1.5vw;
  font-family: 'Poppins', sans-serif;
  color: #fff;
}

::placeholder {
  color: #c9c9c9;
}

.contentBefore{
  width: 0%;
  height: 4.1rem;
  border-radius: 20rem;
  padding: 0% 0%;
  font-size: 2vw;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  background-color: #ffffff;
  transition: all 0.5s;
}

.contentAfter{
  width: 50%;
  height: 4.1rem;
  border-radius: 20rem;
  padding: 1.2% 2%;
  font-size: 2vw;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  background-color: #ffffff;
  transition: all 0.5s;
}

#content{
  display: none;
}