body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1a5c1a, #FBEAEB);
  background-attachment: fixed;
  color: #333;
}

#authContainer,
#appContainer {
  width: 80%;
  margin: 20px auto;
  text-align: center;
  bottom: 20px;
  display: none;
}

#response {
  width: 60%;
  height: 75%;
  margin: 0 auto;
  text-align: left;
  text-justify: inter-word;
  overflow: scroll;
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translate(-50%, 0%);
  color: #333;
  font-size: calc(10vh * 0.26);
  padding: 20px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255);
  border-radius: 10px;
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
  background-size:auto;
  
}
#buttonContainer {
  position: fixed;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  width: 100px;
  height: 20%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 30px;
}

#output {
  font-size: 1.2rem;
  margin-top: 20px;
  color: #333;
}

button {
  padding: 15px 30px;
  font-size: 1.2rem;
  cursor: pointer;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  margin: 10px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

#voiceButton {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 53px;
  transition: all 0.2s ease;
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  background-color: #00353B;
  color: #F9DE8E;
}

#voiceButton:active,
#voiceButton:focus,
#voiceButton:after {
  color: red;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(226, 20, 20, 0.4);
  }

  70% {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(226, 20, 20, 0);
  }

  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(226, 20, 20, 0);
  }
}

input {
  padding: 10px;
  font-size: 1.2rem;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 250px;
}

#recaptcha-container {
  margin: 20px auto;
}

@media screen and (max-width: 768px) {
  #response {
    width: 85%;
    padding: 10px;
    margin: 0 auto;
  }

  #buttonContainer {
    width: 90%;
    height: 15%;
    bottom: 20px;
  }

  #voiceButton {
    width: 105px;
    height: 105px;
    font-size: 53px;
  }

  .content {
    margin-top: 10px;
  }
}

@media screen and (orientation: landscape) and (max-width: 768px) {
  body {
    transform: rotate(90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}
