.white-circle {
  cursor: pointer;
  background-color: #fff;
  box-shadow: 0 0 8px #d8dbe3;
  border-radius: 50%;
  height: 100px;
  margin: 0 auto;
  width: 100px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; 
  transition: box-shadow 0.3s ease, opacity 0.3s ease;
}

.white-circle:not(.disabled):hover {
  box-shadow: 0 0 15px #007dbc, 0 0 25px rgba(0, 125, 188, 0.6);
}

.white-circle.disabled {
  cursor: not-allowed;
  opacity: 0.7;
}


.white-circle img#lex-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.audio-control-container {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -50px;
  text-align: center;
  width: 300px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
}

body {
  background-image: url("bg.gif");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  font-family: "Roboto", sans-serif; 
  color: #f0f0f0;
  overflow: hidden; 
  box-sizing: border-box;
  transition: background-color 0.5s ease-in-out; 
}

@keyframes pulseCircle {
  0% {
    box-shadow: 0 0 8px #d8dbe3, 0 0 0 0 rgba(0, 125, 188, 0.7);
  }
  70% {
    box-shadow: 0 0 8px #d8dbe3, 0 0 0 10px rgba(0, 125, 188, 0);
  }
  100% {
    box-shadow: 0 0 8px #d8dbe3, 0 0 0 0 rgba(0, 125, 188, 0);
  }
}

@font-face {
  font-family: mystical-woods-rough-script; 
  src: url(mystical-woods-rough-script.ttf);
}

.white-circle.pulsing-sending,
.white-circle.pulsing-speaking {
  animation: pulseCircle 1.5s infinite;
}

#message {
  margin-top: 20px;
  font-size: 16px;
  color: #ffffff; 
  min-height: 20px;
}

h2 {
  font-size: 18px;
  font-weight: 300;
  color: #ffffff; 
  margin-top: 10px;
  margin-bottom: 5px; 
}

.sia-font {
  font-family: mystical-woods-rough-script;
  color: #ffffff;
  font-size: 4em; 
  margin-bottom: 0.1em; 
  font-weight: normal; 
}

.back-button {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 8px 15px;
  background-color: rgba(255, 255, 255, 0.15); 
  color: #f0f0f0;
  text-decoration: none;
  border-radius: 20px; 
  font-size: 14px;
  font-weight: 500;
  z-index: 100; 
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3); 
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.3); 
  color: #ffffff;
}