/* Reset some defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body background and font setup */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0f0f0f;
  color: #fff;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

/* Main section */
.main {
  width: 100%;
  max-width: 600px;
}

/* Image container */
.image-container {
  margin-bottom: 30px;
}

/* Rotating image (anticlockwise / right to left) */
.image img {
  width: 80%;
  max-width: 300px;
  animation: rotateImage 5s linear infinite;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

/* Headings */
.image-container h1 {
  font-size: 6vw;
  margin-top: 20px;
  letter-spacing: 0.3em;
  color: #00ffe7;
  white-space: nowrap;
  animation: horizontalText 10s linear infinite;
}

.image-container p {
  font-size: 4vw;
  margin-top: 10px;
  color: #cccccc;
}

/* Input area */
.input {
  margin-top: 20px;
}

/* Microphone button */
.talk {
  background-color: #00ffe7;
  border: none;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.talk:hover {
  background-color: #00ccbb;
}

.talk i {
  font-size: 5vw;
  color: #000;
}

/* Transcript content */
.content {
  margin-top: 15px;
  font-size: 4vw;
  color: #ffffff;
}


/* Responsive font fix for small devices */
@media (min-width: 600px) {
  .image-container h1 {
    font-size: 48px;
  }
  .image-container p,
  .content {
    font-size: 20px;
  }
  .talk i {
    font-size: 24px;
  }
}
